TribesNext

Welcome, Guest. Please login or register.
Did you miss your activation email?


TribesNext >  TribesNext.com Forums >  Support >  Server List via Web « previous next »
Pages: [1] 2 3 Print
Author Topic: Server List via Web
notman
Señor Nugget
Posts: 129

View Profile
January 19, 2009, 09:22:19 AM »
I'm not sure if I should have this here, or in the general section, so feel free to move it if you want Smiley

Anyway, I'm curious if it's possible to get the server list via the web, and how to go about it (what tables/columns to get if it's a database). I want to write up a PHP script to do this for my site, so people can check the status our server (without loading the game). I know you could do this with the old main servers with a gameserver query package, but I don't recall what it was and I have no clue if it would be adaptable for Tribesnext.

Thanks
Threatcon
Nugget³

Posts: 91

View Profile WWW
1: January 19, 2009, 09:38:47 AM »
Something like this...
http://www.maxogc.net/tribes/t2/index.php?server=208.101.53.90:27001

You can add the code to your site in an iframe or via popup.  Obviously change the ip and port to match your servers.

iframe
Code:
<IFRAME src="http://www.maxogc.net/tribes/t2/index.php?server=208.101.53.90:27001
" scrolling="auto" width="700" height="520" frameborder="0"></IFRAME>

Popup
Code:
<a href="#" title="Your servers Name Here" onclick="MyWindow=window.open('http://www.maxogc.net/tribes/t2/index.php?server=208.101.53.90:27001','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=700,height=520'); return false;">Your servers Name Here</a>
« Last Edit: January 26, 2009, 08:18:28 PM by Threatcon »

notman
Señor Nugget
Posts: 129

View Profile
2: January 19, 2009, 01:37:31 PM »
That'll work too, but I'd love to see a list of servers, in case other TAC servers appear. The link you've provided will at least help tell what that status of our paid server is, so thanks for a starting point Smiley
Eolk
Global Moderator
Posts: 838

View Profile
3: January 19, 2009, 02:55:43 PM »
http://master.tribesnext.com/list/
Threatcon
Nugget³

Posts: 91

View Profile WWW
4: January 19, 2009, 05:06:06 PM »
Is this the actual list that the TribesNext master server uses?  I can put something together in a few so it displays via a webpage and toss the graphics in tomorrow.

Shizuka
Assault

Posts: 545

View Profile
5: January 19, 2009, 05:08:47 PM »
Yeah as far as I can tell, that is exactly what the master server sends to the client.

Can't wait to see what you can do with it, I love the Tribes 1 list you posted

The above is Shizuka Kamishima.
Why not?
Threatcon
Nugget³

Posts: 91

View Profile WWW
6: January 19, 2009, 08:05:33 PM »
Here is a down and dirty version with the MaxOGC template for now.
http://www.maxogc.net/tribes/t2/max_t2_master.php


It takes about 20 - 30 seconds for it to query all the servers and load the page.  I'll work on mimicking the in game browser later this week when I have time and cut down on the load times of the page.   Cool

**EDIT on 26 Jan 09
See my sig for an updated link
« Last Edit: January 26, 2009, 07:59:22 PM by Threatcon »

notman
Señor Nugget
Posts: 129

View Profile
7: January 20, 2009, 06:10:37 AM »
Any way of getting your code once you're done? Wink (I'd like to see how you're handling it, then make my own adaptation on my site) I'm not looking to steal any code. I'm just hoping you might save me some time, which I don't have much of these days Sad
Threatcon
Nugget³

Posts: 91

View Profile WWW
8: January 20, 2009, 06:52:27 AM »
I'm just hoping you might save me some time, which I don't have much of these days Sad

Time LOL,  What is that??  My wife and I are expecting twins very soon, my son turned 3 today and I have a full time job in the US military.  Time  LOL!  Again I ask, what is that!

I created the above page last night in about 30 minutes, but those 30 minutes came in borrowed time in 5 minute incraments over a 4 hour time frame.

I love my family to death and will do anything for them, but holy smokes they are demanding!  LOL

Shizuka
Assault

Posts: 545

View Profile
9: January 20, 2009, 07:19:16 AM »
Think we all know how that goes Tongue

The above is Shizuka Kamishima.
Why not?
notman
Señor Nugget
Posts: 129

View Profile
10: January 20, 2009, 10:09:00 AM »
I love my family to death and will do anything for them, but holy smokes they are demanding!  LOL

lol, I hear ya. Congrats on the upcoming twins btw. I have two daughters, and the demanding wife Wink My job is an hour from home and I'm at work 11 hours every day... so basically I lose 13 hours to work every day. Not trying to compete... just pointing out where my time goes Wink
Anyway, I'm REALLY rusty on PHP right now, and I'm also not sure how to parse the info I get from the server (is it a database, array, or a string?). So, I'd mainly like to see that part of it Wink
Threatcon
Nugget³

Posts: 91

View Profile WWW
11: January 22, 2009, 06:20:22 AM »
If anybody can find or extract the cursor icons from T2 and post them I would appreciate it very much.  I almost have the T2 Master List complete.  Just the icons and a few graphics are needed.

Thank you.

notman
Señor Nugget
Posts: 129

View Profile
12: January 22, 2009, 07:08:53 AM »
I'll trade you some icons for some code Wink

What icons are you looking for? The logo/game icon? Or stuff from in game?

If you just want the small game logo, I found it on google:

« Last Edit: January 22, 2009, 07:11:50 AM by notman »
Threatcon
Nugget³

Posts: 91

View Profile WWW
13: January 22, 2009, 08:36:30 AM »
No the cursor icons, mouse type.  Appreciate the thought though  Smiley

**EDIT
I've been looking for XP theme packs with the cursor icons and can't find anything.  I know they are in one of the vl2 files somewhere, but haven't located them yet.
« Last Edit: January 22, 2009, 08:38:12 AM by Threatcon »

Turkeh
nil

Posts: 458

View Profile
14: January 22, 2009, 08:55:08 AM »
textures.vl2, under the gui subfolder, look for anything named CUR_3d*.png... Those are the cursors.

Read the FAQs!

Search before posting support requests.
Pages: [1] 2 3 Print 
« previous next »
Jump to:  

irc.quakenet.org / #TribesNext Powered by SMF  © Simple Machines
anything