summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-10-07Ensured explicit check for undefined references on shared objectsHaru2-79/+180
- On certain platforms, shared objects will be built without linker errors even if they have undefined references (but they'll fail to load if those references can't be found at runtime). - This resolves issues with plugins that on linux seem to compile, but won't load (or will lead completely unpredictable results) because they use symbols that may not exist. Special thanks to oss10110 for bringing it up. Signed-off-by: Haru <haru@dotalux.com>
2013-10-07Follow up c56e3eb701658079f1de09db759f3b09327ec046shennetsind7-1873/+2314
Adjusted PARTY_RECRUIT accordingly, special thanks to ossi0110 for bringing it up. Signed-off-by: shennetsind <ind@henn.et>
2013-10-07Minor plugins.conf editshennetsind1-1/+2
Made HPMHooking be commented out by default (no need to have it enabled since hercules is shipped with no other enabled plugins). Signed-off-by: shennetsind <ind@henn.et>
2013-10-07Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind18-161/+229
2013-10-07Fixed Bug #7744shennetsind13-2277/+2688
Adjusted missing #ifdef behavior to be friendly to the hooking. http://hercules.ws/board/tracker/issue-7744-compiler-error-on-hpm-hooking-after-undefined-packetver-re/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-05Renamed HPMHooking generated dll in VS2012 and VS2010 projectsHaru2-6/+6
- Changed from plugin-HPMHooking.dll to HPMHooking.dll - Fixes bugreport:7747, thanks to bgamez23 http://hercules.ws/board/tracker/issue-7747-warning-hpmplugin-load-failed-to-load-pluginshpmhookingdll-skipping/ Signed-off-by: Haru <haru@dotalux.com>
2013-10-05Added 'buildclean' target to all makefilesHaru10-45/+92
- By invoking 'make buildclean', you can clean up all the build intermediate (object) files, without deleting any of the built executables and plugins. - To delete everything, use 'make clean', as you've always done. Signed-off-by: Haru <haru@dotalux.com>
2013-10-05Added support for trailing commas within libconfig arraysHaru3-94/+111
- A trailing comma in conf/plugins.conf will no longer cause a parse error. This makes it easier to comment out plugins to disable them. - conf/plugins.conf has been updated to reflect this change. Signed-off-by: Haru <haru@dotalux.com>
2013-10-04Merge pull request #167 from shenhuyong/mastershennetsind3-16/+20
* Fixed Bug #7713 And #7708
2013-10-04downrefitem script command updateshennetsind2-13/+13
Preparation for refiner/hd-ore update; Optional param added, this will allow for the officials 1/3 downgrades as well as for users to customise the value to their liking at script-level. Thanks To Haruna. Signed-off-by: shennetsind <ind@henn.et>
2013-10-04Fixed Storage AddItem Bugshennetsind1-2/+3
Fixed a ancient bug where trying to add a item to a full storage would render the item un-draggable (server was failing to respond properly). Thanks to Sanasol for bringing it up. Signed-off-by: shennetsind <ind@henn.et>
2013-10-04HPM: Hooking!shennetsind26-104/+76665
http://hercules.ws/board/topic/2399-hpm-hooking-now-available/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-03Merge branch 'master' of https://github.com/HerculesWS/Herculesshenhuyong35-2919/+3149
2013-10-02HPM: Map.c Completedshennetsind30-2184/+2313
Fully Interfaced. Moved missing vars and declarations of interest into the interface, removed duplicate mentions of map within calls to shorten wherever it made sense to. Ladies and Gentleman its my pleasure to announce that with this commit we've revised all of map-server, we've learned a hell lot from this, improved many things on the go and have a number of features to be released thanks to this. *cough* hpm hooking *cough*. Signed-off-by: shennetsind <ind@henn.et>
2013-09-30Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-0/+36
2013-09-30Hey Look, I must be lucky today, a penny.shennetsind1-2/+1
Er. I mean, a decade-old unused member in one of the most busy core section -- timers. Signed-off-by: shennetsind <ind@henn.et>
2013-09-30Corrected length of the PARTY_BOOKING_REQ_REGISTER packet for Ragexe clientsHaru1-0/+36
- Fixes bugreport:7656 (thanks to Angelmelody) http://hercules.ws/board/tracker/issue-7656-party-booking-system-unsupported-packet-0x0000-0x1b01 - While I have not checked all of the affected clients, the ones I checked had a length of 18. The 41-byte version appears to be used by the RagexeRE clients only. If this speculation turns out to be incorrect, or your client is incompatible with this patch, please report it and it'll be fixed. Signed-off-by: Haru <haru@dotalux.com>
2013-09-29HPM: Status.c Completedshennetsind5-734/+800
Fully Interfaced. Moved missing vars and declarations of interest into the interface. Removed a couple things from pc.h into mmo.h due to circular dependence. Signed-off-by: shennetsind <ind@henn.et>
2013-09-29skill->castend_nodamage_id instead of skill_castend_nodamage_idshenhuyong1-2/+2
2013-09-29Merge branch 'master' of https://github.com/shenhuyong/GHBBshenhuyong3-15/+19
2013-09-29Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind8-148/+509
2013-09-29HPM: Script.c Completedshennetsind2-1241/+1407
Fully Interfaced. Moved missing vars and declarations of interest into the interface, removed duplicate mentions of script within calls to shorten wherever it made sense to. Signed-off-by: shennetsind <ind@henn.et>
2013-09-29* Fixed Bug #7708shenhuyong3-11/+13
http://hercules.ws/board/tracker/issue-7708-mandragora-howl-chance-way-too-high/ Mandragora Howl chance --- way too high. Base on a patch of the fix made by Rytech in 3ceam.
2013-09-29* Fixed Bug #7713shenhuyong1-4/+6
http://hercules.ws/board/tracker/issue-7713-bnogemstone-reverted/ Per official behavior, Mistress card effect removes all gemstone requirements on all skills EXCEPT Hocus Pocus and Ganbantein.
2013-09-29Provided argument-list equivalent for several variadic functionsHaru8-148/+509
This is necessary for the upcoming HPM hooking system
2013-09-28Follow up 62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9shennetsind1-0/+2
Fixed missing #if, special thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-2/+2
2013-09-28HPM: pc.c Completedshennetsind11-396/+456
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Searchstore.c Completedshennetsind2-28/+35
Moved missing declarations of interest. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Trade.c Completedshennetsind2-8/+9
Already was about complete, just moved the definition to the .h so that plugins may rely on the value, also updated the trade.c header given the file had been previously modified (when the trade interface was implemented) Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Merge pull request #164 from cannelle/patch-1shennetsind2-2/+2
Fix for incorrect mob_warpslave_sub and map_quit clear values.
2013-09-28HPM: Party.c Completedshennetsind6-124/+121
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of party within calls to shorten wherever it made sense to, and renamed some members to ease reading. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Mercenary.c Completedshennetsind2-24/+35
Moved missing declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: log.h Completedshennetsind2-38/+53
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Intif.c Completedshennetsind2-384/+385
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind24-17/+367
2013-09-28HPM: Instance.c Completedshennetsind8-134/+138
Moved missing vars and declarations of interest into the interface. Instance data now available to plugins via instance->list (struct instance_data array) Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Homunculus.c Completed.shennetsind1-2/+0
it was all good already, just reviewed to ensure and removed a unused declaration. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Storage.c Completedshennetsind3-28/+33
Moved missing declarations of interest into the interface, init/final from storage into gstorage Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Corrected some errors inteh Rebellion skill_tree and job_dbHaru3-6/+8
- Fixed bugreport:7724 (thanks ot Poison, LuLu) http://hercules.ws/board/index.php?app=tracker&showissue=7724 - Please note that, in Pre-Renewal, the job_db values aren't accurate, since the Rebellion class never existed before. It is currently using values from the Gunslinger class, just like Oboro and Kagerou use values from the Ninja class. Signed-off-by: Haru <haru@dotalux.com>
2013-09-28Merge pull request #161 from shenhuyong/mastershennetsind24-12/+360
Added full support for the Rebellion.
2013-09-27HPM: Guild.c Completedshennetsind2-139/+186
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27Corrected map_quit call with CLR_RESPAWN instead of CLR_TELEPORT.cannelle1-1/+1
2013-09-27Corrected mob_warpslave_sub call with CLR_TELEPORT instead of CLR_RESPAWN.cannelle1-1/+1
2013-09-27HPM: Elemental.c Completedshennetsind5-59/+100
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of elemental within calls to shorten wherever it made sense to. And on a minor thing updated the duel.h header given the file had been previously modified (when the duel interface was implemented) Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Chrif.c Completedshennetsind4-295/+383
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Chat.c Completedshennetsind6-59/+63
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of chat within calls to shorten wherever it made sense to, and renamed some members to ease reading. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Buyingstore.c Completeshennetsind2-28/+43
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Atcommand.c Completedshennetsind2-64/+102
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Battle.c Completedshennetsind3-36/+33
Moved missing vars and declarations of interest into the interface Signed-off-by: shennetsind <ind@henn.et>