EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Find Command (https://www.eqemulator.org/forums/showthread.php?t=40481)

provocating 03-20-2016 08:53 PM

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.

demonstar55 03-20-2016 09:19 PM

the recalc I think is 100% client side. We send it a list of points and it handles the rest.

ghanja 03-20-2016 09:21 PM

Client sends the server a request, the server sends a reply ("findable" [sic] mob/NPC) and client presents the path.

provocating 03-20-2016 09:23 PM

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.

ghanja 03-20-2016 09:27 PM

Quote:

Originally Posted by provocating (Post 247803)
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.

provocating 03-20-2016 09:31 PM

Good enough for me

demonstar55 03-20-2016 09:31 PM

Quote:

Originally Posted by ghanja (Post 247802)
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.

ghanja 03-20-2016 09:51 PM

Quote:

Originally Posted by demonstar55 (Post 247806)
We tell it the path.

Yeah, using the pathing nodes, I should have said displayed rather than presents, as that's misleading. My bad.


All times are GMT -4. The time now is 01:20 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.