summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22Merge pull request #2251 from Asheraf/pr3Haru1-1/+2
Add new type for mercenary class to setquestinfo()
2018-10-07HPM Hooks UpdateHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-10-03Add new type for mercenary class to setquestinfo()Asheraf1-1/+2
2018-09-23HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-09-23HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-09-19Update HPM.Andrei Karas1-2/+4
2018-08-25Add const-safe wrappers for strchr(), strrchr() and strstr() using c11 genericsHaru1-0/+21
C99 compilers will still use the normal, const-unsafe, version Signed-off-by: Haru <haru@dotalux.com>
2018-08-25Change language specification to c11 in the autoconf buildsHaru1-6/+0
Fixes an issue with certain glibc versions using the emulated `_Static_assert` (allowing only one assertion per scope) despite the compiler having built-in support for the c11 version. Fixes builds in Debian stretch and other distributions. Signed-off-by: Haru <haru@dotalux.com>
2018-08-25Show packet version and type at server startup.Andrei Karas2-0/+7
2018-08-25Add support for build for AD clients.Andrei Karas1-1/+13
Add configure flag --enable-packetver-ad Add defines for AD into mmo.h Add messages list for AD clients.
2018-08-25Add support for build for SAK clients.Andrei Karas1-1/+13
Add configure flag --enable-packetver-sak Add defines for SAK into mmo.h Add messages list for SAK clients.
2018-08-24Update HPM.Andrei Karas1-0/+9
2018-07-28Update HPM.Andrei Karas1-0/+4
2018-07-28HPM Hooks UpdateHercules.ws2-0/+36
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-07-24Implemented Title System.Dastgir1-0/+2
2018-07-24Implementation of the official Achievement System.smokexyz1-0/+18
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1 Script Commands - ``` achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>}); ``` Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out. This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules. Does not include the title system yet. A big thanks to - @MishimaHaruna for constantly reviewing. @4144 for all the support. @Asheraf for a lot of official information. Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-07-24HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-07-24Questinfo System overhaulAsheraf1-0/+14
2018-07-23Merge pull request #2127 from sctnightcore/FixDateHaru2-2/+2
Fix date
2018-07-16Replace item id shorts to int in mmo.hAndrei Karas1-11/+12
2018-07-15Update hpm hooks.Andrei Karas1-0/+58
2018-07-12Fix dateUnknown2-2/+2
2018-07-01Fix some warnings caused by static functions defined and unusedHaru3-15/+6
Signed-off-by: Haru <haru@dotalux.com>
2018-07-01Change functions to static where possible (Part 1 - common)Haru22-493/+562
This fixes issues with plugins defining symbols with the same names Signed-off-by: Haru <haru@dotalux.com>
2018-07-01When the memmgr is enabled, don't define the non-memmgr functions needlesslyHaru1-26/+19
Signed-off-by: Haru <haru@dotalux.com>
2018-07-01Merge pull request #2108 from MishimaHaruna/mapifcleanupHaru1-0/+1
Mapif cleanup
2018-07-01HPM Hooks UpdateHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-06-30HPM Hooks UpdateHaru1-0/+1
2018-06-29Update HPM hooks.Andrei Karas1-1/+3
2018-06-29Fix packet 836 (search in stores).Andrei Karas1-6/+7
Added item options fields into this packet. Updated other things for support for report item options in vending. Buying store not supported for now.
2018-06-29HPM Hooks UpdateHercules.ws1-0/+3
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-06-29Merge pull request #2063 from dastgirp/2-petevolHaru1-0/+1
Implemented Pet Evolution and Pet Feeding
2018-06-25Implemented Pet AutofeedingDastgir1-0/+1
2018-06-24Call the shutdown callback when terminating through the server exit console ↵Haru1-1/+4
command Signed-off-by: Haru <haru@dotalux.com>
2018-06-24Use the correct shutdown callback when the server receives a termination signalHaru1-7/+4
This fixes a regression introduced in 22bd368e5d4d8d61a7189d03f52c3afd90c0729e Signed-off-by: Haru <haru@dotalux.com>
2018-06-18Remove flag RTLD_DEEPBIND from dlopen.Andrei Karas1-5/+1
This flag uneeded now, and it may prevent using asan in gcc-8.
2018-06-04HPM Hooks UpdateHercules.ws1-0/+3
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-06-03HPM Hooks UpdateHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-05-312012-2018 !Maytichai Saowa45-46/+46
2018-05-07HPM Hooks UpdateHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-05-02Fix possible buffer overflow in common.Andrei Karas3-4/+4
2018-04-07HPM Hooks UpdateHercules.ws1-0/+4
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-04-07Implementation of Attendance systemAsheraf1-0/+3
2018-04-04HPM Hooks UpdateHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-04-03Merge pull request #1986 from Megasantos/login_date_guildHaru1-0/+1
Implemented login date for guild members.
2018-04-03HPM Hooks UpdateHercules.ws1-0/+6
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-03-29Introduce defines PACKETVER_MAIN_NUM, PACKETVER_RE_NUM, PACKETVER_ZERO_NUM.Andrei Karas1-0/+16
PACKETVER_RE_NUM defined to PACKETVER only if defined PACKETVER_RE. PACKETVER_ZERO_NUM defined to PACKETVER only if defined PACKETVER_ZERO. PACKETVER_MAIN_NUM defined to PACKETVER only if not defined PACKETVER_RE and not defined PACKETVER_ZERO.
2018-03-14- Implemented login date for guild members.Jônatas Andreta1-0/+1
Signed-off-by: Megasantos <jonataandretta@hotmail.com>
2018-03-11Merge pull request #1987 from guilherme-gm/rodexfixesHaru1-0/+1
Some rodex fixes
2018-03-08Fixed RoDEX mail return not working correctlyGuilherme G. Menaldo1-0/+1