summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-09-21Update hpm hooks.Andrei Karas2-11/+11
2017-09-21Convert some functions from int32 types to int64.Andrei Karas5-31/+54
This mainly need for base and job exp, because now they using int64 type.
2017-09-21Add shuffle packets for all released 2017 ragexeRe clients.Andrei Karas1-0/+918
2017-09-21Add shuffle packets for all 2016 ragexeRe clients.Andrei Karas1-15/+933
2017-09-21Add shuffle packets for all 2015 ragexe clients.Andrei Karas1-127/+1111
2017-09-21Add shuffle packets for all 2014 ragexe clients.Andrei Karas1-186/+1722
2017-09-21Add non shuffle packets for 2017-06-14bRagexeRE and newer.Andrei Karas1-0/+68
2017-09-21Add autogenerated encryption keys list for all client versions.Andrei Karas1-184/+1802
2017-09-21Split packets and packets keys.Andrei Karas4-501/+525
2017-09-21Change char server packets for 20170830 and newer clients.Andrei Karas3-10/+23
2017-09-19allow buildin_getgroupid to take a GIDMurilo_Bio1-7/+15
2017-09-19remove trailing whitespaces from sourcegumi11-53/+53
2017-09-19Fix compile errors with some specific PACKETVER valuesHaru2-4/+6
- PACKETVER <= 3 - PACKETVER == 20071106 - PACKETVER >= 20141016 && PACKETVER <= 20141022 - PACKETVER >= 20160921 Signed-off-by: Haru <haru@dotalux.com>
2017-09-18fix rogue whitespaces in rodex buildinsgumi1-3/+3
2017-09-18deprecate buildin_useatcmdgumi1-1/+1
2017-09-17Add support for bitmask arrays in the item_db Loc fieldHaru2-1/+10
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add support for bitmask arrays in the item_db Upper fieldHaru3-3/+14
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Fix a typo in the constant ITEMUPPER_THIRDUPPERHaru2-2/+2
Was: ITEMUPPER_THURDUPPER Signed-off-by: Haru <haru@dotalux.com>
2017-09-17HPM Hooks UpdateHaru4-0/+34
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add support for parsing arrays of constants as bitmasks in the item_dbHaru2-7/+64
Fields marked as constant bitmasks will support the following syntaxes: Field: 10 // Decimal value Field: 0xA // Hexadecimal value Field: "FOO" // Constant Field: [2, 8] // Array of decimal values Field: [0x2, 0x8] // Array of hexadecimal values Field: ["FOO", "BAR"] // Array of constants Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Move other view-related variables to `sd->status.look`Haru6-78/+80
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)Haru8-22/+36
`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 SubtypeHaru9-82/+94
`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 databaseHaru10-76/+110
- 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-09-17Reimplement getiteminfo/setiteminfo in a safer and more maintainable wayHaru2-61/+113
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add item subtype (weapon/ammunition type) constantsHaru1-0/+37
Signed-off-by: Haru <haru@dotalux.com>
2017-09-12Fix several typos and grammar mistakesHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2017-09-05Add missing checks in attaching item to rodex mail.Andrei Karas1-5/+26
Also fix buffer overflow in requesting items from rodex mail.
2017-09-05Adjust rodex packet versions based on tests.Andrei Karas1-1/+1
2017-08-13Save near 200 places in arrays with size SC_MAX.Andrei Karas1-1/+1
SC_X conatants can be with any numbers.
2017-08-13Reported rodex bug fixes.Andrei Karas1-1/+2
2017-08-11Fix some wrong packet versions in rodex code.Andrei Karas1-4/+4
Also replace some numbers to constants.
2017-08-11Whitespace fixesHaru3-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2017-08-11Fix various issues detected by coverity in rodex-related codeHaru3-7/+7
Follow-up to 544da439e81ff78ec102b754e16b6cc0a28a6d0a Signed-off-by: Haru <haru@dotalux.com>
2017-08-10Fix possible overflow in npc_parsename.Andrei Karas1-1/+1
2017-08-08Disable warning -Wdiscarded-qualifiers in hpm code for now.Andrei Karas2-0/+13
2017-08-08Fix hpm issues after rodex commit.Andrei Karas6-13/+13
2017-08-08HPM Hooks UpdateHercules.ws11-0/+2328
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-07-30Implementation of RoDEXKirieZ30-24/+2628
2017-07-27HPM Hooks UpdateHercules.ws4-0/+270
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2017-07-27Fix possible buffer overflows with snprintf.Andrei Karas10-16/+16
2017-07-27Move handling unknown sc code from status_change_start into separate function.Andrei Karas2-3/+14
2017-07-27Move adding icon code from status_change_start into separate function.Andrei Karas2-12/+21
2017-07-27Move getting val_flag based on type from status_change_start into separate ↵Andrei Karas2-128/+143
function.
2017-07-27Move set options from status_change_start into separate function.Andrei Karas2-164/+189
2017-07-27Move code for stop actions into separate function from status_change_start.Andrei Karas2-64/+80
2017-07-27Move from status_change_start code for end previous sc to separate function.Andrei Karas2-255/+285
2017-07-27Move some immune/resists checks from status_change_start into separate ↵Andrei Karas2-120/+157
functions.
2017-07-17Merge pull request #1760 from Smokexyz/memitemtosql-fixHaru7-233/+285
Optimisation of char_memitemdata_to_sql()
2017-07-12Merge pull request #1790 from mekolat/channel2Haru1-3/+5
Allow to use channelmes without attached player