summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
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-16Added --load-script commandline argumentHaru3-21/+42
Signed-off-by: Haru <haru@dotalux.com>
2014-03-16Added --load-plugin commandline argumentHaru1-2/+21
Signed-off-by: Haru <haru@dotalux.com>
2014-03-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-1/+4
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-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-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-36/+25
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 8041Michieru2-14/+18
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 8078shennetsind1-2/+3
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 1007d606645c16d5246761976b7648809edb8b1dshennetsind3-4/+14
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 8083shennetsind1-1/+1
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/Herculesshennetsind3-19/+30
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.panikon1-5/+9
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/Herculesmalufett7-19/+64
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 pull request #265 from AnnieRuru/request_1shennetsind1-0/+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-10Merge pull request #262 from Baalberith6/masterHaruna1-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-10Fixed a crash caused by NPC variable references in callfuncHaru2-13/+44
- 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_targetAnnieRuru1-0/+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 permissions from my last commitMatej Pristak1-0/+0
2014-03-09Fix Bug 8069Michieru1-0/+1
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-08Homunculus initimacy is always stored in interval <0,100000>, ↵Matej Pristak1-2/+2
MH_LIGHT_OF_REGENE shouldn't reset it to almost zero - cordial is 75000, not 750 and neutral is 25100, not 251. This was ultimately reseting your intimacy on use, shat wasn't the intention.
2014-03-05Corrected same-reference check to work on vars with the same name in ↵Haru2-14/+18
different scopes - Fixes bugreport:8008, special thanks to KeyWorld http://hercules.ws/board/tracker/issue-8008-copyarray-fail-on-a-referenced-array-argument/ Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Ref redesign, part 3Haru4-155/+152
- Updated several functions to properly use the data structures defined in parts 1 and 2. - Special thanks to Ind for his help on this, as well as the previous two parts. - Fixes some crashes related to variable references passed back and forth between nested callfunc/callsub scopes (related: 2669e9a, 3259f89, 4f2de07) Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Ref redesign, part 2Haru11-172/+189
- Reorganized regs var/array DBMaps into a specific reg_db structure Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Ref redesign, part 1Haru3-127/+130
- Moved string and numeric mapregs into the same DBMap (for consistency with the other reg types.) Signed-off-by: Haru <haru@dotalux.com>
2014-03-04Fix bug 8036Michieru4-5/+26
http://hercules.ws/board/tracker/issue-8036-gate-of-hell-over-powered/ Fix bug 7074 http://hercules.ws/board/tracker/issue-7074-suragoh-issues/ Fix bug 6866 http://hercules.ws/board/tracker/issue-6866-gate-of-hell/?gopid=15411#entry15411 Remove cast, after cast and cool down of All Odin Power as aegis info. All Odin Power is now watk and it's show the matk in the status window. http://hercules.ws/board/tracker/issue-7715-odins-power-lvl-2/ Fix Insignia consume the item correctly and can't be cast on Land Protector.
2014-03-01Fix Bug 8029Michieru2-2/+2
http://hercules.ws/board/tracker/issue-8029-after-svn-update-my-db-skill-becomes-500-2k-damage/
2014-02-27Cleaned up messages.confHaru12-206/+217
- Removed some unused messages. - Re-mapped some duplicate IDs - fixes bugreport:8057, thanks to AnnieRuru http://hercules.ws/board/tracker/issue-8057-jobname-with-invalid-id-return-tomb/ - Fixed some issues with the message range loaded by the char server. - Reworded some messages, fixed typos in others. Note for translation users: some messages have been remapped to new IDs. You'll need to remap them in your custom translations as well. The list of changes is as follows: - Removed messages (you can safely remove them from your translations): 15, 26-27, 35, 48-52, 57-58, 65-69, 82-83, 86-87, 91, 101, 140-142, 164, 189-194, 199-200, 202-203, 209-211, 215-218, 267-268, 275, 289-290, 380-385, 387-388, 401, 497, 499, 535-537, 922, 995, 1063, 1079, 1291-1294 - New messages (you need to add them to your translations): 15 - Moved messages (you need to change their IDs in your translations file): * [Unknown Job] 656 -> 620, * [Job names] 681~693 -> 656~668 * [Tombstone related] 656~661 -> 856~861 * [Etc messages] 662~680 -> 862~880 * [@version] 1436 -> 1294 * [Hercules Chat] 1475 -> 1436 Signed-off-by: Haru <haru@dotalux.com>
2014-02-27Follow-up to 37953d0 (fixes compile error)Haru1-3/+3
- Fixes bugreport:8058, thanks to ossi0110, KeiKun, Beret http://hercules.ws/board/tracker/issue-8058-compiling-error-latest-rev/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-26Whisper fix, and support for 2013-12-18 Ragexe and 2013-12-30 Ragexeshennetsind3-16/+107
From Pull Request 255 (Thanks to Kiu, ossi0110, Yommy) Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-4/+5
2014-02-26Improved mapindex_name2id errors for scriptsshennetsind2-15/+31
NPC Error is now printed as well as the original message as proposed by Emistry in http://hercules.ws/board/topic/1864-mapindex-name2id-display-which-npc-caused-this/ Special Thanks to Haru! Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Introducing #define npc constantsshennetsind2-1/+14
As proposed by AnnieRuru in http://hercules.ws/board/topic/4320-getserverdef/ They're input directly by the server, Haru's idea! (Thank you). Also introducing the MAX_CHAT_USERS define as requested by AnnieRuru. Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Removed Option_ constants from const.txt, now input directly from the sourceshennetsind4-5/+47
a benefit, for example, would be that the compounds are always up to date regardless if new members are added, also added a new compound OPTION_COSTUME Special Thanks to Haruna, and AnnieRuru for pointing out constdb's outdatedness. Signed-off-by: shennetsind <ind@henn.et>