summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2017-09-21Convert some functions from int32 types to int64.Andrei Karas3-31/+31
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 Karas1-2/+2
2017-09-19allow buildin_getgroupid to take a GIDMurilo_Bio1-7/+15
2017-09-19remove trailing whitespaces from sourcegumi7-44/+44
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 fieldHaru2-1/+11
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-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`Haru4-57/+57
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)Haru6-16/+30
`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 SubtypeHaru7-76/+86
`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 databaseHaru8-73/+102
- 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-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-07-30Implementation of RoDEXKirieZ20-21/+1954
2017-07-27Fix possible buffer overflows with snprintf.Andrei Karas9-15/+15
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-12Merge pull request #1790 from mekolat/channel2Haru1-3/+5
Allow to use channelmes without attached player
2017-07-11merge meko/set-sd2gumi1-4/+5
2017-07-11Added getcalendartime script commandKirieZ3-0/+104
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Added time limit parameter to setquestKirieZ3-14/+19
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Merge pull request #1788 from mekolat/type2Haru1-0/+64
new buildin: getdatatype()
2017-07-11Removed 'NO MSG' message in clients < 20101123. Follow up ↵Jedzkie1-2/+1
https://github.com/HerculesWS/Hercules/commit/60f9a68f90d495323e9e4533c7a1573ca5d86e71
2017-07-10fix setting pc var on another pcgumi1-4/+5
2017-07-04Merge pull request #1773 from dastgir/bug/item-optionssmokexyz1-6/+6
Item option fixes
2017-07-04Merge pull request #1782 from dastgir/bug/sellitemsmokexyz1-0/+11
Fixes crash with sell shop.