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 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>
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#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>
Fixed ERS Cache sharing

Enforcing cache to match the option condition in order for it to be shared. Special Thanks to Haruna!

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

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

- Updated array size info from 127 to the new +4billion
- Improved trader type documentation, thanks to emistry for pointing out some deficiencies!

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

From some notes I took while working on the megapatch:
- Dropped unused char_dat variable in chrif's auth_node
- Fixed DB/BB/PB Logging, which could create false logs due to where it was placed.

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

temporary pc regs (@) were being misflagged.
http://hercules.ws/board/tracker/issue-7967-scriptc-leaks/

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

Syntax error when compiling with GP_BOUND_ITEMS disabled.
http://hercules.ws/board/tracker/issue-7963-intifc-compile-error/

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