summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-03-18BG Queue Fixes & +++shennetsind5-19/+118
Fixed issue where players would be able to join a ongoing game when queueing by meeting the criteria. Fixed/Implemented the maximum_afk_seconds setting. Fixed issue with the maxPlayers arena setting that'd cause the maximum to be less than specified. Added a new battlegrounds.conf setting "allowedTypes" for arenas in order for further customisation. Expect a few more soon. Special Thanks to AnnieRuru Signed-off-by: shennetsind <ind@henn.et>
2014-03-18Created npc/dev/ folder for scripts with development or testing purposes.Haru5-4/+14
- Moved npc/custom/test.txt to npc/dev/test.txt - Special thanks to AnnieRuru for the idea. Signed-off-by: Haru <haru@dotalux.com>
2014-03-17Added regular expression matching script commands and operatorsHaru4-18/+166
- The script command pcre_match and the operator ~= will return the number of regular expression matches in a given string (roughly equivalent to the php function preg_match or the perl operator =~) - The operator ~! is the opposite of ~= (roughly equivalent to the perl operator !~) - See script_commands and npc/custom/test.txt for more information. Signed-off-by: Haru <haru@dotalux.com>
2014-03-17Follow-up to 0e58529 (for MSVC compatibility)Haru1-5/+5
- Fixes bugreport:8097, thanks to Frost http://hercules.ws/board/tracker/issue-8097-compile-issue-using-msvc-2010-windows-7-64bit/ Signed-off-by: Haru <haru@dotalux.com>
2014-03-17HPM Hooks UpdateHercules.ws1-7/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-17Improved const pointer detection in the HPMHooking generatorHaru1-2/+2
- Fixes a HPMHooking compile error in d117462. Thanks to Potte. Signed-off-by: Haru <haru@dotalux.com>
2014-03-16HPM Hooks UpdateHercules.ws1-6/+7
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-16Added --load-script commandline argumentHaru5-27/+57
Signed-off-by: Haru <haru@dotalux.com>
2014-03-16Added --load-plugin commandline argumentHaru5-7/+31
Signed-off-by: Haru <haru@dotalux.com>
2014-03-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-2/+5
2014-03-16Fixed Bug 8093shennetsind1-0/+12
Special Thanks to Haruna for pinpointing the cause, developing test cases and contributing to the final solution :3 http://hercules.ws/board/tracker/issue-8093-memory-leak-after-stop-server-cant-fix/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-17Fix addtimer will report error when hit MAX_EVENTTIMERAnnieRuru1-1/+4
Fix bug 7965 http://hercules.ws/board/tracker/issue-7965-
2014-03-17Fix WoE:SE guild flag doesn't change emblemAnnieRuru1-1/+1
Fix bug 8077 http://hercules.ws/board/tracker/issue-8077-woese-flag-emblems-gives-warning/
2014-03-16Follow up 4fe6f657e682b9c722b15346f31ec3fe0298b9d9shennetsind1-0/+1
Yahoo I screwed up. re-adding the tick = -1 I removed in the aforementioned commit. Super-mega thanks to EPuncker! Signed-off-by: shennetsind <ind@henn.et>
2014-03-16Improved ERS memory handlingshennetsind3-24/+21
On shutdown the ERS will loop thru leftover managers and clear them according to each manager's settings, while also printing errors according to each manager's settings. Will also help pinpoint the causes of http://hercules.ws/board/tracker/issue-8093-memory-leak-after-stop-server-cant-fix/ and similar issues. Signed-off-by: shennetsind <ind@henn.et>
2014-03-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind4-37/+26
2014-03-16Fixed Bug 8095shennetsind1-2/+4
Mounting SC_ALL_RIDING (new mounts) now causes character to stop attacking. Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-8095-ridding-mount2-can-attack/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-16Fix Bug 8041Michieru3-15/+19
http://hercules.ws/board/tracker/issue-8041-sura-cresent-elbow/ Special Thanks to Ind Fix Bug 6826 http://hercules.ws/board/tracker/issue-6826-crescent-elbow/?gopid=15188#entry15188 Fix Bug 8075 http://hercules.ws/board/tracker/issue-8075-lightning-walk/
2014-03-16Fixed Bug#8086malufett1-22/+7
-http://hercules.ws/board/tracker/issue-8086-overbrand-mega-bug/ Notice: old behavior of LG_OVERBRAND contains exploitable bug..this patch must pull to eliminate the bug Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-03-15Fixed Bug 8089shennetsind1-1/+3
In the scenario where damage is reflected and kills the caste sc->data[SC__SHADOWFORM] would be null (caster no longer is under the condition) and thus the crash. http://hercules.ws/board/tracker/issue-8089-map-crash/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-15Follow up f4b1ff7426b1c4cd5e8cac37f7e3983cc03c706eshennetsind1-0/+5
Memory leak from bug report 8090 which was created in f4b1ff7426b1c4cd5e8cac37f7e3983cc03c706e when I somehow managed to assume all instances consuming memory would be active. Special Thanks to LordOdin! http://hercules.ws/board/tracker/issue-8090-memory-leak/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Fixed Bug 8078shennetsind2-4/+7
gms relogging while char server is on char_server_type will no longer get rejected. Special Thanks to Beret. http://hercules.ws/board/tracker/issue-8078-maintenance-mode-enabled/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Fixed Bug 7936shennetsind1-1/+1
Guild bound item deletion is no longer relies on account id to lookup (would cause false positives) , instead it relies on char id. special thanks to kyeme. http://hercules.ws/board/tracker/issue-7936-guildparty-item-bounded/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Follow up 1007d606645c16d5246761976b7648809edb8b1dshennetsind4-10/+18
A bonus. Fixed unitwalk's non-x/y possibility, NPCs can now be set to chase players around for as long as they keep walking, which opens a number of possibilities e.g. help npc y get thru z. Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Fixed Bug 8083shennetsind2-2/+2
Player-looking NPCs will now display properly, thanks to evilpuncker. http://hercules.ws/board/tracker/issue-8083-mob-avail-npc-sprite/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Fixed Bug 8081shennetsind1-1/+1
disabling rental items with zones would cause such rental items to be deleted when the item_restricted_consumption_type setting was enabled, this has been fixed in this commit. Special Thanks to Tepoo. http://hercules.ws/board/tracker/issue-8081-map-zone-dbconf-item-dissabled-issues/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-14Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind4-25/+45
2014-03-14Added internal awareness of active script instancesshennetsind3-12/+32
Fixes the following issues: - donpcevent could cause a crash when used to a event of the same npc - input/other-dialog-interactions could cause a crash when sending data to a disabled-fakenpc-id'd. Special Thanks to Haruna, ossi0110. Signed-off-by: shennetsind <ind@henn.et>
2014-03-13Corrected itemheal documentation, it was fairly wrong.panikon2-11/+24
Added simple overflow check in pc_heal to fix issue: 8082 http://hercules.ws/board/tracker/issue-8082-itemheal-kills-with-high-rand-value/
2014-03-12Fixed Bug#8038malufett1-7/+14
-http://hercules.ws/board/tracker/issue-8038-shadow-chaser-feint-bomb/?gopid=22073#entry22073 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-03-12Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett9-53/+67
2014-03-12Fixed Bug#8073malufett1-7/+7
-http://hercules.ws/board/tracker/issue-8073-removing-magic-gear-and-cart/?gopid=22195#entry22195 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-03-11Fixed getvariableofnpcshennetsind1-0/+3
Would crash when target npc's variable database is empty. Special Thanks to Haruna, ossi0110 Signed-off-by: shennetsind <ind@henn.et>
2014-03-11Fixed Bug 8072shennetsind2-3/+9
Special Thanks to kyeme, Haruna http://hercules.ws/board/tracker/issue-8072-map-crash-autotrade/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-11Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-33/+34
2014-03-11Fixed Bug 8067shennetsind1-1/+3
Sample plugin compiler error on msvc, credits to AnnieRuru (Thank you!) http://hercules.ws/board/tracker/issue-8067-pluginsamplec-throws-error-on-microsoft-compiler/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-11Merge pull request #265 from AnnieRuru/request_1shennetsind2-33/+34
set_constant the send_target
2014-03-11Fixed some warnings (unused functions) pointed out by clang-5.1.Haru2-12/+10
Signed-off-by: Haru <haru@dotalux.com>
2014-03-10Fixed issue 8043panikon1-3/+4
http://hercules.ws/board/tracker/issue-8043-arch-bishop-lauda-ramus/ Also corrected similar issue with AB_LAUDAAGNUS, now both skills can be used properly whether the caster is in a party or not. Special thanks to kyeme for reporting this issue
2014-03-10Fixed Bug 8046shennetsind3-1/+4
Fixed issue with permanent statuses being removed during logout for memory-freeing operations, special thanks to streusel and all those who contributed to the bug report. http://hercules.ws/board/tracker/issue-8046-cart-disappearance/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-10Removed executable flag from some files that don't require itHaru6-0/+0
Signed-off-by: Haru <haru@dotalux.com>
2014-03-10Merge pull request #262 from Baalberith6/masterHaruna2-2/+2
MH_LIGHT_OF_REGENE resetting intimacy to 0.25% and checking for 0.75% when used (instead of 25% and 75%)
2014-03-10HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-10Fixed a crash caused by NPC variable references in callfuncHaru3-45/+196
- Fixes bugreport:8074, thanks to ahmadshidqi http://hercules.ws/board/tracker/issue-8074-help-crash/ - Also fixed some DBMap allocation mistakes introduced in 4f3156b. - Added testcases to the self-test script. - Made possible thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2014-03-10set_constant the send_targetAnnieRuru2-33/+34
fix bug 8049 http://hercules.ws/board/tracker/issue-8049-specialeffect-target-self-doesnt-work/
2014-03-09Follow-up to e2fdc3b858dda8abb7518735fbb254a2d63ea760Haru1-0/+2
Fixed pre-renewal build. Signed-off-by: Haru <haru@dotalux.com>
2014-03-09fixing permission from commit 7dd4dafMatej Pristak1-0/+0
2014-03-09fixing permissions from my last commitMatej Pristak1-0/+0
2014-03-09Fix Bug 8069Michieru2-306/+307
http://hercules.ws/board/tracker/issue-8069-gate-of-hell-bonus2-bsubrace-thara-frog-card/ Completely review the 1st and 2nd class skill_cast_db in renewal with aegis files. Thanks to Yommy and Ind for the files
2014-03-08Added Chilly to AUTHORSStreusel1-0/+1
http://hercules.ws/board/topic/3188-authors-of-athena/?p=30958 Findings: https://github.com/HerculesWS/Hercules/search?q=Chilly&ref=cmdform