summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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>
2014-01-18PCRE Interfaceshennetsind3-6/+41
Plugins may now take advantage of the pcre support within the core. Thanks to Haruna! Signed-off-by: shennetsind <ind@henn.et>
2014-01-18Socket interfacedshennetsind18-160/+227
We designed this one with having as little changes required elsewhere in mind, thus the way most socket-related things are called has not changed. Plugins may now take a greater advantage of the socket features. Signed-off-by: shennetsind <ind@henn.et>
2014-01-18Modified strlib interface to be compliant with hpmhooksshennetsind1-5/+3
aka no #ifdef within the interface. Thanks to Haruna. Signed-off-by: shennetsind <ind@henn.et>
2014-01-18Libconfig Interfacedshennetsind12-374/+525
Ready for plugin use. Thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2014-01-17HPM Hooks UpdateHercules.ws3-333/+290
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-01-16Merge pull request #251 from panikon/masterHaruna11-309/+307
Function types behaviour
2014-01-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-3/+12
2014-01-16Minor redundancy fix on mapreg loadingshennetsind1-2/+2
so that it skips set_reg. Thanks to Michieru Signed-off-by: shennetsind <ind@henn.et>
2014-01-16Added 2 Missing Costumesossi01102-0/+9
Will O Wisp Decoration of Music
2014-01-15Correct minor mistakes as pointed by MishimaHarunapanikon3-5/+4
2014-01-15Reverted some minor mistakes in chrif_parse, char_ask_name_answer and ↵panikon2-13/+13
changemapserverack.
2014-01-15Fixed mapserver error when display_status_timers is disabledHaru2-3/+3
- Fixes message "status_type2relevant_bl_types: Unsupported type -1" displayed when the display_status_timers battle flag is disabled. - Corrects return value for status_type2relevant_bl_types in case of unsupported type. - Special thanks to Ind Signed-off-by: Haru <haru@dotalux.com>
2014-01-15Standalone (persistent autotraders) merchants no longer autojoin channels.shennetsind1-0/+2
Signed-off-by: shennetsind <ind@henn.et>
2014-01-15Fixed Bug 7973shennetsind1-2/+2
Changed PACKETVER_RE to be commented out by default since 20131223 is not ragexere. Thanks to evilpuncker http://hercules.ws/board/tracker/issue-7973-missed-update-at-mmoh/ Signed-off-by: shennetsind <ind@henn.et>
2014-01-15Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-31/+0
2014-01-15Fixed autotrading persistency problem with multiple non-stackable itemsshennetsind1-2/+11
Thanks to Mhalicot! Signed-off-by: shennetsind <ind@henn.et>
2014-01-15Fixed Bug 7952shennetsind1-2/+0
Game client is sending it twice, causing authfail to trigger it. I'm dropping the disconnect, given 1) its pretty hard scenario to be faked thanks to the wpe-free update and 2) its such a silly action (hatching an egg) and a countermeasure is already present. http://hercules.ws/board/tracker/issue-7952-pet-hatch-error-2013-12-23-ragexe/ Thanks to ossi0110, Tepoo, themon. Signed-off-by: shennetsind <ind@henn.et>
2014-01-14Updated return values of some atcommands.panikon10-316/+315
Altered many function types from int to bool(C99) and added meaningful return values. Altered many function types from int to void as they didn't have any meaningful return value. Replaced chrif_char_offline with a macro as this function did exactly the same as chrif_char_offline_nsd.