some merge stuff from mangosR2 and cmangos
merge with mangosR2 with contains also cmangos stuff
merge with mangosR2