SRCDS Steam group


Auto Redirecting
#1
Well since Valve have stopped server admins auto redirecting their players, I thought this might come in handy for those who still want to auto redirect.

I've basically found a work around, this is found within the motd, using a little bit of html redirect code.

On the server you want to redirect from add this to its motd.txt:
Code:
<meta HTTP-EQUIV="REFRESH" content="3; url=steam://connect/193.33.186.18:27015">

Content="3 - This changes how many seconds you want to wait till it redirects, so this would redirect the client in 3 seconds.

url=steam://connect/193.33.186.18:27015
- This is the IP of the server, just put your IP in along with the port.

It also doesn't matter if the client clicks off the motd before it redirects them because they still get redirected!

Enjoy, feel free to ask any questions.

*Tested on TF2 and CSS
Clan of Doom: www.clanofdoom.co.uk






Reply
#2
Thanks! Goodjob!!!
Ryan White
Owner & CEO
GigabiteServers.com
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)