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>
Corrected compile errors in case DB_ENABLE_STATS is defined

Signed-off-by: Haru <haru@dotalux.com>
Corrected some SC behaviour, special thanks to Rytech
- Extracted some methods to check SC blocks
- Fixed issue that when players couldn't attack they couldn't talk to NPCs with mob view id either

Follow up to ec51176326c6028630835538db67826281d34ffe, fixed minor typo
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Re-added revision info to the memory leak log

- Information was missing because sysinfo->final() was freeing the data
  before iMalloc->final() could log it.

Signed-off-by: Haru <haru@dotalux.com>
Follow up to 3c24fb656f3b3370b7152d6f1d2cc9dbc6fbae5d
Moved 'count' declaration in order to fit MSVC c89-c99 standard
SQL Re-Organization.

Signed-off-by: KeiKun <the.keikun@gmail.com>
Organized sql-tools.
Updated sql-upgrade files.
Updated warg skill check, special thanks to Rytech
Merge pull request #286 from MrKeiKun/fix/organize_sql_files

Fix/organize sql files
Removed unsafe pointer typedefs

- If a variable doesn't look like a pointer... Maybe it might be a
  pointer after all. Please, give me back my '*' sign.
- See CERT DCL05-C.

Signed-off-by: Haru <haru@dotalux.com>
Fixed reserved __identifier violations

- Complies with CERT DCL37-C
- Fixes issue #293 (special thanks to elfring)

Signed-off-by: Haru <haru@dotalux.com>
Removed some c++ compatibility definitions

- Neither our code nor 3rdparty code is, (or will compile as) C++,
  regardless of those checks.
- Special thanks to panikon.

Signed-off-by: Haru <haru@dotalux.com>
Explicitly specify 'void' when a function expects no arguments

- See CERT DCL20-C.

Signed-off-by: Haru <haru@dotalux.com>
HPM Hooks Update

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