View Full Version : [Update] XenoBot v3.2.4
DarkstaR
06-26-2013, 03:37 AM
This update fixes a few critical bugs which have been causing trouble lately. It also modifies the behavior of the Walker, making it wait for labels to execute all outstanding events before continuing execution. Please note that while this has a rare chance to negatively effect current scripts, it was a necessity to ensure there was no more weird behavior with label execution. Also note that label events no longer need to pause or delay the Walker.
Changelog:
v3.2.4
Fixed the crash that would happen when site went offline.
Fixed the "Ingore Unlisted" function to be more accurate (hopefully 100%).
Fixed a bug which caused Targeting not to work on certain OT servers.
Modified the Walker to always wait for a Lua label event to finish before continuing.
If your scripts were badly coded, this may break them. It's not a bug. Fix your scripts.
For download and operation instructions, refer back to this thread:
http://forums.xenobot.net/showthread.php?19
WorkingHandz
06-26-2013, 03:42 AM
Thank you! So im assuming this means any labels in the waypoints need to be for something otherwise the walker will just sit there? No more blank labels?
Syntax
06-26-2013, 03:42 AM
Thank you! So im assuming this means any labels in the waypoints need to be for something otherwise the walker will just sit there? No more blank labels?
If no label events are attached, it will keep going.
DarkstaR
06-26-2013, 03:42 AM
Thank you! So im assuming this means any labels in the waypoints need to be for something otherwise the walker will just sit there? No more blank labels?
If it has nothing to do it has nothing to wait for, lol.
Only scripts which eternally spin and wait for label events will cause problems (because they will always be busy and never have room for the event). Hence why I said only bad scripts will break.
WorkingHandz
06-26-2013, 03:43 AM
Understood, got ya. Thanks for the update! Trying it out now!
Joshwa534
06-26-2013, 03:45 AM
Much appreciated. =]
wreck
06-26-2013, 03:51 AM
Thank You!!!
kopper
06-26-2013, 03:51 AM
Thank you sir, appreciate the quick update.
xiaospike
06-26-2013, 03:55 AM
thx u plax.
Now I can bot in peace while I await my admission to high school! :D
dinmamma
06-26-2013, 09:47 AM
It's not an issue. Turn off "Ignore Unlisted." It's a feature.
Sorry, "issue" was a wrong choice of words, see this like a proposal I guess :)
A small change to the "Use" feature would help this greatly, by adding like X ammount of tries, instead of waiting for the item to somehow vanish from your screen.
Hope you understand.
popit
06-26-2013, 10:03 AM
working great! :D
kubax36
06-26-2013, 11:23 AM
i should now delete pause walker in all my scripts or i can left it as is and it dont break anything? I need to edit all scripts now?
elseif (labelName == "bank1) then
setWalkerEnabled(false)
Self.Say("hi")
sleep(math.random(700, 1400))
Self.SayToNpc("deposit all")
sleep(math.random(700, 1400))
Self.SayToNpc("yes")
sleep(math.random(700, 1400))
Self.SayToNpc("withdraw 5000")
sleep(math.random(700, 1400))
Self.SayToNpc("yes")
setWalkerEnabled(true)
all my labels looks like that. I need to edit and delete turning walker on and off?
Blaze
06-26-2013, 11:27 AM
Thanks! Really needed this because even paid script executed labels too late for me sometimes. Awesome!
Tirekos
06-26-2013, 12:10 PM
It still not working for me.
It doesnt check label of "checker" and "leave" :/
I'm using Zao dls of Joswha
peggeg
06-26-2013, 01:13 PM
Hello!
Now my script don't work as it did. "Yalahar gates" , He just stays outside the gate. Does it mean that the script is bad coded? :) hehe
DarkstaR
06-26-2013, 01:28 PM
i should now delete pause walker in all my scripts or i can left it as is and it dont break anything? I need to edit all scripts now?
elseif (labelName == "bank1) then
setWalkerEnabled(false)
Self.Say("hi")
sleep(math.random(700, 1400))
Self.SayToNpc("deposit all")
sleep(math.random(700, 1400))
Self.SayToNpc("yes")
sleep(math.random(700, 1400))
Self.SayToNpc("withdraw 5000")
sleep(math.random(700, 1400))
Self.SayToNpc("yes")
setWalkerEnabled(true)
all my labels looks like that. I need to edit and delete turning walker on and off?
It doesn't matter if you remove it or keep it, technically, but it is best to remove it where ever it's not needed (so, more most intents and purposes, from everywhere).
It still not working for me.
It doesnt check label of "checker" and "leave" :/
I'm using Zao dls of Joswha
Talk to him about that.
Hello!
Now my script don't work as it did. "Yalahar gates" , He just stays outside the gate. Does it mean that the script is bad coded? :) hehe
put the script on pastebin and leave the link here. Tell me which label is causing the issue.
peggeg
06-26-2013, 01:52 PM
ok. will do
DarkstaR
06-26-2013, 01:55 PM
The LUA script.
peggeg
06-26-2013, 02:05 PM
Ofc... Sorry :D
Xeromex
06-26-2013, 02:08 PM
http://pastebin.com/n6HLAxqy Ofc... Sorry :D
I'd recommend to remove your previous post.
You just posted a paid script.
Koksik22
06-26-2013, 08:54 PM
nice.. thanks :)
atef201080
06-26-2013, 10:35 PM
well it fixed the Targeting but the alarm still alarming player attack i was trying at orcs..
DarkstaR
06-27-2013, 02:15 AM
well it fixed the Targeting but the alarm still alarming player attack i was trying at orcs..
Didn't know this was an issue, will look into it.
pixie_frigo
06-27-2013, 03:54 AM
If it has nothing to do it has nothing to wait for, lol.
Only scripts which eternally spin and wait for label events will cause problems (because they will always be busy and never have room for the event). Hence why I said only bad scripts will break.
So you don't have to stop walker for bank deposit if i am getting it right?
kopper
06-28-2013, 08:49 AM
So you don't have to stop walker for bank deposit if i am getting it right?
Correct.
Maximum Adam
06-28-2013, 05:27 PM
Meaning I need to remove my Walker.Stop() now, or its fine just not needed for future anymore?
pixie_frigo
06-28-2013, 05:51 PM
Meaning I need to remove my Walker.Stop() now, or its fine just not needed for future anymore?
:) No old scripts will still work with the Walker.Stop() It's just not necessary anymore
Maximum Adam
06-28-2013, 05:55 PM
:) No old scripts will still work with the Walker.Stop() It's just not necessary anymore
Sweet, thanks :)
peggeg
06-29-2013, 09:38 AM
elseif (labelName == "beforeGate1")then
wait(2000)
delayWalker(3000)
gotoLabel("afterGate1")
elseif (labelName == "beforeGate2")then
wait(2000)
delayWalker(3000)
gotoLabel("afterGate2")
elseif (labelName == "gate1")then
Self.UseItemFromGround(32743, 31164, 5)
elseif (labelName == "gate2")then
Self.UseItemFromGround(32743, 31161, 5)
end
My char will not "click" on the gate anymore.
If someone can help me, I would really appreciate that.
After this update came through, it have been a problem for me.
I was making a new tasker script like i got quite a few of them already and now i noticed that this update does not need the delaywalker function.
So i got a bit nervous now since i use that function in all of the tasker scripts of mine since its needed to get passed a teleport.
Therefor i tested it and YIKES it seems it doesn't work anymore.
So i kinda need a solution now on how to pass teleporters now.
i got to pass a teleport this script so it wont get stuck:
<item text="beforeTeleport:" tag="255"/>
<item text="Stand (32822, 32693, 8)" tag="1"/>
<item text="afterTeleport:" tag="255"/>
elseif(labelName == "beforeTeleport")then
wait(2000)
delayWalker(1000)
gotoLabel("afterTeleport")
this part will make sure it will do the stand in the teleport and then pass to afterTeleport.
So the end question is does this still work and did i just had an unlucky jam. or it doesn't and i have to make all the scripts different to the new set up which yet to be discovered by me xD
DarkstaR
Syntax
Joshwa534
07-02-2013, 02:24 PM
xux
Do you have anything checking your position after a teleport to ensure you did in fact teleport? If not, here's some examples of what you could do instead.
elseif(labelName == "afterTeleport")then
if (Self.Position().z ~= 7) then -- Changing floors
Walker.Goto("beforeTeleport")
end
elseif(labelName == "afterTeleport")then
if (Self.Position().y > 12345) then -- Teleporting north
Walker.Goto("beforeTeleport")
end
elseif(labelName == "afterTeleport")then
if (Self.Position().y < 12345) then -- Teleporting south
Walker.Goto("beforeTeleport")
end
elseif(labelName == "afterTeleport")then
if (Self.Position().x < 12345) then -- Teleporting east
Walker.Goto("beforeTeleport")
end
elseif(labelName == "afterTeleport")then
if (Self.Position().x > 12345) then -- Teleporting west
Walker.Goto("beforeTeleport")
end
Nakuu
07-02-2013, 02:27 PM
xux
Stand next to teleport and use Self.Step('direction'). You can't actually Stand on teleport because it immediately teleports you and Xenobot doesn't register it so you get stuck.
Ah yes ofc thanks both of you.
I should have done the self.step function i think that works good.
And yea i was already checking for the location where i was but seemed irrelevant to the question here.
But thanks for the quick reply guys!!
kubax36
07-03-2013, 12:49 PM
Hello, my tibia just stop responding on this label
elseif (labelName == 'checksoft') then
if (Self.ItemCount(6530) >0) then
gotoLabel("gorepairsofts")
else
gotoLabel("dalej")
end
its first time it happen at this label.
Joshwa534
07-03-2013, 04:10 PM
Hello, my tibia just stop responding on this label
elseif (labelName == 'checksoft') then
if (Self.ItemCount(6530) >0) then
gotoLabel("gorepairsofts")
else
gotoLabel("dalej")
end
its first time it happen at this label.
I'm just curious, try this instead and see if this solves your issue:
elseif (labelName == 'checksoft') then
Walker.ConditionalGoto((Self.ItemCount(6530) > 0), "gorepairsofts", "dalej")[
kubax36
07-03-2013, 04:15 PM
I'm just curious, try this instead and see if this solves your issue:
elseif (labelName == 'checksoft') then
Walker.ConditionalGoto((Self.ItemCount(6530) > 0), "gorepairsofts", "dalej")[
i have same checker in all my scripts and it happen only in 1 script just this one time so i wont change it ;p. Seems its server issue as it was before, cuz my tibia stops to reponding now again on other spawn while attacking behemoth. I am lucky that behe was on black hp while it happen so i didnt die :D
edit: the funniest thing is that always when i log in after crash i am in totaly other place than place it gets crashed
kubax36
07-03-2013, 07:40 PM
yeah, as i thought, while site is offline then tibia clients are getting crashed
DarkstaR
07-03-2013, 08:08 PM
yeah, as i thought, while site is offline then tibia clients are getting crashed
Then you're not using the latest version.
kubax36
07-03-2013, 08:28 PM
nvm..
gabbe
07-07-2013, 03:11 PM
I Think the old magwall timers was better! D:
Anyways, nice! :p
kubax36
07-07-2013, 05:08 PM
Hello, today for me happened something weird, I noticed that my bot was staying next to 2 monsters, one of it was targetted and my bot was spamming exori ico and there was showed information "you can only use this spell on creatures" or something like that. I needed to retarget this monster to make bot attacking spells again. It was staying like that for 33 minutes till i noticed it.
DarkstaR
07-07-2013, 07:37 PM
I Think the old magwall timers was better! D:
Anyways, nice! :p
They aren't possible anymore cause magic walls are random. I didn't make them worse for shits and giggles.
gabbe
07-08-2013, 05:45 PM
They aren't possible anymore cause magic walls are random. I didn't make them worse for shits and giggles.
What do you mean with random? :O Do you mean that magwalls are not for sure exactly X seconds long? :O
What do you mean with random? :O Do you mean that magwalls are not for sure exactly X seconds long? :O
Yea since update (new pvp update?! not sure which it was) they have a base amount of time (20 secs) + a random time X which differs from 1 to 10 additional seconds (not sure). So xenobot can count the base time but it can't predict how long exactly the mwall will stay so it displays "SOON!" whenever the basic time has run out.
DarkRoses
07-08-2013, 08:26 PM
Yea since update (new pvp update?! not sure which it was) they have a base amount of time (20 secs) + a random time X which differs from 1 to 10 additional seconds (not sure). So xenobot can count the base time but it can't predict how long exactly the mwall will stay so it displays "SOON!" whenever the basic time has run out.
Its +-5 seconds so they can last from 15-25 seconds.
Also, they added to prevent magicwall timers.
gabbe
07-09-2013, 12:51 AM
Its +-5 seconds so they can last from 15-25 seconds.
Also, they added to prevent magicwall timers.
That really sucks! :(
kubax36
07-10-2013, 12:24 PM
DarkstaR, I would really love if you change settings window to list of xbst files. Now when someone have many scripts it takes alot of time to find one :(
DarkstaR, I would really love if you change settings window to list of xbst files. Now when someone have many scripts it takes alot of time to find one :(
/\
This.
I always load my settings with the windows explorer. Better layout, search function etc :P
NNiklaSS
07-10-2013, 07:55 PM
Closed.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.