summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2016-02-09Small tweaks to mob_drop_adjustHaru1-7/+13
Related to #1152 Signed-off-by: Haru <haru@dotalux.com>
2016-02-06Changed PCRE to properly use the system-provided pcre.hHaru2-5/+3
Signed-off-by: Haru <haru@dotalux.com>
2016-02-05Merge pull request #1081 from Jedzkie/PR_MAGNIFICATDastgir1-0/+4
PR_MAGNIFICAT Skill Fix.
2016-02-05Merge pull request #1087 from csnv/songsDastgir1-17/+62
Revamped Aegis style songs behavior. Fixes #835
2016-02-05Merge pull request #993 from HerculesWS/mobdb2sqlAndrei Karas7-367/+515
Mob DB support for the db2sql plugin
2016-01-31Move P2PTR Macro to socket header and split the macro into two macros for ↵hemagx2-16/+14
WFIFO/RFIFO. Change packet database enums to defines in mmo.h
2016-01-29Merge pull request #1108 from 4144/pcreconfigureHaru8-48/+2
Enable pcre by default in configure and show error if pcre missing.
2016-01-29Merge pull request #1105 from dastgir/20-SendFixHaru1-7/+11
Fixes crash with @send
2016-01-29Merge pull request #1100 from theultramage/gpermHaru1-1/+1
more meaningful names for fields of enum guild_permission
2016-01-29Re-added support for the JName field in the mob dbHaru1-0/+8
Signed-off-by: Haru <haru@dotalux.com>
2016-01-29Replaced several floating-point operations with integer operationsHaru5-100/+101
This fixes several rounding errors happening in various places (i.e. the base exp for HORONG being calculated as 819 instead of 820 when the server rates are set to 1x) Signed-off-by: Haru <haru@dotalux.com>
2016-01-29Modified Mob DB loader to behave like the Item DB loaderHaru3-271/+410
- Separated load and validation logic. - The load/validation functions now return the loaded mob ID Signed-off-by: Haru <haru@dotalux.com>
2016-01-25Added source support for special comments in the constdbHaru2-7/+34
- To be used by the constdb2doc plugin Signed-off-by: Haru <haru@dotalux.com>
2016-01-25Fix packet id being sent encrypted to Hercules Plugin Manager.hemagx2-11/+11
Now packet id will be passed to Hercules Plugin Manager instead of let it figure it on itself
2016-01-21Remove unused PCRE_SUPPORT define.Andrei Karas7-46/+0
2016-01-21Enable pcre by default in configure and show error if pcre missing.Andrei Karas1-2/+2
2016-01-17Merge pull request #1077 from csnv/masterHaru1-1/+15
Fixes monsters not taking rude attack when OFFICIAL_WALKPATH is used.
2016-01-16Removed Hard Coded data for SC_ALL_RIDING.Jedzkie3-3/+6
2016-01-16Merge pull request #1031 from dastgir/12-OneClickIdentifyHaru6-3/+42
Added OneClickIdentify packet
2016-01-16set_constant the LOOK_ constantsAnnieRuru1-0/+16
2016-01-16Add EQP_ = Equipment Position constantsAnnieRuru1-0/+23
2016-01-16Added OneClickIdentify packetDastgir6-3/+42
2016-01-16Fixes crash with @sendDastgir1-7/+11
2016-01-15Merge pull request #1086 from Jedzkie/GC_CLOAKINGEXCEEDDastgir1-2/+2
Fixes speed given by cloaking exceed
2016-01-14Apple of idun re-adjustment. Thanks @KyemeJorge C1-33/+16
2016-01-14Adjusted names in enum guild_permission to still make sense when additional ↵ultramage1-1/+1
custom permissions are added.
2016-01-13Added support to mark constants in db/constants.conf as deprecatedHaru5-97/+112
Signed-off-by: Haru <haru@dotalux.com>
2016-01-13Converted const.txt to libconfig formatHaru2-23/+51
- 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)Haru11-89/+94
Signed-off-by: Haru <haru@dotalux.com>
2016-01-12Replaced 22-bit mask entry with a regular uint32 in the noviewid mapflag ↵Haru3-4/+4
implementation As per ultramage's suggestion in #926 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-10Fixed a compiler warning (statement with no effect)Haru1-6/+7
Signed-off-by: Haru <haru@dotalux.com>
2016-01-10Revamped Aegis style songs behavior. Fixes #835Jorge C1-13/+75
Now it will automatically update with new values (according to the current song properties) when the status change is about to finish. Thanks Kyeme for the necessary proofs and reminders!
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 macrosHaru2-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Corrected various zero-argument function definitionsHaru6-6/+7
- 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-09Added support for MC_CARTDECORATE skill.Jedzkie4-1/+60
*This skill is supported only by 2015-08-05aRagexeRE clients onwards.* Closes #1025 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Fixes #907Jedzkie1-2/+2
- Cloaking Exceed speed must 140%, not 200+%.
2016-01-09PR_MAGNIFICAT Skill Fix:Jedzkie1-0/+4
- PR_MAGNIFICAT HP Regeneration applies only in PRE-RENEWAL.
2016-01-09Fixes monsters not taking rude attack when OFFICIAL_WALKPATH is used.Jorge C1-1/+15
Rude attack was not checking for this setting.
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:Jedzkie2-3/+10
- 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-06Fix null pointer access after previous commits.Andrei Karas1-4/+8
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>