V3Arcade - So long 0 score posting
This modification is in the archives.
V3Arcade - So long 0 score posting
If you are like me, you have to hate those games that submit scores of zero - Apply this hack and if the game score is zero when the player hits submit, the player will be taken directly to the high score page for that game. No score or comment will be written! File to mod: ARCADE.PHP (please backup file first) FIND: Code:
// This query gets all the information about the session, and the game which was played $game = $DB_site->query_first("SELECT gamesessions.*, games.* FROM " . TABLE_PREFIX . "gamesessions AS gamesessions LEFT JOIN " . TABLE_PREFIX . "games AS games ON games.shortname=gamesessions.gamename WHERE sessionid=$id AND userid=$bbuserinfo[userid] LIMIT 1"); Code:
if ($game[score] < 1) { echo "<meta HTTP-EQUIV=\"REFRESH\" content=\"0; url=./arcade.php?do=scores&name=$game[shortname]\">"; $validatesession = 0; exit; } Download No files for download. |
Similar Mods
V3arcade - Show Last Score News | vBulletin 3.5 Add-ons |