Should tell him to remove the dropbox links, then.
Printable View
this was changed in this update? it worked nice with the last update.
ty i'll remove it now
Yey, it worked now @Nick ty.
merry xmas everybody!
@DarkstaR
This error occurs with your script Players Above.lua
Code:15:01 XenoScript Error:
Script: @PlayersAbove.lua
Line #: 1
Chunk: ...rs\Admin\Documents\XenoBot\Scripts\@PlayersAbove.lua
Error: attempt to call field 'CreateTextDisplay' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.
I don't know if this a bug or it's intented to be this way:
If you load a XBST with a script attached to it that uses the loadSettings() line it will keep loading the script in some sort of loop.
@Virse, there's no way it would give the same error. Just tested it and it's running fine. PM how you're implementing it.
Sorry I went to quote my other post and I forgot you cant quote a quote plus i did a poor job editing my quote.
This is the error Im still getting.
Testing this now. im encountering problems. scenario 2, 3"a", and 3"b" work fine but 1 doesnt work. I get this error. The script doesnt get unpacked(?) into the scripts folder.
Quote:
16:55 XenoScript Error:
Script: control - South Cyclops.lua
Error: cannot open C:\Users\soul4soul\Documents\XenoBot\Scripts\contr ol - South Cyclops.lua: No such file or directory
This is an error with user-input and should not be reported as a bug with XenoBot.
I'll check it out.
23:59 XenoScript Error:
Script: EK-Nightmares.lua
Line #: 1943
Chunk: C:\Program Files?XenoBot?Data?XenoLuaLib.lua
Error: attempt to call field 'isAttackSafe' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.
... i reinstall xeno and install again , and i got same problem ; /
line 1943 =
"function getTargetsInArea(pos, radius, aggressiveness) --this function will be deprecated completely in the near future, do not use "
fixed by Syntax .
Thanks <3 !
Already pm'ed this fix to @Tizet and he verified it works. For anyone that HAS to use this function here is the temp fix (it will be patched soon):
[code=lua]function getTargetsInArea(pos, radius, aggressiveness) --this function will be deprecated completely in the near future, do not use
local n = #Self.GetTargets(radius)
local safe = Self.isAreaPvPSafe(radius+2, true, true) or aggressiveness == 4
return safe and n or 0
end[/code]
Note the comment, this is a deprecated function so it's recommended to phase it out and use 'Self.GetTargets'.
working ! :)
Merry X-mas !
When saving HUD, bot crashes.
Which is the version of Xenobot that could work for Tibia 8.6? Please, if anyone here is still reading these posts.
Thank you =)
There is no XenoBot for Version 8.60.....
Anyone knows where I can find the list of all the lua functions from darkstar? @DarkstaR
Thanks.
Im have problems with custom chat channels. I cant send any messages into them. You can test it with this tictactoe script. http://forums.xenobot.net/showthread...highlight=game. On line 23 youll need to add tostring() to force the numbers into a string.
It's working as is. HUD.New expects number values to be for itemids, strings to be for text. The old constructors are for backwards compatibility. If you can't wrap the number in quotes: '1' as in this case where the numbers are generated. Do as you said with tostring or string.format. I don't see this affecting a huge audience but I'll look and see if there's more checks we can undergo before assuming it's an itemid :P
I was using Self.DropFlask() but i removed it and it works fine now and continues with the supply checking, no idea why it meant Self.DropItems() though :s
Edit: now i get this error in the Self.DepositItems()
Code:05:54 XenoScript Error:
Script: ?Corym?Config.lua
Line #: 1684
Chunk: C:\Program Files ?x86??XenoBot?Data?XenoLuaLib.lua
Error: attempt to call field 'GetItemIDFromDualInput' (a nil value)
This is an error with user-input and should not be reported as a bug with XenoBot.
For some reason #Self.GetTargets doesn't work and always returns 0. #Self.GetSpectators works fine.
I got this when the bot tries to deposit items:
The function where it stucks is:Code:16:53 XenoScript Error:
Script: [Spheres] Spheres v2.lua
Line #: 1684
Chunk: C:\Program Files ?x86??XenoBot?Data?XenoLuaLib.lua
Error: attempt to call field 'GetItemIDFromDualInput' (a nil
value)
This is an error with user-input and should not be reported as a
bug with XenoBot.
Code:elseif label == "Depot" then
setWalkerEnabled(false)
Self.ReachDepot()
Self.DepositItems({"wand of starstorm", 1}, {"energy soil", 0}, {"berserk potion", 0}, {"small amethyst", 0}, {"great health potion", 0})
wait(500, 900)
Self.WithdrawItems(2, {"small enchanted amethyst", 0, 20})
if Self.ItemCount(678) < 20 then
gotoLabel("Depot")
testing :)
thx for all
and Merry xmas
OP Update.
Lua saved with XBST is what I was looking for, for a long long time. :D
Will test it as soon as I go home.
Very long update. Did a great job, thanks DarkstaR!
Because Creature.Follow("NpcName") doesn't work and I can't find it in the XenoLuaLib.lua
http://i50.tinypic.com/10zu52t.jpg
@DarkstaR
could u explain me why it dont work anymore????
PHP Code:
Self.UseLever(Self.Position().x + 1, Self.Position().y, Self.Position().z, 2772)
Thats because it is Creature:Follow, a member function, but calling it using the static call syntax (. instead of : ) causes the "self" field to be the first argument (in this case, the NPC name). We then do a Creature.New() and call :Follow() from there.
This works, I use it personally.