Age | Commit message (Collapse) | Author | Files | Lines |
|
This is sent along with char name replies to GMs able to recieve hack
notices. Unfortunately,it locks up clients that do not support this packet.
Must coordinate to get this added to TMW 0.5 release and mana. Until then,
code is commented out in clif.c(grep for MD5_ip)
Packet structure:
0x20C (len 2)
AccountID of character name was requested for (len 4)
IP address of requested char in network byte order (len 4)
Config option in battle_athena.conf:
gm_mask_ips (boolean) - When set to 1(default) GMs will only see a
hashed/masked IP address.
|
|
Guess I forgot to remove them when the actual trade/sit spam
code was removed.
|
|
The idea behind this is to keep abusive clients from flooding the
server. Everything from over-voracious auto pick-up to exploitation
of NPC vulnerabilities is mitigated by this. It will also eventually
reduce server traffic, load, and possibly lag.
Config options in battle_athena.conf:
packet_spam_flood (default 30)
packet_spam_threshold (default 2)
packet_spam_kick (default 1)
Each packet type has a specified allowed incoming rate in milliseconds,
if this rate is exceeded the packet is ignored. If over 'flood' overruns
in 'threshold' seconds are detected, a flood is logged and a kick may be
triggered depending on the 'kick' config boolean.
The packet rates and flood thresholds have been tested and tweaked
on a live server, this should only affect abusive clients. Only
extremely abusive clients will trigger a log/kick condition.
This probably obsoletes the trade and kick spam code.
|
|
The command options used was:
-nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0
-di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl
|
|
untested scripting commands.) These changes also affect the format
of the skill_db.txt file.
|
|
|
|
All three ban types can now either ban or just ingore new packets. Trade
and sit spam default to ignore. Chat spam defaults to 1hr ban.
|
|
|
|
This reverts commit 2e87e5b65a02d8d9f867a0510f039cc319b3ffcb.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|