HPM Hooks Update

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
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>
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>
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>
Marked 'menu' script command as deprecated.

Note: Scripts in npc/custom haven't been updated to remove usage of
said script commands yet.

Signed-off-by: Haru <haru@dotalux.com>
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>
Officially deprecated the 'checkquest' command.

Use questprogress instead.

Signed-off-by: Haru <haru@dotalux.com>
Deprecated checkmadogear and setmadogear commands

Replaced their use in scripts with checkmount and setmount,
respectively.

Signed-off-by: Haru <haru@dotalux.com>
Deprecated checkdragon and setdragon commands

Replaced their use in scripts with checkmount and setmount,
respectively.

Signed-off-by: Haru <haru@dotalux.com>
Deprecated checkriding and setriding commands

Replaced their use in scripts with checkmount and setmount,
respectively.

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 setr command. It was never meant to be available.

- The command implementation is kept, with an internal-use prefix, to be
  used by direct assignment commands.

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

- Added prefixed version for internal use.

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignments where applicable (common folder)

Signed-off-by: Haru <haru@dotalux.com>
Replaced 'set' with direct assignment where applicable (pre-re folder)

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