summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2016-07-19Add new skill attributes into skill_db and skill db converter.Andrei Karas1-0/+4
2016-07-15Fixed skilldbconverter.php display on windows.Smokexyz1-30/+30
issue #1363.
2016-07-12Interface grfio.chemagx2-0/+5
2016-07-12Removed unnecessary typedefs from thread and spinlockHaru1-0/+2
- SPIN_LOCK -> struct spin_lock - rAthread -> struct thread_handle - rAthreadProc -> threadFunc - RATHREAD_PRIO -> enum thread_priority - RAT_PRIO_LOW -> THREADPRIO_LOW - RAT_PRIO_NORMAL -> THREADPRIO_NORMAL - RAT_PRIO_HIGH -> THREADPRIO_HIGH - RA_THREADS_MAX -> THREADS_MAX Signed-off-by: Haru <haru@dotalux.com> fixupthread
2016-07-12Changed the HPMHookGen script to correctly handle macros associated with an ↵Haru1-0/+1
interface Signed-off-by: Haru <haru@dotalux.com>
2016-07-12Fix skilldb converterAndrei Karas1-66/+122
2016-07-09Fixed a skilldb conversion error when an item is missing from the item databaseHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-07-09Some indentation fixes in the skill db converterHaru1-248/+248
Signed-off-by: Haru <haru@dotalux.com>
2016-07-09Merge pull request #1333 from Smokexyz/SkillDBLibHaru1-0/+1141
Skill DB TXT files to LibConfig + converter
2016-07-09SkillDB TXT to Libconfig + converterSmokexyz1-0/+1141
The conversion of 5 skill database files - skill_require_db.txt skill_unit_db.txt skill_cast_db.txt skill_castnodex_db.txt and skill_db.txt to Libconfig file skill_db.conf a PHP CLI converter is included to read from the above mentioned files and create a skill_db.conf in the same directory.
2016-07-02Added 'GENERATED FILE DO NOT EDIT' to the auto-generated filesHaru2-0/+4
See https://github.com/Reviewable/Reviewable/wiki/FAQ#how-do-i-tell-reviewable-that-a-file-is-generated-and-should-not-be-reviewed Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Added one level of indirection to all variables in pre-hook functionsHaru1-1/+1
- Previously, only scalar variables had their indirection level increased. Now pointers do as well (this allows users to override const pointers) Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Removed extra indirection level in HPMHooking post-hooksHaru1-14/+16
- The extra indirection level (necessary to override function arguments from a hook) isn't necessary in post-hooks, but only in pre-hooks. - This simplifies the syntax and code of post-hooks. Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Replaced memset with braced initializers in the HPMHooking hook handlersHaru1-5/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-04-30Added type-checking for the addHookPre() and addHookPost() macrosHaru1-119/+58
- 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-16Added lclif packet handlers to the lclif interfaceHaru1-1/+6
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 3)hemagx1-0/+2
Rewritten login clif parser, using a packet db Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added support for private headers to the HPMDataCheck/HPMHooking generatorsHaru2-12/+21
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Updated HPMHookGen script to support union argumentsHaru1-2/+2
Also removed the no longer necessary DB-related typedefs Signed-off-by: Haru <haru@dotalux.com>
2016-02-21Added tool to convert jobmask to new formatDastgir1-0/+100
Signed-off-by: Haru <haru@dotalux.com>
2016-01-21Remove unused PCRE_SUPPORT define.Andrei Karas1-2/+1
2016-01-15Fixed a typo in the constdb converter scriptHaru1-2/+2
Thanks to Lemongrass for reporting it Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Added converter script from const.txt to constants.confHaru1-0/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Converted const.txt to libconfig formatHaru1-1/+1
- This is necessary for upcoming improvements Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru11-50/+345
Signed-off-by: Haru <haru@dotalux.com>
2015-12-12Added support for pcre-related interfaces to plugins (HPMHookGen/HPMSymbols ↵Haru1-1/+2
generation) Fixes #931 Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Fixed include path in the doxygen configurationHaru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2015-10-20Add Mob_db converter from txt to conf.Andrei Karas2-0/+288
2015-09-25Upgraded Doxygen configuration file to 1.8.10Haru1-5/+109
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Automatic HPM symbol sharingHaru1-2/+5
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15Enabled HPMDataCheck for login and char serversHaru1-2/+9
Signed-off-by: Haru <haru@dotalux.com>
2015-08-15HPM compatibility improvementsHaru3-27/+69
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-15Added HPMHooking support for common interfacesHaru1-4/+37
Signed-off-by: Haru <haru@dotalux.com>
2015-06-19Fixed HPMHookGen's inability to detect certain interface membersHaru2-6/+7
Private members as well as members of interfaces with more than one section are now correctly detected. Signed-off-by: Haru <haru@dotalux.com>
2015-06-19Follow-up to e81d221Haru2-6/+2
Let doxygen ignore __attribute__ instead of ignoring it at parse time. Signed-off-by: Haru <haru@dotalux.com>
2015-06-19Improved info/error messages during plugin loadingHaru1-2/+2
- 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-19Fixed an issue causing some structs to be missing from the HPMDataCheckHaru2-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2015-06-19Improved the HPMHookingGen parserHaru1-0/+5
It now strips gcc's __attribute__ from interface methods Signed-off-by: Haru <haru@dotalux.com>
2015-06-02Follow up to 712812bMysteries3-3/+3
- More link changes - Added proper link to Roulette topic
2015-01-24Minor channel system refactoringHaru1-0/+2
Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Added additional item drops support to the quest dbHaru1-0/+8
- Special thanks to Dastgir, Michieru Signed-off-by: Haru <haru@dotalux.com>
2015-01-24Added quest_db.txt to quest_db.conf Conversion Tooldastgir1-0/+86
2015-01-22HPMHookGen compatibility fix for doxygen 1.8.9.xHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2014-12-10In validateinterfaces tool fix searching lost interfaces.Andrei Karas1-1/+1
2014-12-02Improve a bit checking in validateinterfaces.py.Andrei Karas1-0/+8
2014-12-02Add different command line actions to validateinterfaces.py.Andrei Karas1-16/+36
2014-12-02in validateinterfaces.py tool add support for checking not added functions ↵Andrei Karas1-6/+44
to initerfaces.
2014-11-15Follow-up to 61fc83fd7dd51e9a88ac7e6264692fcf561a37f7Haru2-2/+2
Compatibility fix for older versions of Perl Signed-off-by: Haru <haru@dotalux.com>
2014-11-15Corrected an issue in the HPMHookGen when interfaces only have one memberHaru2-19/+18
- Fixed hooks/symbols generation for the inter_quest interface - Re-enabled strict mode Signed-off-by: Haru <haru@dotalux.com>
2014-11-15Fix HPM hook generation script for support new interfaces.Andrei Karas1-1/+6