Follow-up to 1f5161a2bd3c7934373146d8cac3c131536758ba

- Added explicit column names in the item_db query, to ensure it will
  throw a SQL error in case some are missing, rahter than silently
  failing and returning incorrect data.
- Added sql upgrade file to add the bindonequip column to the item_db2
  table for those who have it.
- As with all the item_db2 upgrade scripts, you need at least MySQL 5.0
  in order to run it. If your version is not compatible, or if the
  script fails for any reason, manual upgrade instructions are provided
  within the script.
- Special thanks to Mumbles.

Signed-off-by: Haru <haru@dotalux.com>
Corrected size-related constant names and cleaned up comments (closes #222).
Fixed itemdb elvmax issue caused by inherit

Special Thanks to Yommy, Haruna.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Modified charban char server responding action

so that the char id is used instead of account id, thus not disconnecting the account id from map server unless the char id being banned is online, special thanks to haruna.

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

Fixed glitch that'd occur in clients with login screen where even after logging out the client would still remember previously sent banned timestamps, keeping the char banned until client was reopened.
Also dropped a error message map server would show up when banning offline characters.
Special Thanks to Mvmbles for pointing it out, Haruna for testing and helping fix it.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed the erroneously redirected GM Full Strip Packet

Implemented in 2009-10-27, the packet was being redirected to a account name req packet, while it was a entirely different feature. this fixes the (GM-Suit) 'right click' option 'remove all equipment'.
Special Thanks to Yommy.

Signed-off-by: shennetsind <ind@henn.et>
Fixed Bug 7819 - Renewal Elemental Damage

Special Thanks to Michieru for gathering official server data and testing.
http://hercules.ws/board/tracker/issue-7819-element-tables/

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Merge pull request #224 from datmumbles/size_changes

Corrected size-related constant names (closes #222).
Sanitized and improved several macros through the code

- Sanitized all potentially unsafe macros (related eA:15259)
- Improved some function-like macros to evaluate their argument only
  once and keep it in a temporary variable.  This improves performance
  in the damage calculation related code.

Signed-off-by: Haru <haru@dotalux.com>
Replaced hardcoded Item IDs with constants

- This makes it harder to get the item IDs wrong in the code.
- Fixes item 'Slot_Coupon' being incorrectly considered a Spell Book due
  to an oversight (wrong item nameid) when the check was introduced.

Signed-off-by: Haru <haru@dotalux.com>
Added support for Max EquipLv in Pre-Renewal

- Follow-up to ed72a947a6c97804c1eef5b80bfa49d99f7d7586
- Max EquipLv is now observed, rather than ignored, in pre-renewal mode.

Signed-off-by: Haru <haru@dotalux.com>
Fixed wrong parentheses in a condition in status_calc_regen_rate

- eAthena:15257
- Teh wrong parentheses cause the condition to be always false, which in
  turn causes SP regen to continue while under
  SC_EXTREMITYFIST/SC_EXPLOSIONSPIRITS statuses.

Signed-off-by: Haru <haru@dotalux.com>
Fixed Bug 7799 - SC_MOONSTAR neverending

Follows up 665f1306a130d4b8c359972bf4e58ef9d3bd9cd8
http://hercules.ws/board/tracker/issue-7799-sc-moonstar/

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

Special Thanks to kyeme for all the debug information and help!
http://hercules.ws/board/tracker/issue-7840-char-server-crash/

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