summaryrefslogtreecommitdiff
path: root/src/map/battle.h
AgeCommit message (Collapse)AuthorFilesLines
2010-04-04Added packet rate limiter and flood prevention system.MadCamel1-0/+4
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.
2009-12-26Used the "indent" C formatting program from GNU to do some clean upsChuck Miller1-301/+320
The command options used was: -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl
2009-09-26Initial support for skill pools (available via at commands andFate1-0/+1
untested scripting commands.) These changes also affect the format of the skill_db.txt file.
2009-09-20Initial support for skill poolsFate1-0/+1
2009-08-16Adjust auto ban code and add sit spam handlingJared Adams1-0/+5
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.
2009-07-06Add a new trade spam systemJared Adams1-0/+5
2009-07-06Revert "Add a new trade spam system"Jared Adams1-18/+13
This reverts commit 2e87e5b65a02d8d9f867a0510f039cc319b3ffcb.
2009-07-06Add a new trade spam systemJared Adams1-13/+18
2009-04-09New and improved anti-spam systemMadCamel1-4/+5
2009-03-08Strip some more outJared Adams1-4/+0
2009-03-08Remove pet and vending systemsJared Adams1-18/+0
2008-10-11Commit magic patch v13Jared Adams1-0/+2
2008-10-04relax dropstealing protection. Mantis #429, patch by fate.Dennis Friis1-0/+2
2008-04-10Add configurable anti spam system, with possible auto ban.Dennis Friis1-0/+5
2008-04-02initial checkinDennis Friis1-0/+342