Map-A-Droid / MAD

Map PoGo stuff with Android devices
210 stars 135 forks source link

correct delay_to_avoid_softban #1355

Closed landlord11 closed 1 year ago

landlord11 commented 1 year ago

The current calculation adds the total delay needed to the time elapsed. It should subtract the time elapsed since last softban from the delay needed. For example, if distance jumped requires a 10s delay and 7s have elapsed, the old code calculated a 17s delay is needed. It should be 3s.

Grennith commented 1 year ago

Thanks, nice finding :)