http://i62.tinypic.com/1zvskcg.png
Printable View
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()