bugs

Forum > Bugs > 0 Trophy points
Reply To Thread (login)
Myriad [324]
2012-08-04 10:22:18
[12 years, 143 days ago]

On Apex (level 133). He was the first to get the ENDERFIED trophy, which may have something to do with it. I can't remember how many points it had beforehand, but it was somewhere between 9 and 10k I believe.


 
Ender [1]
Administrator
2012-08-04 10:26:03
[12 years, 143 days ago]

Confirmed and investigating...


 
Ender [1]
Administrator
2012-08-04 10:31:47
[12 years, 143 days ago]

To clarify, I confirmed that Apex had ~12k trophy points as of ~2am this morning and now has 0. So far this does not seem to be related to the ENDERFIED trophy.

Just so I know I'm not having a massive brain fart, the only way (in theory) to lose trophy points is by spending them on buffs, right?


 
Ender [1]
Administrator
2012-08-04 10:34:17
[12 years, 143 days ago]

And of all the bots that have been active in the past few hours, Apex is the only one that has 0 trophy points, so this looks isolated.


 
Ender [1]
Administrator
2012-08-04 10:36:01
[12 years, 143 days ago]

Actually I have a theory now of how the trophy could have caused this. Looking through logs to confirm.


 
Ender [1]
Administrator
2012-08-04 10:57:12
[12 years, 143 days ago]

Okay, I figured this out:

  • 10:01:00 - game update with ENDERFY trophy begins
  • 10:01:01 - all new files done uploading to server, including sql to execute that adds new trophy
  • 10:01:02 - someone attacks Apex, which runs the new code that awards the ENDERFY trophy, but it doesn't exist in the database yet and the code doesn't know how to handle this case, causing Apex's trophy points to get wiped out
  • 10:01:03 - the sql that adds the new trophy gets executed, making this bug not happen for anyone else

As for restoring your data, you had 12,096 points as of a 2:05am backup from this morning. You got the silver 1k trains trophy and the gold ENDERFY trophy after that, so that gives you 30 + 90 = 120 more points, which puts you at 12,216 points, which I've now restored.

(And sorry for the stream-of-updates spam for everyone else with this, I thought it was a lot worse than it was at first.)


 
Myriad [324]
2012-08-04 10:58:50
[12 years, 143 days ago]

Thanks for the quick fix Ender. Good thing you didn't go by my initial estimate :p


 
Forum > Bugs > 0 Trophy points
Reply To Thread (login)