summaryrefslogtreecommitdiff
path: root/src/map/clif.c
AgeCommit message (Collapse)AuthorFilesLines
2016-01-12Whitespace cleanup (removed alignment tabs or trailing whitespace at line end)Haru1-16/+16
Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Fixed an accidental MAX_CART_DECORATION leftoverHaru1-4/+4
Follow-up to a0f25125a6239894a86d51ae8dcf6a06a4d0a380 Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Added support for MC_CARTDECORATE skill.Jedzkie1-0/+44
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced the remaining explicit casts with BL_CAST/BL_UCASTHaru1-4/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCASTHaru1-97/+109
- Replaced safe casts (bl type already checked) Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some map->id2sd calls with the proper map->id2XX functionHaru1-25/+23
- Also added new map->id2XX convenience functions for the other bl types. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru1-24/+23
- Replaced casts in foreach callbacks. - Added assertions and nullpo checks where applicable. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCAST/BL_UCCASTHaru1-7/+6
- Replaced the map-iterator related casts. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_NPC to struct npc_data as per style guidelineshemagx1-39/+39
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_ELEM to struct elemental_data as per style guidelineshemagx1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PET to struct pet_data as per style guidelineshemagx1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_SKILL to struct skill_data as per style guidelineshemagx1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MER to struct mercenary_data as per style guidelineshemagx1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_HOM to struct homun_data as per style guidelineshemagx1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_MOB to struct mob_data as per strly guidelineshemagx1-61/+57
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PC to struct map_session_data as per style guidelineshemagx1-59/+61
Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Added Support for BodyStyleDastgir1-3/+27
Closes #974 as merged
2015-12-25Merge pull request #1009 from Jedzkie/ItemDB_UpdatesDastgir1-13/+21
ItemDB Updates
2015-12-25Implemented NoViewIDDastgir1-12/+12
(http://herc.ws/board/topic/10020-official-mapflag-to-disable-viewid/) Closes #926 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-25Follow up ↵Jedzkie1-57/+57
https://github.com/HerculesWS/Hercules/commit/eb0d0dc677e1d3e584de9202d3140fe6fb6db722, thanks to Haru! Minor white space edits.
2015-12-25Merge pull request #977 from dastgir/5-DressRoomhemagx1-0/+14
Dressroom Packet implemented
2015-12-25New Entity Packets Implemented (Thanks to Rytech)Dastgir1-8/+44
2015-12-23PetDB Update:Jedzkie1-13/+14
- Change PetID's to Constants - On Official Servers, if you don't have Pet Eggs in your inventory, if you use Pet Incubator item, the Pet Entry list will not show.
2015-12-23Item Update:Jedzkie1-0/+7
- Update the Genetic Sling / Food items - AegisNames - iRO Names - Prices - Weight - Added official effect for HP Increase Potions and SP Increase Potions. - Fix Banana Bomb sitting behavior.
2015-12-20Fixed showing HP bar for monsters even if disabled on 2015 clients and onward.hemagx1-3/+3
Fixes #744
2015-12-17Dressroom Packet implementedDastgir1-0/+14
2015-12-17Change all chat mute checks to use pc->can_talk instead of direct check.hemagx1-7/+7
Put new macro pc_ismuted and change all other kind of mutes to use it Closes #937 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru1-4/+20
Signed-off-by: Haru <haru@dotalux.com>
2015-12-04Merge pull request #910 from dastgir/idleAndrei Karas1-32/+16
Added a function to update idle time
2015-12-04Added a function to update idle timeDastgir1-32/+16
2015-11-14Changed struct script_queue::item into a VECTOR and Renamed to ::entriesHaru1-3/+3
Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Renamed hQueue/hQueueIterator/hQueueOpt to latest standardsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Fixed some direct accesses to script->hq[] from other modules.Haru1-1/+1
- script->hq[] should only be accessed through the provided interface, script->queue(). Signed-off-by: Haru <haru@dotalux.com>
2015-10-28Fix memory leak in quest sending packet (closes #831)Andrei Karas1-0/+1
2015-10-24Merge pull request #811 from ossi0110/masterHaruna1-28/+42
Fixed Quest Log Packet for 2014-10-22 + Clients
2015-10-21Fixed Typos (+1 squashed commits)ossi01101-28/+42
Squashed commits: [18d0374] Fixed Quest Log Packet for 2014-10-22 + Clients Added log Folder to be able to capture Map Server Logs see map-server.conf for it Added save folder to be able to dump unknown packets
2015-10-21Merge remote-tracking branch 'upstream/master'Er_Maqui1-1/+1
2015-10-19rename malloc.c/h to memmgr.Andrei Karas1-1/+1
2015-10-13- Fixed message ID to a lower value.Er_Maqui1-1/+1
2015-10-12- Error message when talking to a pre-defined channel and you aren't on the ↵Er_Maqui1-0/+3
channel.
2015-10-11Changed HPM->packets[] into an array of VECTORHaru1-6/+6
Signed-off-by: Haru <haru@dotalux.com>
2015-10-04Added clif->packet() to retrieve info about a packet.Haru1-0/+14
- As per Malufett/Michieru request, in order to make it possible for a plugin to obtain information about a packet. Signed-off-by: Haru <haru@dotalux.com>
2015-10-02Skip bound items in the mergeitem feature.Haru1-2/+2
- Fixes #757, thanks to kyeme - Based on Emistry's PR #754 (improved) Signed-off-by: Haru <haru@dotalux.com>
2015-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru1-548/+72
Signed-off-by: Haru <haru@dotalux.com>
2015-09-24Add bl parameter to getcell functions.Andrei Karas1-2/+2
2015-09-22Corrected more VisualStudio incompatibilitiesHaru1-15/+32
- Follow-up to ba9c1cc1, 547dd68 - Fixes #730 (thanks to VeilsideGX) Signed-off-by: Haru <haru@dotalux.com>
2015-09-18Clarified the intent of several assignments inside conditional expressionsHaru1-6/+6
Signed-off-by: Haru <haru@dotalux.com>
2015-09-18Follow-up to 21442a885b1214e1b6a2f23a2553da416fb97238Haru1-8/+7
Corrected a nullpo check in the clif_party_withdraw function (in some cases, it is acceptable for sd to be NULL -- documentation is still lacking though) Signed-off-by: Haru <haru@dotalux.com>
2015-09-17Added Configuration in enabling/disabling monster hp bar on new clients.Frost1-3/+3
Closes #558 Signed-off-by: Haru <haru@dotalux.com>
2015-09-15Add missing checks into clif.cAndrei Karas1-131/+789