summaryrefslogtreecommitdiff
path: root/src/map/pc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-30Rename files for C++ conversion. Does not compile.Ben Longbons1-9032/+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
2012-01-28Send the current remaining status points even when a requested statup fails.The Free Yorp1-0/+1
This was causing issues where the client thought it had less status points than it actually had.
2012-01-08Raging skill formula changed to make it more powerful.Jessica Tölke1-3/+2
2011-10-13Workaround for the ancient-but-rare bug that stops people from using magic ↵Ben Longbons1-1/+7
when the tick wraps. The problem was rare to start with, and would *eventually* go away if you remained logged out, but this allows you to simply log in and log out to fix it.
2011-09-10Merge commit '2c863c0d99aa3df9ef2eb4ceb112c4d946520f0a'Ben Longbons1-86/+70
2011-09-10Merge commit '723fb5d3431b847526c433a13aa74485cfb564a3'Ben Longbons1-82/+51
2011-07-27Raging skill only with melee weapon, fix integer truncationBen Longbons1-3/+4
2011-07-27Revert "Modifying Raging Skill: maximum range with the skill is 2"Ben Longbons1-7/+2
This reverts commit 354e7ee4fdb8a95c48e7e086238b664d0368af53.
2011-07-23Modifying Raging Skill: maximum range with the skill is 2Jessica Tölke1-2/+7
2011-04-03Fix some more compiler warningsBen Longbons1-86/+70
2011-03-24Optimize common objects, and adjust other objects accordingly.Ben Longbons1-78/+47
Major changes still need to be made to each of the servers.
2011-03-16Use makefiles correctly and expand include dirsBen Longbons1-5/+5
2011-03-03Recovery and conversion of Japanese comments that had been lost as "invalid ↵Ben Longbons1-447/+451
UTF-8"
2011-01-23rebalancing the ASTRAL_SOUL skillStefan Beller1-5/+3
reviewed by fate
2011-01-19adding the TMW_RAGING skillStefan Beller1-0/+9
reviewed by:
2011-01-05adding the USE_ASTRAL_SOUL_SKILL defineStefan Beller1-3/+6
adding a define, so magic is done another way. I reviewed that stuff which is included by these changes, and it seems as if fate did a good job with that. trivial change.
2010-11-03Fix some crashes in cart system.Andrei Karas1-0/+18
Also limit using carts only to cartoon players.
2010-10-08map-server now stores IP address in session_data when player connectsMadCamel1-0/+6
This is to be used for @ipcheck, sending GMs IP identifiers, and clone blocking.
2010-09-05Clean up NPC string input and minor formattingremoitnane1-2/+2
2010-08-28Prevent players from bypassing a spell's cast timeremoitnane1-1/+16
2010-08-15Kludge-fix double-equipment issue to hopefully prevent new instancesremoitnane1-0/+4
2010-07-23Clean up some memory handlingremoitnane1-1/+4
2010-04-16Fixed entity_warp() in magic, as used by teleporting, to properly update the ↵Fate1-1/+1
map string using pc_setpos() Noted (and solution suggested) by Freeyorp
2010-04-04Removed obsoleted trade and sit spam codeMadCamel1-2/+0
2010-04-04Added packet rate limiter and flood prevention system.MadCamel1-0/+3
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-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-02-21Cancel active trade if an item is removed from inventory.No Name1-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-11Re-calculate player stats when an equipped item is removed.MadCamel1-1/+1
This fixes the issue where a player could drop/trade/store an equipped item and still retain it's attack/def/etc buffs.
2010-01-19fixed a few buffer overrunsHelmut Grohne1-1/+2
strncpy does not always terminate strings. Unterminated strings (without a length) are bad. So better terminate them.
2010-01-02Temporarily enclose astral soul modifications with ifdefsFreeyorp1-0/+6
Until the quests for this skill are available, this needs to be disabled on the server
2010-01-02Remove conflict markersFreeyorp1-36/+6
2009-12-29Fixed "maximum skill points" computationFate1-5/+33
2009-12-28Also pass a variable @itemId when running equip scriptsFreeyorp1-24/+36
2009-12-28Pass a variable @slotId when running equip scripts.Freeyorp1-13/+34
2009-12-26Used the "indent" C formatting program from GNU to do some clean upsChuck Miller1-6205/+7356
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/+2
2009-10-10Better logging, initial job experience gathering, naming fixes to the skill ↵Fate1-22/+49
script commands
2009-10-08Merge branch 'master' of gitorious.org:tmw-eathena/mainlineFate1-26/+23
2009-10-03Make failed skill ups respond with right valueJared Adams1-26/+23
2009-09-27Added astral soul skill, affecting all magic users: without this skill, ↵Fate1-0/+13
antimagic equipment carries a heavier penalty and spellpower beyond 200 is curved down.
2009-09-27Added "Mallard's Eye" skill (45) for ranged weapon users: increaseFate1-4/+6
to-hit, increase range, decrease the malus effect of distance. Also added an up to 31.25% damage bonus for hitting enemies that are farther away (only affects ranged weapons). Fixed a bug that would forget to recompute stats after changing skill focus.
2009-09-26Initial support for skill pools (available via at commands andFate1-42/+30
untested scripting commands.) These changes also affect the format of the skill_db.txt file.
2009-09-20Initial support for skill poolsFate1-11/+5
2009-09-18Replace basic skill with three new skillsJared Adams1-6/+8
We want to handle skills differently that eAthena was made too. All new skills are leveled by NPCs instead of using the job sysetm. Also fixes some bugs.
2009-09-15Logging fix and extension to include trade informaitonFate1-5/+8
2009-09-13When a player walks, make sure they stand upFate1-0/+3
2009-09-12Implemented pDeaf property (70) which makes PCs ignore regular PC chat ↵Fate1-0/+3
(except for GMs)
2009-09-11Added mapserver config option log_file to specify gzipped player action log fileFate1-0/+44
2009-08-29Converted to Mersenne Twister for random.MadCamel1-11/+11
Randomerer! Also: Fixed a security problem. Can you find it?