summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)AuthorFilesLines
2015-08-15HPM Hooks UpdateHaru3-121/+0
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM compatibility improvementsHaru5-41/+16
Improved compatibility, portability and standards conformance. - Since it is not possible to portably and reliably re-use the core's symbols in plugins, symbols are no longer exported unless explicitly required, in the UNIX builds. This mimics the Windows behavior and adds HPM compatibility to OSes such as FreeBSD. Credits to Andrei Karas for making this possible. - For convenience, it is no longer necessary to call GET_SYMBOL, since the plugin will automatically import all the available symbols when it's loaded, depending on the included headers. - Plugins are now supposed to include the "common/hercules.h" header before including anything else. Incluing common/HPMi.h, common/cbasetypes.h or conf/core.h is no longer necessary, as those are guaranteed to be automatically included by hercules.h. - HPM API version bumped to 1.1. Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Moved session array into the socket interfaceHaru1-11/+8
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM Hooks UpdateHaru15-0/+22728
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Added HPMHooking support for common interfacesHaru1-0/+14
Signed-off-by: Haru <haru@dotalux.com>
2015-08-13Added script_mapquit plugin (moved from the StaffPlugins repository)Haru1-0/+47
The plugin is used by the Travis CI build, and it makes more sense to be present here, so that it can be kept up to date when the HPM is updated, to avoid build failures. Signed-off-by: Haru <haru@dotalux.com>
2015-08-12HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-11HPM Hooks UpdateHercules.ws6-96/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-11HPM Hooks UpdateHercules.ws3-0/+155
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-09HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-08-05Update HPM hooks.Andrei Karas2-12/+12
2015-07-18Update HPM hooks.Andrei Karas3-0/+64
2015-07-08HPM Hooks UpdateHercules.ws3-0/+125
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-07-08Update Unique ID system to match official now it cover all cash items ↵Ibrahim Hossam1-1/+5
include stackable ones. Implement ForceSerial option in Package Item Database to force serial for any item. Implement ForceSerial option in item database to force serial for any item. Implement Merge Client interface to merge stackable items with serial numbers ( check npc/other/item_merge.txt ).
2015-06-19HPM Hooks UpdateHercules.ws4-60/+60
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-06-19Improved info/error messages during plugin loadingHaru1-4/+4
- Each loaded plugin will now show a status message - If a plugin loads because of a missing symbol, an error message will be displayed, mentioning the name of the missing symbol. Signed-off-by: Haru <haru@dotalux.com>
2015-06-19HPM Hooks UpdateHercules.ws1-4/+4
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-06-19Removed ".." from include directivesHaru5-113/+117
- Include directives are now directory-independent. - This will allow building plugins from other directories in future. Signed-off-by: Haru <haru@dotalux.com>
2015-06-02Follow up to 712812bMysteries1-2/+2
- More link changes - Added proper link to Roulette topic
2015-06-02HPM Hooks UpdateHercules.ws3-35/+34
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-06-02Re-implemented clif->colormes to accept arbitrary colorsHaru1-1/+1
- Due to the backward-incompatible change, clif->colormes was renamed to clif->messagecolor_self (for similarity with clif->messagecolor). The 'color' argument is now a 0xRRGGBB color rather than a color_table index. - enum clif_colors is no longer needed, but 0xRRGGBB-based constants are now provided to replace the old COLOR_* values. Signed-off-by: Haru <haru@dotalux.com>
2015-05-31HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-05-18HPM Hooks UpdateHercules.ws3-99/+37
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-05-17HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-04-25HPM Hooks UpdateHercules.ws4-6/+70
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-04-16Update HPM hooks.Andrei Karas3-0/+31
2015-04-02Merge branch 'master' of https://github.com/HerculesWS/Hercules into ↵malufett3-0/+31
JobDBRedesign
2015-03-30Update HPM hooks.Andrei Karas3-0/+31
2015-03-27Hercules 'job_db1.txt' Redesignmalufett3-89/+89
-Initial and for review Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-03-11HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-03-10HPM Hooks UpdateHercules.ws3-0/+38
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-02-23HPM Hooks UpdateHercules.ws3-0/+385
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-24HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-24HPM Hooks UpdateHaru5-393/+683
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Moved the Hercules Channel System to its own file/interfaceHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-24HPM Hooks UpdateHercules.ws1-30/+28
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-22Removed name distinction between (sql) mob/item/mob_skill db and db_re variantsHaru1-1/+1
- Since there (currently and in future) is no difference between the table structure for renewal and pre-renewal databases, it makes no sense to have extra code that makes a distinction between their names. A server will always use either one or the other, never both at the same time. - If you have a mob_db_re, mob_skill_db_re and/or item_db_re table, please rename it to mob_db, mob_skill_db and/or item_db_re, respectively. - No upgrade script provided. I'd like to remind everyone that these tables are optional (and deprecated), and they are only offered for convenience for those who need them for web control panels and similar software. Signed-off-by: Haru <haru@dotalux.com>
2015-01-19Update HPM hooks.Andrei Karas3-0/+31
2015-01-18HPM Hooks UpdateHercules.ws3-100/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-18Command line arguments handling overhaulHaru1-2/+4
- login_server, char_server, map_server as well as the tools (mapcache) now have a common command line arguments handling mechanism. - All of them now accept `--help` (`-h`), `--version` (`-v`) and `--load-plugin`. - login_server now accepts `--login-config` and `--lan-config` instead of relying on positional arguments to override those files. The old syntax will no longer work, please update your custom startup scripts. - char_server now accepts `--char-config`, `--inter-config`, `--lan-config` instead of relying on positional arguments. The old syntax will no longer work, please update your custom startup scripts. - mapcache now accepts `--grf-list`, `--map-list`, `--map-cache`, `--rebuild` in place of, respectively, `-grf`, `-list`, `-cache`, `-rebuild`. - A new macro `CMDLINEARG()` is provided, to help defining new command line argument handlers (i.e. in plugins). the `addArg()` call is still required, but its syntax has changed. The `help` argument is now of type `const char *` rather than a function pointer, and it is supposed to contain the message to show in the `--help` screen. Pass `NULL` if no help message is desired. Signed-off-by: Haru <haru@dotalux.com>
2015-01-12Update HPM hooks.Andrei Karas1-6/+6
2015-01-12HPM Hooks UpdateHercules.ws1-4/+4
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-12Fixed Bug where skill timer is not properly terminated/clear when the caster ↵malufett3-19/+20
dies. -Thanks to GM Nihad. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2015-01-11Update HPM hooks.Andrei Karas3-0/+32
2015-01-11HPM Hooks UpdateHercules.ws3-1/+1133
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-01-02Update HPM hooks.Andrei Karas3-0/+32
2014-12-26Update HPM hooks after commit 6dd08befa6064a652d0d98e7cb85f0e353992dd5.Andrei Karas3-12/+12
2014-12-26Updated KG/OB Spirit Charms to official behaviormalufett2-2/+2
-http://hercules.ws/board/tracker/issue-8170-oborokagerou-charm/ -http://hercules.ws/board/tracker/issue-8274-ninja-charms-not-giving-proper-bonuses/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-12-23HPM Hooks UpdateHercules.ws3-0/+32
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>