Author Topic: Server rating v3.0  (Read 5941 times)


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;
}
Will fix.
EDIT:Fix'd.
« Last Edit: June 08, 2009, 03:16:26 PM by Poiuyt »



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.

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.

Agreed

inb4(my)EditOfThisModToMakeMyServerAl waysHaveA5

inb4(my)EditOfThisModToMakeMyServerAl waysHaveA5
That's dumb, make it always five? Then you'd practicly be fakeing it.