shrek1609 Posted March 24, 2008 Share Posted March 24, 2008 I've revamped the Game Stats page made it alot less cluttered and it now has the number of users in the last 15 minutes, 1 hour and 24 hours... Plus a record ever total of the previous 3... SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. REPLACE STATS.PHP WITH THIS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And enjoy :) Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted March 24, 2008 Share Posted March 24, 2008 Re: FREE V2 NEW GAME STATS PAGE Do you have a screenshot? Quote Link to comment Share on other sites More sharing options...
Fortitude Posted March 24, 2008 Share Posted March 24, 2008 Re: FREE V2 NEW GAME STATS PAGE Looks nice I like it thanks I did a few modifications to it. Quote Link to comment Share on other sites More sharing options...
shrek1609 Posted March 24, 2008 Author Share Posted March 24, 2008 Re: FREE V2 NEW GAME STATS PAGE Screen shot for you :-D Quote Link to comment Share on other sites More sharing options...
shrek1609 Posted March 24, 2008 Author Share Posted March 24, 2008 Re: FREE V2 NEW GAME STATS PAGE I've painted my game name out of the screenshot as not sure whether advertising your site in anyway is allowed on here ;) But coding puts your game name in automatically anyway ;) Its not a massive mod but is a much better game stats page than the mccodes default one ;) Quote Link to comment Share on other sites More sharing options...
-Matt- Posted March 24, 2008 Share Posted March 24, 2008 Re: FREE V2 NEW GAME STATS PAGE V1 Anyone i messed my conversion up :( Quote Link to comment Share on other sites More sharing options...
gawduranidiot Posted March 24, 2008 Share Posted March 24, 2008 Re: FREE V2 NEW GAME STATS PAGE here is V1... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
-Matt- Posted March 24, 2008 Share Posted March 24, 2008 Re: FREE V2 NEW GAME STATS PAGE End of the code is messed up. Quote Link to comment Share on other sites More sharing options...
gawduranidiot Posted March 25, 2008 Share Posted March 25, 2008 Re: FREE V2 NEW GAME STATS PAGE there it should be fixed now Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted March 25, 2008 Share Posted March 25, 2008 Re: FREE V2 NEW GAME STATS PAGE Looks nice. Great work Quote Link to comment Share on other sites More sharing options...
Evolution™ Posted March 28, 2008 Share Posted March 28, 2008 Re: FREE V2 NEW GAME STATS PAGE thanks, nice mod :-D Quote Link to comment Share on other sites More sharing options...
KDawg08 Posted March 29, 2008 Share Posted March 29, 2008 Re: FREE V2 NEW GAME STATS PAGE V1 version is completely messed up i'll fix that later and repost it... Examples: Amount of cash in banks: $0. The average player has in their bank accnt: $0. Amount of cash in circulation: $0. Amount of crystals in circulation: 0. The average player has: $0. The average player has: 0 crystals. There are currently 0 items in circulation. Quote Link to comment Share on other sites More sharing options...
KDawg08 Posted April 1, 2008 Share Posted April 1, 2008 Re: FREE V2 NEW GAME STATS PAGE As I promised. Here is the FIXED V1 version. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I just changed the fetch_row's to fetch_array's for v1. Edit = Changed it from a quote to code lol. CODE TESTED AND WORKING! Quote Link to comment Share on other sites More sharing options...
danger boy Posted April 8, 2008 Share Posted April 8, 2008 Re: FREE V2 NEW GAME STATS PAGE I've revamped the Game Stats page made it alot less cluttered and it now has the number of users in the last 15 minutes, 1 hour and 24 hours... Plus a record ever total of the previous 3... SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. REPLACE STATS.PHP WITH THIS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And enjoy :) the information is rong it says average player wid money in bank is 246464364 Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted April 20, 2008 Share Posted April 20, 2008 Re: FREE V2 NEW GAME STATS PAGE it works brill but i just get one eroor that is annoying me Warning: Division by zero in /home/textbase/public_html/stats.php on line 24 Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 20, 2008 Share Posted April 20, 2008 Re: FREE V2 NEW GAME STATS PAGE Warning: Division by zero in /home/textbase/public_html/stats.php on line 24 Not wishing to sound harsh, but RTFM, that is a 2 second fix. You should ALL be able to repair minor issues like this in your sleep. If you can't, then I seriously doubt you have the necessary skills to run a game. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted April 20, 2008 Share Posted April 20, 2008 Re: FREE V2 NEW GAME STATS PAGE Warning: Division by zero in /home/textbase/public_html/stats.php on line 24 Not wishing to sound harsh, but RTFM, that is a 2 second fix. You should ALL be able to repair minor issues like this in your sleep. If you can't, then I seriously doubt you have the necessary skills to run a game. not sounding harsh if ya not going to help i dont think you shud be a global mod if you wont help and basically you are spamming Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 20, 2008 Share Posted April 20, 2008 Re: FREE V2 NEW GAME STATS PAGE not sounding harsh if ya not going to help i dont think you shud be a global mod if you wont help and basically you are spamming What is the point of just say "Error on line #", I've looked, and I don't appear to have crystal balls. I have no idea what "code" you have. Looking over your posts, you are guilty of this simple thing in several locations. We can't help you unless you give us a little bit of a clue - so please post the code *then* you may get a more helpful answer. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted April 23, 2008 Share Posted April 23, 2008 Re: FREE V2 NEW GAME STATS PAGE here is the line soz abothe longness $avgb=(int) ($totalb/$banks); Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted April 23, 2008 Share Posted April 23, 2008 Re: FREE V2 NEW GAME STATS PAGE Well obviously a divide by zero error means that $banks is zero. You should *always* check all divisions for this issue, in this case a simple one-line solution presents itself. Quote Link to comment Share on other sites More sharing options...
Akash Posted April 23, 2008 Share Posted April 23, 2008 Re: FREE V2 NEW GAME STATS PAGE Ok...I assume you know what division by zero mean? :lol: Well incase you don't then obviously, you're not fit to run a game. I had this same problem and the fix is simple. Just make sure user id 1 has a bank account...the reason it's division by 0, is because you're dividing by the amount of bank accounts, which is 0 in the game. It worked for me...no need to edit the code Quote Link to comment Share on other sites More sharing options...
Mark F Posted July 21, 2008 Share Posted July 21, 2008 Re: FREE V2 NEW GAME STATS PAGE Good mod, though I am going to change it a bit. Quote Link to comment Share on other sites More sharing options...
Percy1986 Posted July 26, 2008 Share Posted July 26, 2008 Re: FREE V2 NEW GAME STATS PAGE could someone help me, i ave done everything that it said but the record fields dont show. any ideas? Quote Link to comment Share on other sites More sharing options...
KingRise Posted July 29, 2008 Share Posted July 29, 2008 Re: FREE V2 NEW GAME STATS PAGE Nice Mod :-D and thanks for sorting out the problem akash....it was annoying me too Quote Link to comment Share on other sites More sharing options...
Dylan Posted August 8, 2008 Share Posted August 8, 2008 Re: FREE V2 NEW GAME STATS PAGE Very nice it's being added to my game :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.