Added 4 new permissions
Fix possible buffer overflow in irc channel name parsing.
Merge pull request #379 from 4144/irccrash

Fix possible buffer overflow in irc channel name parsing.
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>
Adjusted roulette logic ( see 239d480487e24294975f35ed55f210837ad1088e )

Special Thanks to Yommy and Ziu for the adjusted logic!
This commit also introduces the proper coins to obtain the roulette points, thanks to Michieru.

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

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Merge pull request #363 from EPuncker/master

Added 4 new permissions
Fix compile warning in VC++
Thanks to Ind
Added missing sql_updates query in main.sql
Added Missing Roulette Items
NOTE: Item Scripts are taken from Description.
ItemDB SQL Sync

Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>