Failed to save your character. You should relog now.
Posted: Wed Dec 17, 2014 6:20 pm
FYI, I am testing this on my local dev machine with a brand new database, and I am not able to get this message to appear. Though it appears 100% of the time for my "John" character in New Telon. It is my suspicion that it is existing Character data that might be causing the issue.
Task: Devs, can you think of any reason why in SaveCharacter, we'd end up with "error == true"? There are _no_ SQL errors in the console, and the only thing I can see offhand are the return(false) for varying reasons. Since there is no logging in the functions themselves, we cannot determine which Save* is doing it.
I strongly suggest moving Logging to your individual functions, with a Debug logger that you are starting to save ___ and finished saving ___ before returning false/true. This way also, SaveCharacter itself stays lightweight.
If no one gets to this change before the end of the year, I'll tackle it after the holidays. Logging is critical, please do not forget to place them logically and frequently.
Task: Devs, can you think of any reason why in SaveCharacter, we'd end up with "error == true"? There are _no_ SQL errors in the console, and the only thing I can see offhand are the return(false) for varying reasons. Since there is no logging in the functions themselves, we cannot determine which Save* is doing it.
I strongly suggest moving Logging to your individual functions, with a Debug logger that you are starting to save ___ and finished saving ___ before returning false/true. This way also, SaveCharacter itself stays lightweight.
If no one gets to this change before the end of the year, I'll tackle it after the holidays. Logging is critical, please do not forget to place them logically and frequently.