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>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Fixed issue 8028
http://hercules.ws/board/tracker/issue-8028-sc-cloaking/
Follow up 6f264513874c80b912f47dbad1ec0347c67534e7

Adjusted SC_INSPIRATION, I accidentally swapped target and src when I was converting it to the new reflect damage stuff

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

Ensured same vars are also cleared upon shutdown.

Signed-off-by: shennetsind <ind@henn.et>
Correct minor mistake in skill_require_db.txt thanks to QQfoolsorellina
Changed function types related to SG days in date.c
Changed types in clif.c:
bool clif_setip -> map:ip_set, map: char_ip_set changed as well
bool clif_setbindip
bool clif_send
bool clif_spawn
void clif_homskillinfoblock
bool clif_sub_guild_invite
Note that return values of those types have changed, so if any modification uses their return values
it should be changed.

clif_disp_onlyself replaced as a macro
clif_viewequip_fail replaced as a macro
Merged clif_skillup and clif_guild_skillup as they were using the same packet
Added packet_len() values in clif_updatestatus
HPM Hooks Update

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