This is a quick fix which prevents your users from linking directly to tetris.swf?userid=&username=&s=&points=&cur_high=& bbtitle=
and entering their own info in the address bar. This will lead to nameless entries of highscores into the leaderboard.
in tetris
find
PHP Code:
if ($punteggio != 0) {
change to
PHP Code:
if($bbuserinfo[userid] != $userid){
echo "ERROR, You have attempted to play tetris by unconventional means!";
exit();
}
else if ($punteggio != 0) {
Tell me if i missed anything. It'll be nicer if you created a template for the error though.