Fixed a compiling warning on libconfig.c

variable 'buffer' set but not used

Signed-off-by: shennetsind <ind@henn.et>
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>
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>
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