Modified db2sql plugin to maintain item_db2.sql

makes it easier to keep the table structure up to date

Signed-off-by: shennetsind <ind@henn.et>
Fixed db2sql plugin forcing minimal mode

Would turn map server into minimal mode regardless of the --db2sql option being used.

Signed-off-by: shennetsind <ind@henn.et>
Official Item BindOnEquip Support

Implements the 'BindOnEquip' item db field which determines whether the piece of equipment should bind to the character upon being equipped.
When a character tries to equip such a item for the first time a dialog shows up asking the character to confirm whether to equip the item or not, and notifying the character that by equipping the item it will become bound to the character, and therefore unable to be used by another character.
Special Thanks to Beret for all the information, Haruna for testing.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Added BindOnEquip to the item_db documentation and templates

- Special thanks to ossi0110, kyeme
- Fixes bugreport:7821
  http://hercules.ws/board/tracker/issue-7821-missing-item-dbconf-columne/

Signed-off-by: Haru <haru@dotalux.com>
Added support for case-insensitive jobmasks to the itemdb converter

- Fixes parsing failures due to lower- (or mixed-) case job masks.
- Special thanks to ossi0110 for the report.

Signed-off-by: Haru <haru@dotalux.com>
Update rAthena-main-upgrade.sql

Made the converter keep some more data (rAthena's `moves` column is equivalent to our `slotchange` in the `login` table) and made it a tidbit more efficient since with their last updates their DB is now more similar to ours :D
Updated `account_data` upgrade files

to avoid issues as demonstrated by report 7824 http://hercules.ws/board/tracker/issue-7824-exp-and-drop-rates-in-lat/
Special Thanks to Yommy!

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Update rAthena-main-upgrade.sql. Follow-up 40262e063a7d503104667a4135c564d996bc49c6

Just added the new SQL update on the converter =)
Official expiration timer support

As brought up in http://hercules.ws/board/topic/2225-paid-server/
Special Thanks to Haruna for all the help!
Thanks to Beret, Ai4rei for information

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Improved itemdb converter robustness in case of extra spaces

- Thanks to GM.PiXeL for reporting the issue.

Signed-off-by: Haru <haru@dotalux.com>
Fixed char server's maintenance mode

Enabling the maintenance mode will now restrict login based on group id (previously maintenance mode was merely cosmetic and would allow all accounts to access).
Renamed char-server.conf setting char_maintenance to char_server_type, added char_maintenance_min_group_id to be used in conjunction with char_server_type:1

Signed-off-by: shennetsind <ind@henn.et>
Updated char server's response to offline map server

Previously attempting to log in while map server was unavailable or not yet ready would close the client, now the char select window shows up and attempting to select a character while the map server is unavailable will display a pop up "the map is not available", client will remain in char select window and won't close anymore.
Special Thanks to Haruna.

Signed-off-by: shennetsind <ind@henn.et>
Fixed atcommand alias bug on selected commands

Modified the issues in question to check against the source command name, ensuring that the conditions work even when an alias is used. Also replaced sensitive conditions with insensitive ones, Special Thanks to Haruna.

Signed-off-by: shennetsind <ind@henn.et>
Minor char server char list fixes

the array was being erroneously modified in old client packets.

Signed-off-by: shennetsind <ind@henn.et>
Fixed a mapserver crash when using SQL item DB and an item's script is NULL

- Special thanks to Mumbles.

Signed-off-by: Haru <haru@dotalux.com>
Introducing Character Ban Support.

@charban/@charunban, can temporarily block any accounts as opposed to the usual account-wide block.
Special Thanks to Haruna, Yommy!

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