2014-10-22 packets thanks to Yommy.
Improved bindatcmd handling of spaces in parameters.

- Parameters passed to bindatcmd-invoked labels are now properly
  space-delimited.
- This is in order to support strings containing multiple spaces or
  containing a trailing space. Previously it was impossible to create a
  bindatcmd command that could accept a player name such as
  'This name has  two spaces' or 'Sir Trailingspace '.
- Added documentation and usage examples, especially wrt space handling.
  See doc/script_commands.txt for details.
- NOTE: Your custom atcommand labels may need edits, as we're no longer
  trimming multiple sequantial spaces or trailing spaces, in order to
  gain more flexibility. It is your care to do that.
- Special thanks to Dastgir, jaBote.

Signed-off-by: Haru <haru@dotalux.com>
Added some validation checks in the geoip parse function

This fixes the warning on some compilers, about the fread return value
being ignored.

Signed-off-by: Haru <haru@dotalux.com>
In configure add option --enable-static

This option enable static build for server binaries and map cache.
For plugins this option enable static linking with gcc.
Merge pull request #347 from 4144/static

In configure add option --enable-static
Fixed an issue with $LIBS in the configure script

- It is now possible to pass custom LIBS values to ./configure by
  specifying them on the command line

Signed-off-by: Haru <haru@dotalux.com>
Added support for other libmysqlclient variants

- This allows Hercules to correctly detect MariaDB and other drop-in
  replacements in distributions that rename their libmysqlclient (i.e.
  Debian / Ubuntu renaming it to libmariadbclient).
- Closes issue #368
- Due to a bug in Ubuntu 14.04 LTS (incorrect output by the
  mariadb-provided version of `mysql_config --libs` and missing
  dependencies of libmariadbclient-dev), users of said distribution will
  have to manually specify ./configure LIBS="-lssl -lcrypto" as well as
  manually install the libssl-dev package, if they wish to use
  libmariadbclient-dev, as it will be unable to link otherwise (note:
  this issue isn't Hercules-specific)
- Special thanks to Andrei Karas

Signed-off-by: Haru <haru@dotalux.com>
Re-commit of 4ac673941714032ada6d26fb60936ec510bbe496 (part 1)

    Some Quality of Life Changes

- getbrokencount command added to get amount of broken equipment.

Signed-off-by: Haru <haru@dotalux.com>
Re-commit of 4ac673941714032ada6d26fb60936ec510bbe496 (part 2)

    Some Quality of Life Changes

- checkquest deprecated; Use questprogress instead for a more logical
  quest log checking command.

Signed-off-by: Haru <haru@dotalux.com>
Restored ability to differentiate between active and inactive quests

- Added the questactive script command.
- While this information may not be needed by official scripts, it was
  offered by the now deprecated checkquest, and as such it is made
  available again.

Signed-off-by: Haru <haru@dotalux.com>
pc_isriding* / pc_setriding* cleanup

- pc_isriding is now renamed to pc_isridingpeco, since that's what it
  checks (to avoid confusion).
- pc_hasmount is added, to check for any of Peco, Dragon, Mado Gear, Wug
  Rider.
- pc->setridingdragon is added.
- pc->setridingwug is added.
- pc->setfalcon type is changed.
- pc->setmadogear type is changed.
- pc->setridign is changed to pc->setridingpeco to avoid confusion.
- Changed direct accesses to sd->sd.option to the proper pc_is*
  accessors, where applicable.
- Special thanks to Kisuka.

Signed-off-by: Haru <haru@dotalux.com>
Renamed ismounting, setmounting, @mount2

To avoid ambiguity:
- The script command ismounting is now hascashmount
- The script command setmounting is now setcashmount
- The at-command @mount2 is now @cashmount

Signed-off-by: Haru <haru@dotalux.com>
Re-commit of 4ac673941714032ada6d26fb60936ec510bbe496 (part 3)

    Some Quality of Life Changes

- setdragon, setmadogear and setriding deprecated; use setmount instead.
- checkdragon, checkmadogear, checkriding deprecated; use checkmount
  instead.

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

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Merge branch 'master' of https://github.com/HerculesWS/Hercules