test

Signed-off-by: shennetsind <ind@henn.et>
Merge remote-tracking branch 'upstream/master'
Account-wide Exp/Drop/Death Modifiers

Attempting to mimic the official as suggested in http://hercules.ws/board/topic/250-official-vip-system/
The variables can be read and modified thru scripting as well as sql, the patch introduces 3 new pc-arams 'ModExp','ModDrop' and 'ModDeath' for that purpose.
The OnLogin modifier display is not the real deal though -- wasn't able to get it to output properly (though that might have been my client files failt)
Up for review.

Signed-off-by: shennetsind <ind@henn.et>
Fixed const values for the new mod params

Thanks to ossi0110 for pointing it out.

Signed-off-by: shennetsind <ind@henn.et>
Merge remote-tracking branch 'upstream/master'

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

Conflicts:
	sql-files/main.sql
	sql-files/upgrades/index.txt
	src/common/mmo.h
Updated to latest Hercules

Signed-off-by: shennetsind <ind@henn.et>
Introducing the Hercules Standalone Script Syntax Checker

- Added a command line argument '--script-check' to check a script's
  syntax without running the server (and without requiring a SQL
  connection). Usage: ./map-server --script-check /path/to/the/script.txt
- For convenience, a script-checker bash script is provided, to set the
  path correctly when called from a different directory. Usage:
  /path/to/Hercules/script-checker /path/to/the/script/to/check.txt
- While the script checker will supposedly work under windows as well,
  no convenience scripts are currently provided for platforms other than
  UNIX (feel free to open a pull request with a .bat launcher or
  whatever you like)
- Integration with IDEs or text editors is possible. In fact, I already
  have a fully functional plugin for vim (through vim-syntastic), and if
  there's enough interest, I'll publish it. - screenshot: http://d.pr/i/NOBD
- If you want an online checker, http://haru.ws/scriptchecker/ is
  running this code, without modifications and will be kept up to date
  (without any warranty though.)
- Special thanks to Ind, Yommy, Streusel, who helped making this
  possible, in a way or another.
cbasetypes.h update

partial usage of ea:15242 (ai4rei) -- will revisit the remaining.

Signed-off-by: shennetsind <ind@henn.et>
Follow-up to 97001710c06ed7053d18c8baaac602eb563b64b3

- Added missing license note and error message to the script-checker
  bash script
- Added Script-Checker.applescript. Open in Applescript Editor and save
  as .app bundle in order to use it. It's not pretty, but it works.

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

- Added script-checker.bat launcher for Windows.
Modified @command loading

So that HPM plugins are able to override default commands, thanks to Akkarin for bringing it up.

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

Replaces the previous 'first' flag with a multi-option flag capable of selectively determining calls where the recalculation must not be hold by delayed damage, and therefore must take place immediately.
This fixes issues caused by actions that require immediate recalculation e.g. on-level-up max_hp update, also modified @baselevel where status_calc was being called after the heal and not before, causing it not to be fully healed.
Special Thanks to Haruna! <3

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
HPM Hooks Update

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

Fixed idletime_criteria description, the demonstration of how the default value is aggregated had the wrong value.
http://hercules.ws/board/tracker/issue-7801-description-of-idletime-criteria/
(Thanks to jaBote!)

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

SC_MOONSTAR, SC_SUPER_STAR are no longer removeable by sc_end all, and sc clear. Modified sc_config.txt, added a new flag (0x80/128) for such cases.
http://hercules.ws/board/tracker/issue-7799-sc-moonstar/
Special Thanks to kyeme.

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

Enabled Party/Guild joining methods, Implements first attempt at the splitting algorithm (Thanks to  jaBote!)
Checks item 1 on issue #69
Help us test! -- http://hercules.ws/board/topic/1302-bg-queue-debug/

Signed-off-by: shennetsind <ind@henn.et>
Merge pull request #217 from HerculesWS/script-checker

Introducing the Hercules Standalone Script Syntax Checker
Merge branch 'master' of https://github.com/HerculesWS/Hercules
HPM Hooks Update

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