Protect Redirects: Multiple URL's ?

Area for all other Brainless tools.
Post Reply
PAL-18
Posts: 146
Joined: Tue Jan 03, 2012 8:09 pm

Protect Redirects: Multiple URL's ?

Post by PAL-18 »

Can you add multiple url protections to your protect redirect? I really want to avoid making 7 accounts.
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Protect Redirects: Multiple URL's ?

Post by Masher »

Wouldn't want you to create 7 accounts. Are all of your urls from the same base url?
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
PAL-18
Posts: 146
Joined: Tue Jan 03, 2012 8:09 pm

Re: Protect Redirects: Multiple URL's ?

Post by PAL-18 »

Same base url (with different folder) but for different servers that are running different games.
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Protect Redirects: Multiple URL's ?

Post 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. :)
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
PAL-18
Posts: 146
Joined: Tue Jan 03, 2012 8:09 pm

Re: Protect Redirects: Multiple URL's ?

Post by PAL-18 »

Ah cool.

Thanks!

Edit: It works!

P.S. You should add that text to the protector url section.
Zboys
Posts: 2
Joined: Sun Dec 04, 2016 4:04 am

Re: Protect Redirects: Multiple URL's ?

Post 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
Zboys
Posts: 2
Joined: Sun Dec 04, 2016 4:04 am

Re: Protect Redirects: Multiple URL's ?

Post by Zboys »

seems to work
Post Reply