Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-01 | Revert "Disable the packet flood prevention" | MadCamel | 1 | -2/+0 | |
This reverts commit 07ac029ab049cd8fdec5f271a814c2459edeefb8. | |||||
2010-08-01 | Disable the packet flood prevention | Chuck Miller | 1 | -0/+2 | |
It is acting funny and being mean to innocent users | |||||
2010-07-27 | Temporarily removed ChangeDir flood checks until mana1.0 is official | MadCamel | 1 | -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-23 | Clean up some memory handling | remoitnane | 3 | -17/+22 | |
2010-07-06 | Add new map flag and condition for mob skills | remoitnane | 4 | -1/+12 | |
Signed-off-by: Jared Adams <jaxad0127@gmail.com> | |||||
2010-06-21 | Use the stlplus::inf class in the money count to avoid overflow | Chuck Miller | 7 | -15/+1941 | |
Also changed the degree of freedom to 0 | |||||
2010-06-21 | Improve the moneycount tool to give more Statistics about the money on the ↵ | Chuck Miller | 1 | -22/+87 | |
server | |||||
2010-05-05 | map-server and char-server build again on a fresh checkout | MadCamel | 2 | -2/+2 | |
Oops :( | |||||
2010-05-05 | Fixed up and slightly simplified the build system | MadCamel | 23 | -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-03 | Tweaked some rate limits for NPCs | MadCamel | 1 | -4/+4 | |
The limits were interfering with repetative NPCs such as Agostine | |||||
2010-05-02 | ChangeDir packets are now rate limited | MadCamel | 1 | -1/+11 | |
Breakdancing is fun. Spinbotting isn't.. | |||||
2010-05-01 | Do not relay duplicate direction change packets | MadCamel | 1 | -0/+3 | |
Pre-mana clients spam this packet while walking into blocked tiles | |||||
2010-04-30 | Remove unused function declarations from tmw.h | MadCamel | 1 | -2/+0 | |
I had forgotten to do this when I removed the functions themselves. | |||||
2010-04-16 | Fixed entity_warp() in magic, as used by teleporting, to properly update the ↵ | Fate | 2 | -3/+8 | |
map string using pc_setpos() Noted (and solution suggested) by Freeyorp | |||||
2010-04-11 | Quick fix for when a moved npc goes out of range | Freeyorp | 1 | -2/+6 | |
2010-04-11 | Remove script_rid2sd assignment on an otherwise unused variable | Freeyorp | 1 | -3/+0 | |
This is unused and gave false alarms about rid not being attached when it didn't need one. | |||||
2010-04-11 | Make injure() respect killer and killable states | Freeyorp | 1 | -1/+1 | |
2010-04-11 | Add new function to the magic system, mob_id | Freeyorp | 1 | -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-11 | Fix npcwarp | Freeyorp | 1 | -0/+2 | |
2010-04-09 | Change the server version response packet to include flags | Jared Adams | 1 | -3/+1 | |
Only flag used at the moment is registration enabled/disabled (bit 0x00000001). | |||||
2010-04-04 | Merge commit 'refs/merge-requests/2' of git://gitorious.org/tmw-eathena/mainline | Jared Adams | 10 | -224/+696 | |
2010-04-04 | Allow modification of opt2 from scripts | Freeyorp | 1 | -239/+282 | |
2010-04-04 | Add npcwarp script function to allow an NPC to warp to a new position on its ↵ | No Name | 1 | -0/+38 | |
map. This patch models its behavior partly on that of movenpc and the atcommand npcmove. | |||||
2010-04-04 | Fixed some bad code that was generating compiler warnings | MadCamel | 5 | -13/+26 | |
2010-04-04 | Removed obsoleted trade and sit spam code | MadCamel | 4 | -82/+0 | |
2010-04-04 | Added packet rate limiter and flood prevention system. | MadCamel | 5 | -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-27 | Fix compilation of itemsearch tool | Jared Adams | 1 | -0/+2 | |
2010-03-24 | Revert "Add new death penalty type (3) which takes a percentage of the ↵ | Chuck Miller | 1 | -8/+0 | |
player's zeny" This reverts commit bf400032e3e3699c71cf4dc73a22a230a27cf837. | |||||
2010-03-24 | Add new death penalty type (3) which takes a percentage of the player's zeny | Chuck Miller | 1 | -0/+8 | |
2010-03-24 | Add the moneycount tool | Chuck Miller | 5 | -0/+713 | |
2010-02-21 | Fix trades cancelling without proper reason. | No Name | 1 | -2/+2 | |
Addresses issue introduced by d6c7054 (by me). | |||||
2010-02-21 | Pad server whisper name with null characters. | No Name | 1 | -1/+1 | |
Prevents server whisper name from containing other trailing data as memcpy will not check for a terminating null character in the source. | |||||
2010-02-21 | Cancel active trade if an item is removed from inventory. | No Name | 1 | -3/+3 | |
Modifies the previous fix to now cancel if an item is deleted from a player's inventory, including items that are used/consumed. | |||||
2010-02-21 | Fixed sending player's name when in a guild. | Chuck Miller | 1 | -51/+32 | |
Also changed up packet 0x0195, the client can now understand this packet | |||||
2010-02-20 | Do not report another player's base level. | No Name | 1 | -10/+3 | |
Modifies three packets to no longer transmit another player's base level, instead reporting zero. | |||||
2010-02-18 | make login-server child REALLY exit when done writing DB | MadCamel | 2 | -2/+2 | |
2010-02-18 | make login-server exit after DB write is finished | MadCamel | 1 | -0/+5 | |
2010-02-12 | Login-server now does forked writes of accounts DB | MadCamel | 1 | -17/+21 | |
2010-02-11 | Re-calculate player stats when an equipped item is removed. | MadCamel | 3 | -3/+3 | |
This fixes the issue where a player could drop/trade/store an equipped item and still retain it's attack/def/etc buffs. | |||||
2010-02-06 | Cleaned up spamban code a little. Now logs location where ban was triggered. | MadCamel | 2 | -91/+75 | |
It still needs to be refactored more but this'll do for now. | |||||
2010-02-06 | Fix a memory leak | MadCamel | 1 | -1/+3 | |
2010-02-05 | Spellcasting will no longer trigger spam bans | MadCamel | 1 | -16/+7 | |
I ran this by fate and he had no objections. If there are problems with flooding/resource consumption we can put some rate limits in the packet handlers. (That's on my TODO) | |||||
2010-02-05 | Attempt to fix forking problem on platinum | Jared Adams | 1 | -1/+14 | |
2010-02-04 | Removed auto-generated source files | MadCamel | 4 | -6220/+4 | |
And added them to .gitignore. These three files are generated on the fly by flex and bison during the build process and should not be in the repository. | |||||
2010-02-04 | Write the accounts DB on a timer instead of player triggered events | MadCamel | 1 | -45/+7 | |
Writing the DB is resource intensive and should be done as little as possible. Putting it on a timer is intended to prevent buggy/malicious clients from consuming large amounts of resources. This patch may cause minor inconsistancies between the login and character server databases, as they are both doing delayed writes, probably on different schedules. I'm unable to see any huge consequences to this. | |||||
2010-02-02 | Merge branch 'master' of git://gitorious.org/tmw-eathena/mainline | MadCamel | 8 | -18/+27 | |
2010-02-02 | Attempt to fix forking problem on platinum | Jared Adams | 1 | -1/+14 | |
2010-01-26 | Added password encryption to the accounts database, removed logging of ↵ | MadCamel | 7 | -69/+144 | |
plaintext passwords Will auto-convert accounts DB to new format. | |||||
2010-01-26 | Added password encryption to the accounts database, removed logging of ↵ | MadCamel | 7 | -69/+144 | |
plaintext passwords Will auto-convert accounts DB to new format. | |||||
2010-01-19 | fixed a buffer overrun and use of uninitialized | Helmut Grohne | 2 | -2/+2 | |
The target buffer for the memcpy only takes like 24 chars. strcat on an uninitialized buffer is a bad idea. |