summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-21Deprecate tavern_idJesusaves2-5/+2
2020-12-21Add Tavern protocols back (in theory, at least, completely untested)Jesusaves2-2/+139
2020-12-21Add a description to the taverns, so some text can be autogeneratedJesusaves1-0/+3
2020-12-21Add "banner" field to Tavern structure.Jesusaves1-0/+3
When non blank, it might be some fancy banner provided by update server...
2020-12-21Allow arbitrary command execution as well.Jesusaves1-1/+7
Please do not abuse this.
2020-12-21Remove some debug loggingsJesusaves1-3/+0
2020-12-21Fix the bug on duplicate login detectionJesusaves2-4/+7
2020-12-21Abrupt loss of connection will now save the player data and destroy the old ↵Jesusaves2-2/+15
token. Or at least, it will try to.
2020-12-21Allow high and totally unsafe wizardry if debug mode is ON.Jesusaves1-1/+10
Allow debug mode to be toggled on and off on server console.
2020-12-21Anti-dupe is not working...Jesusaves2-4/+4
2020-12-21Send APREFRESH packets to clientJesusaves1-1/+7
2020-12-21Improve token logic internally.Jesusaves4-24/+38
Hopefully this will detect when same userid is logged in twice and dc the older login. May suffer of race condition.
2020-12-21Make clients a global arrayJesusaves2-2/+2
2020-12-21I'll need a better storing of userid/token/ConnectionObject.Jesusaves1-0/+3
Note down about the need of APREFRESH packets.
2020-12-21Protocol to update AP Data. Do not reset AP Timers on logout.Jesusaves2-3/+13
2020-12-20Players now require 100% of the required EXP.Jesusaves1-6/+8
Units will require only 67% (2/3) of that (division by 1.5).
2020-12-20Sanitize player experience to rank up.Jesusaves1-1/+3
It is now only 50% above the default, instead of 100% above.
2020-12-20Exp Table is now part of server data (no more a JSON file).Jesusaves5-109/+124
This is possible thanks to max_exp now being sent with player data.
2020-12-20Register all the old protocols (set party, upgrade, evolve, sell).Jesusaves1-0/+12
Incl. in comments "recruit" and "summon". They were not tested in Python3, beware!!
2020-12-20[skip ci] Notes about what still must be done for full world support.Jesusaves1-0/+3
2020-12-20Add partial support for multiple worlds.Jesusaves5-21/+32
2020-12-19[skip ci] update notesJesusaves2-1/+2
2020-12-19Each connection may only have one token.Jesusaves1-1/+2
If the token expires, it cannot be used again to login. There is still a problem where an account may have multiple tokens (cause bugs)
2020-12-19Token validation - ensure each connection can only handle its own tokenJesusaves1-2/+9
2020-12-19Add token field to connection. Send connection to protocol parser.Jesusaves3-15/+21
Add new constants for the results (non-boolean) so later™ score can be smart.
2020-12-19Send max_exp to clients so they can render the exp bar without needing to ↵Jesusaves2-0/+6
download the whole experience table.
2020-12-19Bump experience - again.Jesusaves4-109/+113
EXP is now ruled by a table. It is starting to get annoying the number of JSON files we have. Too many files to request
2020-12-18Almost forgot - use WebPJesusaves1-0/+3
2020-12-18Update instructions about Update ServerJesusaves2-8/+9
2020-12-18Kill the fake positives in an... elegantly lame... way.Jesusaves3-0/+17
2020-12-18Combat is almost working nowJesusaves5-6/+11
2020-12-18Initial battle version imported from Python2 and with pyflakes3 applied.Jesusaves7-0/+971
Divided in multiple files for ease. UNTESTED. (But server still runs)
2020-12-18Seems like Battle is not used by Player o.oJesusaves1-1/+1
2020-12-18Enable protocols for logout, login, and download inventory dataJesusaves1-3/+14
2020-12-18Import the variables which will be needed by player.rpyJesusaves1-1/+1
2020-12-18Create tokens (unfinished, needs IP checking). Document max length experiments.Jesusaves4-3/+14
Login still not enabled.
2020-12-18Make experience table to rank up steeper.Jesusaves3-103/+107
We really should read a table instead of using a formula...
2020-12-18Add a reference fileJesusaves1-0/+100
2020-12-18Limit maximum clients connected at once to 2500.Jesusaves2-3/+10
In theory, it could handle 10k or so, but ML has total priority. So even if this interfers with Mana Spheres operation, it is preferable.
2020-12-18Update slightly the documentation.Jesusaves1-4/+6
2020-12-18Try to improve linting in sql, now, and one I missedJesusaves2-2/+4
2020-12-18Try to improve how script looks for lintingJesusaves3-6/+11
2020-12-18Registrations should be working again.Jesusaves4-5/+863
Bump client version so it is now authorized! \o/
2020-12-18Ehm, compress() needs to re-convert it to asciiJesusaves1-1/+2
2020-12-18Allow empty commands, and start printing tracebacks if something goes wrongJesusaves1-12/+20
2020-12-18Shutting down the server normally now notifies all clients about shutdownJesusaves1-2/+4
2020-12-18Update compress to Python3Jesusaves1-0/+1
2020-12-17Fix a few typos, try to cleanupJesusaves1-3/+6
2020-12-17Add formating rules for SERVNOTICEJesusaves1-1/+1
2020-12-17Add a rudimentary command parser for server.Jesusaves1-2/+13
Right now, it can safely exit the program (w/o ctrl+c), broadcast to all clients, and ban an IP.