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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2016, 08:53 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Find Command

I know which routine is run when the FindPerson command is clicked. Does anyone know what code is run when you move around and a new path is created? To be specific, when you click find and pick an NPC and the yellow path is created. When you move around the path is recalculated. I want to tweak mine a bit to my liking.
Reply With Quote
  #2  
Old 03-20-2016, 09:19 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

the recalc I think is 100% client side. We send it a list of points and it handles the rest.
Reply With Quote
  #3  
Old 03-20-2016, 09:21 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Client sends the server a request, the server sends a reply ("findable" [sic] mob/NPC) and client presents the path.
Reply With Quote
  #4  
Old 03-20-2016, 09:23 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

That is what I was thinking too, just because I have exhausted my searches in the code. One thing I notice is that you almost have to loop around the path again and make them cross to get it to recalculate. I guess it was like this in live too. I remember using it a good bit when it came out, I think it was around Luclin. I cannot remember if it was quirky though, my memory fails me on that.
Reply With Quote
  #5  
Old 03-20-2016, 09:27 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by provocating View Post
That is what I was thinking too, just because I have exhausted my searches in the code. One thing I notice is that you almost have to loop around the path again and make them cross to get it to recalculate. I guess it was like this in live too. I remember using it a good bit when it came out, I think it was around Luclin. I cannot remember if it was quirky though, my memory fails me on that.
It was annoyingly quirky on live, at least when I last logged on/played, yes.
Reply With Quote
  #6  
Old 03-20-2016, 09:31 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Good enough for me
Reply With Quote
  #7  
Old 03-20-2016, 09:31 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by ghanja View Post
Client sends the server a request, the server sends a reply ("findable" [sic] mob/NPC) and client presents the path.
We tell it the path.
Reply With Quote
  #8  
Old 03-20-2016, 09:51 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by demonstar55 View Post
We tell it the path.
Yeah, using the pathing nodes, I should have said displayed rather than presents, as that's misleading. My bad.
Reply With Quote
Reply


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 06:57 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3