summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
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
2019-10-18Merge pull request #2551 from guilherme-gm/201910-fix-sc-timesHaru1-5/+13
Fixes status changes effect timer when relogging
2019-10-18Merge pull request #2537 from 4144/updatepacketsHaru1-9/+12
Update packets up to 2019-10-02
2019-10-18Merge pull request #2544 from Emistry/clif_skill_estimationHaru1-3/+3
Update Sense Skill - show 0 for negative values
2019-10-17Add support for new skill packets in zero 20190918 and newerAndrei Karas1-2/+2
2019-10-17Define constants for packet names ZC_INVENTORY_START and ZC_INVENTORY_ENDAndrei Karas1-7/+7
2019-10-17Fix compilation warnings in gcc-9Andrei Karas1-0/+3
Also reenabled array bound warning
2019-10-12Fix issues with @fakename.EyesOfAHawk1-2/+2
2019-10-09Fixes close merchant vendingGuilherme Menaldo1-1/+1
There were some wrong checks that prevented the vend to be closed.
2019-10-06Updates status changes to also keep their total timeGuilherme Menaldo1-5/+13
- This allows clients to continue the "timer" display after you login again
2019-10-05Dehardcodes db files base path so the db folder can be easily movedGuilherme Menaldo1-3/+6
2019-10-02Update Sense Skill - cap negative value displayEmistry Haoyan1-3/+3
Enable commented out lines that cap negative values to 0 in the Sense window. Currently the client displays them as 255-fix. [Skotlex]
2019-10-02Moved hardcoded messages from source to messages.confDastgir1-4/+4
Fixes #1282
2019-09-23Merge pull request #2336 from Asheraf/lapineddukddakHaru1-0/+107
Implementation of LapineDdukDdak System