http://www.staredit.net/index.php?showtopic=25183So this user reported a bug and I started to think how is it possible to rate a map with say 100.
It's very simple actually. If you can see, when you are going to click on one of the rating bars, it shows the link that you will execute on your browser. The rating system goes from 1-10. So just copy the link in your address bar and write in any number that you want from 1-infinity. I still don't know if I can input in any negative numbers.
For now, I'd just disable ratings since fixing this DLDB would be useless since a new one would be coded in SeNv5.
If you wish to fix it, I'd suggest that if
http://www.staredit.net/index.php?act=down...ing&id=X&rate=Y is inputed into the server(Where X is a file ID of the DLDB and 1>Y>10) it would return an error in which no script would be run.
Something as simple as this should work:
$Y="input.php";
switch($Y)
{
case ($Y<1):
include ("error.php");
case ($Y>10):
include ("error.php");
Default:
include ("script.php");
}
input.php would be the file which that collects the data.
error.php would be the error page which stops any new scripts.
script.php would be correct input and excecute the script normally.