Pages: [1]
  Print  
Author Topic: Launching Game from Web Page  (Read 9124 times)
sprfrkr
Nub


Cakes 0
Posts: 19


« on: January 10, 2009, 01:18:29 PM »

{If this has been covered previously, I apologize}

I have a server stats page which lists all of teh games running on the server, I am curious to know if anyone has seen a way to launch a game from a web page.

Correct me if I'm worng, but it would require:
- an activex control for IE
- a FF extension for Firefox
- ?? for safari

What about flash? would it allow you to run an exe (once given permission by user)?

I am considering repackaging teh OA deliverable file to include *something* that would enable this functionality across all browsers. Any idea what that could be? Adobe AIR might be able to do it as well.

Logged
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #1 on: January 10, 2009, 01:37:04 PM »

You could look at the game launchers on q3mon

http://www.qxmon.net/q3mon-browser.pl

Logged
dash9
Member


Cakes 6
Posts: 189


« Reply #2 on: January 10, 2009, 02:20:38 PM »

{If this has been covered previously, I apologize}

I have a server stats page which lists all of teh games running on the server, I am curious to know if anyone has seen a way to launch a game from a web page.

Correct me if I'm worng, but it would require:
- an activex control for IE
- a FF extension for Firefox
- ?? for safari

What about flash? would it allow you to run an exe (once given permission by user)?

I am considering repackaging teh OA deliverable file to include *something* that would enable this functionality across all browsers. Any idea what that could be? Adobe AIR might be able to do it as well.


Another complicated way would be to provide some special URLs, for example: oa:///0.8.1//serverip:port, and some application which registers itself as being able to handle these URLs.
Logged

I found a great camping place: the enemy base!
sprfrkr
Nub


Cakes 0
Posts: 19


« Reply #3 on: January 10, 2009, 02:25:13 PM »

Thank you. It looks like I will have our devs create something on OA install to register itself to launch from a web page. It looks like that is how the other launcher apps are doing it.
Logged
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #4 on: January 10, 2009, 02:56:53 PM »

ye.. i think this is outwith the boundries of the game.. although i guess people could use xfire or some similar prog. (as they already do)

If it's any interest I thought i'd query servers supporting sv_dlurl on my browser. then ioq3 to find q3 servers..

criteria filter sv_dlURL != "" AND version NOT LIKE %urt% (skip urban terror servers)
http://clanarena.org/browse/getdata_dlurl.php

criteria filter: with ioq3 in version and skip urt..
http://clanarena.org/browse/getdata_ioq3.php

i thought more servers would be listed actually but just having a mess around Cheesy

« Last Edit: January 10, 2009, 02:58:57 PM by missbehaving » Logged
Case
Member


Cakes -3
Posts: 175



WWW
« Reply #5 on: January 25, 2009, 10:32:51 PM »

You can already do this in Firefox Smiley
check out this website for more information as it describes how to do it much better than I ever could:
http://support.mozilla.com/en-US/kb/The+protocol+is+not+associated+with+any+program#Registering_the_protocol

The problem is everyone has to do it in order to launch their quake client from the webpage... I suppose it could be an addon but I'll have to look into it. But for now if you just register the protocol, pointing your browser to oa://70.32.42.212:27960 ,will work. If you add this to your server browser I'll use your site instead of dpmaster.deathmask.net Smiley
« Last Edit: January 25, 2009, 10:41:07 PM by Case » Logged
Case
Member


Cakes -3
Posts: 175



WWW
« Reply #6 on: January 25, 2009, 10:55:36 PM »

I can make a patch for the pref.js file where the about:config file options are stored if anyone on linux wants it.
Logged
sprfrkr
Nub


Cakes 0
Posts: 19


« Reply #7 on: January 26, 2009, 10:11:54 AM »

More infro on registering a URL protocol. Should work for all browsers.

http://msdn.microsoft.com/en-us/library/aa767914.aspx

Logged
sittingduck
Half-Nub


Cakes 1
Posts: 81



WWW
« Reply #8 on: January 26, 2009, 10:45:59 AM »

I use q3plug. It will require people to download the plugin, but it works beautifully.
http://members.liwest.at/mb/q3plug/
Logged
Pages: [1]
  Print  
 
Jump to: