Follow up@c11390cbffc983b01ac9ee4af3b16ccb533dd94c
-Fixed bug#7681
-sorry guys got crossed eyed in diffing..XD
Changed dlopen to use RTLD_DEEPBIND where available

- Fixes bugreport:7680
  http://hercules.ws/board/tracker/issue-7680-hpm-is-broken/

Signed-off-by: Haru <haru@dotalux.com>
Fixed several packet errors with pre-renewal clients from 2006-2008

Thanks to Beret for reporting the issues, Ind for his great help with
research, suggestions and the necessary tools to fix this.

Signed-off-by: Haru <haru@dotalux.com>
Corrected some MSVC warnings with old (<2009) packetvers

Follow-up to df0a324, thanks to Beret

Signed-off-by: Haru <haru@dotalux.com>
Fixed more packet issues with 2006-2008 clients

- Fixes bugreport:2007 comment 5
  http://hercules.ws/board/tracker/issue-7653-not-compatible-with-hexed-2007/?gopid=20302#entry20302
- Follow-up to df0a324

Signed-off-by: Haru <haru@dotalux.com>
Fixed a mapserver crash due to uninitialized iterface functions

Caused by iStatus->get_total_m?def in pre-renewal.
Follow-up to cccc5bc9.

Signed-off-by: Haru <haru@dotalux.com>
Fixing script constants with '

made possible thanks to Haruna

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

Missing IOT_ constants that should've been included in that commit.

Signed-off-by: shennetsind <ind@henn.et>
Fixed @reloadpcdb to refresh online player data

Special Thanks to hemagx, closes #92

Signed-off-by: shennetsind <ind@henn.et>
Added HCache key #define

As Proposed by Gepard
Closes #63

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

Guild Aura affecting units when unit moves, thanks to purityz, kyeme for ability to reproduce. Solution found by Haruna (Thanks!)
http://hercules.ws/board/tracker/issue-7689-guild-aura-bug/

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

Fixed issue with wedding status type moving speed being delayed to be applied/removed.
Special Thanks to bgamez23
http://hercules.ws/board/tracker/issue-7613-walking-speed-bug/

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

Fixed GvG/PvP warp-on-death thing to not have a 1-second delay and be instantaneous, and not display the respawn window whenever applicable.
Special Thanks to kyeme.
http://hercules.ws/board/tracker/issue-7343-gvg-warp-back-delay-when-died/

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

Game client is currently broken on this feature, sending the request when the criteria doesn't match and not doing anything when it matches, I've restored the previous method to make the feature work once again, the message is configurable by conf/messages.conf and whether maxed characters can use it now a setting in conf/battle/player.conf
http://hercules.ws/board/tracker/issue-6626-cant-prayer-guardian-angel-super-novice/

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

having an empty category in the cash shop would lead to the item list duplicating itself on every map change (client fault), added a warning when parsing the file with a empty category, and the creation of a dummy apple to that category (priced at 999).
Special Thanks to Tepoo for all the information.
http://hercules.ws/board/tracker/issue-7631-cashshop-itemslist-increases-by-every-warpmapchange/

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

Implemented official guild notice behavior of re-displaying upon teleport, added conf/battle/guild.conf setting to modify this.
Special Thanks to kyeme, Frost.
http://hercules.ws/board/tracker/issue-7694-guild-notice/

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

Fixed searchstores crashing when trying to query data of offline vendings (vending db wasn't removing entries upon logout), also changed vending->db index to char id instead of vender id.
Special Thanks to hemagx, jTynne.
http://hercules.ws/board/tracker/issue-7540-new-map-crash/

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

Fixed a skill unit bug that'd run it on nearby targets disregarding friend-or-foe data.
Special Thanks to Haruna for reproducing and providing all the information.
http://hercules.ws/board/tracker/issue-6735-dancer-please-dont-forget-me/

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

Fixed visual effects stacking which'd make them remain visible even after they were gone.
Special Thanks to Michieru, mleo1
http://hercules.ws/board/tracker/issue-7637-camouflage-never-ending/

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

Modified several gvg checks to include checking whether it is a guild castle ( map_flag_gvg2 does so and no it doesn't mean woe:se )
Special Thanks to kyeme.
http://hercules.ws/board/tracker/issue-7335-woe-castle-behavior/
Also follow up 24ced6fcef1a95a2abd0c60b4fe90cbbc3aea268 changed 512 with its constant, special thanks to EPuncker.

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