Page 1 of 1

Bot extremely stucking

Posted: Tue Dec 06, 2011 1:54 pm
by gloover
Hi.

Since rev 678 the bot extremely stucks on some waypoints - cant sometemes go to the next waypoint, so its standing on the one, jumping left, right etc and logging out after 10 trials.

Rev 677 worked fine. What was changed on detecting waypoints?

Re: Bot extremely stucking

Posted: Tue Dec 06, 2011 2:18 pm
by ExeCuter
Just update to Rev 680 and your problem is solved.

Re: Bot extremely stucking

Posted: Tue Dec 06, 2011 4:01 pm
by gloover
Nope, nothing is solved.

I've tried 678, 679, 680 - all of them stucks on some waypoints, now reverted to 677 and combined this with adresses.lua and functions.lua from 680 seems to working fine

Re: Bot extremely stucking

Posted: Tue Dec 06, 2011 5:33 pm
by Rickster
same prob here.
bot moves to waypoint an then got stuck, move backwards/forward again and MM tells: trying to get free.

it happens nearly to every waypoint :(

i am unable to run any wp file.

ric

Re: Bot extremely stucking

Posted: Tue Dec 06, 2011 8:29 pm
by lisa
and you have fully done SVN update and SVN revert like it says in my signature?

Have you tried using other WP, maybe the issue might be the waypoints being to close together?

I ask because I don't have any issues with the WP I am running.

Re: Bot extremely stucking

Posted: Tue Dec 06, 2011 10:49 pm
by rock5
Actually I was wondering if it might be because they are too close together aswell. I might have to do some testing for that.

Still, answer lisas questions, we still need to know the answers to those.

Re: Bot extremely stucking

Posted: Wed Dec 07, 2011 3:17 am
by gloover
Yes lisa, I did al of your suggestions in your signature - inherently the bot is working, but the problem of stucking is since the rev 678.

The waypoints are not to close, here an exapmle:

Code: Select all

<!-- #  1 --><waypoint x="6425" z="5412" y="159" tag="npc">
 player:target_NPC("Robbie Butcher");
      CompleteQuestByName(killquest);yrest(555); checkDQCount();
      AcceptQuestByName(killquest);yrest(555);
      __WPL:setForcedWaypointType("TRAVEL");
</waypoint>
<!-- #  2 --><waypoint x="6340" z="5315" y="191">player:mount();</waypoint>
<!-- #  3 --><waypoint x="6298" z="5237" y="194"></waypoint>
so standing close to NPC, start the bot and it stucks on the first waypoint, sometimes, when passed the first waypoint, it stucks on the second.
As already posted above, with rev 677 and updated (adresse.lua+functions.lua from 680) its working fine.
Have tried all revisions from 677 upwards, all of then cause stucking on some waypoints.

Re: Bot extremely stucking

Posted: Wed Dec 07, 2011 3:52 am
by Rickster
same here.

updated svn and did a svn revert.
made sure, ingamefunctions are copied from the newest svn revision.

i tried different wp files which worked ok before and now donĀ“t. waypoint distances are mixed, but it does not matter if they are close together or far away from each other.

as revisions changed fast, after the last rom patch, i updated svn from 677 to 680. i have no idea, and did not check jet, if switching back to 677 with only addresses updated will work.

ric

Re: Bot extremely stucking

Posted: Wed Dec 07, 2011 8:16 am
by rock5
Try what I said here.
http://www.solarstrike.net/phpBB3/viewt ... 077#p31077
Let me know if it helps.

Re: Bot extremely stucking

Posted: Wed Dec 07, 2011 9:27 am
by gloover
Yea, rock that was it - as u sugessted I've changed the value from 0.4 to 0.6, now it "rocks". Thank u very much!

Re: Bot extremely stucking

Posted: Wed Dec 07, 2011 9:58 am
by rock5
gloover wrote:Yea, rock that was it - as u sugessted I've changed the value from 0.4 to 0.6, now it "rocks". Thank u very much!
So it looks like my idea to improve the accuracy was a complete failure. At .6 that is the same as 30 when walking which is what it was before. At least it sets it base on player speed now, so if you use different speed items to max your speed, it wont cause problems.

I'm not sure if I should remove the change I did that makes it not look for mobs during the last 50 before a waypoint. It didn't seem to have made a difference.

Re: Bot extremely stucking

Posted: Wed Dec 07, 2011 10:32 am
by Rickster
rock5 wrote:Try what I said here.
http://www.solarstrike.net/phpBB3/viewt ... 077#p31077
Let me know if it helps.
This also solved my problems :)

I did not find that thread when I was searching for my prob, thanks for your help!

Ric

Re: Bot extremely stucking

Posted: Thu Dec 08, 2011 2:39 am
by sdude13
same here, with this fix or 677 and new adresses.lua all seems to work.