Added missing type check to skill_delunitgroup

Signed-off-by: shennetsind <ind@henn.et>
Missing 'type' field in itemdb now defaults to IT_ETC rather than IT_UNKNOWN

Signed-off-by: shennetsind <ind@henn.et>
Introducing 2014-10-22, Roulette and Per-Char Gender!

Details in http://hercules.ws/board/topic/7618-2014-10-22-roulette-and-per-char-gender/
Special Thanks to the all-mighty Yommy, Ziu and Haruna!

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

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

Conflicts:
	src/map/battle.c
Re-issuing conflicted-out content on battle.c (see history/follow up)

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
* No cell stacking implemented (official version)
- Split config cell_stack_limit into custom_cell_stack_limit (previous feature) and official_cell_stack_limit (see below)
- Expanded map_count_oncell by a flag parameter, currently only one flag is supported: only count standing units (needed for official cell stack feature)
- Added a new function map_closest_freecell that will return the closest free cell using the same order that official servers use
- Monsters will now actively search for a free cell when starting to walk randomly and when unlocking target
- When any unit finishes walking (regularly) and is not on a free cell, it will now actively search for a free cell
- Step actions will be delayed until a suitable cell was found, they will even be executed when the player walked slightly out of attack range
- Monsters will now stop instantly if their target is completely non-existent
  * This is mainly for looters that had their loot taken
  * Hide and most other situations still use the configuration setting monster_chase_refresh

Mega Thanks to Playtester
HPM Hooks Update

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Fixed mmo_char_tobuf for < 20141022

Follow up 239d480487e24294975f35ed55f210837ad1088e
Special Thanks to Valo!

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

Added missing sql upgrade index entry

Signed-off-by: shennetsind <ind@henn.et>
Add prefix char_ to most functions in char.c
Add prefix inter_auction_ to most functions in int_auction.c
Add prefix inter_guild_ to most functions in int_guild.c
Add prefix inter_mail_ to most functions in int_mail.c
Add prefix inter_mercenary_ to most functions in int_mercenary.c
Add prefix inter_party_ to most functions in int_party.c
Add prefix inter_storage_ to most functions in int_storage.c
Add prefix inter_ to most functions in inter.c
Add prefix pincode_ to global variables in pincode.c
Split functions in int_mail.c.