summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15Add packet validation for RFIFOSKIP.Andrei Karas1-0/+29
2018-11-15Add validation for WFIFOHEAD buffer allocations.Andrei Karas2-8/+23
2018-11-15Add packet versions for all server types into socket_datasync.Andrei Karas1-0/+5
2018-11-15Add packets from plugins into packets len table.Andrei Karas1-0/+5
2018-11-14Update HPM hooks.Andrei Karas1-1/+0
2018-11-14Add send packet validation for connections between server and clients.Andrei Karas2-9/+56
2018-11-14Add compile time validation for packet ZC_ITEM_PREVIEW.Andrei Karas1-0/+33
2018-11-14Update HPM hooks.Andrei Karas2-0/+12
2018-11-14Add interface for packets in common.Andrei Karas5-10/+126
For now supported only packet length fields.
2018-11-14Add packet len table headers.Andrei Karas48-3/+269972
2018-11-13Merge pull request #2319 from MishimaHaruna/remove-minicoreHaru5-89/+22
Remove minicore
2018-11-13HPM Hooks UpdateHercules.ws1-0/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-11-13Remove the unused minicore libraries and ifdefsHaru5-89/+22
Minicore was previously used by the tools in the src/tool directory, and is currently unused. Signed-off-by: Haru <haru@dotalux.com>
2018-10-22HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
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.