Title: Launching Game from Web Page Post by: sprfrkr 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. Title: Re: Launching Game from Web Page Post by: fufinha on January 10, 2009, 01:37:04 PM You could look at the game launchers on q3mon
http://www.qxmon.net/q3mon-browser.pl Title: Re: Launching Game from Web Page Post by: dash9 on January 10, 2009, 02:20:38 PM {If this has been covered previously, I apologize} 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.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. Title: Re: Launching Game from Web Page Post by: sprfrkr 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.
Title: Re: Launching Game from Web Page Post by: fufinha 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 :D Title: Re: Launching Game from Web Page Post by: Case on January 25, 2009, 10:32:51 PM You can already do this in Firefox :)
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 :) Title: Re: Launching Game from Web Page Post by: Case 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.
Title: Re: Launching Game from Web Page Post by: sprfrkr 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 Title: Re: Launching Game from Web Page Post by: sittingduck 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/ |