Log in

View Full Version : Paladin Ammu buyer help



Chopaszek
08-30-2012, 08:55 AM
I set to buy 1400 prismatic bolts and it buys them but in 2 tries sometimes 3... 1st time it buys about 500-700 then go to next wpt where is ammocheck "10:41 ERROR: failed to buy item: 16141" and go back to bank again withdraw cash + buy bolts again and when its ok it goes spawn. i want to set it to buy all bolts at once ;s its my buyer:

elseif (labelName == "BuyAmmo") then
delayWalker(7000) --Call this immediately, before evr sleeping. Walker and scripter are in different threads so if we sleep before calling this walker will proceed a few wps before this bites
Self.Say("hi")
sleep(math.random(2000, 2500)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
Self.SayToNpc("trade")
sleep(math.random(700, 1400)) --Sleep between everything we say. saying everything very quickly can be _highly_ suspicious
buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(AmmoID , (WantedAmmo-Self.ItemCount(AmmoID)))

can some1 help me fix it? i have also delay wpt after BuyAmmo label

Spectrus
08-30-2012, 08:56 AM
change line


buyAlotOfItemsBecauseItsSuchAGodDamnBigDeal(AmmoID , (WantedAmmo-Self.ItemCount(AmmoID)))

to


Self.ShopBuyItem(AmmoID, WantedAmmo - Self.ItemCount(AmmoID))

Chopaszek
08-30-2012, 09:02 AM
ok ty will test it at next refill ;)

edit: now works gr8 ;) ty!