Improved packet obfuscation reliability

- Fixes bugreport:7607
  http://hercules.ws/board/tracker/issue-7607-changing-emblem-with-packet-obfuscation-2-unknown-packet/
- Resolved unintended disconnections caused by invalid packets when
  obfuscation is enabled and a fragmented packet is received.
- Improved packet parsing reliability when packet obfuscation is set to
  optional.
Special thanks to serverkid for reporting the issue and Ind for figuring
out the cause and suggesting a solution.

Signed-off-by: Haru <haru@dotalux.com>
Corrected alignment of the Hercules console logo

- This fixes a display issue in terminal emulators that ignore the Esc[K
  ANSI sequence (i.e. GNU screen or tmux, with TERM=screen or
  TERM=screen-256color.)
- In those terminal emulators, the logo background has now a fixed
  width of 72 characters.

Signed-off-by: Haru <haru@dotalux.com>
Fixed MSVC build, follow-up to 38b8bf0

Thanks to Takkun for pointing it out.

Signed-off-by: Haru <haru@dotalux.com>
Fixed @reloadatcommand breaking all @-commands

- Follow-up to e7750ec
- Fixes bugreport:7618
  http://hercules.ws/board/tracker/issue-7618-reloadatcommand/
Thanks to kyeme, Via for the report.

Signed-off-by: Haru <haru@dotalux.com>
Corrected character position de-synchronization when disguised

- Fixes bugreport:7502
  http://hercules.ws/board/tracker/issue-7502-disguise-bug/
Special thanks to bgamez23 for the report

Signed-off-by: shennetsind <ind@henn.et>
Updated AegisNames in the pre-re item DB

- AegisName values taken from Ind's Ultimate Item DB Update (1caae98)
- Fixed bugreport:7600 (thanks to bgamez23)
  http://hercules.ws/board/tracker/issue-7600-error-itemdb-read-duplicate-aegisname/
- Corrected and enabled some previously unavailable/unknown IDs in
  item_packages.conf (both pre-re and re) and item_group.conf (pre-re)

Signed-off-by: Haru <haru@dotalux.com>
Fixed Bug #7605

http://hercules.ws/board/tracker/issue-7605-problem-with-old-client-versions/
Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug #7610

renewal item db price column fix.
Special Thanks to Muad_Dib for pinpointing the source of the problem and providing a solution, and also providing us with data for 32 new items (some are new headgears :P)
http://hercules.ws/board/tracker/issue-7610-wrong-price-for-iron-ore/

Signed-off-by: shennetsind <ind@henn.et>
Improved reliability of the packet obfuscation key update function

Follow-up to 38b8bf0

Solves some edge cases where, depending on key and packet combination,
the key may not be correctly updated and leads to a forced
disconnection.

Signed-off-by: Haru <haru@dotalux.com>
Fixed skill flagging (mostly related to SKILL_FLAG_REPLACED_LV_0 )

Adjusted value as to not conflict with the perm_granted flag
Special Thanks to Wildcard, malufett.
Also made pc_skillup rely on the change_level_2nd/3rd vars instead of hardcoded values, and added a pc_gainexp packetver check that'd otherwise cause map server warnings when within the range.

Signed-off-by: shennetsind <ind@henn.et>
For Report #7333

Added official 'this item cannot be used within this area' response
http://hercules.ws/board/tracker/issue-7333-map-zone-db/
Special Thanks to kyeme

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

unitskillusepos/unitskilluseid script commands werent functioning because the npc's status weren't properly measured.
Special Thanks to purityz
http://hercules.ws/board/tracker/issue-7633-unitskillusepos-unitskilluseid/

Signed-off-by: shennetsind <ind@henn.et>
Enabled Pre-Renewal builds in the CI buildbot

Both Renewal and Pre-Renewal branches will now be built and tested.

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

- Custom Packet Support
- Custom Data Struct Support (currently append-able to map_session_data and socket_data)
- Char Server Support
- Login Server Support
http://hercules.ws/board/topic/1934-hercules-plugin-manager-update/
Documentation will soon be updated in http://hercules.ws/wiki/HPM

Signed-off-by: shennetsind <ind@henn.et>
MSVC and CMake support for 6b9f58446c46877ecfc5fe40847636145acf5af8

Signed-off-by: shennetsind <ind@henn.et>
Merge pull request #83 from HerculesWS/HPMUpdateR2

Hercules Plugin Manager Update
Fixed Bug#7643
-Fixed SC_ZANGETSU glitch formula.

Fixed Bug#7582
-Where quest log's monster counter is not displaying properly.

-Fixed renewal atk having wrong parenthesis for variance atk formula.

Special Thanks to: Michieru and CottonCandy

Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Follow up @ d8b2eb622f14e10e4da0e521deb5dee6e849affa
-Quest log counter should now work properly upon login.
Added support for target-less commands in the IRC bridge

Needed for future updates (such as receiving "QUIT" commands

Signed-off-by: Haru <haru@dotalux.com>
Added support for JOIN, QUIT, PART, NICK in the IRC bridge

- It'll now show messages such as:
  [ #irc ] User IRC.<nick> joined the channel.
  [ #irc ] User IRC.<nick> left the channel. [Quit: <quit message>]
  [ #irc ] User IRC.<nick> left the channel. [<leave message>]
  [ #irc ] User IRC.<old nick> is now known as IRC.<new nick>"
- To disable, comment out the respective entries in irc_bot_init.

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