PDA

View Full Version : Problems with sell items to NPC



prosno
08-31-2012, 09:24 PM
I have try many many times, but it wont work!
Here is my label script

elseif (labelName == "Sell2") then
setBotEnabled(false)
Self.SayToNpc({"Hi", "Trade"}, 65)
wait(1000,2000)
Self.SellItemsDownTo(3349, 0)
wait(1000,2000)
setBotEnabled(true)

The label name is "Sell2"
It stop when the label comes but it dosen't do something, won't say trade or something,
All the other labels works, like deposit/buy manas...
Whats my problem?

maicoln
08-31-2012, 10:01 PM
I have try many many times, but it wont work!
Here is my label script

elseif (labelName == "Sell2") then
setBotEnabled(false)
Self.SayToNpc({"Hi", "Trade"}, 65)
wait(1000,2000)
Self.SellItemsDownTo(3349, 0)
wait(1000,2000)
setBotEnabled(true)

The label name is "Sell2"
It stop when the label comes but it dosen't do something, won't say trade or something,
All the other labels works, like deposit/buy manas...
Whats my problem?

Try this:



elseif (labelName == "Sell2") then
setWalkerEnabled(false)
Self.SayToNpc({"hi", "trade"}, 65)
wait(1500, 2500)
Self.ShopSellItem(3349, Self.ShopGetItemSaleCount(3349))
wait(1000, 1400)
setWalkerEnabled(true)

prosno
08-31-2012, 10:50 PM
The bot just stop on the label and will not trade... :/