* 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://svn.code.sf.net/p/rathena/svn/trunk@14003 54d463be-8e91-2dee-dedb-b68131a5f0ec
* 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://svn.code.sf.net/p/rathena/svn/trunk@13999 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added some items from the ep 12 & 13 item givers.
- Increased MAX_RANDITEM to 11000.
(topic:226055)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13993 54d463be-8e91-2dee-dedb-b68131a5f0ec
* 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://svn.code.sf.net/p/rathena/svn/trunk@13987 54d463be-8e91-2dee-dedb-b68131a5f0ec
- 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://svn.code.sf.net/p/rathena/svn/trunk@13979 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Fixed a type in Mjolnir Seal quest (Dwarf Blacksmith#south).
- Fixed wrong parameters in 'areapercentheal'. (bugreport:3428)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13976 54d463be-8e91-2dee-dedb-b68131a5f0ec
- 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://svn.code.sf.net/p/rathena/svn/trunk@13973 54d463be-8e91-2dee-dedb-b68131a5f0ec
Added support for empty lines between individual attr_fix.txt blocks, fixes crash at startup (bugreport:3426).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13968 54d463be-8e91-2dee-dedb-b68131a5f0ec
- 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://svn.code.sf.net/p/rathena/svn/trunk@13963 54d463be-8e91-2dee-dedb-b68131a5f0ec
- 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://svn.code.sf.net/p/rathena/svn/trunk@13944 54d463be-8e91-2dee-dedb-b68131a5f0ec
* r13932 Fixed a wrong check on hp in Intimidate code. (bugreport:3305) (I forgot to write the message.)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13933 54d463be-8e91-2dee-dedb-b68131a5f0ec
* 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://svn.code.sf.net/p/rathena/svn/trunk@13929 54d463be-8e91-2dee-dedb-b68131a5f0ec
- added documentation for autobonus.
- invoke status_calc_pc to complete autobonus execution and this will refresh client display as well.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13922 54d463be-8e91-2dee-dedb-b68131a5f0ec
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://svn.code.sf.net/p/rathena/svn/trunk@13920 54d463be-8e91-2dee-dedb-b68131a5f0ec
- "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://svn.code.sf.net/p/rathena/svn/trunk@13915 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Using items no longer cancels invincibility(but using target and ground skills through items does). (bugreport:3259)
* Fixed Butterfly Wings not working during GVG. (bugreport:3264)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13897 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Autocasts should always fail if the target is outside the skill range or an obstacle is in between. (bugreport:3201)
* The Lovers should affect the target instead of the caster. (bugreport:3252)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13895 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Now you can drop items when hiding.
* Now you can't logout when hiding, cloaking or chase walking.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13892 54d463be-8e91-2dee-dedb-b68131a5f0ec