summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-16Script Standardization: changed select format in battleground folderDastgir9-54/+54
2016-01-16Script Standardization: changed select format in airports folderDastgir7-30/+30
2016-01-13HPM Hooks UpdateHercules.ws1-12/+12
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-13Merge pull request #1088 from HerculesWS/constdbAndrei Karas13-3801/+4118
Constdb revamp
2016-01-13Fixes Mora NPC, being stuck when clickDastgir1-2/+2
2016-01-13Added converter script from const.txt to constants.confHaru1-0/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Marked Job_Alchem and Job_Baby_Alchem as deprecatedHaru1-2/+8
Use respectively Job_Alchemist and Job_Alchemist instead. Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Added support to mark constants in db/constants.conf as deprecatedHaru6-97/+113
Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Converted const.txt to libconfig formatHaru8-3707/+3888
- This is necessary for upcoming improvements Signed-off-by: Haru <haru@dotalux.com>
2016-01-12Whitespace cleanup (removed alignment tabs or trailing whitespace at line end)Haru12-90/+95
Signed-off-by: Haru <haru@dotalux.com>
2016-01-12Replaced 22-bit mask entry with a regular uint32 in the noviewid mapflag ↵Haru4-4/+5
implementation As per ultramage's suggestion in #926 Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Merge pull request #1090 from 4144/enabledebugHaru2-6/+18
Enable debug information in configure by default.
2016-01-10Enable debug information in configure by default.Andrei Karas2-6/+18
2016-01-10ItemDB SQL SyncHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-10Fixes Renewal Sleipnir, SP Recovery Rate must be 25%.Jedzkie1-1/+1
Ref: http://www.divine-pride.net/database/item/2410/kRO
2016-01-10Fixed an accidental MAX_CART_DECORATION leftoverHaru1-4/+4
Follow-up to a0f25125a6239894a86d51ae8dcf6a06a4d0a380 Signed-off-by: Haru <haru@dotalux.com>
2016-01-10HPM Hooks UpdateHercules.ws3-0/+63
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-10Fixed a compiler warning (statement with no effect)Haru1-6/+7
Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Move declaration of login config struct to login interfacehemagx3-107/+108
Closes #1030 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Added the unused attribute to BL_UCAST / BL_UCCASTHaru1-0/+2
- Fixes a warning when including map.h and not using those functions, depending on the compiler verbosity Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Sanitized various macrosHaru11-31/+31
Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Corrected various zero-argument function definitionsHaru11-20/+21
- Functions should always specify their arguments, even if they take none. In C, not specifying arguments is different than specifying (void). Signed-off-by: Haru <haru@dotalux.com>
2016-01-09HPM Hooks UpdateHercules.ws3-0/+62
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-09Added support for MC_CARTDECORATE skill.Jedzkie11-10/+77
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Merge branch 'FreddieFatso-master'Dastgir1-1/+1
2016-01-09Merge branch 'master' of git://github.com/FreddieFatso/Hercules into ↵Dastgir1-1/+1
FreddieFatso-master
2016-01-09Fixed #1033Dastgir1-2/+2
Eden quest were giving wrong equipments.
2016-01-09Script Cleanup:Dastgir1-168/+168
Removed some comments from eden quests
2016-01-09Fix Eden Quest 11-25 bug which allowed to bypass quest delay.Dastgir1-2/+3
Fixed #1084
2016-01-09typo fix in main.sqlDastgir1-1/+1
2016-01-08Fixed a mapserver crash (too small allocation)Haru1-1/+1
- Follow-up to e3eac134b1607cfe78331e298aaa20b260662571 - Fixes #1074 Signed-off-by: Haru <haru@dotalux.com>
2016-01-08Cleaned up the pilebunker item checkHaru2-6/+5
- Follow-up to e3da170660e8c52ec5657c086057085ef20e382f - Removed redundant checks for sd->equip_index[EQI_HAND_R] validity - Added itemid_is_pilebunker macro - Restored correct indentation of the return instruction Signed-off-by: Haru <haru@dotalux.com>
2016-01-07Skill Update:Jedzkie3-4/+11
- According to this kRO's Patch Note: https://rathena.org/board/topic/101392-4082015-maintenance/ • Mechanic's Pile Bunker added 3 new weapons.
2016-01-07ItemDB SQL SyncHercules.ws1-0/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-07ItemDB Update:Jedzkie1-0/+50
- Added 3 New Mechanic's Pile Bunkers.
2016-01-06Fix null pointer access after previous commits.Andrei Karas1-4/+8
2016-01-06HPM Hooks UpdateHercules.ws3-86/+214
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-06Merge pull request #1034 from HerculesWS/bl_castAndrei Karas34-2368/+2988
Changed all TBL_* to the appropriate structs
2016-01-06Replaced the remaining explicit casts with BL_CAST/BL_UCASTHaru19-251/+276
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some explicit casts with BL_UCASTHaru12-641/+843
- Replaced safe casts (bl type already checked) Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Moved status_get_homXXX macros to status.cHaru2-22/+37
- The macros were very specific to a small set of functions, they don't belong to status.h. - The macros have been edited to take two parameters instead of relying on external variables. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Replaced some map->id2sd calls with the proper map->id2XX functionHaru11-213/+360
- 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_UCCASTHaru15-274/+475
- 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_UCCASTHaru13-92/+79
- Replaced the map-iterator related casts. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Added const variants of BL_CAST/BL_UCAST: BL_CCAST/BL_UCCASTHaru1-0/+42
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Introduced the BL_UCAST() macro as an alternative to explicit castsHaru1-1/+40
- The benefit of using BL_UCAST() instead of an explicit cast is that it produces a compiler error if the argument is not a block_list. - The benefit of using BL_UCAST() instead of BL_CAST() is that the block_list argument is guaranteed to be evaluated only once. As such it can be used in places where the argument is a function. - No block_list type checking is done. As such, if a different block_list type is passed, behavior is undefined. The user should do the checking beforehand. Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_NPC to struct npc_data as per style guidelineshemagx8-106/+110
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_ELEM to struct elemental_data as per style guidelineshemagx5-30/+30
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_PET to struct pet_data as per style guidelineshemagx9-49/+52
Signed-off-by: Haru <haru@dotalux.com>
2016-01-06Change all TBL_SKILL to struct skill_data as per style guidelineshemagx5-18/+18
Signed-off-by: Haru <haru@dotalux.com>