summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-02-10Fixed Bug 7949shennetsind1-8/+6
Issue with combos reapplying themselves upon removal of a duplicate item present (e.g. 2x gloves of a glove that combos with a shield), since 524291493e64 Thanks to Angelmelody http://hercules.ws/board/tracker/issue-7949-item-combo-bug/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Fixed Bug 8017shennetsind2-9/+9
Would happen on 2014-onwards clients due to the placeholder packetver of 20140000 http://hercules.ws/board/tracker/issue-8017-monster-hp-bar-does-not-update/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind8-71/+137
2014-02-10Fixed guild aura going away on LPshennetsind1-0/+3
Thanks to AnnieRuru, kyeme. Signed-off-by: shennetsind <ind@henn.et>
2014-02-11Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett8-97/+154
2014-02-11Fixed Bug#7983 (Thanks to Kiu)malufett3-4/+16
-http://hercules.ws/board/tracker/issue-7983-whisper-display Fixed Bug#8012 -http://hercules.ws/board/tracker/issue-8012-bonus-bvariablecastrate-and-bfixedcastrate-not-working-properly/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-10Merge pull request #256 from hemagx/masterHaruna5-67/+121
Merged~ Thank you for your contribution to Hercules!
2014-02-10Fixed 3 'Declaration shadows a variable in the global scope'shennetsind1-24/+24
warnings. Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Modified successrefitem script commandshennetsind1-5/+8
Added a new optional parameter to specify upgrade quantity, so its consistent with downrefitem which provides a optional parameter to specify downgrade quantity. As proposed by kyeme in http://hercules.ws/board/topic/2403-successrefitem/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind9-26/+134
2014-02-10bindatcommands are now case-insenstivie (just like normal @commands)shennetsind1-1/+1
As proposed by kyeme in http://hercules.ws/board/topic/2101-bind-commands/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Fixed Bug#7933malufett2-0/+3
-http://hercules.ws/board/tracker/issue-7933-sonic-blow/?gopid=21551#entry21551 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-10Fixed Bug#7988malufett4-12/+13
-http://hercules.ws/board/tracker/issue-7988-royal-guard-exceed-break-causes-map-server-crash/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-10Fixed Bug#7929malufett1-9/+76
-http://hercules.ws/board/tracker/issue-7929-overbrand-and-mapflags/?gopid=21542#entry21542 Fixed Bug#7966 -http://hercules.ws/board/tracker/issue-7966-over-brand/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-09Follow-up to 7b19f964b88dffcfdc8c12648d5e4ee8a26a9504Haru1-1/+0
- Fixes bugreport:8015, thanks to N e s s http://hercules.ws/board/tracker/issue-8015-error-in-compiling-in-debian-linux-latest-rev/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-09Improved script case check reports to include more accurate source info.Haru5-5/+43
- Fixes bugreport:8013, thanks to Dastgir Pojee http://hercules.ws/board/tracker/issue-8013-script-add-str-problem/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-08Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind9-95/+59
2014-02-08Fixed Bug 7978shennetsind1-6/+7
Consumables with expire item no longer stack with those without expire time Thanks to kyeme. http://hercules.ws/board/tracker/issue-7978-rental-item-stackable/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-08Fixed vending title escapingshennetsind1-2/+7
Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2014-02-08Added get_substring to the libpcre interfaceHaru2-0/+2
Signed-off-by: Haru <haru@dotalux.com>
2014-02-08Improved client_hash_checkHaru1-17/+23
- Added option to disable hash check by GM group_id (specify 'disabled' as hash for a certain group_id to let them log in with any client, even if client_hash_check is enabled - Updated and reworded related documentation for the feature, following user feedback about certain parts being incomplete or confusing.
2014-02-08HPM Hooks UpdateHercules.ws3-31/+0
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-08Improvements on the script commands sscanf, axtoi. Added strtol.Haru2-45/+32
- Added script command strtol (conforming to the ISO C90 function) - Modified script command axtoi to internally use strtol instead of an unnecessary own implementation. - Fixed sscanf behavior to conform to the C specifications in case the input string is empty. It now correctly returns -1, or 0 if the format string is also empty. Fixes bugreport:8009, thanks to AnnieRuru - http://hercules.ws/board/tracker/issue-8009-sscanf-should-return-1-if-the-string-field-is-an-empty-string/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-06HPM Hooks UpdateHercules.ws1-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-04HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-04Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-0/+122
2014-02-04Fixed millenium shield crash with clonesshennetsind6-20/+17
Thanks to Michieru Signed-off-by: shennetsind <ind@henn.et>
2014-02-03HPM Hooks UpdateHercules.ws3-0/+122
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-03Wrap up on HPMDCshennetsind6-6/+38
http://hercules.ws/board/topic/4283-introducing-hpm-datacheck/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-03Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind8-43/+240
2014-02-03HPM Hooks UpdateHercules.ws4-10/+154
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-03Updated HPMHookGen with a HPMDataCheck generatorHaru1-0/+17
- It will be used by an upcoming commit by Ind. - Added dummy HPMDataCheck.h, to test the API bot's capability to re-generate it. - Improved XML parser performance. Signed-off-by: Haru <haru@dotalux.com>
2014-02-03Added /stat+ commands support for 2013-12+ clientsHaru4-37/+73
- Fixes /str+, /agi+ and the likes, only being able to increase stats by 1 point on 2013-12 and newer clients. - As a bonus, on those clients, processing of the /stat+ commands will be much faster, and the requested points will be added instantly and all at once rather than one at a time like in older clients. Signed-off-by: Haru <haru@dotalux.com>
2014-02-03Fixed Bug 7333shennetsind5-16/+137
Zones are now able to merge during runtime. Special Thanks to Haru, kyeme. http://hercules.ws/board/tracker/issue-7333-map-zone-db/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-02Fixed Bug 7962shennetsind4-1/+91
Fixed issue with "permanent" (durationless) status changes (such as carts) integrity caused on server shutdown. Special Thanks to Haru! http://hercules.ws/board/tracker/issue-7962-command-at/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-02Fixed item combo bypassing disabled item restrictionsshennetsind6-106/+115
Special Thanks to Mhalicot! Also improves the overall memory usage of the item combo feature Signed-off-by: shennetsind <ind@henn.et>
2014-02-02Introducing HPM Datacheckshennetsind86-265/+357
http://hercules.ws/board/topic/4283-introducing-hpm-datacheck/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-02Update inter server so ask login server for account information Instead of ↵Ibrahim Hossam5-67/+121
do query to login table. Thanks to Haruna to clean it up.
2014-02-01MvP dmotion fixshennetsind2-5/+7
Effect would not be applied when mvp is under no status conditions, also adjusted spelling in secure.h Signed-off-by: shennetsind <ind@henn.et>
2014-01-24Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind16-135/+200
2014-01-24Follow up e587d715cbc3shennetsind4-1152/+1185
Fixed an issue where character position would not be instantly updated upon using a skill with casttime while in hiding (e.g. cloaking -> soul break), Special Thanks to Michieru! Turned the feature optional, by commenting out ANTI_MAYAP_CHEAT in src/config/secure.h due it not being entirely able to mimic skill casting out of hiding (read the description in secure.h for further details). Also fixed some status.c indentation which, unfortunately, considerably increased this commits size. Signed-off-by: shennetsind <ind@henn.et>
2014-01-23HPM Hooks UpdateHercules.ws3-17/+17
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-01-23Compatibility fixes for NetBSD and SolarisHaru4-2/+15
- Fixed some warnings in NetBSD (5.x and 6.x) and Solaris (11) Signed-off-by: Haru <haru@dotalux.com>
2014-01-23Minor fixes to the strlib interfaceHaru2-10/+26
- Fixed a typo in the strnlen() macro (was strnln) - Initialized strlib->strnlen and strlib->strtoull to NULL on platforms that don't require them. Please note that those two functions are supposed to never be called directly but only through the strnlen() and strtoull() macros, which take care of the platform abstraction. - Removed localized versions of yes/no from config_switch (if you really want to be able to use "oui", "ja", "si", "non", "nein", feel free to add them back yourself following the example in strlib.c) Signed-off-by: Haru <haru@dotalux.com>
2014-01-22Renamed atcommand->parse to atcommand->execHaru5-35/+37
- Renamed function to a more appropriate name. - Changed its last argument 'int type' to 'bool player_invoked' to make its purpose more obvious. Signed-off-by: Haru <haru@dotalux.com>
2014-01-22Improved questlog handling to honor the value of MAX_QUEST_OBJECTIVESHaru1-15/+52
Signed-off-by: Haru <haru@dotalux.com>
2014-01-22Improvements to exp_guild.txt loadingHaru2-40/+35
- Modified exp_guild.txt processing to honor the value of MAX_GUILDLEVEL and correctly handle overflows. Signed-off-by: Haru <haru@dotalux.com>
2014-01-21Fixed --disable-packetver-re / --enable-packetver-re in ./configureHaru1-3/+5
- Follow-up to c50e094dff1898badd4136d9cdeb7318c803cb61 Signed-off-by: Haru <haru@dotalux.com>
2014-01-19HPM Hooks UpdateHercules.ws3-13/+13
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-01-19HPM Custom Data Struct Expansion: map/instance/party/guildshennetsind14-18/+140
As requested by the community in http://hercules.ws/board/topic/3832-hpm-custom-data-struct-for-instance-data-guild-data-and-party-data/ Signed-off-by: shennetsind <ind@henn.et>