summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2020-04-02Fix typo in packet PACKET_ZC_SE_CASHSHOP_OPEN (Fixes #2669)Andrei Karas1-1/+1
2020-03-14Remove skillitem and skillitemlv variables and use ↵Kenpachi Developer1-4/+4
map_session_data->autocast.skill_id/_lv instead
2020-03-14Use map_session_data->autocast.type instead of skillitem variable to check ↵Kenpachi Developer1-4/+4
for auto-cast skills
2020-03-14Remove map_session_data->state.itemskill_* and use ↵Kenpachi Developer1-1/+1
map_session_data->autocast.itemskill_* instead
2020-03-14Remove skill_is_item_skill() function and use ↵Kenpachi Developer1-1/+1
map_session_data->autocast.type instead
2020-03-14Add skill_validate_autocast_data() function callsKenpachi Developer1-0/+24
2020-03-14Add pc_autocast_clear() function callsKenpachi Developer1-2/+2
2020-03-14Rename function pc_itemskill_clear() to pc_autocast_clear()Kenpachi Developer1-1/+1
2020-03-13Apply code style to clif_charnameupdate() functionKenpachi Developer1-24/+35
2020-03-13Apply code style to clif_pcname_ack() functionKenpachi Developer1-39/+46
2020-03-13Implement display options in clif_charnameupdate() functionKenpachi Developer1-9/+32
2020-03-13Implement display options in clif_pcname_ack() functionKenpachi Developer1-27/+43
2020-03-09Merge pull request #2651 from Emistry/clif_selllist_favoriteHaru1-0/+3
Item with favorite flag can't sell to NPC.
2020-03-09Merge pull request #2642 from Kenpachi2k13/zone_disabled_items_fixHaru1-0/+59
Fix (un)equip script execution for map zone restrcited items
2020-03-08Change the name of all functions which got their return-value meaning changedskyleo1-4/+4
2020-03-08Refactor code using directions to use enum unit_dirskyleo1-9/+1
This removes a lot of duplicated code, especially related to people not using the arrays dirx and diry. Assertions for whenever these arrays are used have been added as well, to ensure valid index range. Some trailing white space has been removed as well.
2020-03-07Item with favorite flag can't sell to NPC.Emistry Haoyan1-0/+3
- disable selling of favorite item to NPC.
2020-03-07Add execution of unequip script when entering a zone where item is restrictedKenpachi Developer1-0/+59
In official servers, an item's unequip script is executed when entering a zone where the item is restricted, even if the item won't be unequipped.
2020-02-23Add workaround for fix Visual Studio bug (error C2233)Andrei Karas1-4/+9
2020-02-21Adjust clif_pcname_ack() function to always use PACKET_ZC_ACK_REQNAMEALLKenpachi Developer1-8/+1
This fixes the issue, where not even the fake name shows up, when using @fakename in RE clients.
2020-02-09Converted packet ZC_AUTORUN_SKILL to structure.Kenpachi Developer1-13/+14
2020-02-09Added skill_is_item_skill() function.Kenpachi Developer1-1/+1
2020-02-09Added pc_itemskill_clear() function.Kenpachi Developer1-0/+1
2020-02-09Added a new option flag to itemskill() script command to be able to ↵Kenpachi Developer1-1/+7
forcefully cast skill on on invoking character.
2020-02-09Merge pull request #2590 from Kenpachi2k13/issue#2530Haru1-2/+2
Change unload NPC behavior to kill mobs that were spawned by unloaded NPC (non-permanent monster spawns) [Issue #2530]
2020-02-09Add a function to send PACKET_ZC_STATE_CHANGE to a single targetAsheraf1-0/+28
2020-02-09Update PACKET_ZC_STATE_CHANGE to use struct formatAsheraf1-38/+18
2020-02-09Change unload NPC behavior to kill mobs that were spawned by unloaded NPC ↵Kenpachi Developer1-2/+2
(non-permanent monster spawns) [Issue #2530] Mobs spawned by NPC will be removed on @reloadnpc, @unloadnpc, and @unloadnpcfile. Additionally OnNPCUnload NPC label was added, to revert other changes made by NPC. For example set/removed mapflags or added mob drops.
2020-02-09Enable packet ZC_SE_CASHSHOP_OPEN for main and re clientsAndrei Karas1-1/+1
2020-02-09Add expanded barter shop packetsAndrei Karas1-0/+107
2020-02-09Add packet CZ_NPC_EXPANDED_BARTER_CLOSEAndrei Karas1-0/+6
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2020-01-13Merge pull request #2266 from dastgirp/coverity/fix2Haru1-1/+1
Fixed a condition in RoDEX attachment
2020-01-12Merge pull request #2606 from Ridley8819/pcblocknpcHaru1-2/+4
Adding PCBLOCK_NPC to setpcblock script command
2020-01-09Use struct packet in clif_partytickackAndrei Karas1-4/+7
2020-01-09Rename functions clif_parse_CashShop* into clif_parse_cashShop*Andrei Karas1-22/+22
2020-01-09Update packet CZ_SE_CASHSHOP_OPEN to latest versionAndrei Karas1-4/+26
2020-01-09Move packet ZC_SE_CASHSHOP_OPEN into separate functionAndrei Karas1-6/+18
And update to latest packet.
2020-01-09Adding PCBLOCK_NPC to setpcblock script commandRidley1-2/+4
2019-12-13Send load confirm packet in clif_refreshAndrei Karas1-0/+2
2019-12-13Convert packet CZ_SE_CASHSHOP_OPEN to structure and add new packet versionAndrei Karas1-0/+2
2019-12-12Add script function specialeffectnumAndrei Karas1-0/+19
2019-12-12Add new version for packet ZC_NOTIFY_EFFECT3 and convert to structureAndrei Karas1-11/+16
2019-11-17Merge pull request #2577 from Asheraf/dehardcodestatusiconsHaru1-18/+19
Dehardcode Status Icons
2019-11-17Merge pull request #2548 from bWolfie/fix_fakenameHaru1-2/+2
Fix issues with @fakename.
2019-11-17Merge pull request #2568 from 4144/updatepacketsHaru1-0/+37
Update packets up to 2019-11-07
2019-11-14Add packet CZ_REQ_MOUNTOFFAndrei Karas1-0/+37
2019-11-06Dehardcode Status IconsAsheraf1-18/+19
2019-10-20Merge pull request #2547 from guilherme-gm/201910-dehardcode-dbHaru1-3/+6
Dehardcode DB files path
2019-10-18Merge pull request #2555 from guilherme-gm/201910-fix-vendingHaru1-1/+1
Fixes close merchant vending