summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-01-30- Oops, realized the vsd cid check is before the null pointer check. I AM ↵skotlex1-3/+2
getting rusty <_< git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-30- Added support for PACKETVER 20100105, which updates the vending related ↵skotlex5-18/+49
packets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28* SN_SHARPSHOOTING is no longer affected by AC_VULTURE. (Bugreport:3909)L0ne_W0lf1-2/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-28Reverted r3619. Evidences show Margaretha Solin Card works when player is ↵Inkfish1-1/+1
hit by Storm Gust. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-25Prevented the changing of alliances to oppositions during WoE. (bugreport:3923)Paradox924X1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-24Prevented pc_skill with a value of 2 for 'flag' from granting a skill level ↵Paradox924X1-10/+14
that surpasses MAX_SKILL_LEVEL. (bugreport:4022) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14225 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-20Fixed a wrong interpretion to "clif_addskill" packet. follow up to r14218Inkfish1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14222 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-19Intimidate now checks the distance between source and target in case it ↵Inkfish1-1/+1
kills the target and then warps the respawned one. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14221 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-19Intimidate should warp you anyway even if the target died.Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14220 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-16Fixed items don't grant skill if you had this skill before and then changed ↵Inkfish1-2/+2
your job. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14219 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-15* Fixed change cart packet doesn't check for skill.Inkfish6-8/+71
* Added new packets for Plagiarism. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14218 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-01-08- Fixed a typo in Orc's Memory.brianluau1-1/+1
- Fixed a weight check in quests_13_1. - Fixed some grouping variables in the sample PCRE npc. - Updated SQL item/mob databases to latest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14216 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-27Fixed Meteor Assault and Spread Attack have twice the chance to trigger ↵Inkfish1-1/+6
AutoSpellOnSkill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-24Fixed a memleak that occurs when a player exits while waiting on a script ↵ultramage1-6/+5
select() or menu() (caused by r12481). The change made the attached script not deallocate to avoid a crash when changing mapservers, however deallocation must occur here since scripts waiting for user input are unable to free themselves. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14213 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-20Quick-added support for the new whisper packet (bugreport:3942).ultramage1-0/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14208 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-08Corrected a variable defined in a header file.ultramage4-6/+12
Cleaned up a bad case of variable recycling. Separated the ALL_WEWISH case from the unrelated sage skill cases (undo of r14183). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-03Prevented online user count from going negative. (bugreport:3913)Paradox924X2-4/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02Semi-revert of 14182, moved ALL_WEWISH up under SA_GRAVITY instead, as I ↵L0ne_W0lf1-3/+1
hadn't noticed it does exactly what the new case did. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02Added skill ALL_WEWISH. This skill in older clients plays a song, however in ↵L0ne_W0lf2-1/+8
current clients it does not. The effect (AL_ANGELUS) still shows. Added ALL_WEWISH to the skill databases, and enabled the Christmas Musicbox item. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02* Autobonus code cleanups.Inkfish5-88/+98
- removed the 'script_parsed' flag to fix the issues with combo items. - introduced a global cache for autobonus scripts so that we don't have to parse scripts everytime invoking status_calc_bl. - fixed such script commands as 'getrefine()' not working inside autobonus scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14180 54d463be-8e91-2dee-dedb-b68131a5f0ec
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