summaryrefslogtreecommitdiff
path: root/consts.py
AgeCommit message (Collapse)AuthorFilesLines
2022-08-06Raise max inventory from 25 to 100 - server should not explode. Maybe.Jesusaves1-1/+1
2022-07-28Version bump (registration protocol modified)Jesusaves1-1/+1
2021-08-18Bump client version to 2.1.8.18Jesusaves1-2/+2
Modify client outdated error code.
2021-08-11Alpha version of summoningJesusaves1-0/+2
2021-08-10Log summon usage (currently not possible)Jesusaves1-0/+1
2021-08-08Bump protocol versionv2.1.8.8Jesusaves1-1/+1
2021-08-04Send damage over the packets as wellJesusaves1-0/+5
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-0/+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-27Disclose about automatic bans, and make score rule read from consts.pyJesusaves1-0/+2
Move the TODO about dropping already established connections from server.py to security.py
2020-12-24Server really does not cares with job, as they only affect base stats,Jesusaves1-7/+0
skill allocation, etc. and that is up to the SDK
2020-12-20Exp Table is now part of server data (no more a JSON file).Jesusaves1-0/+3
This is possible thanks to max_exp now being sent with player data.
2020-12-19Add token field to connection. Send connection to protocol parser.Jesusaves1-0/+4
Add new constants for the results (non-boolean) so laterâ„¢ score can be smart.
2020-12-18Limit maximum clients connected at once to 2500.Jesusaves1-0/+1
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-18Registrations should be working again.Jesusaves1-1/+1
Bump client version so it is now authorized! \o/
2020-12-17New function: security.score()Jesusaves1-0/+1
Whenever a bad packet is received or something, it adds a "score" to the conn. If it exceeds a certain threshold (5 for unauthed, 30 for authed users), the connection is killed and IP is blacklisted for BAN_TIME (default: 3 mins)
2020-12-17Move blacklist functions to security.pyJesusaves1-0/+1
2020-12-17Add support for three blacklist filesJesusaves1-0/+2
But technicially, Z-Line and G-Line should be processed before
2020-12-16Import the good ol' SQL module.Jesusaves1-0/+160