Fixed compilation errors
Ported back arcscripts2 scripts
Ported latest arcemu changes (last made on a816536509479765b54025fedc4b40492c4cd07e)