New server browser for the web

General Stuff about Armagetron, That doesn't belong anywhere else...
Post Reply
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

New server browser for the web

Post by dlh »

I've created a new server browser, mostly because I want to connect to games from my web-browser.

Currently, only Armagetron on Mac OS X has full support for the armagetronad:// URI protocol. If you use Mac OS X, you can grab the latest 0.3 alpha build from aabeta.

I've created a browser for the Ladle servers. I have a version that queries the master servers, but i will not be hosting a public version until I add a feature to cache the data on the server, and not query servers on-demand.

Get the code for it at launchpad.
Last edited by dlh on Thu Jul 02, 2009 1:47 am, edited 1 time in total.
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6712
Joined: Thu Dec 18, 2003 7:03 pm

Re: New server browser for the web

Post by Tank Program »

That looks pretty awesome.
Image
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1975
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: New server browser for the web

Post by kyle »

It looks nice and clean but what about adding the custom connect detail in it with the link to connect to server.
something like "Connect to server (ip:port)"
Image
Flex
Round Winner
Posts: 233
Joined: Fri Mar 16, 2007 7:44 pm

Re: New server browser for the web

Post by Flex »

Looks simple, works really well. Nice job. I'm using it now.
User avatar
hoop
Round Winner
Posts: 201
Joined: Tue Jul 24, 2007 7:45 am
Contact:

Re: New server browser for the web

Post by hoop »

very nice freak ill
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: New server browser for the web

Post by dlh »

Some updates:
  • Using a modified ArmaUnified style
  • Empty servers are hidden by default. There is a box you click to show/hide the empty servers
Online demo still at http://generalconsumption.org/armagetronad/ladle. This demo has empty servers visible by default since there are so few servers on the list.
User avatar
sinewav
Graphic Artist
Posts: 6488
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: New server browser for the web

Post by sinewav »

like, wow man, wow. :)
User avatar
2020
Outside Corner Grinder
Posts: 1322
Joined: Thu Dec 29, 2005 9:21 pm
Location: the present, finally

Re: New server browser for the web

Post by 2020 »

simple :)
hold the line
User avatar
-=VcL.Rajinn
Round Winner
Posts: 242
Joined: Fri Aug 29, 2008 9:35 pm

Re: New server browser for the web

Post by -=VcL.Rajinn »

Looks great.

For those of you with 0.3.0 and Firefox, to connect to a server, do the following:

Copy and Paste:

Code: Select all

javascript:navigator.registerProtocolHandler('armagetronad','http://support.mozilla.com/value=%s','armagetronad');
# After you paste the code into the Location bar, press Enter. Firefox's information bar will appear, asking Add programName (support.mozilla.com) as an application for protocolName links?
# Click on Add Application on the Information bar.
Image

Next, associate a program with the protocol:

Go to the server browser and click connect to server.

When you click on the link now, the Launch Application window will appear instead of the error message.
# In the Launch Application window, click to select Choose an Application and then click on Choose....
# Use the open file window to select the program you want to run.

Navigate to C:\Program Files\Armagetron Advanced and select armagetronad.exe.


Have fun ;)
Image
Flex
Round Winner
Posts: 233
Joined: Fri Mar 16, 2007 7:44 pm

Re: New server browser for the web

Post by Flex »

dlh, I was wondering if in your next reversion you could include a "plain" style without Lackadaisical's theme, (not that I don't like his theme). A simple layout without any colours, images or wrappers ect to simply make it more easy to customize.

The main reason being so is every time I try to update to your latest reversion I can't seem to remember what I removed or added when I customized it to suit my website look, so I'm there re-doing everything from scratch. I know that's my issue, but it would be much easier to customize it with a plain theme rather than all that included. As I'm not sure which is the browser and which is the theme code. I know it's just really messing with the CSS and moving things around, but it gets tedious after the third time.
Post Reply