summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-11-29- Official castle defense damage reduction/defense status changes. ↵Kisuka2-8/+27
(bugreport:2901) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-27Fixed warping in OnPCDieEvent revives people with 0 hp.Inkfish1-10/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26* NPC event code cleanups.Inkfish6-129/+86
- removed the 'OnMyMobDead' dead code. It's never supported though documented. - removed the 'feature' that events only trigger when the player is in the OnTouch area IF it's specified. It's never documented and breaks official scripts. - some cleanups and bug fixes to OnTouch_. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26Moved log_sql_init() call up in map-server-init to after after ↵Paradox924X1-4/+2
map_sql_init() call to prevent unnecessary processing before a potential quit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26Fixed strnpcinfo(1) returning blank strings when NPC names did not have a ↵Paradox924X1-2/+3
hidden portion of the display name. (bugreport:3758) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-25Fixed damage doesn't cancel status changes.(followed up to r14164)Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24Cleaned up leftover PACKETVER define on the charserver (followup to r14155).ultramage4-13/+2
Expanded the error message in guild_castledataloadack() to actually provide some useful info. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24Fixed instances not initializing after reloadscript (bugreport:3522).ultramage4-9/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24* Fixed the logged damage from pets doesn't count when ↵Inkfish3-16/+22
'pet_attack_exp_to_master' is inactive. * Uncommented the codes that stop pc_bleeding when dead (shouldn't have been commented out.....) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-23* Fixed player keeps bleeding when dead.Inkfish2-10/+11
- if battle_config.invincible_nodamage is true, reflected damage to targets in invincible status is now 1. * Fixed a script typo i made when i was fixing a typo... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-22Added ipban_cleanup_interval to the Login_Config struct (Follow-up to r14161).Paradox924X1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-22Added 'ipban_cleanup_interval' option which determines how often expired IP ↵Paradox924X2-6/+15
bans are cleaned from the database. (bugreport:3734) Modified ipban_check() to only include ipbans that haven't already expired. (bugreport:3734) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14161 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-21Removed an extra { from previous commit.Paradox924X1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-21Cleaned up mapreg dirty-marking code to only mark the mapreg as dirty when ↵Paradox924X1-11/+4
it actually is. (bugreport:3735) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-19- Applied the renewal client support patch from Diablo (eA forum topic 222623)skotlex13-127/+445
- Added support for strcharinfo(3) to retrieve the player's map - Added script command "searchitem" for name item searches. - Moved PACKETVER to src/common/mmo.h as it's needed by the char-server now - Changed the status valX from int to long so that it won't break for pointer-storage in other architectures. - Moved the change party leader code to party.c - A few bugfixes or packet field completions based on my past experience messing around with my server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-15Removed unnecessary use of StringBuf in int_quest.c to avoid memleaks in ↵ultramage1-16/+2
certain cases. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14148 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-13Resolved a client hang in the scenario where the client sent loadendack ↵ultramage5-23/+24
before the server finished loading all data (bugreport:3700). Improved the performance of pc_autosave() to stop scanning players after it has already found the player it wanted to save (bugreport:3717). The 'overweight' status changes (SC_WEIGHT50/SC_WEIGHT90) will now be cleared on logout, to avoid saving them into the database (they get derived from player weight during login anyway). Improved lock.c on windows to use C's access(0) function instead of doing fopen/fclose when testing for existence of files. Re-added the 'static' attribute to mapindex_getmapname_ext's buffer; returning the address of a non-static local variable is undefined behavior (see r13901). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-11- Fixed a typo in Strawberry Cake (12319). (bugreport:3702)brianluau1-3/+3
- Fixed a typo in Halloween 2009 Event. (bugreport:3711) - Updated SQL item/mob databases to latest. (thanks Peter) - Applied the change from r14087 to @tonpc, @shownpc, @hidenpc. (bugreport:3599) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-08Fixed the flag from my last commit not workingInkfish1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-08Fixed mob is removed from map right after his rebirth.Inkfish1-3/+5
Fixed dead event does not trigger when a mob has rebirth skill and dies for the second time. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-07* Fixed possible memory leaks caused by invalid parameters of autobonusInkfish1-9/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-07Added a flag to indicate if the script of an autobonus was parsed for the ↵Inkfish4-5/+22
sake of resource saving. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-04* All Songs/Dances now create a 3 second delay before Adaption can be used.Inkfish2-5/+7
* Fixed unit still not being able to move when fiberlock is removed by Magnetic Earth. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03Fixed gcc compilation warnings in r14120.ultramage1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03Extended broadcast implementation:Gepard10-170/+204
- support for font formatting, like font-size - `bc_woe` flag to allow client-side filtering of WoE announcements - new broadcast packet 0x40C git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03* Added battle_config.mob_slave_keep_target config option (monster.conf)L0ne_W0lf5-4/+9
- When yes (default) MVP slaves will always keep their prior targets. - When no the old behavior of switching to the closest target is enabled. * Updated MAX_MOB_DB to 4000 (Monsters are starting to appear in the 2k ranges) * Changed default respawn time (when 0) to 500 from 5000. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-02* Quick fix to char command checking gm level of the target player instead ↵Inkfish2-2/+17
of the command user (bugreport:3255). * Disalbed @jump/@jumpto usage when dead. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-01* Implemented the fix for Slim Pitcher working on WoESE objects ↵L0ne_W0lf3-1/+9
(bugreport:3618). * Added SC_SPIRIT to the list of buffs that are dispelled when the player logs out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27* Cast time of Emergency Call is doubled if you master of High Jump. Inkfish3-6/+11
* High Jump can't be used on PvP maps. * Fixed a potential null pointer from last commit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27Fixed quest will never get erased when it's the only quest you have.Inkfish6-11/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN.Inkfish3-5/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26* The status SC_INVINCIBLE now reduces all damage to 1.L0ne_W0lf2-2/+2
- Official behavior, and allows players to cancel NPC_ALLHEAL casts. - If battle_config.invincible_nodamage is true, reflected damage is still 0. * Minor updates and supporting data for Sealed Shrine. - Zone 5 is now designated for sealed shrine restricted skills. - Added new quest_db entries for Sealed Shine cooldown. - Updated mob_db entries for Orc's Memory Instance. (improper stats) - Updated Land Mine to have a splash effect. (Provided by Daegaladh) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25Hardcoded the even label config settings from r14097.ultramage2-10/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25Reverted renaming foreach functions and create a new one for OnTouch so that ↵Inkfish8-48/+109
last commit will hopefully break NOTHING in use. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25* Implemented the official version of 'OnTouch' named as 'OnTouch_'.(it can ↵Inkfish12-73/+196
be defined in script_athena.conf) * Adapted 'map_foreachinarea' to 'map_forsomeinarea' so that it allows you to specify the number of bl you wanna operate on. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-24Reverted the previous change to OnTouch not triggering for invisible chars.ultramage1-3/+2
While this is the official behavior for OnTouch (as opposed to OnTouch2 which we don't have), this change would break npcs that assume you can't just walk past them cloaked. If there is a real need for implementing this behavior in the future, it should be done in a backwards-compatible way if possible (although, inverting the meaning of OnTouch/OnTouch2 would cause a lot of confusion). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-24* 'OnTouch' script shouldn't trigger when you are invisible.(same as warps)Inkfish1-5/+9
* Fixed character doesn't stop walking when walking into OnTouch area of an NPC who doesn't have an OnTouch label. (bugreport:2700) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14095 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-23Fixed login-server using already removed `auth_node`. (bugreport:3254)Gepard1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-18Removed the char_rename setting in favor of a PACKETVER define.ultramage4-23/+30
Inverted the way renames are counted: '0' now means 'no renames left' (the default). Please make sure your database matches this new behavior before starting the server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-15Ported over several TXT online code fixes from charmerge (autotrading chars ↵ultramage1-14/+35
couldn't be kicked due to a missing update). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12Removed 'char_max_rename', extended 'char_rename', fixed compatibility issues.Inkfish1-28/+15
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12Fixed an error when 'char_rename' is set to 'no'Inkfish1-6/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12Partially revert r14085, NPC names are allowed to be more than 24 character ↵Inkfish2-4/+4
long in Aegis. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-11NPC should only have a 24 characters long name including EOS. (bugreport:3599)Inkfish2-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-11Added character rename function.(topic:225576)(written by pakpil and fixed ↵Inkfish4-25/+200
by me) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-06Fixed rental items can be moved into guild storage from cart.Inkfish4-12/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-04- Implemented new packets for rental items (from Jobbie and Natz and fixed ↵zephyrus7-152/+291
by me). - Rental items now can be moved to storage and cart. - Autotrade cannot be used when user is dead, and it's not dispelled if user dies to prevent abuse. - Fixed pc_checkitem to do a proper item check and remove. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-04- Added a missing space in help.txt (bugreport:3632)brianluau1-1/+0
- Removed duplicate lines in item_trade.txt (bugreport:3630) - Fixed typos in Turbo Track waitingrooms. (bugreport:3628) - Removed a duplicate comment line from r14003 that caused a warning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-02Marionette Control now has an infinite duration.(bugreport:2542)Inkfish1-5/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-02Fixed a damage underflow (bugreport:3624)Inkfish1-6/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14077 54d463be-8e91-2dee-dedb-b68131a5f0ec