fix connection close in hub
use int64 instead int
add MobKind struct for determination and use mob kind