Added deprecation messages for incorrect capitalization in scripts

- These messages are temporary, only meant to help those with custom
  scripts to transition them to the correct case-sensitive syntax. If
  you ignore the deprecation messages you encounter, your scripts may
  continue to work just as they did until now, but this will no longer
  be true in the near future, and they may stop working at any time.

If you ignore this, and your scripts break, you'll get to keep the
pieces :)

Signed-off-by: Haru <haru@dotalux.com>
Fixed item chain drop rate processing algorithm

- This corrects the absurdly high drop rate the Blacksmith skill Ore
  Discovery was granting, to its correct values (and processing
  algorithm) from Aegis.
- Special thanks to Ind.

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

- Added --script-check to the --help screen.

Signed-off-by: Haru <haru@dotalux.com>
Added rAthena to Hercules main database upgrader.

This has been added because a lot of people were suggesting this on the forums. Check the news topic for more info: http://hercules.ws/board/topic/2906-introducing-rathena-to-hercules-database-converters/?p=19260
Added rAthena to Hercules logs database upgrader

This has been added because a lot of people were suggesting this on the forums. Check the news topic for more info: http://hercules.ws/board/topic/2906-introducing-rathena-to-hercules-database-converters/?p=19260
Update rAthena-main-upgrade.sql

Now it deletes all entries on the sc_data table since it's dangerous if we port the sc data as is. WARNING, this ends all active SCs on the previous server! Even jailed state!
Follow-up to dd05ae388d69e7df1dffcd393cea5e4cdc605e75

- Reduced number of false positives when parsing .@scope variables.
- Added correct error source information where it previously said
  'source not found'.
- Special thanks to Ind.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Follow-up to 0b7b3796ec987cbb1c263722b841cfa5795aa6d3

- Replaced some leftover numeric IDs

Signed-off-by: Haru <haru@dotalux.com>
Fixed MSVC compile error in ce6c4c63a3a5c1516780f2eac978d02820a8dc0b

- Fixed bugreport:7818, thanks to sevenzz23
  http://hercules.ws/board/tracker/issue-7818-error-when-compiling/

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

Fixed shutdown memory manager warning.

Signed-off-by: shennetsind <ind@henn.et>
HPM Custom Data Struct Makeover!

- Modified how the core handles it, making it easier to add new points.
- Modified how plugins call it, calls were made shorter, e.g. 'HPMi->getFromSession(session[fd],HPMi->pid,0)' => 'getFromSession(session[fd],0)' -- check src/common/HPMi.h #defines for all the options
- Added support for npc_data (getFromNPCD and so on) as requested in http://hercules.ws/board/topic/2923-hpm-custom-struct-npcs/

Signed-off-by: shennetsind <ind@henn.et>
Follow up 8fda38dcdabbb9d252b0e11fb07b2ad37f9e659f

Fixed compiler error on selected systems, thanks to haruna bringing it up!

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

http://hercules.ws/board/topic/2954-item-db-file-structure-overhaul

- Item db was changed to libconfig format.
- This new format is larger than the original format, but it's less
  subject to conflicts when some items are edited and the file gets
  updated.
- It is no longer necessary to specify fields with no value, and only
  the actually used fields are specified.
- Items scripts (especially the long ones) are made more readable by
  splitting them into multiple lines, with proper indentation.
- A converter perl script is provided in the tools directory (and a link
  to the web-based version of the same script canbe found in the above
  forum topic)
- All of this was made possible thanks to Ind, Yommy.

Signed-off-by: Haru <haru@dotalux.com>
Removed redundant item_db2_re.sql

- Both databases have the same format now.
- Special thanks to Ind.

Signed-off-by: Haru <haru@dotalux.com>
Updated db2sql plugin for the needs of the new itemdb

May be used as ./map-server --db2sql or by typing "server tools db2sql" within map-server console parse.
Special Thanks to Haruna.

Signed-off-by: shennetsind <ind@henn.et>
Added Inheritance support for item_db2

- If an item is marked as Inherit: true in item_db2, and it already
  exists, in item_db, then any unspecified fields are taken from the
  item_db entry rather than using their default values.
- Special thanks to Ind.

Signed-off-by: Haru <haru@dotalux.com>
Added item_db2.sql conversion script to the new structure

- For those using a SQL item_db2, I provided a convenience script to
  update to the new structure without having to delete and re-import
  your data.
- The script requires at least MySQL 5.0 (tested on MySQL 5.6) and works
  for both Pre-Renewal and Renewal tables. If you're running an older
  version (Oracle advises to upgrade for security reasons by the way!),
  open the upgrade script in your text editor, and you'll find
  the queries you can run manually instead.
- Special thanks to Ind.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Small fix to the Item DB parser (Slots, not Slot!)

- Special thanks to kyeme

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