summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-08-25Implemented Progress Bar.(topic:207933)Inkfish4-1/+66
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-22Fixed Teleport through Hocus-Pocus skips menu. (bugreport:3513)Inkfish1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-21Fixed the wrong packet length makes client choke when add_quest packets are ↵Inkfish4-54/+24
sent. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-21Added bMagicHPGainValue and bMagicSPGainValue.Inkfish5-7/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-20* Some fixes for HeatInkfish1-4/+10
- won't cancel combo wait. (bugreport:3228) - should work with hp/sp drain bonus. (bugreport:3507) - consumes 10 sp if the attack doesn't connect. (bugreport:3038) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-18Equipment DEF penalty shouldn't be applied to players in Mental ↵Inkfish1-2/+4
Strength.(bugreport:3454) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-16- Added missing #includes to fix some linux warnings.zephyrus1-0/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-15- Fixed final instancing bug. Tested Endless Tower and working. I will ask ↵zephyrus1-1/+1
if i can publish it :3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-15Fixed self skills affecting target unit when used within combo delay for ↵Inkfish1-2/+6
Asura and Flying Kick. (bugreport:3495) (follow up to r13900) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-14- Fixes and optimization to instancing. Thanks to Saithiszephyrus6-42/+46
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-12- Optimization to instance system.zephyrus15-746/+772
* Removed the crc feature to generate instance npc names. The instance npc name will be "dup_" + instanceid + "_" + srcnpcid. * Removed the big array under map structure and coded in a different way. It was only used to generate map names, but i just used the instance_id + "origin map name". * Moved all instance features to separated files. * Moved the npc duplication for instances into npc.c as Ultramage says (removed npcname_db from npc.h). * Added recomendations for scripts commands by Saithis. - Testing required, i will prepare Endless Tower script soon. I hope this do almost anything in bugreport 3276. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-12Fixed changequest behavior(before: completequest+setquest, now: ↵Inkfish1-13/+1
erasequest+setquest) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-11* Fixed autospell and autobonus will still trigger even if the chance is 0.Inkfish2-7/+9
* Disabled "show_party_share_picker" functioning on client older than 20071002 to prevent from disconnection. (bugreport:3457) * Fixed units other than players and mercenaries using Devotion will cause crashes. (bugreport:3475) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-04- Added episode 12 & 13 cards (most episode 13 ones need matk + n;).Kisuka1-1/+1
- Added some items from the ep 12 & 13 item givers. - Increased MAX_RANDITEM to 11000. (topic:226055) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-04- Added episode 12 and 13 item givers. (topic:226055)Kisuka1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-02* Questlog code cleanup.Inkfish11-96/+111
* Fixed range check of autospell and autospell2 using wrong target when it should be used on yourself. * Implemented official behavior of party_show_share_picker. * Restricted zones in 'item_noequip.txt' can now stack. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29- Fixed a bug cleaning instance variable on party when instance is destroy.zephyrus4-8/+11
- Fixed a bug on Yuno Castle 2 and 3, not killing guardians. - Moved battleground team leave on unit remove map to prevent a crash on multimap servers. - Fixed a bug on checking range with the wrong target. Fix a crash on Item 2002 at refine >= 9. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29* Fixed damage_level is not calculated properly on normal attack. Inkfish2-1/+3
* Kaahi is supposed to be canceled on logout. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29* Kaahi heals no matter if attack connects. (bugreport:2440)Inkfish3-8/+5
* Fixed a typo causing skillitem always resets skill delay. (bugreport:3431) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-28- Added a missing 'next' in Kiel Hyre Quest (Medicine Chest).brianluau1-2/+2
- Fixed a type in Mjolnir Seal quest (Dwarf Blacksmith#south). - Fixed wrong parameters in 'areapercentheal'. (bugreport:3428) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-28Corrected two mistakes when I was trying to do some tricks...Inkfish2-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-28* Some more updates to Quest LogInkfish11-250/+203
- Implemented a new saving mechanism. Now they can be saved every 'autosave_time' in case the char-server is not online when you get a quest. - Improved 'changequest' code. - Increase MAX_QUEST_DB to 1200. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-27Partially reverted the fail from r13966.ultramage1-0/+3
Added support for empty lines between individual attr_fix.txt blocks, fixes crash at startup (bugreport:3426). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-26Fixed mob counts and quest states are not saved properly sometimesInkfish4-7/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-26* Some updates of Quest Log systemInkfish4-14/+12
- renamed table 'questlog' to 'quest' to avoid misunderstanding - updated main.sql - fixed the server can't load more than 16 quests - removed the MAX_QUEST limit. tests show the client can handle more than 100 quests. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25* Fixed message display for FullStrip and SelfProvoke. (bugreport: 3011, ↵Inkfish2-4/+16
bugreport: 3415) * Fixed an error on 'changequest' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25Fixed undeclared variables on charserv compiling. how careless i am.....Inkfish1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25Rewrote Quest Log system.Inkfish16-258/+441
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-22Added proper bounds of INT_MIN to INT_MAX for hp/sp when being sent to/from ↵Paradox924X1-4/+4
status_damage/status_heal for negative values because of INT_MAX being (-INT_MIN - 1). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-18- Fixed the config description for 'random_monster_checklv' (follow up to ↵brianluau2-2/+2
r13952). (bugreport:3378) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-18* Dead branches no longer check for players' level. (bugreport:3378)Inkfish2-2/+3
* The Lovers Card won't teleport anyone on PVP/WoE/BG maps. (bugreport:3371) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-11Some insignificant code tweaks.ultramage4-6/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-11* Some updates for range check. (bugreport:3339)Inkfish4-4/+15
- Monsters shouldn't use skills if the target is within its attack range but is out of the skill range. - Monsters' skill range is no longer 9 by default. - Range for players' attacks and skills should always check for a circular area. - The range of Magnetic Earth is 2. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-09- Added documentation for 'getmobdrops' (follow up to r13101). (bugreport:3351)brianluau1-19/+20
- Added documentation for 'areamobuseskill' (follow up to r13897). (bugreport:3352) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-07Skills that have multiple hits should do 1 damage per hit to plants.Inkfish1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-05You should lose hp anyway even if your Martyr's Reckoning is perfect dodged.Inkfish1-8/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04* Extended ATF_SKILL to ATF_MAGIC and ATF_MISC.Inkfish3-6/+10
* r13932 Fixed a wrong check on hp in Intimidate code. (bugreport:3305) (I forgot to write the message.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13932 ↵Inkfish1-1/+1
54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04TK_POWER shouldn't count the player him/herself for the skill.Inkfish1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13931 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-04* Martyr's Reckoning can be perfect dodged.Inkfish1-1/+5
* Casting Flying Kick while running and in the spurt status doubles the damage dealt without spurt status. (bugreport:1898) - TODO: bonus on running is still not correct. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-02- Re-added { } that were accidentally removed in last commit.brianluau1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13927 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-02- Added mosk_que to the mapcache (follow up to r13903).brianluau1-20/+19
- Fixed some input checks and variable types in Megingjard quest. - Updated SQL item/mob databases to latest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-02* Updated autobonus [Inkfish]Inkfish2-8/+5
- added documentation for autobonus. - invoke status_calc_pc to complete autobonus execution and this will refresh client display as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13922 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-30Fixed when dynamic_mobs is active, reloading script right after the last ↵Inkfish1-0/+5
player having left a map leads to permanet mobs not spawning on that map.(bugreport:2736) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-30Fixed sql char deletion code using a broken pet deletion query (ran very ↵ultramage3-218/+150
slow, and had a typo in a binary shift operation) (bugreport:3304). Fixed change r13774 to the code responsible for deciding whether to move 1 extra cell when stopping walking; it had its logic inverted by mistake (bugreport:3312). Cleaned up the itemlist, cartlist and storagelist gm command code: - fixed buffer overflows in all three functions (bugreport:456). - merged all three atcommand functions into a single one; the appropriate behavior is detected from the command's name. - using the StringBuf class instead of static-size buffers and string operations for more efficient and safe processing. - using 'jname' (the one without underscores) as the primary item name in the list, and not using the aegis name for cards at all (since it's almost identical). - fixed forged item details never being displayed due to a missing strcat(). - extended item info (crafted/named items, pet eggs) will now be displayed for storage and cart list as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13920 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-29* Fixed attack not counted as connect when dodged and got damage from skill ↵Inkfish1-0/+2
bonus like Weaponry Research. * Corrected the description for vit_penalty_type. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-28- Fixed a typo in r13915, causing SC_values 247+ to be off by one.brianluau1-1/+1
- Reverted the Continental Guard change from r13911 (that's how it is on official). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-28fixed some typos on autobonusInkfish2-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-28* Implemented script command "autobonus". [Inkfish]Inkfish8-238/+274
- "autobonus" is similar to "bonusautoscript", however it has a timer of its own. - Updated itemdb changing items bonus using "bonusautoscript + sc_start" mode to "autobonus + bonus" mode. - Remove bonusautoscript and status changes that was needed by bonusautoscript and is no longer in use. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-23Minor update to atcommand_jailfor and atcommand_char_ban's modif_p var ↵Paradox924X1-2/+8
incrementation for minute-based bans/jails. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13910 54d463be-8e91-2dee-dedb-b68131a5f0ec