Greetings conquerors, it's time for the 2024 recap. This year focused mainly on "tech debt, with the two largest efforts being the communication protocol switch and text message overhauls.
Switching from XML to JSON reduced the payload sizes by 10-30%. This helps with client performance on slower connections (see separate blog post for further details). Additionally, I recently removed the troop name (e.g., soldier, archer, knight, etc.) and mode (i.e., infantry, cavalry, flight) from the battle and spy reports. Sending this text was wholly unnecessary and further reduced the payload size for those reports. Imagine 8 armies (4 per side) with 8 troops each plus the casualties for each side; that is 80 instances per battle report where the troop name and mode were being sent. Yikes! Conquest! has ~3000 pieces of text, which include button labels, tips, help, email notifications, and success/error messages. This text was developed over years and varied wildly in tone and grammar. Also, there were many duplicate messages. This year I focused on standardization and the removal of duplicates by creating server-side helper functions for common messages (e.g., cannot use an item or skill, capturing or destroying goods, etc.). These functions are called across the game as needed and provide a more consistent experience for players. Here is the complete list of changes. Server
Classes
NPCs
UI
Misc.
0 Comments
Leave a Reply. |
AuthorJames has been working on Conquest! since 1993. Archives
June 2024
Categories |