summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-08Simplify party invitation logic and clean up commentsremoitnane2-29/+71
This eliminates part of the client's burden to manage the ID of the player sending the invitation. This also introduces a new response value (3) for the invitation acknowledgement packet (0x00fd) to indicate the party is full. Resolves: TMW Mantis #676
2010-09-05Clean up NPC string input and minor formattingremoitnane2-9/+19
2010-08-29Expand script function "misceffect" and clean up documentationremoitnane1-9/+35
2010-08-28Prevent players from bypassing a spell's cast timeremoitnane1-1/+16
2010-08-26Added ipcheck GM commandMadCamel2-0/+65
usage: ipcheck <char name> This new command defaults to level 60 and displays all characters currently online from the same IP address. It does not reveal the actual IP address.
2010-08-25Revert "Fixed leaking of file descriptors in login and map server when their ↵MadCamel2-2/+4
logfiles are too large." This reverts commit 819525a030a1e66c9de6fe67b15f4f57ff932651.
2010-08-22Fixed leaking of file descriptors in login and map server when their ↵MadCamel2-4/+2
logfiles are too large.
2010-08-15Let players spam spells againremoitnane1-7/+37
Sorry for the inconvenience
2010-08-15Kludge-fix double-equipment issue to hopefully prevent new instancesremoitnane1-0/+4
2010-08-15Correct cosmetic issues and make use of message configurationremoitnane2-21/+27
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
2010-08-15Remove unused code for obscuring spell invocationsremoitnane1-15/+0
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
2010-08-15Centralize chat validation and simplify at-command processingremoitnane3-108/+269
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
2010-08-14Eliminate a slow memory leak in the magic systemremoitnane2-0/+5
2010-08-12Fix processing starting armor and weaponJared Adams1-37/+37
2010-08-08Add script support for retrieving seconds since Unix epochremoitnane1-6/+17
2010-08-07Tweak memory wrappers and add one for strdup()remoitnane2-22/+36
2010-08-04Fixed minor portability problemMadCamel1-1/+1
Should compile correctly on newer cygwin now
2010-08-04Account ID is now logged in the GM log next to character nameMadCamel1-2/+2
This is so nobody gets too confused if a GM is doing @commands as an alternate character. Since account ID is public to anyone on the server anyway, it shouldn't be a security risk.
2010-08-01Properly fixed disconnect problemMadCamel1-1/+1
2010-08-01Revert "Disable the packet flood prevention"MadCamel1-2/+0
This reverts commit 07ac029ab049cd8fdec5f271a814c2459edeefb8.
2010-08-01Disable the packet flood preventionChuck Miller1-0/+2
It is acting funny and being mean to innocent users
2010-07-27Temporarily removed ChangeDir flood checks until mana1.0 is officialMadCamel1-0/+3
.29.1 has a bug that spams ChangeDir packets like crazy and my checks had some problems with this, causing players to be disconnected while navigating through areas with large amounts of blocked tiles. Hopefully someone remembers to re-enable this code when 1.0 is the officially supported version.
2010-07-23Clean up some memory handlingremoitnane3-17/+22
2010-07-06Add new map flag and condition for mob skillsremoitnane4-1/+12
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-21Use the stlplus::inf class in the money count to avoid overflowChuck Miller7-15/+1941
Also changed the degree of freedom to 0
2010-06-21Improve the moneycount tool to give more Statistics about the money on the ↵Chuck Miller1-22/+87
server
2010-05-05map-server and char-server build again on a fresh checkoutMadCamel2-2/+2
Oops :(
2010-05-05Fixed up and slightly simplified the build systemMadCamel23-143/+71
It's now possible to run 'make' in any of the src/ subdirs and have it build properly. Moved some tools including eathena-monitor to src/tools - run 'make tools' to build. CFLAGS, etc are now in the 'make.defs' file. Requires GNU make.
2010-05-03Tweaked some rate limits for NPCsMadCamel1-4/+4
The limits were interfering with repetative NPCs such as Agostine
2010-05-02ChangeDir packets are now rate limitedMadCamel1-1/+11
Breakdancing is fun. Spinbotting isn't..
2010-05-01Do not relay duplicate direction change packetsMadCamel1-0/+3
Pre-mana clients spam this packet while walking into blocked tiles
2010-04-30Remove unused function declarations from tmw.hMadCamel1-2/+0
I had forgotten to do this when I removed the functions themselves.
2010-04-16Fixed entity_warp() in magic, as used by teleporting, to properly update the ↵Fate2-3/+8
map string using pc_setpos() Noted (and solution suggested) by Freeyorp
2010-04-11Quick fix for when a moved npc goes out of rangeFreeyorp1-2/+6
2010-04-11Remove script_rid2sd assignment on an otherwise unused variableFreeyorp1-3/+0
This is unused and gave false alarms about rid not being attached when it didn't need one.
2010-04-11Make injure() respect killer and killable statesFreeyorp1-1/+1
2010-04-11Add new function to the magic system, mob_idFreeyorp1-0/+10
This takes one parameter, an entity, and returns the id of the class associated with a mob if it is a mob, and fails otherwise.
2010-04-11Fix npcwarpFreeyorp1-0/+2
2010-04-09Change the server version response packet to include flagsJared Adams1-3/+1
Only flag used at the moment is registration enabled/disabled (bit 0x00000001).
2010-04-04Merge commit 'refs/merge-requests/2' of git://gitorious.org/tmw-eathena/mainlineJared Adams10-224/+696
2010-04-04Allow modification of opt2 from scriptsFreeyorp1-239/+282
2010-04-04Add npcwarp script function to allow an NPC to warp to a new position on its ↵No Name1-0/+38
map. This patch models its behavior partly on that of movenpc and the atcommand npcmove.
2010-04-04Fixed some bad code that was generating compiler warningsMadCamel5-13/+26
2010-04-04Removed obsoleted trade and sit spam codeMadCamel4-82/+0
2010-04-04Added packet rate limiter and flood prevention system.MadCamel5-130/+671
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.
2010-03-27Fix compilation of itemsearch toolJared Adams1-0/+2
2010-03-24Revert "Add new death penalty type (3) which takes a percentage of the ↵Chuck Miller1-8/+0
player's zeny" This reverts commit bf400032e3e3699c71cf4dc73a22a230a27cf837.
2010-03-24Add new death penalty type (3) which takes a percentage of the player's zenyChuck Miller1-0/+8
2010-03-24Add the moneycount toolChuck Miller5-0/+713
2010-02-21Fix trades cancelling without proper reason.No Name1-2/+2
Addresses issue introduced by d6c7054 (by me).