Turn off smart pick up, it wont vendor any longer.
Also make sure your using bot v0.13b (NOT v.013 rc). The rc version has issues vending wrong items.
You need to change to coordinates, in the coordinate file .
Everyone has different quest progression so the link to click to sell is different for everyone.
Next to NPC name the y = the vertical height. raising the number causes the pointer to go down, lowering the number causes the pointer to go up. Chang the number by increments of 10 till it's over the sell link.
Make sure to close bot and save when you do this. Also if the sell menu is open when you start bot, it sometimes crashes.
The way to test it have a junk rare in inventory when you start bot in a town.