summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2018-02-27Add missing checks info clif_parse_* functions.Andrei Karas1-58/+139
2018-02-13Fix unterminated strings in ZC_BATTLEFIELD_CHATHaru1-12/+9
Follow-up to #1890 (targeting the clients that were excluded) The unterminated string could cause client crashes or trailing garbage to be displayed when receiving a battlegrounds chat message, on various client versions. Signed-off-by: Haru <haru@dotalux.com>
2018-02-10Merge pull request #1890 from lucaslsb/stableHaru1-0/+3
Overflow correction in visual function bg_message
2018-02-10Clean up trailing whitespace and non-indent tabsHaru1-6/+6
Signed-off-by: Haru <haru@dotalux.com>
2018-02-08Fix different clan issues.Andrei Karas1-1/+1
Add missing online check for clan members. Clean sd pointer after clan member went offline.
2018-02-06Merge pull request #1718 from Murilo-BiO/clan_systemHaru1-0/+183
Implementation of Official Clan System
2018-02-04Hide area packets from hidden players/gms.Andrei Karas1-1/+7
2018-01-30Overflow correction in visual function bg_messageLucas Brito1-0/+3
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-0/+183
All official features work including the autokick for inactive members And the system is completely customizable.
2018-01-14Update party member and party info packets.Andrei Karas1-59/+39
Also remove extra parts of party info packet.
2018-01-14Send wrong bank status by bank check packet status in clif_parse_BankCheck.Andrei Karas1-8/+8
2018-01-14Add new map server change packet 0x0ac7.Andrei Karas1-8/+14
2018-01-14Split packets_shuffle.h into main and zero shuffle packets.Andrei Karas1-1/+5
Also add shuffle packets for all clients from where shuffle packets can be extracted.
2018-01-14Split packet_keys.h to main client keys and zero client keys.Andrei Karas1-3/+7
2018-01-14Move custom keys definition from packets_keys.h into clif.cAndrei Karas1-0/+4
2018-01-14Merge pull request #1939 from Asheraf/zero_drop_packetHaru1-1/+9
Add support for new drop packet 0xadd for zero clients
2018-01-14Merge pull request #1929 from Asheraf/progressbarHaru1-1/+25
Add support for packet ZC_PROGRESS_ACTOR
2017-12-23Add support for new drop packet 0xadd for zero clientsAsheraf1-1/+9
2017-12-17Merge pull request #1923 from 4144/fixpacketsHaru1-4/+6
Add support for Ragnarok zero clients, split packets.h again
2017-12-11Add support for packet ZC_PROGRESS_ACTORAsheraf1-1/+25
2017-12-08Merge pull request #1898 from Asheraf/homunafHaru1-12/+26
implement homunculus autofeeding for 2017 clients
2017-12-02Split normal packets and shuffle packets into separate files.Andrei Karas1-0/+1
Normal packets in packets.h Shuffle packets in map/packets_shuffle.h Info: shuffle packets for 2013 clients and older still in packets.h because most of it mixed between shuffle and non shuffle packets.
2017-12-02Add missing cutin packet value comment.Andrei Karas1-0/+1
2017-12-02Add missing kick reasons into clif_authfail_fd.Andrei Karas1-0/+2
2017-12-02Use skill inf value as int32 in all packets.Andrei Karas1-4/+2
Before some packets had skill inf as int16 + unknown int16 field.
2017-11-18Implement Homunculus autofeedingAsheraf1-12/+26
2017-11-18Merge pull request #1903 from Asheraf/skill_scaleHaru1-0/+31
Implement skill scale packet for client versions >= 20151223.
2017-11-16Implement skill scale packet for client versions >= 20151223.Asheraf1-0/+31
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-5/+5
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-11-04Refresh npc after changing fields in setunitdata.Andrei Karas1-10/+15
2017-11-04Allow each npc use own view_data structure.Andrei Karas1-0/+4
Allow npc to use player classes (for older than 20170726 npc visible as players). View_data structure can be copied from predefined view_data lists created new if npc using player type.
2017-10-30Add monster spawn boss flag for miniboss: miniboss_monsterAndrei Karas1-9/+18
also fix boss_monster flag for works as mvp and not like mini boss. unhide boss flag if hp bar disabled.
2017-10-21Add rodex 2017 packets.Andrei Karas1-3/+92
2017-10-21Add packets for 64 bit exp.Andrei Karas1-18/+55
Also update some functions for support 64 bit exp calculation.
2017-09-21Split packets and packets keys.Andrei Karas1-1/+2
2017-09-21Change char server packets for 20170830 and newer clients.Andrei Karas1-2/+2
2017-09-19remove trailing whitespaces from sourcegumi1-7/+7
2017-09-19Fix compile errors with some specific PACKETVER valuesHaru1-3/+5
- PACKETVER <= 3 - PACKETVER == 20071106 - PACKETVER >= 20141016 && PACKETVER <= 20141022 - PACKETVER >= 20160921 Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Move other view-related variables to `sd->status.look`Haru1-4/+4
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-2/+2
`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-2/+2
`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-2/+2
- 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-05Adjust rodex packet versions based on tests.Andrei Karas1-1/+1
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 fixesHaru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2017-08-11Fix various issues detected by coverity in rodex-related codeHaru1-1/+1
Follow-up to 544da439e81ff78ec102b754e16b6cc0a28a6d0a Signed-off-by: Haru <haru@dotalux.com>
2017-07-30Implementation of RoDEXKirieZ1-0/+516
2017-07-27Fix possible buffer overflows with snprintf.Andrei Karas1-1/+1
2017-06-25Adjust packet version based on client tests.Andrei Karas1-7/+7
Thanks to Asheraf.