Page 1 of 1

Protect Redirects: Multiple URL's ?

Posted: Wed Oct 10, 2012 3:28 am
by PAL-18
Can you add multiple url protections to your protect redirect? I really want to avoid making 7 accounts.

Re: Protect Redirects: Multiple URL's ?

Posted: Wed Oct 10, 2012 6:58 pm
by Masher
Wouldn't want you to create 7 accounts. Are all of your urls from the same base url?

Re: Protect Redirects: Multiple URL's ?

Posted: Wed Oct 10, 2012 7:45 pm
by PAL-18
Same base url (with different folder) but for different servers that are running different games.

Re: Protect Redirects: Multiple URL's ?

Posted: Wed Oct 10, 2012 9:05 pm
by Masher
Add all of your gameservers into the list, shorten the url to the shortest that is in common with all your download urls.

Ie. use www.yourdomain.com for the url
Then in the server's cfgs use your custome url and subfolder ie>

http://protect.brainless.us/p/?u=22&f=/cstrike
or
http://protect.brainless.us/p/?u=22&f=/tf2

etc. Should work fine, but test it out to be sure. Been a long time since I've looked or worked with the code. :)

Re: Protect Redirects: Multiple URL's ?

Posted: Thu Oct 11, 2012 2:23 am
by PAL-18
Ah cool.

Thanks!

Edit: It works!

P.S. You should add that text to the protector url section.

Re: Protect Redirects: Multiple URL's ?

Posted: Sun Dec 04, 2016 4:16 am
by Zboys
ok just to double check this

For redirect url i do http://some.host.net

and for my sv_downloadurl
server 1 server.cfg = sv_downloadurl "http://protect.brainless.us/p/?u=xxx&f=/steam/srcds01/"
server 2 server.cfg = sv_downloadurl "http://protect.brainless.us/p/?u=xxx&f=/steam/srcds02/"
server 3 server.cfg = sv_downloadurl "http://protect.brainless.us/p/?u=xxx&f=/steam/srcds03/"

Gameservers
add my servers ip:port

server 1 = 123.456.78:27015
server 2 = 123.456.78:27025
server 3 = 123.456.78:27035

thanks

Re: Protect Redirects: Multiple URL's ?

Posted: Tue Dec 06, 2016 4:29 am
by Zboys
seems to work