summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2017-08-16Update travis for ubuntu trustygumi1-8/+33
2017-08-08Check in travis if regenerated hpm code can be compiled.Andrei Karas1-0/+5
Also reduce number of packets to install in travis.
2017-07-17use /usr/bin/env bash in toolsThibault Payet4-4/+4
2017-04-29Merge pull request #1713 from Jedzkie/17-DropAnnounceHaru1-1/+0
Fixes #994
2017-04-29Removal of rare_drop_announce config.Jedzkie1-1/+0
2017-04-26Improve the code style of the generated HPMHooking dataHaru1-11/+12
Signed-off-by: Haru <haru@dotalux.com>
2016-11-19Let the CI test suite also run the testsHaru1-0/+22
For the time being, test_libconfig only (test_spinlock is very time consuming)
2016-10-14Fixed a memory manager crash when a memory leak occurs in a pluginHaru1-2/+1
- Plugins were accidentally using the core's memory manager instead of the HPM-safe wrappers. - As a side-effect of this, plugins shall not be able to hook into the iMalloc interface. - The issue was introduced in e7c2f7d827ad286dc826e483391e64b8ffe2720b Signed-off-by: Haru <haru@dotalux.com>
2016-10-02Aded gitlab pages configurationHaru1-0/+39
Signed-off-by: Haru <haru@dotalux.com>
2016-10-02Added configuration file for Gitlab CIHaru1-0/+33
Signed-off-by: Haru <haru@dotalux.com>
2016-10-02Added Doxygen configuration (use 'make docs' to generate)Haru8-0/+2285
Signed-off-by: Haru <haru@dotalux.com>
2016-10-02Moved travis.sh to tools/ciHaru1-0/+180
Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported battle.conf to libconfigHaru1-0/+403
Ported to modern Hercules and cleaned up from Panikon's commits: 44fea0b3cdba6901599265220228ba4359b1f96d, 9cba05bc0811e638bbaaa6cff887d0b2c9872560 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported socket.conf (was packet.conf) to libconfigHaru1-0/+17
Ported to modern Hercules and cleaned up from Panikon's commits: b10f2a88073882bea812c6278fdec7848102ab87, bc5007299a92898ea4630f2a977d9a1b42b6c145 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported script.conf to libconfigHaru1-0/+12
Ported to modern Hercules and cleaned up from Panikon's commits: a0e4da63ef3afcd896603398e2468876681ac54a, b5f487c2676833492a6d4044b5d1f1bb1e552b04 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported logs.conf to libconfigHaru1-0/+27
Ported to modern Hercules and cleaned up from Panikon's commits: 2a7c931b9b4e0f9c6e7766cb25701514230ec7e3, f5b1ee3df777ba7e69f1f99abaf0d00b987fc0e3, 6d1f8f50b0e7349bdab2c53bb172d0b036e47c04 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported map-server.conf to libconfigHaru1-1/+34
Ported to modern Hercules and cleaned up from Panikon's commits: ee48838b12d15902fc14738cfa46d58b39080d11, 55498ebb7ac5d28444d0b01506c88ef6874f6055, 6d1f8f50b0e7349bdab2c53bb172d0b036e47c04, 25dde7e46524ace330b83cb4bf0255cc4d796792 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported login-server.conf to libconfigHaru1-4/+106
Ported to modern Hercules and cleaned up from Panikon's commits: ceb8a486ac47c2ed9aae4baa1ec39a11f31e9368, c1049123a4ea6ae6f0992ffe766db8aed7435ab5, 6feb097046355610d2288670a569ccc175358580, 9f6e27a96d655f2b4555310786d9d10898754404, 21fa5d24255ba026f96b1dbedf74ac5ef831d3ae, e22a56ad4def8ca22e94d44377a5364b9db1a425, f753a754923140bfec02057c16e6e8429b863d0e, 25dde7e46524ace330b83cb4bf0255cc4d796792 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported inter-server.conf to libconfigHaru1-0/+77
Ported to modern Hercules and cleaned up from Panikon's commits: 40f9ec33868e2240cab013308897898ed252b3e0, a9d646da19e25ab6fcf44dbd1ae7d90c30f6686c, 1aa8581a0aecbfd53e877686c399ffb731dcd75e, 72c645b015ae6130ca7d4309d0fb1413340e7f23, f8c906a0496b9acdae1d8244b1544fa03592061e, 51d88a58983c9552dfd1a0f059e5a031742aed61, 443684b3c77f4c32fe7877a7f8d62debf73b1e93, cf93eafef1f322cd1583226272b7d4008f562da4 Signed-off-by: Haru <haru@dotalux.com>
2016-08-19Ported char-server.conf to libconfigHaru1-0/+298
Fixed issue: 8115, now start items can be equipped as well Ported to modern Hercules and cleaned up from Panikon's commits: c6482e9870645ffe59a6a059b819574d4ac79fd9, 832fb27d4f767e4bc8b68c432d0da00b7cb7a4f9, f81b579899e3a15bd472ca8c6a6e0116c43bec92, e23723725499b617def03d05661eca637edaeabd, 0b783a83d82e588efd760f7f4baec0c8074a6fd1, 1b7de91308a57ea07b158ed95a2515a3c8cc36bd, 677d3430cbda0962b320a60cf499e9dadf637d00 Signed-off-by: Haru <haru@dotalux.com>
2016-07-31Clean up hercules.ws leftovershemagx1-1/+1
Closes #1379
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>