summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2008-07-26Partially reverted the timer code changes from r12926 - r12969.ultramage2-225/+110
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26Replaced occurences of '-1' with the more appropriate 'INVALID_TIMER' value ↵ultramage11-70/+71
where appropriate. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26- Implemented official Convex Mirror (With help of Yomanda and Sirius White)zephyrus9-8/+148
- Fixed SC_WARN don't receiving reflecting damage (Bug Report 1854). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-22Fixed a bug in the npc shop code, where requesting an item that wasn't on ↵ultramage2-63/+83
the list caused the server to keep scanning past the list's array bounds. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20ops ('|'->'&' in delete_timer debug code)FlavioJS1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20* Simplified the search in pop_timer_heap and added more debug info to help ↵FlavioJS2-10/+32
determine the source condition of timer errors. (bugreport:1860) * Fixed crash in skill_castend_id. (bugreport:1860) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20Corrected #storagelist target typo (bugreport:1873)sketchyphoenix1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-16* Added a check to make sure only released timers are acquired from the free ↵FlavioJS1-3/+3
list. * Changed TIMER_MAX_INTERVAL to 1 second (was set to 1 minute by mistake). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-16Fixed TK_JUMPKICK, should not jump over objects and cliffs.shadow1-1/+1
- This also might fix them being able to jump barricades on WoESE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15Removed the party_share_conflict() check.ultramage6-68/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15Corrected wrong data loading order in txt storage code causing crashes at ↵ultramage2-2/+6
startup (followup to r12950). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15* Fixed pop_timer_heap using max heap comparisons instead of min heap ↵FlavioJS2-21/+41
comparisons and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12956 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14* Corrected compiler warning and error made from r12959 and r12953, ↵sketchyphoenix2-1/+2
respectively. [SketchyPhoenix] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-14Made homunculi have doubled regen rates (they regen twice as fast) defined ↵shadow1-0/+6
on battle configs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-13added missing pick_logLupus1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-13Modified storage data loadingultramage16-478/+176
* storage is now loaded/saved along with character status * as a consequence, a lot of storage handling code was removed * there is no more locking done within storage data * mapservers no longer cache the data (solves muiltimapserver exploit) * loading storage on char select may decrease charserver performance git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-13storage code cleanup (no behavioral changes yet)ultramage8-202/+207
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-12Fixed a bad check on NPC_EVILLAND, actually healing players instead of doing ↵shadow1-1/+1
damage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-10Renamed 'storage_' to 'items' in the storage_data structure.ultramage6-58/+58
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-10Renamed 'struct storage' to 'struct storage_data' (to make 'storage' ↵ultramage14-79/+79
available as a variable name). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-10* Users can't click floating npcs directly. (quick fix for bugreport:1814)FlavioJS1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09Fixed SG_FUSION hp penalty (0.5% to 2%), bugreport:1805shadow1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09Small cleanup of sql storage code (useless data structure allocation)ultramage1-28/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-09* Added const to the return value of get_timer.FlavioJS6-157/+242
* Added a maximum timer interval. Avoids server shutdowns being delayed for ~10 seconds under some circumstances on windows. * Replaced the fake timer heap (ordered array) with a binary min heap. (actually, this is just a merge and has been in use for months) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07First attempt at implementing the official walk speed systemultramage2-137/+127
* separated speed modifiers into bonuses, penalties and other statuses * no bonuses stack, instead the maximum is taken * no penalties stack, instead the maximum is taken * Union, Riding and Pushcart are the only other statuses that stack * both bonuses and penalties are linear modifiers of the base walk speed * 'other' statuses are applied after bonuses and penalties Changed many equations to match official walk speed system * Steel Body now sets a fixed walk speed of 200 (bypassing everything else) * Defender now caps the walk speed to a minimum of 200 * Slow Grace now uses official equation for aspd/walk speed decrease * Pushcart's speed penalty is now halved * Free Cast now changes walk speed to a fixed value, bypassing bonuses and penalties * Wedding clothes now have a penalty of +100%, not +200% * rogue's Tunnel Drive and stalker's Chasewalk ignore all penalties * taekwon's Running is now 5% faster * Frenzy is now 5% faster * Gospel's offensive slowdown is now +75% instead of +33% * Quagmire now slows down by +50% instead of +100% * Gatling Fever now slows down by +100% instead of +33% * Cloaking modifier is now a bonus/penalty, depending on presence of wall * Longing for Freedom overrides the song/dance penalty (bugreport:416) * Bard/Dancer Spriit now properly affects song/dance penalty (bugreport:1019) * item-granted speedup no longer stacks with speed bonuses (topic:145019) * removed some status code that pre-calculated speed bonuses/penalties, to make calculations more localized and less messy (see song/dance code) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12923 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07Small cleanup of leftover Grimtooth data (followup to r12917)ultramage1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07Fixed a typo :oakrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07* Players autotrading will not be able to recieve whispers (bugreport:1804)sketchyphoenix1-1/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-07Removed stop/slowdown effect from Grimtooth (bugreport:1806)ultramage1-6/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-06* Slight cleanup of item-based walk speed bonusesultramage4-18/+9
- removed bSpeed bonus code (was just disabled until now) - changed speed_rate to use base value 0% instead of 100% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-05* Moved the mob killmonster flag to a more appropriate area. (bugreport:1795)sketchyphoenix3-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-05Fixed AM_PHARMACY produce chances based on info gathered by flaviojs, aegis ↵shadow1-19/+25
zone ep 11.2, of 20070629 Added missing version on my last commit on dancer.txt script (added by akrus on stable branch already) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04* Homunculus will no longer auto-vaporize on master death.L0ne_W0lf3-1/+3
- Added config option to allow for this to be turned on or off. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04- Timer set to -1 soon, previous to timer deletion :Ozephyrus1-5/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-04added missing 'e' logsLupus1-1/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03Adjusted Free Cast code so that its walk penalty gets calculated in ↵ultramage5-64/+31
status_calc_speed and nowhere else. Removed aspd penalty from Free Cast since tests show it's not there, even though RO sites claim it is. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-03Fixes regarding bugreport:1727 (undead element/race skill behaviors) follow ↵shadow3-7/+10
up on revisions r12820 r12821 and r12822 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29- Added support to Cash Shop for script command callshopzephyrus4-22/+39
- Fixed a bug in OnTouchNPC - Cleanup in barricade code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-29Random assortment of various small corrections and tweaks.ultramage7-34/+34
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-24* Increased Item group limit for new item groups. L0ne_W0lf1-1/+1
* Added several new item groups, and updated some existing groups. - IG_RedBox, IG_GreenBox, IG_OldYellowBox, IG_OldGiftBox IG_MagicCardAlbum, IG_HometownGift, and IG_Masquerade. - IG_CardAlbum no longer gives Ghostring or Angeling Cards. - Added Hahoe Mask to Wrapped Mask list. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-24Cleaned up unconditional calls to status_change_end().ultramage3-152/+79
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22Changed a if statement around because gcc emocries over it.sketchyphoenix1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22Added support for killmonster to fire OnMyMobDead optionally.sketchyphoenix3-3/+30
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22- Basilica knockback effect is only for mobs, not everybody x.xzephyrus1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22Forgot to switch function names out from r12873 >_>sketchyphoenix1-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22* Modified *killmonsterall to support a new argument that will allow it to ↵sketchyphoenix1-2/+20
kill monsters using the new OnMyMobDead behavior (in order to avoid breaking older scripts) (bugreport:1734) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21Fixed a not-so-well implemented basilica fix that was reverted in 12869.sketchyphoenix1-2/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21* Extended script command 'set' to return the variable reference (topic:190602).FlavioJS1-16/+28
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21* Fixed a bug where the "OnMyMobDead" event wouldn't trigger if the mob was ↵sketchyphoenix2-2/+5
killed and never attacked. (bugreport: 1725) * Reworded a comment in can_copy to make more sense. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21Reverted the basilica knockback patch (r12852( because it causes bad ↵ultramage1-7/+1
position desync (bugreport:1710). Needs a correct implementation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12869 54d463be-8e91-2dee-dedb-b68131a5f0ec