bugs

Forum > Bugs > Create new clan.
Reply To Thread (login)
Executed [325]
2024-03-30 11:35:45
[267 days ago]

There is a bug atm, at least i cant make a new clan, can not fill in my edumpers, has anyone got the same problem?


 
Horror Inc [161]
2024-03-30 11:52:33
[267 days ago]

Yup.


 
Gpof2 [132]
2024-03-30 16:14:51
[267 days ago]

Same


 
Denarii [168]
2024-03-30 16:18:56
[267 days ago]

Weird, I can definitely make them, just made one 2 seconds ago. What error if any do you see?


 
Gpof2 [132]
2024-03-30 16:21:48
[267 days ago]

Nevermind, mine is working now. It didn't work when I first checked because it was an already taken clan name, but still kind of odd that it results in a "HTTP ERROR 500" instead of a proper game error message.


 
Fishwick [135]
Moderator
2024-03-30 16:33:46
[267 days ago]

Ah yeah if its that 500 when trying to reuse a name, happens to me too and has done for a few months


 
Ender [1]
Administrator
2024-06-14 19:21:56
[190 days ago]

Thanks for the report, this should be fixed now. The game will now show a proper error when trying to create a clan with a name that's already taken.

I didn't track down exactly what broke this, but at some point, I'm guessing the PHP MySQL client behavior changed in a way that broke this. Previously, I attempted to INSERT the new clan into the database and detected whether it failed to determine whether the name was taken (relying on the unique index on name). At some point this started throwing an exception that wasn't being caught, which caused the server 500 error. I changed the code to just do a SELECT first to check whether the name is available or not.


 
Forum > Bugs > Create new clan.
Reply To Thread (login)