Oops, tried to clean up the code some, guess I forgot some stuff
Printable View
but in those 2 days I could also start botting thais trolls with starter eq that I get after Dawnport/Rookgard and on trolls I make idk 10k per day? thats probably more than making bread :P but i understand maybe if trolls is occupied by many others and alternatives like venore swamp trolls are taken, then yes xD
Keep getting this
23:27 XenoScript Error:
Script: BreadMaker.lua
Line #: 66
Chunk: C:?Users?******?1?DOCUME?1?XenoBot?Scripts??BREADM ?2.LUA
Error: unexpected symbol near 'then'
This is an error with user-input and should not be reported as a bug with XenoBot.
What am i doing wrong
They deleted all of the ovens in Thais, lol. :D
No they didn't?
http://i.imgur.com/GlH4Myb.png
The kings festival or whatever the event is called, removes the ovens :[
I'm testing this script right now, it looks wonderfull but i'm stuck at 1 spot all the time.
When the bot has made flour and gets to the water well , it fill's his bucket with water but it doesn't use the flour on the bucket of water.
One other thing i notice, is that when he is baking his bread, the last bread he made is left on the hot stove.
This script was made on Blackd proxy 4 years ago by me, nothing new but thanks for making it on xeno :)
Very cool script.
Aparently some functions are DEPRECATED.
I Fixed it.
Here the new version:
http://pastebin.com/download.php?i=9Yh2GVrT
br?
Appreciate it, however
lua code:local f = null
local w = null
if f ~= null and w ~= null then
should be
lua code:local f = nil
local w = nil
if f ~= nil and w ~= nil then
Also, why this? What if user is carrying a bag?
lua code:for i=0,20 do
Afaik, no functions in this script are deprecated, what functions were you thinking of?
Yeah you right.
I'm not familiar with lua.
In the last code this part
lua code:for index, item in Container.GetFirst():iItems() do
The function Container.GetFirst():iItems() returned 0.
So the loop don't executed.
I assume they change this behavior.
I'll make the changed you pointed.
Thank you.
You can count the number of the slots with this code.
Code:Container.GetFirst():ItemCount()+Container.GetFirst():EmptySlots()
I do not see this function
But does not matter.
http://xenobot.wikia.com/wiki/Container_ItemCapacity
@Furpan Nice script only it doesn't make the dough unless i have a dough in my bp.
Ps. solved it by changing the script to keep 1 dough in my bp.
Dont have waypoint in scripit, char no move! repair pls