summaryrefslogtreecommitdiff
path: root/protocol.py
AgeCommit message (Collapse)AuthorFilesLines
2022-09-03Minor... bugfix? I'm not sureJesusaves1-1/+1
2021-08-18Sanitize packet (so it can send numbers) and send special code for outdated ↵v2.1.8.18Jesusaves1-0/+2
clients
2021-08-17Inform devs they need TWO repositories for local servers.Jesusaves1-1/+1
2021-08-11Summoning protocol, alpha version (working)Jesusaves1-1/+2
2021-08-11Alpha version of summoningJesusaves1-2/+2
2021-01-05Fix pyflakes3 warningsJesusaves1-1/+1
2020-12-31Fix typos and a bug of a swapped max and min functionJesusaves1-2/+2
2020-12-31Registration failure now only gives 2 lame points.Jesusaves1-1/+1
This means each connection can attempt up to three registrations. Raise to 3 in case of attack :p
2020-12-31Relicense the game to GPLv3.Jesusaves1-10/+9
utils.py can still be used under the LGPL. The LGPL license present in git history is no longer valid, but already issued copies still are. Needless to say, there are no "already issued copies"...
2020-12-25Properly authenticate player, extending max amount of ERR_BAD they can sendJesusaves1-0/+1
2020-12-21Add Tavern protocols back (in theory, at least, completely untested)Jesusaves1-2/+3
2020-12-21Improve token logic internally.Jesusaves1-0/+2
Hopefully this will detect when same userid is logged in twice and dc the older login. May suffer of race condition.
2020-12-21Protocol to update AP Data. Do not reset AP Timers on logout.Jesusaves1-0/+2
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-19[skip ci] update notesJesusaves1-1/+1
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.Jesusaves1-12/+13
Add new constants for the results (non-boolean) so later™ score can be smart.
2020-12-18Combat is almost working nowJesusaves1-1/+4
2020-12-18Initial battle version imported from Python2 and with pyflakes3 applied.Jesusaves1-0/+9
Divided in multiple files for ease. UNTESTED. (But server still runs)
2020-12-18Enable protocols for logout, login, and download inventory dataJesusaves1-3/+14
2020-12-18Create tokens (unfinished, needs IP checking). Document max length experiments.Jesusaves1-1/+3
Login still not enabled.
2020-12-18Try to improve how script looks for lintingJesusaves1-1/+1
2020-12-18Registrations should be working again.Jesusaves1-3/+28
Bump client version so it is now authorized! \o/
2020-12-16Initial protocol processing systemJesusaves1-0/+41