Author Topic: php serverlist  (Read 5461 times)

Smokey

  • Autococker
  • Posts: 1172
php serverlist
« on: September 17, 2006, 04:41:02 AM »
http://pwndlol.dajoob.com/servers.php


Kinda neat, loads REALLY slowly though, due to having to contact each server for its hostname and client count.

I still need to figure out how to get the amount of people in the server.


Edit: dosent always go slow!

loial21

  • Autococker
  • Posts: 2807
Re: php serverlist
« Reply #1 on: September 17, 2006, 06:08:20 AM »
Quote
loads REALLY slowly though
2-3 minutes with cable modem. He is not joking folks.


Commendable job. Is it possible to move the 'players in server' to the first page and make all categories sortable?

I wish a soon to come official release from Jitspoe will address this.

How long did it take you?


bitmate

  • Autococker
  • Posts: 1248
Re: php serverlist
« Reply #2 on: September 17, 2006, 06:09:14 AM »
That's pretty sweet, but maybe you can add a cool layout. The white page doesn't look that nice ;)

Quote
loads REALLY slowly though
2-3 minutes with cable modem. He is not joking folks.
More like 2 secs for me :)

loial21

  • Autococker
  • Posts: 2807
Re: php serverlist
« Reply #3 on: September 17, 2006, 06:17:12 AM »
Bit a custom layout would be nice. White does lack something appealing. But he needs to focus on functionality first.   

To All and Smokey,
Once the page loads do not close it. If you simply refresh  the page it loads with out delay. Any ideas why? Hope that helps with fixing the initial load time it sucked for me. 


bitmate

  • Autococker
  • Posts: 1248
Re: php serverlist
« Reply #4 on: September 17, 2006, 07:08:44 AM »
Once the page loads do not close it. If you simply refresh  the page it loads with out delay. Any ideas why? Hope that helps with fixing the initial load time it sucked for me.
It's auto-refreshing for me, at least the server status pages are auto-refreshing.


**edit: The main page does not auto-refresh, so when anyone is joining an empty server, it's still displayed as empty.

Smokey

  • Autococker
  • Posts: 1172
Re: php serverlist
« Reply #5 on: September 17, 2006, 09:38:18 AM »
Quote
loads REALLY slowly though
2-3 minutes with cable modem. He is not joking folks.


Commendable job. Is it possible to move the 'players in server' to the first page and make all categories sortable?

I wish a soon to come official release from Jitspoe will address this.

How long did it take you?


iv had the php server info script for map, players and such already, just did a hour of modifications :D

That's pretty sweet, but maybe you can add a cool layout. The white page doesn't look that nice ;)

Quote
loads REALLY slowly though
2-3 minutes with cable modem. He is not joking folks.
More like 2 secs for me :)

Maybe, id have to fix alot of bugs first


Only reason for slow loading speed is the webserver its on, check the timer at the bottom. Its a crud webserver because arena-zone.com disallows sockets.

Maybe i could store all hostnames in a mysql database or a text file even, just to help with speed.

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: php serverlist
« Reply #6 on: September 17, 2006, 10:26:20 AM »
Quote
Only reason for slow loading speed is the webserver its on, check the timer at the bottom. Its a crud webserver because arena-zone.com disallows sockets.

That's the issue there.  Use sockets and the problem will go away. Time for a new host.

Smokey

  • Autococker
  • Posts: 1172
Re: php serverlist
« Reply #7 on: September 17, 2006, 10:29:20 AM »
Quote
Only reason for slow loading speed is the webserver its on, check the timer at the bottom. Its a crud webserver because arena-zone.com disallows sockets.

That's the issue there.  Use sockets and the problem will go away. Time for a new host.
i am using sockets.

im only using dajoob because it supports sockets and is free.

Cobo

  • Autococker
  • Posts: 1362
Re: php serverlist
« Reply #8 on: September 17, 2006, 02:28:15 PM »
Looks like there is a problem there.
Quote
MeMi Pub 1 www.memi-clan.de
217.20.118.15:33333
Map: airtime
Scores: Red:31 Blue:34
Location: Frankfurt, Germany
Admin: M&M, Pureblood
Server Version: 2.00 i386 Feb 28 2006 Linux
Time Left: ÿÿÿÿprint

Oh, and btw. Very nice ;)

TinMan

  • Autococker
  • Posts: 1347
Re: php serverlist
« Reply #9 on: September 17, 2006, 02:47:58 PM »
Quote
This page created in 122.794294 seconds
I love it.

Smokey

  • Autococker
  • Posts: 1172
Re: php serverlist
« Reply #10 on: September 17, 2006, 02:52:03 PM »
Looks like there is a problem there.
Quote
MeMi Pub 1 www.memi-clan.de
217.20.118.15:33333
Map: airtime
Scores: Red:31 Blue:34
Location: Frankfurt, Germany
Admin: M&M, Pureblood
Server Version: 2.00 i386 Feb 28 2006 Linux
Time Left: ÿÿÿÿprint

Oh, and btw. Very nice ;)
its an older server build, worthless i know.


Quote
This page created in 122.794294 seconds
I love it.

got hosting?

SkateR

  • Autococker
  • Posts: 1173
Re: php serverlist
« Reply #11 on: September 17, 2006, 02:52:23 PM »
HEY I can actually see GT servers!

TinMan

  • Autococker
  • Posts: 1347
Re: php serverlist
« Reply #12 on: September 17, 2006, 03:03:02 PM »
Smokey, yeah, it's not great, but its better than that is, send me teh phpsourzeorz.

b00nlander

  • Autococker
  • Posts: 784
Re: php serverlist
« Reply #13 on: September 17, 2006, 03:28:04 PM »
its an older server build, worthless i know.

why not catch both versions?  The old servers have the "TimeElapsed", the newer the "TimeLeft" Variable ^^ it only takes an if... ;)

Smokey

  • Autococker
  • Posts: 1172
Re: php serverlist
« Reply #14 on: September 17, 2006, 03:42:14 PM »
its an older server build, worthless i know.

why not catch both versions?  The old servers have the "TimeElapsed", the newer the "TimeLeft" Variable ^^ it only takes an if... ;)
waste of my time because then i have to create a function to get the true timeelapsed, just update memi servers please :)


b00nlander

  • Autococker
  • Posts: 784
Re: php serverlist
« Reply #15 on: September 17, 2006, 03:45:04 PM »
as soon as build17 is out, I will

Smokey

  • Autococker
  • Posts: 1172
Re: php serverlist
« Reply #16 on: September 17, 2006, 04:17:33 PM »
::)

loial21

  • Autococker
  • Posts: 2807
Re: php serverlist
« Reply #17 on: September 17, 2006, 09:14:43 PM »
its an older server build, worthless i know.

why not catch both versions?  The old servers have the "TimeElapsed", the newer the "TimeLeft" Variable ^^ it only takes an if... ;)
waste of my time because then i have to create a function to get the true timeelapsed, just update memi servers please :)


You now sound like Jitspoe. :(

Eiii

  • Autococker
  • Posts: 4595
Re: php serverlist
« Reply #18 on: September 17, 2006, 09:45:55 PM »
Oh no, updating servers! Scary!

loial21

  • Autococker
  • Posts: 2807
Re: php serverlist
« Reply #19 on: September 17, 2006, 10:25:03 PM »
No its not. "It's exciting and new. Come aboard, we're expecting you!" -Jack Jones