Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[MOD] Arcade With Stats Tracked!
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-12-30 10:53:11
I Have Removed This Modification Because :-

Walker Was Able To Hack Stats [FIXED] Thanks M8

And

Cursed Gave Me Shit Loads Of Games, So Will Make A New Post When I Have Re-Made This!

And

Thanks To Cursed For Supplying Me With Some Casino Games!  :D

Quote:
NEW MOD SHOULD BE READY IN 2DAYS
Unknown User
2008-12-30 11:52:06
workin perfect!! thnx m8!!! :D
Unknown User
2008-12-30 11:59:46
LoL Thanks Mate  :D

World Is My Beta Tester  :D

Im Hoping I Can Make The Casino See Screenshot Below
Unknown User
2008-12-30 14:20:37
you should add something that if the score is not submitted within a certain amount of time it will be rejected, because i could come to your arcade and have the highest score on all games without really playing. this is just like the arcade mod already here.

[url="http://www.torrenttrader.org/index.php?showtopic=7670&hl=arcade"]http://www.torrenttrader.org/index.php?sho...0&hl=arcade[/url]
Unknown User
2008-12-30 14:40:18
I Dont Understand What You Mean Mate ?? The Flash Game Redirects Them To The Index After Playing Where The Scores Are Submitted To Database Then They Are Redirected To Flashscores.php to see the score made
Unknown User
2008-12-30 14:46:10
Your Either Very Good At Moonlander Walker,

Or

You Know How To Hack This MOD LOL

1 walker1977 5555200
Unknown User
2008-12-30 14:48:03
Your Either Very Good At Moonlander Walker,

Or

You Know How To Hack This MOD LOL

1 walker1977 5555200
Unknown User
2008-12-30 14:50:32
pm sent
Unknown User
2008-12-30 17:50:55
Just installed into V2

[TTClassic All Versions] ARCADE HACK

[url="http://www.torrenttrader.org/index.php?showtopic=2608"]http://www.torrenttrader.org/index.php?showtopic=2608[/url]

Just changed a few bits around and commented out the old bits from each page, works fine.

I`m going to post a full instructions on how to install in v2.0x in this post. Should be up in about 30 mins after my posting time.

OK

Download and unrar and upload this into your root directory where your index.php is.

[url="http://www.torrenttrader.org/index.php?act=attach&type=post&id=2068"]http://www.torrenttrader.org/index.php?act...ost&id=2068[/url]

SQL

CREATE TABLE `flashscores` (

`ID` int(11) NOT NULL auto_increment,

`game` int(11) NOT NULL default '0',

`user` int(11) NOT NULL default '0',

`level` int(11) NOT NULL default '0',

`score` int(11) NOT NULL default '0',

`date` datetime NOT NULL default '0000-00-00 00:00:00',

PRIMARY KEY  (`ID`)

) TYPE=MyISAM AUTO_INCREMENT=13;
arcade.php




<?



require_once("backend/functions.php");

dbconn(false);

loggedinonly();



stdhead("ARCADE");



begin_frame("Games");

?>

<table align=center width=60% border=2 cellspacing=0 cellpadding=10>

<div align=center>

<p><h2><b>TT 2.05 Flash Arcade</b></h2></p>

<hr>

<tr>

<td align=center><b><a href=flash.php?gameURI=asteroids.swf&gamename=Asteroids&gameid=1><img src="flash/asteroids.gif"></img></b><p><b>Play Asteroids</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=breakout.swf&gamename=Breakout&gameid=2><img src="flash/breakout.gif"></img></b><p><b>Play Breakout</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=hexxagon.swf&gamename=Hexxagon&gameid=3><img src="flash/hexxagon.gif"></img></b><p><b>Play Hexxagon</b></p></a></td>

</tr>

<tr>

<td align=center><b><a href=flash.php?gameURI=DAbuddy_latest.swf&gamename=Buddy><img src="flash/Buddy.jpg"></img></b><p><b>Play Interactive Buddy</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=invaders.swf&gamename=Invaders&gameid=4><img src="flash/space.gif"></img></b><p><b>Play Invaders</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=moonlander.swf&gamename=Moonlander&gameid=5><img src="flash/moonlander.gif"></img></b><p><b>Play Moonlander</b></p></a></td>

</tr>

<tr>

<td align=center><b><a href=flash.php?gameURI=pacman.swf&gamename=Pac-Man&gameid=6><img src="flash/pacman.gif"></img></b><p><b>Play Pac-Man</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=psol.swf&gamename=Solitaire&gameid=7><img src="flash/psol.gif"></img></b><p><b>Play Solitaire</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=simon.swf&gamename=Simon&gameid=8><img src="flash/simon.gif"></img></b><p><b>Play Simon</b></p></a></td>

</tr>

<tr>

<td align=center><b><a href=flash.php?gameURI=snake.swf&gamename=Snake&gameid=9><img src="flash/snake.gif"></img></b><p><b>Play Snake</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=stanjames.swf&gamename=Freekick><img src="flash/stanjames.gif"></img></b><p><b>Play James Original Free-kick Challenge</b></p></a></td>

<td align=center><b><a href=flash.php?gameURI=starcraftfa3.swf&gamename=Starcraft><img src="flash/starcraft.gif"></img></b><p><b>Play Starcraft Flash Action 3</b></p></a></td>

</tr>

<tr>

<td align=center><b><a href=flash.php?gameURI=tetris.swf&gamename=tetris&gameid=10><img src="flash/tetris.gif"></img></b><p><b>Play Tetris</b></p></a></td>

<td align=center>&nbsp;</td>

<td align=center>&nbsp;</td>

</tr>

</form>

</div>

</table>

<p><center><b><a href=flashscores.php><h3><b>View Highscores</b></h3></a></center></p>

<p><center><b><a href=flashscores2.php><h3><b>View Highscores stats </b></h3></a></center></p>

<?

end_frame();

stdfoot();

?>





flashscores.php





<?

require_once("backend/functions.php");

dbconn(false);

loggedinonly();



stdhead("Flash Scores");



begin_frame("HighScores");

?>

<div align=center>

<table width=60% border=1 cellspacing=0 cellpadding=10><tr><td class=text>

<div align=center><B>HighScores Ranking</B>

<P>

<A HREF=flashscores2.php>Go to HighScores Stats</a><P>

<?

for($gameID=1;$gameID<11;$gameID++)

{

if($gameID==1)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Asteroids</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==2)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Breakout</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==3)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Hexxagon</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==4)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Invaders</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==5)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Moonlander</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==6)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Pacman</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==7)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Solitaire</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==8)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=3 bgcolor=#0099FF><center><B>Simon</B></center></TD></TR>");

print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Score</TD></TR>");

}

if($gameID==9)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=4 bgcolor=#0099FF><center><B>Snake</B></center></TD></TR>");

 print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Niveau</TD><TD>Score</TD></TR>");

}

if($gameID==10)

{

 print("<TABLE WIDTH=100% border=1><TR><TD COLSPAN=4 bgcolor=#0099FF><center><B>Tetris</B></center></TD></TR>");

 print("<TR><TD>Rank</TD><TD WIDTH=75% align=center>Name</TD><TD>Niveau</TD><TD>Score</TD></TR>");

}

$result = MySQL_QUERY("SELECT * FROM flashscores GROUP BY user;");

while($populate = MySQL_FETCH_ARRAY($result))

{

if(!isset($totalscore[$populate["user"]]))

{

$totalscore[$populate["user"]]=0;

}

}

$result = MySQL_QUERY("SELECT * FROM flashscores WHERE game = ".$gameID." ORDER BY score DESC;");

while($scores = MySQL_FETCH_ARRAY($result))

{

  $ranking = MySQL_QUERY("SELECT COUNT(*) FROM flashscores WHERE game = ".$gameID." AND score > ".$scores["score"].";") OR DIE(MySQL_ERROR());

if($rankrow = mysql_fetch_row($ranking))

{

$rank = $rankrow[0]+1;

}else{

$rank = 1;

}

if($rank<6)

{

$totalscore[$scores["user"]]+=(10-(($rank-1)*2));

}

}

$result = MySQL_QUERY("SELECT * FROM flashscores WHERE game = ".$gameID." ORDER BY score DESC LIMIT 5;");

while($scores = MySQL_FETCH_ARRAY($result))

{

$userresult = MySQL_QUERY("SELECT * FROM users WHERE id = ".$scores["user"].";");

$user = MySQL_FETCH_ARRAY($userresult);

$username = $user["username"];

  $ranking = MySQL_QUERY("SELECT COUNT(*) FROM flashscores WHERE game = ".$gameID." AND score > ".$scores["score"].";") OR DIE(MySQL_ERROR());

if($rankrow = mysql_fetch_row($ranking))

{

$rank = $rankrow[0]+1;

}else{

$rank = 1;

}

if($gameID < 9)

{

 if($scores["user"]==$CURUSER["id"])

 {

print("<TR style=\"background-color: #BBBBBB\"><TD>".$rank."</TD><TD WIDTH=75%>".$username."</TD><TD><div style=\"text-align:right;width:100%;\">".$scores["score"]."</div></TD></TR>");

 }else{

print("<TR><TD>".$rank."</TD><TD>".$username."</TD><TD><div style=\"text-align:right;width:100%;\">".$scores["score"]."</div></TD></TR>");

 }

}else{

 if($scores["user"]==$CURUSER["id"])

 {

print("<TR style=\"background-color: #BBBBBB\"><TD>".$rank."</TD><TD WIDTH=75%>".$username."</TD><TD>".$scores["level"]."</TD><TD><div style=\"text-align:right;width:100%;\">".$scores["score"]."</div></TD></TR>");

 }else{

print("<TR><TD>".$rank."</TD><TD>".$username."</TD><TD>".$scores["level"]."</TD><TD><div style=\"text-align:right;width:100%;\">".$scores["score"]."</div></TD></TR>");

 }

}

}

$yourresult = MySQL_QUERY("SELECT * FROM flashscores WHERE game = ".$gameID." AND user = ".$CURUSER["id"]." ORDER BY score DESC LIMIT 1;") OR DIE(MySQL_ERROR());

if($yourscore = MySQL_FETCH_ARRAY($yourresult))

{

$yourhighscore = $yourscore["score"];

$yourlevel = $yourscore["level"];

  $yourranking = MySQL_QUERY("SELECT COUNT(*) FROM flashscores WHERE game = ".$gameID." AND score > ".$yourhighscore.";") OR DIE(MySQL_ERROR());

if($ranking = mysql_fetch_row($yourranking))

{

$yourrank = $ranking[0]+1;

}else{

$yourrank = 1;

}

if($yourrank>5)

{

if($gameID < 9)

{

print("<TR style=\"background-color: #BBBBBB\"><TD>".$yourrank."</TD><TD WIDTH=75% align=center>".$CURUSER["username"]."</TD><TD><div style=\"text-align:right;width:100%;\">".$yourhighscore."</div></TD></TR>");

}else{

print("<TR style=\"background-color: #BBBBBB\"><TD>".$yourrank."</TD><TD WIDTH=75% align=center>".$CURUSER["username"]."</TD><TD>".$yourlevel."</TD><TD><div style=\"text-align:right;width:100%;\">".$yourhighscore."</div></TD></TR>");

}

}

}

print("</TABLE><P>");

}

$maxplayed = 0;

$userplayed = 0;

$result = MySQL_QUERY("SELECT * FROM flashscores GROUP BY user;");

while($flashuser = MySQL_FETCH_ARRAY($result))

{

  $totalresult = MySQL_QUERY("SELECT COUNT(*) FROM flashscores WHERE user = '".$flashuser["user"]."';");

  if($totaluser = MySQL_FETCH_ROW($totalresult))

  {

 if($totaluser[0]>$maxplayed)

 {

$userplayed = $flashuser["user"];

$maxplayed = $totaluser[0];

 }

}

}

$result = MySQL_QUERY("SELECT * FROM users WHERE id = ".$userplayed.";");

if($user = MySQL_FETCH_ARRAY($result))

{

$username = $user["username"];

}else{

$username = "Unknown?!";

}

  $yourtotalresult = MySQL_QUERY("SELECT COUNT(*) FROM flashscores WHERE user = '".$CURUSER["id"]."';");

  if($yourtotal = MySQL_FETCH_ROW($yourtotalresult))

  {

 $yourtotalgames = $yourtotal[0];

}else{

$yourtotalgames = 0;

}

$maxscore=0;

$maxscoreuser=0;

$result = MySQL_QUERY("SELECT * FROM flashscores GROUP BY user;");

while($check = MySQL_FETCH_ARRAY($result))

{

if($totalscore[$check["user"]]>$maxscore)

{

  $maxscore=$totalscore[$check["user"]];

  $maxscoreuser=$check["user"];

}

}

$result = MySQL_QUERY("SELECT * FROM users WHERE id = ".$maxscoreuser.";");

if($user = MySQL_FETCH_ARRAY($result))

{

$usernamescore = $user["username"];

}else{

$usernamescore = "Unknown?!";

}

$yourscore=$totalscore[$CURUSER["id"]];

?>

You Have Played <?=$yourtotalgames?> Games!<P>

Your Total Score are <?=$yourscore?>!<P>

<TABLE>

<TR><TD><B><CENTER>Most Bored Award</CENTER></B></TD><TD><B><CENTER>Highest Score Award</CENTER></B></TD></TR>

<TR><TD><CENTER><IMG SRC=images/board.png></CENTER></TD>

<TD><CENTER>You are the best, make your own cup Yourself...</CENTER></TD></TR>

<TR><TD><CENTER>Most Bored award goes to: <B><?=$username?></B><BR/>Avec <?=$maxplayed?> games played!<BR/><B>Congratulations!</B></CENTER></TD>

<TD><CENTER>The highest score award goes to:<B><?=$usernamescore?></B><BR/>With a score of <?=$maxscore?>!<BR/><B>Congratulations!</B/></CENTER></TD></TR>

</table>

</td></tr>

</table>

</form>

<br/>

<center><a href=arcade.php><h2>Return to Games Choice</h2></a></center>

</div>

<?

end_frame();

stdfoot();

?>



flashscores2.php

<?
require_once("backend/functions.php");

dbconn(false);

loggedinonly();

stdhead("TTClassic Flash scores - Stats");

begin_frame("Scores Stats");

?>

<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td class=text>

<div align=center><CENTER><I>STILL UNDER DEVELOPMENT</CENTER>

<?

$ID=0;

$result = MySQL_QUERY("SELECT * FROM flashscores GROUP BY user;");

while($populate = MySQL_FETCH_ARRAY($result))

{

$ID++;

if(!isset($gamesplayed[$ID]))

{

$gamesplayed[$ID]=0;

}

if(!isset($totalscore[$ID]))

{

$totalscore[$ID]=0;

}

if(!isset($megascore[$ID]))

{

$megascore[$ID]=0;

}

if(!isset($losspoints[$ID]))

{

$losspoints[$ID]=0;

}

if(!isset($averagerank[$ID]))

{

$averagerank[$ID]=0;

}

if(!isset($user[$populate["user"]]))

{

$user[$populate["user"]]=$ID;

}

if(!isset($IDofuser[$ID]))

{

$IDofuser[$ID]=$populate["user"];

}

}

$result = MySQL_QUERY("SELECT * FROM flashscores ORDER BY score DESC;");

while($scores = MySQL_FETCH_ARRAY($result))

{

$ranking = MySQL_QUERY("SELECT COUNT(*) FROM flashscores WHERE game = ".$scores["game"]." AND score > ".$scores["score"].";") OR DIE(MySQL_ERROR());

if($rankrow = mysql_fetch_row($ranking))

{

$rank = $rankrow[0]+1;

}else{

$rank = 1;

}

$losspoints[$user[$scores["user"]]]+=$rank;

if($rank<6)

{

$totalscore[$user[$scores["user"]]]+=(10-(($rank-1)*2));

}

$megascore[$user[$scores["user"]]]+=$scores["score"];

}

$result = MySQL_QUERY("SELECT * FROM flashscores GROUP BY user;");

while($scores = MySQL_FETCH_ARRAY($result))

{

$result2 = MySQL_QUERY("SELECT COUNT(*) FROM flashscores WHERE user = ".$scores["user"].";");

if($gamesamount = MYSQL_FETCH_ROW($result2))

{

$amountofgames = $gamesamount[0];

}

$gamesplayed[$user[$scores["user"]]]=$amountofgames;

}

arsort ($totalscore);

reset ($totalscore);

print("<TABLE><TR><TD COLSPAN=2><B><CENTER>Scores bas

board.png
board.png
Unknown User
2008-12-30 17:54:07
This Is The Same As The One I Got Here That Has A Few More Games, And The Stats Can Be Hacked, there no point in posting because i got about 200 games to add to this one
Unknown User
2008-12-30 18:26:55
"djhowarth, post: 50921":
This Is The Same As The One I Got Here That Has A Few More Games, And The Stats Can Be Hacked, there no point in posting because i got about 200 games to add to this one

This code is complete tho,  just lost the mostboardaward.php that reminds me to link the png.
Unknown User
2008-12-30 20:07:43
guys!!! i dont know were is the issue now!!.......djhowarths arcade mod looks like that ho doctor posted before, but in deep  dj s are different and easyest to  to set.

and also his games are foull screened, so i think is better. in my site my users are crazy about arcade games. so just if u can help him with bugs to complete it.

thnx!!!!
Unknown User
2008-12-30 20:32:30
the one dj posted is the same one that was on here with maybe a few changes, but it was mixing a fix that i could not remember where to find it because i can come to your casino and get the highscore on almost all of the games. if your memebers like games then send them to the site below in my sig lol so i can earn some money lol. if i find the fix i will let dj know but it has been a long time since i have messed with any of these files because i have found a somewhat better arcade system that i got working with torrent trader.
Unknown User
2008-12-30 20:55:43
Their Are A Variety Of Games,Arcades,Casino's That Can Be Made For TT

People Have Wrote Their Comments And I Know How To Fix The It Now. I Have Taken The Comments On Board What People Have Said And Instead Of This Mod Taking Me 2days It Will Take Me 2 Week..

Lets Say People Will Be [size=36px]SATISFIED[/size] Then
Unknown User
2008-12-31 12:44:20
UPDATE!

SEE SCREENSHOT!

I Will Have On My Website In 5Mins They All Call Back To The index.php to save score but i havent got tht far yet as im adding more games
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728