PDA

View Full Version : XenoBot Bug - Open Self.Dequip bug.



acrozo01
06-13-2016, 06:30 PM
The error I get is :



21:27 XenoScript Error:
Script: Testerino.lua
Line #: 3688
Chunk: ...970~1\Desktop\XENOPA~1\Versions\..?Data?XB0025? 1.LUA
Error: attempt to call method 'isOpen' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.


The script I use is :


local _Main_Backpack = "Blue Backpack"

Module.New("_Werewolf_Amulet", function(mod)
c = Container.GetByName(_MainBackpack)
Self.Dequip("amulet", c)

end)


THE CODE ISN'T COMPLETE.Just tested if Self.Dequip works with backpack name as a second argument.

Merre
06-13-2016, 07:34 PM
You're trying to call _MainBackpack while your local is named _Main_Backpack

acrozo01
06-13-2016, 07:41 PM
Ty realizedd soon after but forgot to edit thread.

Fatality
06-13-2016, 08:04 PM
This is an error with user-input and should not be reported as a bug with XenoBot.