Thanks for the tutrial first off.
I think your for loops got clipped in your editing in getBestPlayerId() and getWorstPlayerId()
Shouldn't it be something like for(i=0;i < WorldInfo.Game.NumPlayers; i ++)
Also there are some missing semi-colons in the default propertis after assigning 2 to m_bonus and m_malus.
I had to typecast var class<GameRules> myClass; to get the WorldInfo.Game.AddGameRules(GRClass); to take the argument as well.
Can you put your files up?
mikep
Mike joined
This member has provided no bio about themself...