Author Topic: ASE Soldat Lobby  (Read 9793 times)

0 Members and 1 Guest are viewing this topic.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
ASE Soldat Lobby
« on: September 14, 2006, 05:46:20 am »
Hey,
I didn't like the way game-monitor doesn't have a working players list, so I decided to put together a script.
I have had it for quite a while, but having lots of issues with old webhost and how they don't know **** about cron jobs. So I finally got it going with my new freehost.

It's functions are Extremely basic, basically every 6 hours parse soldat lobbies, add ip's to database, then retrieve info from servers every 15 - 30mins depending on activity on server. Theres a few more little things it does, like how it deletes inactive servers after a while and how it can be used as a backup lobby as it won't delete any servers IF both lobbies are down.

Things I Want To Add
A Filter to Searches
And also hoping to get a geoIP database running, so it can tell you in which country the server is being hosted.
And ability to refresh specific server.

http://www.tumler.bendaweb.com/lobby/
Hope it helps someone

^^Old Post^^


Proud to present the ASE Soldat Lobby

A site which allows you to view server information by:
  • Mode
  • Players
  • Country
  • Details (Bonus, Realistic, Nextmap, Time Left)

ASE Soldat Lobby

Sort by Gamemode (CTF,HTF,INF... etc)
http://www.tumler.bendaweb.com/lobby/mode/CTF/  --Shows all CTF servers

Sort by Country (Lots of em....)
http://www.tumler.bendaweb.com/lobby/country/au/  --Shows all aussie servers

Can add both
http://www.tumler.bendaweb.com/lobby/?country=us&mode=ctf  --Show all american CTF servers

Can Search for servers & player names, realistic & advance modes

--------Stats
Overall Stats
http://www.tumler.namepad.net/lobby/stats/
Consist of:
« Last Edit: February 21, 2007, 08:26:08 pm by Frenchie »
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Game-Monitor Tag
« Reply #1 on: September 14, 2006, 08:10:34 am »
Very nice.  I was hoping to work on a project like this before I saw game-monitor, and I also was discouraged by the fact that they're doing something wrong in their parsing of the ASE packet with player info.

One thing I would suggest is making use of the GD2 library for php so that you can make graphs of server activity, hopefully better than the crap that Game-Monitor has.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Game-Monitor Tag
« Reply #2 on: September 14, 2006, 08:18:55 am »
very nice, but please for the love of god, change the template!

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #3 on: September 14, 2006, 03:34:14 pm »
Thanks,

Flies: Yeah I will look into gd2
Enesce: I will also look into getting a new template

I won't be able to do any work on it over the weekend but I'll start when I'm back.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: Game-Monitor Tag
« Reply #4 on: September 14, 2006, 04:51:20 pm »
Very nice work!

New template would rock, but the current one is not THAT horrible. :P
Fight! Win! Prevail!

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: Game-Monitor Tag
« Reply #5 on: September 16, 2006, 12:12:56 pm »
It timesout on me!

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Game-Monitor Tag
« Reply #6 on: September 16, 2006, 12:21:41 pm »
There are other worlds than these

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Game-Monitor Tag
« Reply #7 on: September 16, 2006, 01:06:28 pm »
It has been working earlier for me, but now it's timeouting on me as well.


Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: Game-Monitor Tag
« Reply #9 on: September 17, 2006, 06:00:23 am »
Seems to be up again. Only problem is that the list is 100% empty atm. :(
Fight! Win! Prevail!

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #10 on: September 17, 2006, 06:04:55 am »
Back, I might do some more work on it tomorrow

Update-
Got Country Flags Up

Seems to be up again. Only problem is that the list is 100% empty atm. :(
Wow thats unlucky LOL, I just emptied the list to get the script to load the flags.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Game-Monitor Tag
« Reply #11 on: September 17, 2006, 07:16:55 am »
Lookin' good. Maybe add some search filters, player search and such then it will be uber 1337.

Offline m00`

  • Soldier
  • **
  • Posts: 169
  • hai guys
Re: Game-Monitor Tag
« Reply #12 on: September 17, 2006, 07:24:45 am »
mabe make it possible to sort the list by name, players etc?
cool

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #13 on: September 17, 2006, 03:03:18 pm »
Lookin' good. Maybe add some search filters, player search and such then it will be uber 1337.

Quote from: m00'
mabe make it possible to sort the list by name, players etc?
Yeah, I will try to get some of that in today, btw player search has been in it ever since it has been online

--Edit
-There was a bug in the update script with not being able to recognise servers with survival on - fixed
-Added filters, (realistic/survival & gamemodes)
-Ability to click flags (shows servers in specific country)
« Last Edit: September 17, 2006, 06:39:09 pm by Frenchie »
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Game-Monitor Tag
« Reply #14 on: September 17, 2006, 11:44:40 pm »
Whoa, getting nice already! But...

Maybe add some search filters, player search and such then it will be uber 1337.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #15 on: September 17, 2006, 11:57:16 pm »
Whoa, getting nice already! But...

Maybe add some search filters, player search and such then it will be uber 1337.

Thanks,
but I don't quite understand what kind of search filters do you guys want, theres already player search, realistic/survival and gamemode searching
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Game-Monitor Tag
« Reply #16 on: September 18, 2006, 12:21:38 am »
IP/Server name search is what I most commonly use.

EDIT: On the <img> tags you are using for the flags, add "border=0"

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #17 on: September 18, 2006, 12:47:35 am »
IP/Server name search is what I most commonly use.

EDIT: On the <img> tags you are using for the flags, add "border=0"

Mmm... might add ip searching.

Yeah I didn't realise those flags had a border on it till I got on internet explorer, I let css take care of that.

-Fixed online server page (before it was showing many more offline servers in the list, and now doesn't show servers with no name)
-Fixed searching, only searches online servers now
-Fixed time showing last update of server
-Updates more regular (10 - 15 mins if atleast quarter full, or 25 mins for everything else)

« Last Edit: September 18, 2006, 01:04:23 am by Frenchie »
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Game-Monitor Tag
« Reply #18 on: September 18, 2006, 08:15:46 am »
The page would look a ton better if the background of the page was not white.  I would suggest a color slightly darker than the rollover color for the list

also: the page for each server should have everything centered, not just the top box
- there should be a clickable join link in the main list and on each server page
« Last Edit: September 18, 2006, 08:19:52 am by FliesLikeABrick »

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #19 on: September 27, 2006, 03:50:46 am »
I worked on it a bit today

-Fixed/cleaned lots of code
-Fixed lobby parser script
-Made better template (based alot off how konqueror was viewing site, including form, font, table colour and fixed centering problems)
-Can now join server (in server list click the number of server, if in server details click the name of it.)

looks good in Konqueror, Firefox & IE

-Wanting to add a script which will remove the number of bots from player count, as atm theres zombie servers at the top of the list.

Date Posted: September 19, 2006, 11:28:51 AM
One thing I would suggest is making use of the GD2 library for php so that you can make graphs of server activity, hopefully better than the crap that Game-Monitor has.

I'm just wondering Flies how could I make it better?
Would I keep it as a line graph/or make bar graph?

mmm... cant think of anything else a graph would need to do (besides show server usage)
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Game-Monitor Tag
« Reply #20 on: September 29, 2006, 01:37:24 pm »
Ah, beat me to it. Good job, looks nice.

Offline Rahaiz

  • Major(1)
  • Posts: 33
  • fr0g| Rahaiz
    • The Active French Community
Re: Game-Monitor Tag
« Reply #21 on: October 09, 2006, 01:54:42 pm »
Nice work.

It misses some Death and Cap scores in the server information though.
Rahaiz // Raezzt
French Community Administrator and Team France Leader.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #22 on: January 10, 2007, 12:31:10 am »
Yeah thats because the ASE protocol doesn't give out the Death and Cap scores though  :-

BTW thanks to all who posted  :)

Date Posted: October 10, 2006, 06:22:50 AM
After checking the stats of the site out, I found that it varied greatly some days and many visitors coming from google came in at very random times.  :-

So basically today I did quite a few updates, but the main ones people will notice are

-- All the links on the pages are made more search engine and user 'friendly'
-- And I added map preview of servers.
ATM there aren't alot of map previews, but I'll add some more tonight.


There are a few things I'm thinking of adding and 1 of them is ranking of servers.
If anyone knows what would be a good way of giving points to servers, please post. What I'm thinking is everytime a server is updated, give it a point and add a point for each player in it.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline The Bone Collector

  • Veteran
  • *****
  • Posts: 1126
  • I'm so sexy.
    • Daniel Rutter Films
Re: Game-Monitor Tag
« Reply #23 on: January 10, 2007, 05:19:53 am »
Is there anyway you could program it so that you can sort the list by clicking the column (like Name, Mode, Country, or Map)
That would be really handy ;)
Just another soul to burn.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #24 on: January 10, 2007, 06:05:17 am »
That was on my to-do list, but since it's been asked for again, I just added it.  :)

Anyone else got any ideas for features or the ranking feature?
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline The Bone Collector

  • Veteran
  • *****
  • Posts: 1126
  • I'm so sexy.
    • Daniel Rutter Films
Re: Game-Monitor Tag
« Reply #25 on: January 10, 2007, 06:22:03 am »
I don't suppose a global "stats" counter (from all servers) is possible is it?....I guess that would be more of a pain in the ass.
hmm.
Just another soul to burn.

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #26 on: January 10, 2007, 06:28:16 am »
Global stats counter? I don't know what you mean..

If you were referring to the ranking feature, that will be used to rank servers on reliability and popularity.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline The Bone Collector

  • Veteran
  • *****
  • Posts: 1126
  • I'm so sexy.
    • Daniel Rutter Films
Re: Game-Monitor Tag
« Reply #27 on: January 10, 2007, 07:54:23 am »
Stats...like the U13 stats and stuff. Maybe count all of them and combine them as one.
Sounds complex just saying it...so it's prolly useless...and it'd be wh0red.
Just another soul to burn.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Game-Monitor Tag
« Reply #28 on: January 10, 2007, 07:59:35 am »
That isn't really possible unless he queried the servers very often.  Even then, I'm not sure how feasible it is

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Game-Monitor Tag
« Reply #29 on: January 10, 2007, 08:01:41 am »
That could be done, but I (Like many other server admins) would not want to have my server being queried constantly just to get player's kills, causes nothing bug lag and excess bandwidth.

Offline mxyzptlk

  • Veteran
  • *****
  • Posts: 1493
  • The Panda Ninja
Re: Game-Monitor Tag
« Reply #30 on: January 10, 2007, 11:01:20 pm »
A welcome feature, if you feel like doing it, is monitoring ping spikes. This could be useful.

"While preceding your entrance with a grenade is a good tactic in
Quake, it can lead to problems if attempted at work." -- C Hacking

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Game-Monitor Tag
« Reply #31 on: February 10, 2007, 07:01:14 am »
@Bone Collector: Thanks for putting ideas outthere, but I won't be ading stats to lobby.

@mxyzptlk:Don't really understand why you would want to monitor ping spikes as they happen quickly and usually without notice then. Anyway I'd probably have to query servers quite often and as EnEsCe posted, I would rather not bother with that.

ATM I'm looking into ranking and graphing server usage/activity.

Date Posted: January 11, 2007, 02:23:27 PM
Did some work on it.
And added map stats and gamemode stats. (Maps on servers and how many players on them)
Can prove quite useful for those interested in starting their own server and wondering what maps are popular and which aren't. Or those trying to find maps people like but are not quite known.

For eg. ATM ctf_Laos seems to be the most widespread map.. with 17 servers using it, but it's not the most popular with only 15 players. While ctf_ash has 16 servers with it and 42 players.

Stats here: http://www.tumler.namepad.net/lobby/stats/
Will update first post.

BTW not 56k friendly. Anyone who could give me advice or know how into caching images better? or properly? would be greatly appreciated :)
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline User No. 2

  • Major
  • *
  • Posts: 81
  • IT engineer
Re: ASE Soldat Lobby
« Reply #32 on: April 09, 2007, 05:34:58 am »
Usefull project. It would be nice if you can store in your database for while players nicks which are (or was) on-line for example for a week or a month or even (if you are warried of you database size) not limited with any time, but limited with some number of records in your database (for example last 3000 - 10000 nicks seen online etc.) Then you could add seen option - lobby user type nick and receive from lobby time when somebody with this nick was seen on-line (+ info on which server that nick was seen). It could be usefull, but of course it require some extra database space, but you can strictly set how much database space you want give for it with metods which I mention above.
« Last Edit: April 09, 2007, 05:49:36 am by User No. 2 »
Regards, User No. 2

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: ASE Soldat Lobby
« Reply #33 on: April 09, 2007, 08:35:25 am »
The new lobby being used in 1.4 should have some new features like the ones Frenchie has here/is adding, and should also make it easier for him to do things without compulsively querying servers.

User No 2, I mention that because keeping track of where people are would again require querying the servers often, though not as often as some of the things suggested here

Offline HEX

  • Major
  • *
  • Posts: 77
  • =tNt=
    • SoldatX Brazilian Community
Re: ASE Soldat Lobby
« Reply #34 on: April 10, 2007, 03:49:15 pm »
Whoa, awesome.



Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: ASE Soldat Lobby
« Reply #35 on: April 12, 2007, 03:50:33 am »
Thanks for nice comments

lobby user type nick and receive from lobby time when somebody with this nick was seen on-line (+ info on which server that nick was seen). It could be usefull, but of course it require some extra database space,
Thats a pretty decent idea. I'll keep it in mind when I get the time to update it.  :)

Quote
User No 2, I mention that because keeping track of where people are would again require querying the servers often, though not as often as some of the things suggested here
Mmm.. wild guess that the new lobby will have a playerlist...

-If anyone has anymore unique ideas/contributions to be made to ASE Soldat Lobby, do please tell


-------
I have been abit busy with some other things but I hope to get time into updating some of my scripts soon.
-BTW for those interested in my development of SOAP (Soldat Online Admin Program) I have re-written the whole backend, which has allowed a few more options to be later added in the final release AND a much faster execution time.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: ASE Soldat Lobby
« Reply #36 on: April 18, 2007, 02:07:07 pm »
Yes, I'd say wait for the new lobby to be finished and 1.4 to be out before you add any features to this that could cause a large number of ASE queries to servers (like polling to keep track of who is there, etc)

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: ASE Soldat Lobby
« Reply #37 on: April 20, 2007, 01:08:51 am »
Ill just keep it as is until the new lobby comes out.

BTW atm it does keep a small players database for the last 15 mins. So you can search for friends if they were playing in the server within 15 mins when it updated.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!