* Removed underscores in npc_chat.c's variable names (easier to read)
* Reindented the whole thing (used spaces half of the time ._.)
* Moved npc pcre-data deallocation from npc_remove_map to npc_unload
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11036 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Added back the hair-style/hair-bottom fields to the spawn packet, and the pet-idle packet is no longer sent when the pet does not has an armor equipped (this should cut down on bandwidth a bit for non-equipped pets)
- Moved the position of the map_addblock/clif_spawn code section in parse_LoadEndAck to above the party-hp blocks, this corrects party-member HP display mnot being updated when someone spawns in your range of sight.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11033 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Modified chat code a bit for more clarity
- replaced double-indirection on 'owner' with a normal pointer
- separated some common functionality to 'chat_createchat()'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11023 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Now hotkeys are stored server-side (table hotkey in SQL servers, file save/hotkeys.txt for TXT servers). You can disable this behaviour by commenting out the 'HOTKEY_SAVING' define in mmo.h
- Fixed a few compilation warnings/errors.
- Apply upgrade_svn11018.sql to create the hotkey table.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11019 54d463be-8e91-2dee-dedb-b68131a5f0ec
- adjusted @reloadbattleconf to not depend on variable ordering
- changed all battle vars to 'int' (removes pointless duplicit coding)
- added min, max and default columns to battle config data structure
- added properly bounded values for these columns (or at least tried to)
- battle-conf loading will now complain if it finds unknown settings,
and will reject values that are outside of the allowed range
- added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE
- partially cleaned up chatroom manipulation code
* Fixed 'Job_Professer' typo in mage jobchange quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11017 54d463be-8e91-2dee-dedb-b68131a5f0ec
-Thanks to Myllena.
* Corrected some typo error in "Professor Reborn Quest".
* Rewrote Taekwon Job Quest to the Aegis Standards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11012 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Corrected Wolfhedin and Mithril Magic Mant. so they trigger properly.
- Added Several more cash shop items, granted a lot of them don't work.
- Added new headgear, using trans. proj. and some info care of Luanus.
- Corrected effects for blessing and Inc AGI scrolls.
* Small updates to the item trade database.
- Commented out Skull_ and organized it a bit better.
* Small update to create_arrow_db.txt.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11007 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Implemented the 'new' NPC skills described here: http://ro.doddlercon.com/wiki/index.php?title=Monster_Skills . It is mostly complete, but the new status changes (slow cast, critical wounds, etc) don't have any visual effects yet (icon or opt changes? I don't know if they should have). Also I could not find the unit_id for Evil Land, so it looks just like Sanctuary for now. Apart from those, the only skills which I couldn't get to display properly are the Breath skills (with the exception of Fire Breath).
- skill_calc_heal now takes the target as argument to properly support Critical Wounds
- battle_calc_return_damage now takes a flag to know if the attack was direct or not, needed since Magic Mirror also reflects indirect attacks.
- cleaned up the 'description' field in skill.c, added skill_get_desc to it
- Removed 'splash' support from Lex Divina as it is no longer needed.
- Modified the way Sight/Sightblaster work so that the skill id is no longer guessed (needed to properly acquire the splash range for Wide Sight)
- Corrected gtb_sc_immunity setting not taking effect if your block value was the same (that is, if the config said 30%, then you would only get status change immunity at 31%, nor 30%)
- Uncommented the 'new' npc skills from mob_skill_db as they are implemented now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11000 54d463be-8e91-2dee-dedb-b68131a5f0ec
* Removed "Crusader quest monsters" from mob_avail (not used anymore)
* Updated the mapcache with data for moscovia maps
* Fixed one problem in map_delmap()
* Fixed a bad message in @disguise
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10988 54d463be-8e91-2dee-dedb-b68131a5f0ec
- Testing and fixes courtesy of Barron-Monster and Samaury22.
* Corrected the second "Line" selling in the Comodo shop to "Whip".
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10985 54d463be-8e91-2dee-dedb-b68131a5f0ec
- It is no longer possible for players helping in the last part to complete the quest at the same time.
* Fixed some bugs in various quests.
- Einbroch laboratory now correctly checks for players entrance
- Small fix with Laboratory device to make it more understandable.
- Fixed a misorder with some checkings of a Rachel quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10980 54d463be-8e91-2dee-dedb-b68131a5f0ec