Rat wrote:[Cinder777] wrote:does anyone know how i can remove some "cheat highscores" without having to erase the scores on every single game?
thanks
go to myphpadmin and search for that game score and manually take it off.
whoo wrote: checking the score via a file that has been written to wouldnt solve much, as far as I can see. All thats accomplished by that is adding a middle man of sorts to the proccess. Whether you write immediately to the db, or write after checking a file.. think about it.. there is NO way to tell if a score is legit using that method, anymore than the current method. vbull's two arcade hacks solve this by opening the game in the same page, for one thing.. the mod could be rewritten, using switches within the main page to load the games, record scores, etc..Ive thought about playing around with it, but bah, its not in my job description, and anyway, rat seems to think I wouldnt be able to. He knows me better than I do apparantly -- so ill just stick to perl and tcl
transm wrote: Lazer, could you explain with some code how to implement the session check? I don't think it uses sesion ids at the moment.
Code: Select all
<?php
$game_name = (!empty($HTTP_POST_VARS['game_name'])) ? $HTTP_POST_VARS['game_name'] : $HTTP_GET_VARS['game_name'];
$score = (!empty($HTTP_POST_VARS['score'])) ? $HTTP_POST_VARS['score'] : $HTTP_GET_VARS['score'];
$mode = (isset($HTTP_GET_VARS['mode'])) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
?>
<html>
<head>
<title>Score</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="0;URL=modules.php?op=modload&name=phpbb2&file=newscore.php&mode=<?php echo $mode; ?>&game_name=<?php echo $game_name; ?>&score=<?php echo $score; ?>">
</head>
<body bgcolor="#000000" text="#000000">
</body>
</html>
whoo wrote: 2 things..
defender, your talking about modules is somewhat lost to most of us, i think, as I dont think the majority of us are running phpbb as a module, ie within post nuke.. atleast I am not.
If you run phpbb as a module then you may be having a hard time saving your score.