Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2010, 07:48 AM
Frumph
Fire Beetle
 
Join Date: Jan 2010
Posts: 17
Default

yeow, there's an extra posupdate going on that's making the bots act as if they're hyped up on coffee
Reply With Quote
  #2  
Old 01-16-2010, 08:20 AM
Frumph
Fire Beetle
 
Join Date: Jan 2010
Posts: 17
Default

I found it, there are two SendPosUpdates active at the same time every cycle when the bot is standing still, one is around line 2430 the other is around line 2403 both in the if(AImovement_timer->Check()) { area.

Those two posupdates are happening constantly causing the jittering, specifically the one at around line 2430 is the cause

I figured it out by setting a Say("line: 2430 Sending pos update."); at each pos update part in the code so the bot would say the refresh and it was spamming the screen constantly

So it's checking if(moved) so somewhere in the same cycle it's setting moved back to be true each time when it shouldn't ? Not sure - dunno why that particular one would keep triggering a pos update, I know it's pretty much required somewhere around there to do a posupdate to stop the ghosting when the guy stop's walking. But is there a better place for the posupdate is there a particular location that makes the stopping moving which the posupdate would be better placed at so it's not doing it every cycle? (which is happening at the sendposupdate around 2443, so n/m that). hrm.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:59 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3