This is a bug with Forgee's library. He overwrites the global item class on accident, causing it to break. Before, the Item class wasn't used extensively so this went unnoticed. Now, though, I use it a lot more and so Forgee's library causes issues.
Printable View
I for example using old version (from 20 th dec) since witch update half of my scripts fucked up
Problem with Windows 8.
http://i50.tinypic.com/2wc1aft.jpg
Not sure what I'm doing wrong either but the creature.follow doesnt seem to work the way I use it. Just followed your instructions previously posted in this thread.
Hey, the backpackreopener doesnt function anymore when Xeno uses it.
Greetings
Depens ofcourse on which backpackresetter function your using.
I suggest you use this:
[code="lua"]
--Main bp = backpack nr 1--
BP2 = Item.GetID("Red Backpack") --<<--Your bp nr 2
BP3 = Item.GetID("Blue Backpack")--<<--Your bp nr 3
BP4 = Item.GetID("Golden Backpack")--<<--Your bp nr 4
setBotEnabled(false)
wait(800,1200)
Self.CloseContainers()
wait(1500,2000)
repeat
wait(1200)
until (Self.UseItemFromEquipment("backpack") > 0)
wait(1500)
Container.GetFirst():OpenChildren(BP2, BP3, BP4)
wait(800,1200)
setBotEnabled(true)
[/code]
You don't need to use Item.GetID anymore, it will do that for you.
[code="lua"]
Backpacks = {"Red Backpack", "Blue Backpack", "Golden Backpack"}
setBotEnabled(false)
Self.CloseContainers()
repeat wait(1200) until (Self.UseItemFromEquipment("backpack") > 0)
wait(1500)
Container.GetFirst():OpenChildren(unpack(Backpacks ))
setBotEnabled(true)
[/code]
Looks like a positive step here for XB, too bad it's so late into the development, now scripters must put extra time into repairing old scripts instead of making new... I guess it's the price you pay for joining a revolution though...
Well done, and keep it up.
I use forgee.lua bpopener, but when Xeno wants to open the bp's it stucks at a bp, before update I hadnt this problem :///
Greetings
I just realized that, in fixing another issue, I subtly broke this. My bad. In your XenoLuaLib.lua, replace Creature.New() with this one for now:
Code:function Creature.New(value)
local c = {}
setmetatable(c, Creature)
if (value == nil) then
c._id = -1
c._listindex = -1
c._name = ""
else
if (type(value) == 'string') then
c._name = value
c._id = getCreatureID(value)
c._listindex = getCreatureListIndex(c._id)
elseif (type(value) == 'number') then
if (value < 1300) then
value = getCreatureIDFromIndex(value)
end
c._id = value
c._listindex = getCreatureListIndex(c._id)
c._name = getCreatureName(c._listindex)
end
end
return c
end
Read the thread. Forgee's backpack opener is outdated and there are much better options.
Alright, thanks :)
Many thanks, will test and report back with results!
Edit: Works good with it being changed! Thanks
Mate how i can do 17972, 17977 id as walkable in xeno ?
bot show on diagnostick info as blocking and noobs try kill me :)