summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking
AgeCommit message (Collapse)AuthorFilesLines
2017-04-04Implementation of Item Options System.Smokexyz4-21/+162
Allows the infusing of equipments with bonus item options. This feature is constrained to clients of packet versions greater than or equal to `20150226`. Item Options and their effects are defined server-side in `db/item_options.conf` and client side in `data/luafiles514/lua files/datainfo/addrandomoptionnametable.lub` The ID of the option must tally with the correct index of the description provided in the client side lua file to avoid bugs. IT_OPT_* keys and MAX_ITEM_OPTIONS macro are also exported from the source as constants. An additional flag `disable_options` has been added to sql, and as `DisableOptions: true/false (boolean, defaults to false !!for equipments only!!)` to item_db.conf files. Script commands documentation is also included. SQL file updates are included. Credits: [Smokexyz](https://github.com/Smokexyz) Style and Script Fixes by [Asheraf](https://github.com/Asheraf) Initial design Idea by [secretdataz](https://github.com/secretdataz)
2017-01-14HPM Hooks Updatehemagx4-20/+20
Signed-off-by: hemagx <ibrahem.h.basyone@gmail.com>
2017-01-02HPM Hooks UpdateHercules.ws13-13/+13
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-12-03HPM Hooks UpdateHaru5-124/+158
Signed-off-by: Haru <haru@dotalux.com>
2016-11-19HPM Hooks UpdateHaru4-72/+72
2016-10-22HPM Hooks UpdateHercules.ws4-0/+34
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-10-22HPMHook UpdateDastgir Pojee2-8/+8
2016-10-14HPM Hooks UpdateHaru13-1368/+0
Signed-off-by: Haru <haru@dotalux.com>
2016-09-12Update HPM hooks.Andrei Karas4-16/+49
2016-09-09Update HPM hooks.Andrei Karas4-0/+102
2016-08-22HPM Hooks UpdateHercules.ws4-0/+34
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-08-19HPM Hooks UpdateHaru4-18/+52
Signed-off-by: Haru <haru@dotalux.com>
2016-08-19HPM Hooks UpdateHaru2-9/+9
2016-08-19HPM Hooks UpdateHaru2-9/+9
2016-08-19HPM Hooks UpdateHaru4-21/+22
2016-08-19HPM Hooks UpdateHaru4-39/+5
2016-08-19HPM Hooks UpdateHaru2-18/+18
2016-08-19HPM Hooks UpdateHaru2-9/+9
2016-08-19HPM Hooks UpdateHaru7-61/+266
2016-08-19HPM Hooks UpdateHaru4-42/+416
2016-08-14HPM Hooks UpdateHercules.ws2-8/+8
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-14HPM Hooks UpdateHercules.ws2-53/+53
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-13HPM Hooks UpdateHercules.ws4-19/+19
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-12HPM Hooks UpdateHercules.ws4-0/+201
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-12HPM Hooks UpdateHaru5-0/+242
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12HPM Hooks UpdateHaru13-0/+1077
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12HPM Hooks UpdateHaru13-0/+789
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12HPM Hooks UpdateHaru13-0/+973
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12HPM Hooks UpdateHaru13-0/+299
Signed-off-by: Haru <haru@dotalux.com>
2016-07-12HPM Hooks UpdateHaru13-0/+204
Signed-off-by: Haru <haru@dotalux.com>
2016-07-10HPM Hooks UpdateHercules.ws4-0/+34
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-10HPM Hooks UpdateHercules.ws4-0/+33
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-09HPM Hooks UpdateHercules.ws2-112/+112
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-09HPM Hooks UpdateHercules.ws4-104/+530
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-07-05HPM Hooks UpdateHercules.ws4-10/+259
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-07-02HPM Hooks UpdateHercules.ws13-0/+26
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-06-25HPM Hooks UpdateHaru4-0/+169
Signed-off-by: Haru <haru@dotalux.com>
2016-06-25HPM Hooks UpdateHaru2-20/+21
Signed-off-by: Haru <haru@dotalux.com>
2016-06-24HPM Hooks UpdateHercules.ws4-0/+34
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-06-24HPM Hooks UpdateHercules.ws4-0/+68
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-30HPM Hooks UpdateHaru4-8004/+8004
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-7268/+7268
2016-04-30HPM Hooks UpdateHaru3-78/+39
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30HPM Hooks UpdateHaru4-0/+7094
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Added type-checking for the addHookPre() and addHookPost() macrosHaru1-0/+24
- The macros will now throw a warning at compile time if a plugin is using a wrong function type for a pre or post hook. This avoids some very subtle, hard to detect, issues. - The macros now require 3 arguments instead of 2. Example: old code: addHookPre("ifname->function" my_hook); becomes: addHookPre(ifname, function, my_hook); Signed-off-by: Haru <haru@dotalux.com>
2016-04-27HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-25HPM Hooks UpdateHercules.ws3-6/+100
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-23HPM Hooks UpdateHaru3-114/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-04-23HPM Hooks UpdateHaru3-17/+112
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-0/+352
Signed-off-by: Haru <haru@dotalux.com>