Log in

View Full Version : feedback on first scrip setup



gazgaz
06-23-2013, 03:18 AM
ok so iv only been playing around with the bot for like 2 days and i made my first scrip its very simple all it dose is go to tomb from dp fill spears with money dropped and deposit the leftovers and go back to hunt
now i only played around with this for about 15-20 min some of the bugs i noticed was the sleep time while getting spears is a little short but there probably more

this wasnt ment to be for real use to level or anything was just playing around with a few of the commands that i found reading threw other scrips <bollo's mainly> his stuff http://forums.xenobot.net/showthread.php?11406-Bollo-s-free-scripts-100-AFK

anyway it worked out was all happy =) even if it is a clip note script lol


https://dl.dropboxusercontent.com/u/35342464/ankcity.lua

https://dl.dropboxusercontent.com/u/35342464/city%20testank.xbst

will take any ones lawls at this lol given some times something better may come out of it

pixie_frigo
06-26-2013, 08:58 PM
Too lazy to actually test it :) But some tips on the scripting

instead of
sleep(math.random(1500, 1700))
you can just use
wait(1500,1700)

and instead of


if (Self.Cap() < MinCap) then
Walker.Goto("leaveCave")
elseif (Self.ItemCount(SpearID) < SpearLeave) then


you can also just put


if (Self.Cap() < MinCap) or (Self.ItemCount(SpearID) < SpearLeave) then


But thats just two things to make it look better ;) Otherwise it seems fine !