summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-02-23Hercules Ultimate Localization Designshennetsind24-1129/+1913
Servers can now run on any number of languages, without editing npc files. Designed by Haruna and Ind http://hercules.ws/board/topic/8687-hercules-ultimate-localization-design/ Signed-off-by: shennetsind <ind@henn.et>
2015-02-20Fixed Bug#8540malufett1-1/+2
-http://hercules.ws/board/tracker/issue-8540-genetic-ammo-issue/?gopid=24595#entry24595 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-17Fixed Bug#7938malufett2-6/+22
-http://hercules.ws/board/tracker/issue-7938-frenzy/?gopid=21566#entry21566 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-15Fixed a parser issue on direct assignmentsHaru1-29/+35
- Fixes an undetected error in case a semicolon is missing after a direct assignment line in a script. - Special thanks to Dastgir. Signed-off-by: Haru <haru@dotalux.com>
2015-02-15Merge pull request #462 from 4144/fixclifshennetsind1-1/+1
Fix wrong id usage in clif_addskill.
2015-02-15Follow up 909c0644ce45945c8e3fdc5eb77ebdd1a1cb93d0shennetsind1-1/+0
No longer returns any value. Either it will succeed, or it will stop the script (at which point having a return value has no purpose) Signed-off-by: shennetsind <ind@henn.et>
2015-02-15Updated 'delequip' Script Commandshennetsind1-3/+6
delequip will now stop a script when attempting to delete a item in a position the player has no gear. Special Thanks to Michieru, Haruna. Signed-off-by: shennetsind <ind@henn.et>
2015-02-13Fix wrong id usage in clif_addskill.Andrei Karas1-1/+1
Was used skill id, but must be used skill idx.
2015-02-13Merge branch 'master' of github.com:HerculesWS/Herculesshennetsind4-27/+31
2015-02-13Fixed alchemist marine sphere causing double deletion on renewalshennetsind3-21/+21
Special Thanks to Haruna, Michieru.
2015-02-13Fixed Bug#8514malufett1-1/+1
-http://hercules.ws/board/tracker/issue-8514-homunculus-not-gaining-aspd/?gopid=24511#entry24511 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-13Fixed Bug#8529malufett3-26/+30
-http://hercules.ws/board/tracker/issue-8529-npc-earthquake-damage-calculation-bugged-and-possibly-wrong/?gopid=24559#entry24559 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-13Fixed Bug#8531malufett1-1/+13
-http://hercules.ws/board/tracker/issue-8531-skill-rapid-smiting-bug/?gopid=24563#entry24563 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-13Fixed Bug#8519malufett1-3/+5
-http://hercules.ws/board/tracker/issue-8519-ranger-skill-fear-breeze-completely-disables-crit/?gopid=24522 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-10Fixing Prestige formulaNihadm891-2/+2
It was giving too much def. Adjusted and confirmed with malufett
2015-02-05Follow-up to 49df787e2c2faa2621b5490c6e88c86a4b7a813fHaru1-1/+1
- Corrected a wrong structure member being used in a mob db lookup. - Fixes bugreport:8516, special thanks to Valo http://hercules.ws/board/tracker/issue-8516-quest-add-looks-up-objective-count-instead-of-mob-id Signed-off-by: Haru <haru@dotalux.com>
2015-02-02Fixed state tracking of dialog windows when the script is suspended and resumedHaru2-1/+1
- If a script was suspended, and then resumed (`sleep2`, but also `getexp`), state tracking of dialog windows would get reset, and a `close` or `close2` would trigger a warning even if a message box was present. - Special thanks to Dastgir. Signed-off-by: Haru <haru@dotalux.com>
2015-02-02Follow-up to 486ec86Haru1-1/+0
Removed unnecessary 'fall through' comment. Signed-off-by: Haru <haru@dotalux.com>
2015-01-30Missing breakNihadm891-0/+1
Lightning Spear of Ice
2015-01-30Fixed Bug#8416malufett1-1/+1
-http://hercules.ws/board/tracker/issue-8416-geneticcart-tornado/?gopid=23982#entry23982 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-01-28Follow-up to e778f4f5f1b6a08adee5e7e908a44c38cd29bd12Haru3-2/+8
- Fixed some issues that prevented spirit charms from showing up - Special thanks to Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-01-26Fix plugins loading in map server.Andrei Karas1-0/+1
2015-01-24HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-24Fixed Bug 8395shennetsind2-57/+80
Adjusted zone merging logic to not merge items the main zone originally intended to enable (i.e. normal zone disables Velum_Jamadhar, gvg zone sets Velum_Jamadhar: false) Special Thanks to Ancyker, Michieru http://hercules.ws/board/tracker/issue-8395-map-zone-db-stacking-incorrectly-siege-gears-not-working/ Signed-off-by: shennetsind <ind@henn.et>
2015-01-24HPM Hooks UpdateHaru6-393/+688
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Added script command 'channelmes'Haru4-8/+47
Special thanks to Dastgir Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Channels refactoring: guild_*Haru3-70/+58
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Channels refactoring: quit, leave, deleteHaru4-85/+90
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Channels refactoring: map_joinHaru1-13/+12
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Channels refactoring: reordered functions (no changes)Haru1-113/+116
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Channels refactoring: searchHaru4-44/+51
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Channels refactoring: joinHaru6-76/+107
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Minor channel system refactoringHaru5-107/+201
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Moved the Hercules Channel System to its own file/interfaceHaru16-810/+949
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Fixed 18 minor issuesHaru9-96/+169
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-24Reduced quest db memory usage by about 900kBHaru3-42/+56
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Added additional item drops support to the quest dbHaru2-8/+77
- Special thanks to Dastgir, Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Converted quest_db to libconfigHaru2-53/+88
- This allows for more fields to be easily added to the file (coming soon). - Special thanks to Dastgir. Signed-off-by: Haru <haru@dotalux.com>
2015-01-24HPM Hooks UpdateHercules.ws1-30/+28
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-23Cleaned up spirit charms implementation (optimized memory and CPU usage)Haru9-179/+170
Signed-off-by: Haru <haru@dotalux.com>
2015-01-23Deprecated command isday().Haru1-1/+1
- The command is deprecated and it will be removed in about a month. Please use isnight() in your custom scripts instead. Signed-off-by: Haru <haru@dotalux.com>
2015-01-23Merged petskillattack and petskillattack2.Haru1-35/+9
Existing custom scripts will need edits. In a nutshell: - Existing calls to `petskillattack` should be changed to specify an extra <number of attacks> argument (after <skill level>), set to 0. - Existing calls to `petskillattack2` should be changed to `petskillattack`, keeping the same arguments. Signed-off-by: Haru <haru@dotalux.com>
2015-01-22Follow up 0957abd4d19b82b8dc8d7db2743008fa3daff3fashennetsind1-1/+1
Special Thanks to kyeme Signed-off-by: shennetsind <ind@henn.et>
2015-01-22Removed name distinction between (sql) mob/item/mob_skill db and db_re variantsHaru5-29/+7
- Since there (currently and in future) is no difference between the table structure for renewal and pre-renewal databases, it makes no sense to have extra code that makes a distinction between their names. A server will always use either one or the other, never both at the same time. - If you have a mob_db_re, mob_skill_db_re and/or item_db_re table, please rename it to mob_db, mob_skill_db and/or item_db_re, respectively. - No upgrade script provided. I'd like to remind everyone that these tables are optional (and deprecated), and they are only offered for convenience for those who need them for web control panels and similar software. Signed-off-by: Haru <haru@dotalux.com>
2015-01-20Fixes Compile Error on WindowsDastgir3-4/+6
2015-01-20Minor fixes and tweaks suggested by cppcheckHaru48-1383/+1328
- Variable scopes reduced - Parenthesized ambiguous expressions - Removed or added NULL checks where (un)necessary - Corrected format strings - Fixed typos potentially leading to bugs Signed-off-by: Haru <haru@dotalux.com>
2015-01-19Update HPM hooks.Andrei Karas3-0/+31
2015-01-19Extract exp table validation into separate function.Andrei Karas2-10/+19
2015-01-18Merge pull request #446 from csnv/quickfixshennetsind1-2/+2
Fixes direction in AOE skills