summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-01-29Renamed some db2sql* plugin functions to itemdb2sql*Haru3-110/+144
Signed-off-by: Haru <haru@dotalux.com>
2016-01-29Changed DB2SQL plugin to not cross-convert databasesHaru1-2/+7
- To convert a renewal database, compile the server and plugin as renewal, and to convert a pre-renewal database, compile both as pre-renewal. - This is a necessary evil, for future compatibility. Signed-off-by: Haru <haru@dotalux.com>
2016-01-29Removed duplicate code from the db2sql pluginHaru1-36/+24
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-29Added apply_percentrate and apply_percentrate64 functionsHaru2-0/+46
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-29Updated Xcode project to version 7.1Haru10-11/+12
Signed-off-by: Haru <haru@dotalux.com>
2016-01-25HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-25Merge pull request #1124 from MishimaHaruna/constdb2docAndrei Karas5-52/+16845
Constdb2doc plugin (doc/constants.md)
2016-01-25Generated doc/constants.mdHaru1-0/+16572
Signed-off-by: Haru <haru@dotalux.com>
2016-01-25Added constdb2doc pluginHaru1-0/+197
This plugin generates doc/constants.md, based on the contents of: - db/constants.conf - Hardcoded constants in source (see script->hardcoded_constants()) - Skill DB - Mob DB - Item DB Signed-off-by: Haru <haru@dotalux.com>
2016-01-25Added source support for special comments in the constdbHaru3-52/+76
- 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.hemagx6-32/+33
Now packet id will be passed to Hercules Plugin Manager instead of let it figure it on itself
2016-01-19Merge pull request #1098 from AnnieRuru/request_31Dastgir2-4/+4
Fix 3rd jobs BaseLevel requirement
2016-01-18Fixes #1085Dastgir1-2/+2
Eden Quest will now give EXP for JobLevel < 50 and JobLevel > 69
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-16HPM Hooks UpdateHercules.ws3-0/+63
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-01-16Merge pull request #1031 from dastgir/12-OneClickIdentifyHaru6-3/+42
Added OneClickIdentify packet
2016-01-16Merge pull request #908 from AnnieRuru/request_26Haru5-38/+88
Add EQP_ = Equipment Position constants
2016-01-16set_constant the LOOK_ constantsAnnieRuru2-16/+16
2016-01-16Remove VAR_ constantsAnnieRuru4-22/+49
- there are 2 same constants for setlook script command, remove the wrong one - VAR_ constant added by lone_wolf is invalid https://github.com/HerculesWS/Hercules/commit/f4278f36db32f35e535a0ea8feb1cf83ca95019e, so use the LOOK_ constant
2016-01-16Add EQP_ = Equipment Position constantsAnnieRuru1-0/+23
2016-01-16Added OneClickIdentify packetDastgir6-3/+42
2016-01-15Fixed a typo in the constdb converter scriptHaru1-2/+2
Thanks to Lemongrass for reporting it Signed-off-by: Haru <haru@dotalux.com>
2016-01-15Merge pull request #1086 from Jedzkie/GC_CLOAKINGEXCEEDDastgir1-2/+2
Fixes speed given by cloaking exceed
2016-01-14Fix 3rd jobs BaseLevel requirementAnnieRuru2-4/+4
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