Slow Moving NPCs

After I attack an NPC in Eclipse Advanced v3.0.21 with a ranged spell (or any attack for that matter), the NPC starts walking to me (as it should). However, the NPC seems to move then stop and then move again until it is within melee range of me. Is anyone else getting this delay/pause? Is there something I can change in the source to fix it?

Sorry for the double post but the problem has been solved.

Problem still exists…

Anyone still using EA? That is soo old 😄

Lol I like having it open source. Any recommendations?

And to clarify, the NPC is still walking towards me, it just pauses at every tile before making the next move. The pause is fairly quick but enough that it is blatantly obvious.

It does this by design, NPC movement is handled by Sub UpdateMapLogic on the Server, there are a few ways you can fix this off the top of my head.

1. Increase the frequency that Sub GameLoop calls UpdateMapLogic

2. Slow down the NPC movement speed client side, so that it matches the GetTickCount server side, so the NPC essentially begins moving to the next tile as soon as the server calls the next UpdateMapLogic routine.

Ahh perfect… I might also have to do a different UpdateMapLogic depending on the NPCs speed etc or do different ones depending on if they are in combat…

Thank you so much for the help!

Eclipse Advanced? When did this happen.

Lol I like having it open source. Any recommendations?

And to clarify, the NPC is still walking towards me, it just pauses at every tile before making the next move. The pause is fairly quick but enough that it is blatantly obvious.

Recommendations? If I remember there is newer version of EA called Prospekt Source or what. Try google.

Log in to reply