summaryrefslogtreecommitdiff
path: root/src/map/map.h
AgeCommit message (Collapse)AuthorFilesLines
2012-08-30Rename files for C++ conversion. Does not compile.Ben Longbons1-822/+0
After updating, you can remove these files, as shown in 'git status': Untracked files: (use "git add <file>..." to include in what will be committed) src/map/magic-interpreter-lexer.c src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.h
2011-04-03Fix some more compiler warningsBen Longbons1-5/+5
2011-03-24Optimize common objects, and adjust other objects accordingly.Ben Longbons1-2/+4
Major changes still need to be made to each of the servers.
2011-03-16Use makefiles correctly and expand include dirsBen Longbons1-1/+1
2011-03-02Recode from SHIFT-JIS to unicode, then undo the conversion of backslashs and ↵Ben Longbons1-16/+16
tildes.
2010-10-08map-server now stores IP address in session_data when player connectsMadCamel1-0/+3
This is to be used for @ipcheck, sending GMs IP identifiers, and clone blocking.
2010-07-06Add new map flag and condition for mob skillsremoitnane1-0/+1
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-04-04Removed obsoleted trade and sit spam codeMadCamel1-6/+0
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-590/+648
The command options used was: -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl
2009-10-25Prevent auto bans from multiplyingJared Adams1-0/+4
2009-09-26Add a no player drop flag for mapsJared Adams1-0/+1
2009-09-26Initial support for skill pools (available via at commands andFate1-0/+8
untested scripting commands.) These changes also affect the format of the skill_db.txt file.
2009-09-14Replace logging mechanism: write out text file every ~20 minutes and try to ↵Fate1-8/+2
gzip. If gzip fails, the old file still survives.
2009-09-12Implemented pDeaf property (70) which makes PCs ignore regular PC chat ↵Fate1-0/+2
(except for GMs)
2009-09-11Added mapserver config option log_file to specify gzipped player action log fileFate1-0/+12
2009-08-26Autobans are now logged, more chat spam improvementsMadCamel1-0/+1
Added a timeout to the total repeat counter. 5 minutes by default.
2009-08-23Improved chat spam detectionMadCamel1-0/+1
Repeats are now checked only to the length of the shortest line (last line, current line) so "SPAM!!" and "SPAM!!!!!" would be considered a repeat. Total repeats are now counted and a ban is triggered if they exceed battle_config.chat_spam_flood repeats, regardless of time frame.
2009-08-16Adjust auto ban code and add sit spam handlingJared Adams1-0/+3
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/+3
2009-07-06Revert "Add a new trade spam system"Jared Adams1-19/+16
This reverts commit 2e87e5b65a02d8d9f867a0510f039cc319b3ffcb.
2009-07-06Add a new trade spam systemJared Adams1-16/+19
2009-06-25Improved storage saving, derived from ea stable.Dennis Friis1-0/+1
2009-06-25Redo storage, derived from ea stable.Dennis Friis1-1/+2
2009-06-17Added extra checks to ensure spell invocations aren't incorrectly deletedFate1-2/+2
2009-06-16Removed unnecessary am-healing flag, incorporated healing packets with ↵Fate1-1/+0
regular opt status flags. This, together with the clientdata update, should fix the stuck healing state.
2009-05-13Add support for sending GM info to playersJared Adams1-0/+1
2009-05-11Don't spam healing changesJared Adams1-0/+1
2009-05-03Fixed antispam to use a timer that doesn't wrapMadCamel1-1/+2
2009-04-09New and improved anti-spam systemMadCamel1-3/+2
2009-03-16Only resume script after divorce if need toJared Adams1-0/+1
2009-03-14Fix some storage-related codeJared Adams1-0/+3
You can't end NPC scripts with openstorage, which will now wait for the user.
2009-03-08Strip some more outJared Adams1-43/+0
2009-03-08Remove pet and vending systemsJared Adams1-46/+1
2009-03-08Remove packet versions from map serverJared Adams1-1/+0
2009-01-31Add functionality for healer XP handlingFate1-0/+2
2008-12-12Added @hugo and @linus commands for iterating over logged-in playersFate1-0/+5
2008-12-11Added @invisible and @visible GM commandsFate1-1/+16
2008-12-01Added mutations to mobs (must change mob_db.txt)Fate1-1/+17
2008-11-08* Change SLang interpreter time handling to be universally unsignedFate1-1/+1
* Add debug output to SLang guard checking to print why particular guards failed
2008-11-02* Minor cleanup in login serverJared Adams1-0/+5
* Char server now records client version and reports it to map server * Map server will now report all skills (even ones with dangerous indices) for client version 1 and above * Use status change val1 (instead of val2) index for speed potions, so that they can be triggered more easily from within scripts * Item database now also keeps track of the effect that items have on the spower stat * spower is now based on level + int*2 + modifier (see last point) * Minor bugfixes in support functionality for the SLang interpreter - Do not restart the map server without also restarting the char server, as the interserver protocol has changed slightly! (patch by fate)
2008-10-26Commit Mantis 509Jared Adams1-0/+4
2008-10-23Commit Mantis tasks 486 and 460Jared Adams1-1/+16
2008-10-11Commit magic patch v13Jared Adams1-19/+60
2008-04-10Add configurable anti spam system, with possible auto ban.Dennis Friis1-1/+6
2008-04-02initial checkinDennis Friis1-0/+705