EOSERV Bug Tracker > Bug #215: Speeding NPC's

Bug #215: Speeding NPC's

Speeding NPC's
ID #215
Submitter Soook
Product EOSERV
Severity Normal
Status CLOSED, FIXED
Submitted 12th Jan 2013
Updated 13th Jan 2013
Related SVN Revisions
Rev# Date Description
r378 13 Jan 2013 22:34:20 UTC Secure the clock from going totally crazy (bug #215)
Soook Submitter 4 years, 16 weeks ago

Today I logged on my server and everyone was PMing me about fast NPC's, so I have a look and it was like they were using !xspeed Pro. One second the NPC was on one side of the island, the next it was on the other. This NPC I'm describing is a Swamp Monster, which aren't very fast. To fix it we had to reboot.

Note: This has only happened once.

Comments

Apollo 4 years, 16 weeks ago

I suppose this could happen if somehow your server's PC clock is somehow boosted using some speed up utility. It is very unlikely that a clean build of EOSERV would do this alone without altering the timer for NPC::Act.

Sausage Developer 4 years, 15 weeks ago

Probably originated from a bad number popping up in Clock::GetTimeDelta. I'm not sure what could cause such a drastic break in time, but there should probably be some sanity checks to stop it from having such a lasting effect.

Relevant information: How many days had your PC been on? If you killed an NPC, did that stop it from speeding?

Updated Status to CONFIRMED

Sausage Developer 4 years, 15 weeks ago

Possibly fixed in r378. Will now hopefully not listen if Windows says it's suddenly two weeks in the future.

Updated Status to CLOSED, FIXED

Add Comment

Please don't post unless you have something relevant to the bug to say.
Do not comment to say "thanks" or "fix this please".

Please log in to add comments. EOSERV Bug Tracker > Bug #215: Speeding NPC's