Added 4 new permissions
Increase sql password field size from 32 to 100 chars.

32 chars is very small for password.
Added some missing variable initializations

- The issue was caused by memcmp failing because of garbage in structs
  padding.
- Fixes bugreport:8410, special thanks (and credits for the fix) to Garr
  http://hercules.ws/board/tracker/issue-8410-autotradeat-issue/
- Also reduced scope of some variables, where appropriate.
- Thanks to Ind.

Signed-off-by: Haru <haru@dotalux.com>
Sight Blaster and other skill fixes, magic reflect, crash, trap display and monster behavior fixes
- Fixed cast time of Sightrasher in pre-renewal (700ms -> 500ms)
- Official Sight Blaster behavior (bugreport:6945, partially bugreport:144)
  * Sight Blaster's AoE is now 3x3 even in pre-renewal (it was originally larger so it hits traps before they trigger)
  * Sight Blaster will now prevent traps from triggering as long as they are knocked back
  * Fixed a bug that caused Sight Blaster to not work on traps and ice walls at all
  * Sight Blaster will no longer expire when the attack was reflected
  * Sight Blaster will now expire when hitting an ice wall
  * Sight Blaster will now properly protect you from being attacked from its AoE range
- Sight, Ruwach and Sight Blaster will now check for a target every 20ms (previously every 250ms)
- Step action will now be canceled when being knocked back (skills won't be executed anymore when knocked out of range)
- When knock back magic is reflected it will no longer lead to the caster being knocked back (related to bugreport:6945)
- Activated traps can no longer be hit
- Fixed a problem that left "trap ghosts" forever on the screen when a trap was knocked out of the screen
- Monster behavior fixes
  * Monsters will no longer be able to do normal attacks when hiding
  * If out of any reason a monster on "attack" state can't move and can't do normal attacks, it will now use "attack" state skills
  * The order of monster thought processing is now equal to official servers
- Fixed some potential map server crashes

Mega thanks to Playtester (rathena b88e95381d6a7)
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
- Can't cast icewall  more than once on the same center cell. Special thanks to Ind
- Service for you now work properly on all skill level.
- Fixed a problem that sometimes randomly a status change was removed on logout although it shouldn't. Special thanks to Playtester
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Added source support to mark script commands as deprecated

- Commands marked as deprecated will trigger a warning when the script
  is loaded. (there are currently no commands marked as such, but some
  will come soon)

Signed-off-by: Haru <haru@dotalux.com>
Marked command jump_zero as deprecated.

- Added prefixed version for internal use.
- Note: The command will be completely removed after about a month.
  Custom, third party scripts will require updates, in case they were
  using this command. Please see the jump_zero documentation.

Signed-off-by: Haru <haru@dotalux.com>
Removed undocumented setr command. It was never meant to be available.

- The command implementation is kept, with an internal-use prefix, to be
  used by the script engine (for direct assignment commands).

Signed-off-by: Haru <haru@dotalux.com>
Marked the petheal command as deprecated

- The command should be replaced by petskillsupport in any custom
  scripts.
- Updated the custom SOHEE pet skill script to use petskillsupport with
  level 10 AL_HEAL.

Signed-off-by: Haru <haru@dotalux.com>
Removed use of 'menu' from official (non-custom) scripts

- Some scripts were partly refactored/rewritten to use a more modern
  coding style (and to fix some issues)
- Note: the 'menu' command will be deprecated soon in favor of 'select'
  and 'prompt'.

Signed-off-by: Haru <haru@dotalux.com>
Fix Gentle Touch Change map-server crash
Report:8415
http://hercules.ws/board/tracker/issue-8415-gentle-touch-change-crash/
Merge pull request #377 from Ridley8819/master

Fix Gentle Touch Change map-server crash
Palm strike don't have cast time but have after cast delay. Thanks Playtester to point this out
Removed use of 'checkquest' from scripts (common folder)

Signed-off-by: Haru <haru@dotalux.com>
Removed use of 'checkquest' from scripts (pre-re folder)

Signed-off-by: Haru <haru@dotalux.com>
Removed use of 'checkquest' from scripts (re folder)

Signed-off-by: Haru <haru@dotalux.com>
Marked command 'checkquest' as deprecated

Use questprogress instead.
- Note: The command will be completely removed after about a month.
  Custom, third party scripts will require updates, in case they were
  using this command.  It is recommended to use questprogress instead.
  Please see the checkquest documentation for more information.

Signed-off-by: Haru <haru@dotalux.com>
Removed some temporary case-check error messages.

- Top level commands (function, warp, shop, cashshop, script, trader,
  duplicate, monster, boss_monster, mapflag) will no longer show a
  custom error message when they are incorrectly capitalized.
- Note: This does not mean that the commands are no longer
  case-sensitive. This only means that no special message will be shown
  in case such an error is detected. The script engine will throw a
  normal error, as it would with any other kind of typo, rather than
  treating this as a special case. Enough time was given to update third
  party scripts, and it is now time to clean up our parsing code and get
  rid of these special warnings.

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