firebolt55439 / Diep.io-Protocol

A project dedicated to reverse-engineering diep.io's client/server protocol.
33 stars 10 forks source link

Added recognition for server uptime #13

Closed hxxr closed 8 years ago

hxxr commented 8 years ago

This script will now automatically retrieve server uptime (in ticks) and save it as the variable uptime, although this still needs to be verified.

I also do need help figuring out how long a "tick" is.

hxxr commented 8 years ago

For some reason, this only works on FFA and Team DM... I'll fix that.

hxxr commented 8 years ago

...Hello? Anyone there?

firebolt55439 commented 8 years ago

That's actually very interesting - a "tick" can't be very long, most likely less than a minute. Let me do some further testing with the extension.

hxxr commented 8 years ago

I used my phone's stopwatch and found out that 127 "ticks" is around 5 seconds, but there might be a way to get a more exact result.

hxxr commented 8 years ago

Well, I did some testing, and I found out that 100 ticks should be exactly 4 seconds, so that means 1 tick should be 40 milliseconds.