summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)AuthorFilesLines
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
2018-03-09Fix md5 calculation for binary strings.Andrei Karas1-1/+1
2018-02-17HPM Hooks UpdateHaru1-2/+1
Signed-off-by: Haru <haru@dotalux.com>
2018-02-10Clean up trailing whitespace and non-indent tabsHaru2-4/+3
Signed-off-by: Haru <haru@dotalux.com>
2018-02-09Update HPM hooks.Andrei Karas2-0/+45
2018-01-25HPM Hooks UpdateMurilo Pereti Tavares2-0/+32
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares2-1/+61
All official features work including the autokick for inactive members And the system is completely customizable.
2018-01-14HPM Hooks UpdateHercules.ws1-0/+4
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-01-09HPM Hooks UpdateHercules.ws2-2/+2
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2018-01-06Enable always asserts and nullpo checks.Andrei Karas1-7/+2
Before this options was depend on debug configure flag. But this options is must because without server may crash in any exploits.
2017-12-17HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-12-17Merge pull request #1923 from 4144/fixpacketsHaru1-0/+7
Add support for Ragnarok zero clients, split packets.h again
2017-12-08Merge pull request #1898 from Asheraf/homunafHaru1-0/+1
implement homunculus autofeeding for 2017 clients
2017-12-02Add configure option --enable-packetver-zero for enable support for zero ↵Andrei Karas1-0/+7
clients.
2017-11-18Implement Homunculus autofeedingAsheraf1-0/+1
2017-11-18HPM Hooks UpdateHercules.ws1-0/+1
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-11-18Assert on the right buffer size on the StmtBind functionsHaru1-36/+59
Signed-off-by: Haru <haru@dotalux.com>
2017-11-18Pass the correct types and sizes to the StmtBind functionsHaru2-0/+10
Fixes #1531 (and other similar issues) Signed-off-by: Haru <haru@dotalux.com>
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-3/+7
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum skill ID. Signed-off-by: Haru <haru@dotalux.com>
2017-10-21Add names for some unnamed enums.Andrei Karas1-2/+2
Need for packet parser.
2017-10-21Add rodex 2017 packets.Andrei Karas1-0/+5
2017-09-21Convert some functions from int32 types to int64.Andrei Karas2-0/+23
This mainly need for base and job exp, because now they using int64 type.
2017-09-21Change char server packets for 20170830 and newer clients.Andrei Karas1-1/+1
2017-09-17Move other view-related variables to `sd->status.look`Haru1-4/+6
The following variables are now moved to `sd->status.look` (from `sd->status`): `head_top`, `head_mid`, `head_bottom`, `robe` Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a Subtype (part 2)Haru1-1/+1
`sd->status.shield` is renamed to `sd->status.look.shield` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->has_shield`, of boolean type (to detect the presence of a shield) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a weapon SubtypeHaru1-1/+3
`sd->status.weapon` is renamed to `sd->status.look.weapon` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->weapontype` (holding the currently equipped weapon type, considering both hands at once) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Split 'View' in two different fields in the item databaseHaru1-0/+1
- The field was used both for sprite view IDs and for weapon or ammunition subtypes. Now the fields 'ViewSprite' and 'Subtype' are used respectively. Signed-off-by: Haru <haru@dotalux.com>
2017-08-08Disable warning -Wdiscarded-qualifiers in hpm code for now.Andrei Karas1-0/+7
2017-08-08HPM Hooks UpdateHercules.ws2-0/+51
Signed-off-by: HerculesWSAPI <dev@herc.ws>