More than 32 gamemodes; use long where needed

long instead of int