summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-01-05Merge pull request #1058 from Emistry/scriptcommand_getitem2Dastgir2-3/+2
Fix *getitem2 and @item2 refine bug.
2016-01-03HPM Hooks UpdateHercules.ws4-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-03Rewritten skill_tree parser in a more robust wayHaru4-177/+276
- Fixes an issue that prevented skills with more than 4 pre-requisites or more than 3 pre-requisites and a minimum level from being parsed correctly (and without any warning or error messages). - Removes the limit on 5 pre-requisites (replaced a fixed size array with a VECTOR) - Reduces memory usage of skill_tree from 794kB to 440kB (32 bit) or 523kB (64 bit). - Fixes an issue that prevented multiple inheritance from working correctly in rare cases (incorrect definition order), without any warning or error messages. Now a warning is displayed if a job is inherited before being defined. - Fixes an issue that prevented skills inherited from being correctly merged with the skills defined for the current job. - Prevents a job from inheriting itself by accident. - Correctly detects skills defined twice for the same job. Signed-off-by: Haru <haru@dotalux.com>
2016-01-03Corrected wrong use of MAX_PC_SKILL_REQUIRE instead of MAX_HOM_SKILL_REQUIREHaru1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2016-01-03Fix *getitem2 and @item2 refine bug.Emistry2-3/+2
- Negative refine value isn't allowed.
2016-01-03HPM Hooks UpdateHercules.ws14-14/+14
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-31Extended the numeric view ID deprecation to '-1' (FAKE_NPC)Haru1-2/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31Replaced leftover -1 view IDs with FAKE_NPCHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added some missing item IDs to their enumHaru2-1/+3
2015-12-28Added elemental_id enum, replaced numeric elemental IDs with enum membersHaru4-34/+61
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added merc_id, replaced numeric mercenary IDs with enum membersHaru3-16/+50
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added homun_id enum, replaced numeric constants with enum membersHaru4-18/+53
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added Poring to the mob_id enumHaru4-5/+7
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added Zanzou mob ID to the mob_id enumHaru2-2/+4
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added Summon Legion-related monsters to the mob_id enumHaru2-8/+21
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added Alchemist-related monsters to the enum mob_idHaru2-8/+48
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Replaced some numeric mob IDs with the proper constants (Magc Decoy / Silver ↵Haru1-14/+22
Sniper) Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Replaced some numeric mob IDs with the proper constants (MOBID_TREASURE_BOX*)Haru2-5/+7
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Added Splendide, Manuk and Mora mobs to the mob_id enumHaru2-3/+51
Signed-off-by: Haru <haru@dotalux.com>
2015-12-28Standardized (source) mob_id enumHaru8-57/+113
- MOBID_ constant names now follow the Mob DB spritenames. - The following names were changed: * MOBID_EMPERIUM => MOBID_EMPELIUM * MOBID_TREAS01 => MOBID_TREASURE_BOX1 * MOBID_TREAS40 => MOBID_TREASURE_BOX40 * MOBID_BARRICADE1 => MOBID_BARRICADE * MOBID_BARRICADE2 => MOBID_BARRICADE_ * MOBID_GUARIDAN_STONE1 => MOBID_S_EMPEL_1 * MOBID_GUARIDAN_STONE2 => MOBID_S_EMPEL_2 * MOBID_FOOD_STOR => MOBID_OBJ_A * MOBID_BLUE_CRYST => MOBID_OBJ_A2 * MOBID_PINK_CRYST => MOBID_OBJ_B2 * MOBID_TREAS41 => MOBID_TREASURE_BOX41 * MOBID_TREAS49 => MOBID_TREASURE_BOX49 - Added several missing items Signed-off-by: Haru <haru@dotalux.com>
2015-12-26Add *setgroupid script commands.Emistry1-0/+25
Useful for scripts that temporary adjust the group id of players.
2015-12-25*Show the katar critical bonus in player status windowAnnieRuru3-2/+6
- this is unofficial behavior, so it has to be in battle config Related to #579 Closes #882 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-25Merge pull request #975 from dastgir/8-RefineDefhemagx3-4/+20
Added Costume/Shadow Atk/Def refine bonus setting
2015-12-25Merge pull request #1009 from Jedzkie/ItemDB_UpdatesDastgir10-312/+446
ItemDB Updates
2015-12-26Follow up ↵Jedzkie1-4/+2
https://github.com/Jedzkie/Hercules/commit/3f13598714f2d6cecb1c1e5c382592a904798624, thanks to dastgir.
2015-12-25Fix various ShowWarning that doesn't tell the source of the errorAnnieRuru1-7/+7
Closes #868 as merged
2015-12-25Added Costume/Shadow Atk/Def refine bonus settingDastgir3-4/+20
2015-12-25Implemented NoViewIDDastgir8-29/+42
(http://herc.ws/board/topic/10020-official-mapflag-to-disable-viewid/) Closes #926 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-25Follow up ↵Jedzkie1-57/+57
https://github.com/HerculesWS/Hercules/commit/eb0d0dc677e1d3e584de9202d3140fe6fb6db722, thanks to Haru! Minor white space edits.
2015-12-25HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-25Merge pull request #977 from dastgir/5-DressRoomhemagx3-2/+18
Dressroom Packet implemented
2015-12-25Added New ViewEquip packetDastgir1-1/+3
2015-12-25New Entity Packets Implemented (Thanks to Rytech)Dastgir3-20/+102
2015-12-24Change packet 0x82d to not send billing slots.hemagx1-1/+1
currently billing slots is not supported and sending the premium slots twice cause client to bug. Fixes #1017
2015-12-24Item Update:Jedzkie4-19/+49
- Fix items that uses SPVanishRate bonus are not working properly. - Fix Velum Katzbalger item effect. - Added HPVanishRate bonus.
2015-12-23PetDB Update:Jedzkie1-13/+14
- Change PetID's to Constants - On Official Servers, if you don't have Pet Eggs in your inventory, if you use Pet Incubator item, the Pet Entry list will not show.
2015-12-23Item Update:Jedzkie2-77/+84
- Added official item effect for Mystic Powder. - Added Mystic Powder Box30 - Added effect for WOB_Amatsu - Added Songpyun_Box50 - White space adjustments
2015-12-23Update:Jedzkie7-64/+64
- Rename BLUE_CRYST and PINK_CRYST to BLUE_CRYSTAL and PINK_CRYSTAL - Rename FOOD_STOR to FOOD_STORAGE - Rename TREAS01, TREAS40, TREAS41, TREAS49 to TREASURE_01, TREASURE_40, TREASURE_41, TREASURE_49
2015-12-23Item Update:Jedzkie3-7/+17
- Added official effect for Rapid Life Water. - Added new items: - Fruit Salad (http://www.divine-pride.net/database/item/11715) - Shepherd Salad (http://www.divine-pride.net/database/item/11716) - Yogurt (http://www.divine-pride.net/database/item/11717) - Bisket Dessert (http://www.divine-pride.net/database/item/11718)
2015-12-23Item Update:Jedzkie4-18/+36
- Fix typo MOBID_GUARIDAN to MOBID_GUARDIAN - Added official item effect for Magic Candy.
2015-12-23Item Update:Jedzkie2-6/+6
- Remove the hard coded entry of Monster Transform Scrolls - Change mob names into mob constants.
2015-12-23Item Updates:Jedzkie1-6/+5
- Fix Speed Up Potion and Guyak Pudding effect, only movement speed reduction will not affect when in Quagmire, Decrease AGI and Slow Grace state. (thanks to kyeme) - Follow up https://github.com/Jedzkie/Hercules/commit/9dc44927ccf5ae88a40e92be5c7c2146cdb5eb06 - Remove Yggdrasilberry and Yggdrasil Seed item re-use delay.
2015-12-23Item Update:Jedzkie3-71/+123
- Update the Genetic Sling / Food items - AegisNames - iRO Names - Prices - Weight - Added official effect for HP Increase Potions and SP Increase Potions. - Fix Banana Bomb sitting behavior.
2015-12-23Item Update:Jedzkie2-0/+9
- Added official item effect for Ancient Spirit Agimat.
2015-12-23Item Update:Jedzkie2-35/+45
- Added official Buche De Noel item effect. - Minor white space adjustments.
2015-12-23Merge pull request #1003 from HerculesWS/865-var_lengthAndrei Karas7-30/+59
Merge of #866 and #867
2015-12-22- Fixes #1005 (Thanks jTynne)Jedzkie1-1/+1
- Update NPC ID's
2015-12-22Follow up ↵Frost1-1/+1
https://github.com/HerculesWS/Hercules/commit/d79a996b1ecfe2dfdfe0069927f3aa0fbe584c8f Fix Spark Candy's Endure effect timer.
2015-12-22Throw error when variable name length too longAnnieRuru1-0/+14
2015-12-22Not allow send too big variable names to char server from map server (Closes ↵Andrei Karas1-0/+4
#865) Closes #866 as merged