Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: adelsa123 on August 21, 2019, 10:02:40 AM

Title: how to creat protocol link to connect directly to the game server with one click
Post by: adelsa123 on August 21, 2019, 10:02:40 AM
how to creat protocol link to connect directly to the game server with one click like this forum https ://prnt .sc /ovmv4d
Title: Re: how to creat protocol link to connect directly to the game server with one click
Post by: Kindred on August 21, 2019, 10:25:35 AM
what is a protocol link?

Where do you want to create this link?
Title: Re: how to creat protocol link to connect directly to the game server with one click
Post by: Aleksi "Lex" Kilpinen on August 21, 2019, 01:05:22 PM
I believe those are steam links, so steam://connect/uk.... so on.
Where, would be the bigger question.
Title: Re: how to creat protocol link to connect directly to the game server with one click
Post by: GigaWatt on August 21, 2019, 01:06:53 PM
It's an application protocol link... you click it and another local program (on your PC) fires up and opens the link (like magnet URLs with the torrent protocol).
Title: Re: how to creat protocol link to connect directly to the game server with one click
Post by: Aleksi "Lex" Kilpinen on August 21, 2019, 01:10:32 PM
At the exact same spot on the forum index (where that screenshot was taken) I would guess it is within a board description, using html.
So a basic html link <a href="steam://connect/uk.fetti....">uk.fetti...</a> :)
Title: Re: how to creat protocol link to connect directly to the game server with one click
Post by: Kindred on August 21, 2019, 01:14:41 PM
oh...  that was a screenshot non-link.  it confused me because what the OP posted was a straightforward http link except it wasn't a link.... (because the OP only has one post)

However, links within a board description (heck, ANY HTML in a board description) is likely to break things.
Title: Re: how to creat protocol link to connect directly to the game server with one click
Post by: adelsa123 on August 21, 2019, 07:46:50 PM
Quote from: Aleksi "Lex" Kilpinen on August 21, 2019, 01:10:32 PM
At the exact same spot on the forum index (where that screenshot was taken) I would guess it is within a board description, using html.
So a basic html link <a href="steam://connect/uk.fetti....">uk.fetti...</a> :)
thnk u very much bro this is what i wanted to do ! and thnks for evryone who joined topic for help ! and also i want players count and wich map the server in on just like this screen shot !  https ://prnt .sc/ovu9e7
Title: Re: how to creat protocol link to connect directly to the game server with one click
Post by: Aleksi "Lex" Kilpinen on August 21, 2019, 11:08:39 PM
That would probably be more html, but there we can't help much - we would need to know where and how the data is fetched.