AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] ASteambot - Redirect (https://forums.alliedmods.net/showthread.php?t=307895)

mdmanl 12-24-2018 12:44

Re: [ANY] ASteambot - Redirect
 
I did, I also logged in the account of the bot in my browser, and there are the links also not clickable.

It looks like Steam doesn't support such links anymore. Since the ts3server:// links are also not clickable anymore.

I also sent the link to some friends, they appear also non clickable for them.

Rale 12-24-2018 15:25

Re: [ANY] ASteambot - Redirect
 
Quote:

Originally Posted by mdmanl (Post 2630808)
I did, I also logged in the account of the bot in my browser, and there are the links also not clickable.

It looks like Steam doesn't support such links anymore. Since the ts3server:// links are also not clickable anymore.

I also sent the link to some friends, they appear also non clickable for them.

Same here.

mdmanl 12-26-2018 12:51

Re: [ANY] ASteambot - Redirect
 
Would be nice if this can be fixed or Valve changes it back, since the plugin is pretty useless now sadly :(

Arkarr 12-27-2018 02:38

Re: [ANY] ASteambot - Redirect
 
Quote:

Originally Posted by mdmanl (Post 2631101)
Would be nice if this can be fixed or Valve changes it back, since the plugin is pretty useless now sadly :(

Yep, make sense. I'll find a fix.

mdmanl 01-17-2019 14:52

Re: [ANY] ASteambot - Redirect
 
I was thinking about an simple php redirect script and send the server you want to connect to via a HTTP Get variable.
For example: http://example.com/?s=127.0.0.1

However I had some difficulties with the dots in the IP (I dont know if you can support dots in a GET variable trough the htaccess file)

But anyways, redirecting to a steam:// url from php works!


Edit:
PHP file should be something like this:
<?php
$server = $_GET["s"];
header('Location: steam://connect/{$server}/');
exit();
?>


Sorry for my broken English, I hope it made sense to you.

Arkarr 01-18-2019 05:33

Re: [ANY] ASteambot - Redirect
 
Quote:

Originally Posted by mdmanl (Post 2635202)
I was thinking about an simple php redirect script and send the server you want to connect to via a HTTP Get variable.
For example: http://example.com/?s=127.0.0.1

However I had some difficulties with the dots in the IP (I dont know if you can support dots in a GET variable trough the htaccess file)

But anyways, redirecting to a steam:// url from php works!


Edit:
PHP file should be something like this:
<?php
$server = $_GET["s"];
header('Location: steam://connect/{$server}/');
exit();
?>


Sorry for my broken English, I hope it made sense to you.

Yeah, I mean, it could work. But I have no use of this, since the messages are sent through Steam interface, so it would still be an unclickable link... ?

mdmanl 01-18-2019 20:43

Re: [ANY] ASteambot - Redirect
 
No, what the bot sends you would be an normal http:// link then.
To a php file on a webserver. So if you click it, your steambrowser will open the "webpage", and the php script in that webpage would redirect you instantly to the steam:// url.

The PHP script will now where to redirect, because the redirect plugin will add the server IP in the url as a variable.
So for exampe you have the PHP file on arkarr.com, then the steambot needs to send you an link with http://arkarr.com/?s=SERVERIP:PORT and thats clickable!

So you never have to click the steam:// url, only the http:// (wich still works) one, and the php script will do the rest.

Hope I make more sense now

Arkarr 01-19-2019 04:04

Re: [ANY] ASteambot - Redirect
 
Quote:

Originally Posted by mdmanl (Post 2635398)
No, what the bot sends you would be an normal http:// link then.
To a php file on a webserver. So if you click it, your steambrowser will open the "webpage", and the php script in that webpage would redirect you instantly to the steam:// url.

The PHP script will now where to redirect, because the redirect plugin will add the server IP in the url as a variable.
So for exampe you have the PHP file on arkarr.com, then the steambot needs to send you an link with http://arkarr.com/?s=SERVERIP:PORT and thats clickable!

So you never have to click the steam:// url, only the http:// (wich still works) one, and the php script will do the rest.

Hope I make more sense now

Yeah, it does... But that would mean the one running this plugin has to have a webserver. Or I could actually implement that to ASteambot... Hold on.

mdmanl 01-21-2019 12:16

Re: [ANY] ASteambot - Redirect
 
Yes that was what I was thinking. Like most server owners I have a webserver as well, but for the ones that doesn't have one, you can host it since I guess you already have a webserver as well.

If you are gonna host it, and if you want, I can host it as well, so we can setup like a fail over or something for it for maximum uptime :)

Arkarr 01-22-2019 05:29

Re: [ANY] ASteambot - Redirect
 
Quote:

Originally Posted by mdmanl (Post 2635789)
Yes that was what I was thinking. Like most server owners I have a webserver as well, but for the ones that doesn't have one, you can host it since I guess you already have a webserver as well.

If you are gonna host it, and if you want, I can host it as well, so we can setup like a fail over or something for it for maximum uptime :)

Nah, I was thinking, ASteambot would be the webserver. So no need to setup anything else.
I could programm that.

EDIT: In exams period right now, so much less effective right now.


All times are GMT -4. The time now is 19:36.

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