Code: [Select]$Rating::Score = 2000000000000000.5;
$Rating::Score = 2000000000000000.5;
Code: [Select]if(!$RatingRan){ exec("Config/server/Rating.cs"); $RatingRan = 1;}Problem: The console will yell at you if that file doesn't exist.Fix: Add an isFile check before exec'ing.Code: [Select]if(!$RatingRan){ if(isFile("Config/server/Rating.cs")) exec("Config/server/Rating.cs"); $RatingRan = 1;}
if(!$RatingRan){ exec("Config/server/Rating.cs"); $RatingRan = 1;}
if(!$RatingRan){ if(isFile("Config/server/Rating.cs")) exec("Config/server/Rating.cs"); $RatingRan = 1;}
Eh, this is one of those things where a lot of people need to have the mod to make it accurate. RTB should make something like this, and make it so that you can see the rating in the server list.
inb4(my)EditOfThisModToMakeMyServerAl waysHaveA5