Update inter server so ask login server for account information Instead of do query to login table.
Thanks to Haruna to clean it up.
Improvements on the script commands sscanf, axtoi. Added strtol.

- Added script command strtol (conforming to the ISO C90 function)
- Modified script command axtoi to internally use strtol instead of an
  unnecessary own implementation.
- Fixed sscanf behavior to conform to the C specifications in case the
  input string is empty. It now correctly returns -1, or 0 if the format
  string is also empty. Fixes bugreport:8009, thanks to AnnieRuru -
  http://hercules.ws/board/tracker/issue-8009-sscanf-should-return-1-if-the-string-field-is-an-empty-string/

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

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

- Added option to disable hash check by GM group_id (specify 'disabled'
  as hash for a certain group_id to let them log in with any client,
  even if client_hash_check is enabled
- Updated and reworded related documentation for the feature, following
  user feedback about certain parts being incomplete or confusing.
Added get_substring to the libpcre interface

Signed-off-by: Haru <haru@dotalux.com>
Fixed vending title escaping

Thanks to Haruna

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

Consumables with expire item no longer stack with those without expire time
Thanks to kyeme.
http://hercules.ws/board/tracker/issue-7978-rental-item-stackable/

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Improved script case check reports to include more accurate source info.

- Fixes bugreport:8013, thanks to Dastgir Pojee
  http://hercules.ws/board/tracker/issue-8013-script-add-str-problem/

Signed-off-by: Haru <haru@dotalux.com>
Follow-up to 7b19f964b88dffcfdc8c12648d5e4ee8a26a9504

- Fixes bugreport:8015, thanks to N e s s
  http://hercules.ws/board/tracker/issue-8015-error-in-compiling-in-debian-linux-latest-rev/

Signed-off-by: Haru <haru@dotalux.com>
Fixed Bug#7929
-http://hercules.ws/board/tracker/issue-7929-overbrand-and-mapflags/?gopid=21542#entry21542
Fixed Bug#7966
-http://hercules.ws/board/tracker/issue-7966-over-brand/

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Report 7964.
Removed leftover constants. Thanks to AnnieRuru for bringing it up.
Fixed Bug#7988
-http://hercules.ws/board/tracker/issue-7988-royal-guard-exceed-break-causes-map-server-crash/

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Fixed Bug#7933
-http://hercules.ws/board/tracker/issue-7933-sonic-blow/?gopid=21551#entry21551

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
bindatcommands are now case-insenstivie (just like normal @commands)

As proposed by kyeme in http://hercules.ws/board/topic/2101-bind-commands/

Signed-off-by: shennetsind <ind@henn.et>
Fixed script docs to reflect actual arrays size

Thanks to KeyWorld.

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Modified successrefitem script command

Added a new optional parameter to specify upgrade quantity, so its consistent with downrefitem which provides a optional parameter to specify downgrade quantity.
As proposed by kyeme in
http://hercules.ws/board/topic/2403-successrefitem/

Signed-off-by: shennetsind <ind@henn.et>
Fixed 3 'Declaration shadows a variable in the global scope'

warnings.

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