Follow up to 2e6016f6d7ec3493888513239f518c7cfc06d3b8 forgot to add pre-re fix
Fixed issue with getlook
Follow up to 2e6016f, increased MAX_SKILL_TREE in order to fit WE_BABY in Expanded Super Novice
Follow up to 2e6016f
Increased MAX_SKILL_TREE to comply with WE_CALLPARENT and WE_BABY in Extended Super Novice. issue: 8250 http://hercules.ws/board/tracker/issue-8250-latest-rev-warning/
Removed redundant data from guardian_data, saving up to 40 bytes per guardian (10240 bytes total)
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Minor script core fixes
Removed useless calls in script.c
Removed nullpo calls in script.c, scripts shouldn't crash the server
Added checks in several functions in order to prevent possible crashes
*resetstatus, *resetskill, *skillpointcount, *changesex, *successremovecards, *failedremovecards, *getequipcardid, *skilleffect, *atcommand, *cardscnt, *equip, *useatcmd
Corrected *specialeffect2 behaviour, when no player was attached and another player name was supplied it would stop script execution instead of displaying the effect
Added documentation regarding hard coded constants.
Updated *strcharinfo documentation in order to follow 1a477c4a628decb330b8083bbd4625ffae26c709
Extracted method to obtain SYSTEM_INFO from functions in sysinfo.c
Added proper method to obtain page size in windows
Fixed status_calc_regen crash issue:http://hercules.ws/board/tracker/issue-1298-mapserver-crashed-item-check/

Follow up to 7cd967f812ab741c41c416fb9f7c2a921c36e947
Fixed possible crash in clif_getareachar_skillunit, related to issue 6561 (http://hercules.ws/board/tracker/issue-6561-unknown-map-server-crash/)
Follow up to 29de937a2d8b485498fa9ce573efebfb64e8d669
reversed portion of 7cd967f812ab741c41c416fb9f7c2a921c36e947 that would point to nothing.
Corrected issue with bce716fa908584f435dcf97904fb37ada6dd90b7 forgot to removed a couple of parenthesis, sorry guys
Fixed issue with mounts and jobchange, ranger and mechanic mounts weren't being checked and properly removed in pc_setoption
Abstracted running functions into two other methods (unit_run and unit_wugdash)
Added checks in skill_dance_switch so it'd be safe to call it whenever it's needed
Documented unit_run, unit_run_hit, skill_dance_switch and sc_conf_type
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed issue with [AT]mount, it wasn't displaying the expected messages, all errors would simply display "You can not mount a Peco Peco with your current job.", now it's displaying a different message for each possible error
Fixed issue with frenzy, the regen buff wasn't being removed when the player died/relogged, issue: 8251 http://hercules.ws/board/tracker/issue-8251-berserk-bug-sp-regenetati/
Fixed an issue in the 'Invalid client hash' console message

- MD5 value was incorrectly printed as int (displaying a meaningless
  number) while it's in fact a string.

Signed-off-by: Haru <haru@dotalux.com>
SQL Re-Organization.

Signed-off-by: KeiKun <the.keikun@gmail.com>
Organized sql-tools.
Updated sql-upgrade files.