summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2017-10-21Merge pull request #1812 from mekolat/partyleader2Haru4-1/+9
add option to restrict party leader change to same map
2017-10-20Merge pull request #1852 from mekolat/getmapinfo2mekolat1-0/+78
2017-10-20Merge pull request #1843 from mekolat/logmes2mekolat1-9/+31
2017-10-20Modified setequipoption to allow removal of equip options.Dastgir1-15/+20
2017-10-05add buildin_getmapinfogumi1-0/+78
2017-10-04add buildin_dressroomEdwin1-0/+49
2017-10-02Update Sorcerer and Sura alternate body style in atcommand.cEdwin1-0/+2
2017-09-21allow buildin_logmes to log to the atcommand tablegumi1-9/+31
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-20Ignore hidden units in the cell stack limit checksHaru3-2/+7
- This improves the Dancer Quest experience as well as other cases of hidden NPCs blocking off certain cells - Fixes #1135 Signed-off-by: Haru <haru@dotalux.com>
2017-08-17Remove separate cardfix definition for pre-re/reHaru1-32/+3
Cardfix is now always calculated in thousandths (it previously was in hundredths in renewal mode only). The variable size is increased to int (from short), to ensure that no overflows occur in case of large multipliers. This doesn't change the game mechanics (barring some minor truncation issues that would previously occur due to the lack of precision in renewal) Signed-off-by: Haru <haru@dotalux.com>
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-01add option to restrict party leader change to same mapgumi4-1/+9
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