Raised This Month: $51 Target: $400
 12% 

[HOWTO] Launch ANY STEAM Game from a web broswer link


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 01-03-2005 , 02:49   [HOWTO] Launch ANY STEAM Game from a web broswer link
#1

Thats right, no other software needed to install, all you need is STEAM running.

A while ago, I found a simple HTML code that would cause STEAM to launch Counter-Strike 1.6. This was months ago.

I recently purchased a CS Source server, it took me a hour to figure out the code to make a link launch CS Source, while trying to find out, I figured out every other STEAM Game (expect HL2 Demo, Codename Gordon and SRCDS, im pretty sure SRCDS can be found easily tho)

Why am I posting this?

Because you cant find this type of info on the net anywhere (or at least I couldnt, google didnt work in my favor tonight). If you want a simple link to connect to your server you have to sign up for things such as serverspy and use their service.

This is all you got to do.

Use this as your HTML code
Quote:
<a href='steam: "-applaunch 10 +connect 69.41.244.30:27015"'>69.41.244.30:27015</a>
Thus, that simple code above will connect you to That Ip on Counter-Strike 1.6. Make sure you take notice to the ' before the word "steam" and after "27015". Also make sure you have ' before "-applaunch" and just after "27015" but before '. Yea its hard to understand but if you copy and paste you shouldnt have a problem.

Now what if you want to connect to another game? All you have to do is change -applaunch 10 to something like -applaunch 20 and it will connect your client to a different game. 20 btw is Team Fortess Classic.

I DO NOT KNOW IF THIS WILL WORK FOR 3RD PARTY MODS SUCH AS NATURAL SELECTION. I DONT BELIEVE IT WILL BECAUSE THEY ARE 3RD PARTY MODS

Quote:
Originally Posted by STEAM -applaunch #'s
MOD -> applaunch #

Half Life Dedicated Server -> -applaunch 5
Counter-Strike 1.6 -> -applaunch 10
Team Fortess Classic -> -applaunch 20
Day Of Defeat -> -applaunch 30
DeathMatch Classic -> -applaunch 40
Opposing Force -> -applaunch 50
Ricochet -> -applaunch 60
Half Life -> -applaunch 70
Counter-Strike: Condition Zero -> -applaunch 80
Half Life 2 -> -applaunch 220
Counter-Strike Source -> -applaunch 240
Half Life Source -> -applaunch 280
Day of Defeat Source -> -applaunch 300
Half Life 2 Deathmatch -> -applaunch 320
I hope this becomes useful and helpful to quite a few people.

Thanx
BigBaller
BigBaller is offline
imported_SirTiger
Junior Member
Join Date: Oct 2004
Old 01-03-2005 , 10:07  
#2

Thank god Firefox asks you to confirm the use of a protocol but IE users could get in trouble if you combine this with a meta refresh or a javascript location.href
imported_SirTiger is offline
manorastroman
Senior Member
Join Date: Oct 2004
Old 01-03-2005 , 19:38  
#3

you can use third party mods, you just have to say -game cs1.5 or something, i dont remember the name
__________________
manorastroman is offline
Send a message via AIM to manorastroman Send a message via MSN to manorastroman Send a message via Skype™ to manorastroman
Tim
Senior Member
Join Date: Dec 2004
Location: the Netherlands
Old 01-03-2005 , 23:00  
#4

Thanks mate,
Already knew I could launch games using steam://,
but hadn't yet come around to launching a specific
server yet...
Works like a charm, I'll be sure to build this into my
website server status thingy I posted earlier...

Anyone know if you can specify a particular steamaccount
in the same hyperlink?? Would make switching easier... =\
And in addition: Any possibilties of adding a server to fav's
or defining a password within the startup link?

Tim
Tim is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 01-05-2005 , 04:32  
#5

I wouldnt know really

id have to do some research, there might be a command like +addip or something but i dunno.
BigBaller is offline
Tim
Senior Member
Join Date: Dec 2004
Location: the Netherlands
Old 01-05-2005 , 09:50  
#6

Well thanks for replying anyway, it's virtually impossible to find any
info about this on the web, let alone on the Steam User Forums...
It wouldn't be vital for my website /scripts, but it would just be a
nice option to have... =\
(Am I wrong to think it could specify any advanced startup command?)
Let me know if anyone figures this out...

Best regards,
Tim
Tim is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 01-06-2005 , 03:15  
#7

Yea I can understand why you cant find information, thats one of the reasons why I posted this information in three diff locations, gotta get people to know about this.
BigBaller is offline
Tim
Senior Member
Join Date: Dec 2004
Location: the Netherlands
Old 01-07-2005 , 13:59  
#8

Quote:
Steam, Source Engine, HLDS Update Released
January 6, 2005, 5:48 pm · cliffe
Steam
Fixed use of quoted parameters in "-applaunch" command lines
Mmm, update seems to have ruined this now...
Tim is offline
Varsity
New Member
Join Date: Jan 2005
Location: England
Old 01-07-2005 , 15:31  
#9

The correct syntax is now:
Code:
steam: "-applaunch 320 +connect 213.208.119.230:27055"
Varsity is offline
Tim
Senior Member
Join Date: Dec 2004
Location: the Netherlands
Old 01-07-2005 , 17:49  
#10

Thanks, that works. Got just a bit annoyed as I just got it working a couple of days ago,
then they change the whole thing with little to no information on what's changed or how to fix it.
No I can start editing some 4 scriptpacks + supplied zips, after which I can *try* to contact the
various people that use it, which I know will not be easy...
Just a bit frustrating when you're trying to help out others with some scripts, which turns
useless because of an update for somehting that has been working fine for a long time now.

Best regards,
Tim
Tim is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode