summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.
2014-01-14HPM Hooks UpdateHercules.ws3-31/+0
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-01-13Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind7-96/+17
2014-01-13Fixed HPM support for group permissionsshennetsind6-6/+57
pcg->add_permission dropped, use 'AddGroupPermission("name",unsigned int var for mask id)' Signed-off-by: shennetsind <ind@henn.et>
2014-01-13Fixed @reloadskilldb issue with offline char servershennetsind1-0/+3
Signed-off-by: shennetsind <ind@henn.et>
2014-01-13Fixed getarraysize returning incorrect values for character variablesshennetsind1-1/+1
- Committing on Ind's behalf. Special thanks to ossi0110. Signed-off-by: Haru <haru@dotalux.com>
2014-01-13HPM Hooks UpdateHercules.ws3-60/+0
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-01-13Improved overwriting priority of variables/constants/parametersHaru4-35/+16
- Fixes issue 7968, thanks to Moguri http://hercules.ws/board/tracker/issue-7968-trader-npc-not-working/ - Corrected sprite name for KO_KAGE to match latest kRO info (previouly KO_ZANZOU, conflicting with a Kagerou/Oboro skill identifier) - Updated self-test script to include checks for constants and for setd and getd. - Made possible thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2014-01-12Follow up 20bdc01fa687b174a732be4483ddea4982d67ce9shennetsind1-4/+15
Fixed scripting deficiency of being unable to tell whether a user is assigned to a specific instance or not ( 20bdc01fa687b174a732be4483ddea4982d67ce9 removed that ability ), because users can be assigned to more than a single instance on hercules, the previous instance_id(<va>) isn't viable, so I'm introducing has_instance2("<map_name>"), returns the instance id of that map for the user (as long as the user is assigned to a instead with that map), -1 upon failure -- valid instance ids are >= 0. Signed-off-by: shennetsind <ind@henn.et>
2014-01-12Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind11-73/+68
2014-01-12Follow up 95f13f3420822111f928ba6079fbc2061bd38c5fshennetsind1-16/+16
Fixed handling of arrays with 1-member and on index[0]. Thanks to Haruna. Signed-off-by: shennetsind <ind@henn.et>
2014-01-12Changed some void* to the correct data types where applicableHaru11-72/+67
Signed-off-by: Haru <haru@dotalux.com>
2014-01-12Corrected a 32 bit warningHaru1-1/+1
- Follow-up to 82b583b5ef4e729ad2c3c74b26adce16a145605a - Committing on Ind's behalf Signed-off-by: Haru <haru@dotalux.com>
2014-01-12Fixed Bug 7963shennetsind1-1/+1
Syntax error when compiling with GP_BOUND_ITEMS disabled. http://hercules.ws/board/tracker/issue-7963-intifc-compile-error/ Signed-off-by: shennetsind <ind@henn.et>
2014-01-12Fixed Bug 7967shennetsind1-0/+1
temporary pc regs (@) were being misflagged. http://hercules.ws/board/tracker/issue-7967-scriptc-leaks/ Signed-off-by: shennetsind <ind@henn.et>
2014-01-12Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-0/+30
2014-01-12Two Adjustmentsshennetsind4-14/+6
From some notes I took while working on the megapatch: - Dropped unused char_dat variable in chrif's auth_node - Fixed DB/BB/PB Logging, which could create false logs due to where it was placed. Signed-off-by: shennetsind <ind@henn.et>
2014-01-12HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-01-12Fixed ERS Cache sharingshennetsind7-22/+39
Enforcing cache to match the option condition in order for it to be shared. Special Thanks to Haruna! Signed-off-by: shennetsind <ind@henn.et>
2014-01-12Adjusted indexing of vars with index 0shennetsind2-8/+67
Special Thanks to Haruna. Also fixed a compiler warning, thanks to ossi0110 Signed-off-by: shennetsind <ind@henn.et>
2014-01-11Follow up 82b583b5ef4e729ad2c3c74b26adce16a145605ashennetsind2-11/+11
Fixed mapreg reload issue, sql_query not returning results, and caused deletearray to no longer display error messages when the array in question is not available. Special Thanks to Haruna, ossi0110 Signed-off-by: shennetsind <ind@henn.et>
2014-01-11Fixed Bug 7960shennetsind2-3/+5
http://hercules.ws/board/tracker/issue-7960-scriptc-warnings/ Also applied a temporary adjustment due to ERS_OPT_CLEAN not being consistent (decent fix will follow up, haru and i are working on it) -- thanks to kyeme for pointing it out! Signed-off-by: shennetsind <ind@henn.et>
2014-01-11Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-146/+610
2014-01-11Follow up 82b583b5ef4e729ad2c3c74b26adce16a145605ashennetsind1-1/+0
Forgot to remove this little fella. Thanks to kyeme! Signed-off-by: shennetsind <ind@henn.et>
2014-01-11HPM Hooks UpdateHercules.ws3-146/+610
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-01-11Hercules 1st 2014 MegaPatchshennetsind30-1256/+1994
http://hercules.ws/board/topic/3886-hercules-1st-2014-megapatch/ Signed-off-by: shennetsind <ind@henn.et>
2014-01-09Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind12-2765/+2698
2014-01-09Fixed Bug#7826malufett1-0/+6
-http://hercules.ws/board/tracker/issue-7826-card-compound/?gopid=21081#entry21081 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-01-08Fixed Bug#7944malufett1-1/+1
-http://hercules.ws/board/tracker/issue-7944-all-hidecloaking-skills-in-pvpduelwoe/?gopid=21579#entry21579 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-01-08Introducing Hercules Autotrade Persistencyshennetsind11-30/+321
Aka autotrading merchants survive server restarts. Originally sekai's (aka me). Special Thanks to Haruna, Michieru. Signed-off-by: shennetsind <ind@henn.et>
2014-01-03Fixed Bug#7709malufett3-46/+43
-http://hercules.ws/board/tracker/issue-7709-overbrand/?gopid=20445#entry20445 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-01-01HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>