IPB

Welcome Guest ( Log In | Register )

2 Pages < 1 2 

Outline · [ Standard ] · Linear+

 Download Page, Ideas and skin upkeep

TheBeast
post Jul 19 2004, 08:21 PM
Post #16


Master


Group: -=RJ=-Clan
Posts: 444
Joined: 18-June 03
From: Quebec...woohoo !!!
Member No.: 12



The only thing wrong with the 'server stats' page is that Liz was lazy in writing his code...smile.gif

A 'normal' server (well like the one we had up until now), usually have bot on... so the script has 'players' to list... but in the case of a Duel server, that has no bots and no players most of the time... the script gives off an error because the 'array' that is supposed to 'contain' the play name, pings and so on is empty (no palyer = empty array). So when the script is prosessing this array's information... it can't because there are none.

OK, long explanation, just to say that something like this would do the trick

CODE
if ($player_number > 0) {
     // list players
}else{
    // say there is no one on the server
}


- Beast


--------------------
"Separately, woman and alcohol can be quite fun... but when you mix them, they can make you a dumbass"

- Red, That's 70's Show :)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JayBaen
post Aug 3 2004, 07:11 AM
Post #17


Lord


Group: Admin
Posts: 1,073
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



Right ...

Sooooo, if we can get Liz out of the world of SuperHeroes long enough to poke his head around at (what's mounting to be more than) a few things, we'll straighten this out.

JB


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tyrannus
post Aug 3 2004, 05:16 PM
Post #18


Master


Group: -=RJ=-Clan
Posts: 402
Joined: 14-June 03
From: Neverland Ranch
Member No.: 4



Wait a second.. let's get the important stuff out of the way:

Liz plays City of Heroes?? blink.gif Since when?


--------------------
user posted imageuser posted imageuser posted image
Tyrannus - Master of wit, and quite deadly with a saber. Truly a wonder.. or so the "Legend" goes..
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Kyzene
post Aug 3 2004, 05:36 PM
Post #19


Master


Group: -=RJ=-Clan
Posts: 498
Joined: 18-June 03
Member No.: 13



WHO WOULDN'T PLAY CITY OF HEROES IF THEY GOT IT?! blink.gif


Ky


--------------------
There is no such thing as luck, only mistakes and the people that take advantage of them.

Play Wild Jedi CTF in JA.
Visit Chop Shop for crazy CTF action.
Become a Pastafarian.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
*HAMSTAR*
post Aug 3 2004, 06:43 PM
Post #20


Master


Group: -=RJ=-Clan
Posts: 456
Joined: 20-August 03
From: Kashyyyk
Member No.: 49



Me.


--------------------
user posted image
<<~**/-/amstaR**~>>
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Kyzene
post Aug 3 2004, 07:58 PM
Post #21


Master


Group: -=RJ=-Clan
Posts: 498
Joined: 18-June 03
Member No.: 13



.......thats becuase .....youre you


Ky


--------------------
There is no such thing as luck, only mistakes and the people that take advantage of them.

Play Wild Jedi CTF in JA.
Visit Chop Shop for crazy CTF action.
Become a Pastafarian.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

2 Pages < 1 2
Topic Options
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Lo-Fi Version Time is now: 28th March 2024 - 02:20 PM