Fixed issue with referenced array operations

Did not affect write/read, except getarraysize and deletearray.
Special Thanks to Haru!

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed bug 7977 as in rAthena revf488861298d50afb41f8418700ae164e63bee070
Fixed bug 7980
Fixed bug 7279
http://hercules.ws/board/tracker/issue-7279-starting-items/
Fixed bug 7934
http://hercules.ws/board/tracker/issue-7934-delnpc-missing-not-working/
From:
http://trac.rathena.org/changeset/17128/rathena
Thanks to kyeme
Renewal mechanics rebalance mega-update

- More info on the forums, at
  http://hercules.ws/board/topic/4428-michierus-renewal-update/

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

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

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

Fixed a typo, thanks to Masao

Signed-off-by: Haru <haru@dotalux.com>
Fixed warmer issue that'd cause a crash when clear_skills_on_death is enabled

Perhaps the cause to 8026 http://hercules.ws/board/tracker/issue-8026-map-server-crash-feb-16th-2014/

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

way to check for char server connection fixed
Special Thanks to FeNixZ!
http://hercules.ws/board/tracker/issue-8031-map-server-crash-save-scdata-single-del-scdata-single/

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

Temporary fix for data->ref on array handling, will be dropped once Haru's data->ref redesign is commit.
Special Thanks to AnnieRuru
http://hercules.ws/board/tracker/issue-8025-callfunc-getarraysize-getarg-server-crash/

Signed-off-by: shennetsind <ind@henn.et>
Follow up 9132878d911cfe720eaad94ad3d4a5dd11958f99

Fixed issue (8023) with sc rows (only those of tick = -1, aka permanent scs) duplicating due to lack of primary index.
Special Thanks to Flash, Haru.
Note that the upgrade script will clear the permanent statuses from your sc_data table (e.g. lex aeterna, carts) to ensure no issues are left.

Signed-off-by: shennetsind <ind@henn.et>
Updated skill_require_db.txt structure doc
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Revert "Merge branch 'master' of https://github.com/HerculesWS/Hercules"

This reverts commit c4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2, reversing
changes made to 58544d7f610261a903b3e843a795efd7571b2d56.
Readding last merge as last revert was unintended. Sorry for the trouble.
Fixed issue 8034
http://hercules.ws/board/tracker/issue-8034-map-crash-scripts/
Fixed Bug 8037

Player's var db was being cleared on unit free rather than on auth db clear, which'd cause map server to crash when trying to save already-disconnected (aka char logged out when char server was down) data.
Special Thanks to FeNixZ.
http://hercules.ws/board/tracker/issue-8037-map-crash-every-6-12/

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