Fixed a compiling warning on libconfig.c

variable 'buffer' set but not used

Signed-off-by: shennetsind <ind@henn.et>
Added support for 'make plugin.pluginname' to compile only 'pluginname'

- Various Makefile optimizations

Signed-off-by: Haru <haru@dotalux.com>
Dropped some unused aliases in atcommand usage messages.

Those were prone to be confusing with the recent implementation of charban/charunban, special thanks to uzieal for bringing it up.

Signed-off-by: shennetsind <ind@henn.et>
Fixed a somehow-cygwin-only warning 'array subscript is above array bounds'

Signed-off-by: shennetsind <ind@henn.et>
Added constant values for 'true' and 'false' for use in scripts and functions.
Minor HPMi Sub Modifications

- HPMi->addCommand is now addAtcommand, dropped usage of ACMD_A()
- HPMi->addScript is now addScriptCommand, dropped usage of BUILDIN_A()
- HPMi->addCPCommand is now addCPCommand, dropped necessity of CPCMD_A()
- HPMi->addPacket is now addPacket, 5th param (HPMi->pid) is now automatically filled by the macro, therefore param count drops to 4 (packetID,packetLength,packetFunction,packetIncomingPoint).
There is no longer necessity to check for the availability of the commands, the macros will do it on their own and drop a warning about it upon failure.
These changes won't affect pre-compiled plugins.

Signed-off-by: shennetsind <ind@henn.et>
Fixed equip_level_max handling in the sql db converter

The field is now NULL when the value is not provided, instead of MAX_LEVEL.
Special Thanks to Mvmbles for bringing the issue to our attention.

Signed-off-by: shennetsind <ind@henn.et>
Cleaned up Zeny manipulation in scripts.
Fixed Bug 7849

@time crash depending on night/day timer settings, also dropped 2 unsupported scenarios (been there for ages)
http://hercules.ws/board/tracker/issue-7849-map-crash/

Signed-off-by: shennetsind <ind@henn.et>
Fixed txt_time (used by @time)

number of screwed up scenarios e.g. when day, hour and second are 0 but minute is not.

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
ItemDB SQL Sync

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed Bug 7833

instance custom map names no longer linger in the index after the instance is destroyed
http://hercules.ws/board/tracker/issue-7833-instancing-issues/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 7764

Server now (virtually) enforces character to be facing north upon teleporting, fixes issues such as when you're facing left, teleports, uses high jump, and still goes left even though client makes it look like you're facing north.
Special Thanks to kyeme.
http://hercules.ws/board/tracker/issue-7764-warp-facing/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 7838

Was pointing to the wrong message id, special thanks to sevenzz23
http://hercules.ws/board/tracker/issue-7838-wrong-message/

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 7827

Fixed reflect shield not respecting maps reduction flags.
Data tested and confirmed on official server, special Thanks to Yommy and Haruna.
http://hercules.ws/board/tracker/issue-7827-reflect-shield-woe-reductions-autoguard/

Signed-off-by: shennetsind <ind@henn.et>
Fixed getareachar_skillunit v4 and minor cleanup

Special thanks to Rytech for pointing it out, updated to match latest data (Thanks to Yommy) and some minor cleanup

Signed-off-by: shennetsind <ind@henn.et>
calc_return_damage cleanup & fixes

Fixed skill_id not being passed and thus causing some conditions to never be met, dropped some other conditions that would never be met and thus were just wasting space. Moved clif damage outside so that its only used once and with the overall damage instead of several times aggregating the combined delay.
Special Thanks to Haruna.

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>