summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-03-14Fixed a script function related memory leak on mapserver shutdownHaru1-8/+6
- If a script function was running when the server is shut down, the memory allocated by its local variables would not get freed. - Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2015-03-13Fixed Bug 8544shennetsind1-0/+5
Special Thanks to Legend for all the info on how to reproduce. Blame goes to 3089a7d2d2dc655fb955b90ec152c0ba569bd4e2 http://hercules.ws/board/tracker/issue-8544-map-freeblock-timer/ Signed-off-by: shennetsind <ind@henn.et>
2015-03-12Fixed Bug#8546malufett1-1/+2
-http://hercules.ws/board/tracker/issue-8546-reflect-kaite-magic-rod-bug-fix-please/?gopid=24609#entry24609 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-03-11HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-03-11RENEWAL Updates:malufett6-71/+178
-Fixed card bonuses related to to ATK.(Added 'bRaceTolerance'). Thanks Michi for the support. -Fixed Renewal EDP. Special thanks to Awesome Yommy <3 -Enabled 'display_skill_fail' since '/skillfail' is already available in the client Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-03-10HPM Hooks UpdateHercules.ws3-0/+38
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-03-10Merge pull request #461 from dastgir/bg_HPMshennetsind4-1/+35
Battleground Data to HPM Struct
2015-03-05Fixed Bug 8535shennetsind1-1/+1
Mob/Clone causing a crash when casting absorb spirits outside of a 'vs' map. Special Thanks to kyeme, Playtester. http://hercules.ws/board/tracker/issue-8535-map-crash/ Signed-off-by: shennetsind <ind@henn.et>
2015-03-05Memory Slasher: Script Parser Boostshennetsind1-17/+14
Noticed this improvement while working on the ultimate localization design. During my experiments I noticed an average 11% speed mod. This patch makes script (item/pet/npc) parsing 11% faster, while dropping map server memory usage by 2.7MB (its faster and uses less memory, signature Hercules achievement). Signed-off-by: shennetsind <ind@henn.et>
2015-03-05Fixing vending on 2014-10-22 and aboveshennetsind1-0/+8
Thanks to Dastgir for bringing this to my attention. Signed-off-by: shennetsind <ind@henn.et>
2015-02-28Skipped translations in minimal (script-checker) modeHaru1-0/+3
- Translations aren't used in script-checker mode, so there is no point loading them. - Fixes an error message caused by a missing default language when starting in script-checker mode. - Special thanks to Ind, jaBote. Signed-off-by: Haru <haru@dotalux.com>
2015-02-25Fixed Bug#8522malufett1-2/+2
-http://hercules.ws/board/tracker/issue-8522-royal-guard-skill-reflect-damage-skill-duration-lapses-quicker-than-intended/?gopid=24526#entry24526 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-02-23Add battle config option check_occupied_cells.Andrei Karas3-1/+3
If set check_occupied_cells to 0 it will allow walk to occupied cells And it heavy reduce CPU usage on walking.
2015-02-23Extend official_cell_stack_limit option.Andrei Karas3-3/+3
Now if this option is zero server will not count objects before comparing with official_cell_stack_limit. If set official_cell_stack_limit to zero it will heavy reduce CPU usage.
2015-02-23HPM Hooks UpdateHercules.ws3-0/+385
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
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-11Battleground Data to HPM Structdastgir4-1/+35
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>