HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed account expiration time

Login server no longer insta-denies expired accounts, as there may be free to play (or non paying) char server modes in the list, also made sure type 3 is sent as normal mode to non-expired accounts (client has a hardcoded if type == 3 => "claim need to pay & deny message"
Special Thanks to Beret.

Signed-off-by: shennetsind <ind@henn.et>
Fixed an issue with items accidentally made equippable from all classes

- Follow-up to 15a0f6dea6f4f3c5adc9a1bc9e7e8be81cc49c48
- Fixes dagger items being equippable by acolyte classes (and possibly
  many other issues)
- Issue caused by an incorrect capping method when the Job field is set
  to a value greater than 0x7fffffff

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed issues pointed out in Report 7909

Special Thanks to Vader.
http://hercules.ws/board/tracker/issue-7909-some-code-errors-and-optimisations/

Signed-off-by: shennetsind <ind@henn.et>
Correctly removed persistent database entries for disabled NPC Market scripts

- When a Market script is disabled or removed, its database entries are
  now correctly cleared upon reloadscript and/or server restart.
- Special thanks to ossi0110.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed Bug#7709
-http://hercules.ws/board/tracker/issue-7709-overbrand/?gopid=20445#entry20445

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Introducing Hercules Autotrade Persistency

Aka autotrading merchants survive server restarts.
Originally sekai's (aka me).
Special Thanks to Haruna, Michieru.

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug#7944
-http://hercules.ws/board/tracker/issue-7944-all-hidecloaking-skills-in-pvpduelwoe/?gopid=21579#entry21579

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Fixed Bug#7826
-http://hercules.ws/board/tracker/issue-7826-card-compound/?gopid=21081#entry21081

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Because someone forgot I've contributed to *athena
Hercules 1st 2014 MegaPatch

http://hercules.ws/board/topic/3886-hercules-1st-2014-megapatch/
Signed-off-by: shennetsind <ind@henn.et>
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Follow up 82b583b5ef4e729ad2c3c74b26adce16a145605a

Forgot to remove this little fella.
Thanks to kyeme!

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

http://hercules.ws/board/tracker/issue-7960-scriptc-warnings/
Also applied a temporary adjustment due to ERS_OPT_CLEAN not being consistent (decent fix will follow up, haru and i are working on it) -- thanks to kyeme for pointing it out!

Signed-off-by: shennetsind <ind@henn.et>
Follow up 82b583b5ef4e729ad2c3c74b26adce16a145605a

Fixed mapreg reload issue, sql_query not returning results, and caused deletearray to no longer display error messages when the array in question is not available.
Special Thanks to Haruna, ossi0110

Signed-off-by: shennetsind <ind@henn.et>
Adjusted indexing of vars with index 0

Special Thanks to Haruna. Also fixed a compiler warning, thanks to ossi0110

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