This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[TF2]When Server Full Redirect players to another server


Post New Thread Reply   
 
Thread Tools Display Modes
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 09-29-2010 , 20:30   Re: [TF2]When Server Full Redirect players to another server
Reply With Quote #21

I have no idea if the plugin I posted still works but if I recall correctly it was created with DoD:S in mind which has always been on the orange box engine? If so, it should work on CSS but no promises.

Last edited by Wazz; 09-29-2010 at 20:30. Reason: typing is hard mmkay?
Wazz is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 09-29-2010 , 20:57   Re: [TF2]When Server Full Redirect players to another server
Reply With Quote #22

Thanks for the kind reply.

I have implemented this on our Pub1 in order to redirect traffic to another pub when it starts to get full.
When the server reaches over 40 players the plugin is supposed to prompted to connect to Pub2
Pub1 is a 40 slot server with 4 reserve slots making a total of 44
I'm unsure if I have it configured correctly.

I have this plugin running on our Pub de_dust2 servers and I have set it up ass follows.

Code:
//sm_redirect_announce - Announces when the server redirects a player.
//Values 1 to Enable, 0 to Disable. Default = 1.
sm_redirect_announce 1

//sm_redirect_server = IP of the server to redirect to.
//Values an IP address of the server you wish to send the client to in the format ip:port.
//If you don't set this convar the plugin wont do anything.
sm_redirect_server 64.120.28.51:27015

//sm_redirect_slots = Number of slots to use for redirecting players.
//Values any integer from 0 onwards.
//Default 2 (even number to keep the teams balanced).
//Setting this to 0 also effectively disables the plugin.
sm_redirect_slots 2

//sm_redirect_time = Time (in seconds) until a player in a redirect slot is kicked.
//Values any interger from 0 onwards. Default 35.
sm_redirect_time 35 
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!



Last edited by nightrider; 09-29-2010 at 21:05.
nightrider is offline
Evkval
Junior Member
Join Date: Jul 2010
Location: Russia
Old 10-12-2010 , 06:24   Re: [TF2]When Server Full Redirect players to another server
Reply With Quote #23

HI, help me please. Help to find the plug-in which will be redirect the player if it comes with ip 192.xx.xx.xx on leftwer.webhop.net (95.220.xx.xx). Server left4dead . Sorry for my bad English. Thanks big . J
Evkval is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 10-12-2010 , 17:14   Re: [TF2]When Server Full Redirect players to another server
Reply With Quote #24

Quote:
Originally Posted by nightrider View Post
Thanks for the kind reply.

I have implemented this on our Pub1 in order to redirect traffic to another pub when it starts to get full.
When the server reaches over 40 players the plugin is supposed to prompted to connect to Pub2
Pub1 is a 40 slot server with 4 reserve slots making a total of 44
I'm unsure if I have it configured correctly.

I have this plugin running on our Pub de_dust2 servers and I have set it up ass follows.

Code:
//sm_redirect_announce - Announces when the server redirects a player.
//Values 1 to Enable, 0 to Disable. Default = 1.
sm_redirect_announce 1

//sm_redirect_server = IP of the server to redirect to.
//Values an IP address of the server you wish to send the client to in the format ip:port.
//If you don't set this convar the plugin wont do anything.
sm_redirect_server 64.120.28.51:27015

//sm_redirect_slots = Number of slots to use for redirecting players.
//Values any integer from 0 onwards.
//Default 2 (even number to keep the teams balanced).
//Setting this to 0 also effectively disables the plugin.
sm_redirect_slots 2

//sm_redirect_time = Time (in seconds) until a player in a redirect slot is kicked.
//Values any interger from 0 onwards. Default 35.
sm_redirect_time 35 
So does this ask them to be redirected or does this do it automatically for them? If it does it automatically, whats the plugin source code?
__________________


bouncer is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 12-17-2010 , 10:49   Re: [TF2]When Server Full Redirect players to another server
Reply With Quote #25

I have uploaded a version of redirector that suggests a server to connect to rather than kicking.

Add this to your sourcemod.cfg

//sm_redirect_announce - Announces when the server redirects a player.
//Values 1 to Enable, 0 to Disable. Default = 1.
sm_redirect_announce 1

//sm_redirect_server = IP of the server to redirect to.
//Values an IP address of the server you wish to send the client to in the format ip:port.
//If you don't set this convar the plugin wont do anything.
//enter in your ip address and port number
sm_redirect_server x.x.x.x:27015

//sm_redirect_slots = Number of slots to use for redirecting players.
//Values any integer from 0 onwards.
//Default 2 (even number to keep the teams balanced).
//Setting this to 0 also effectively disables the plugin.
sm_redirect_slots 2

//sm_redirect_time = Time (in seconds) until a player in a redirect slot is kicked.
//Values any interger from 0 onwards. Default 35.
sm_redirect_time 35
Attached Files
File Type: smx redirector.smx (4.5 KB, 145 views)
File Type: sp Get Plugin or Get Source (redirector.sp - 459 views - 4.2 KB)
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!



Last edited by nightrider; 12-17-2010 at 10:51.
nightrider is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-17-2010 , 10:55   Re: [TF2]When Server Full Redirect players to another server
Reply With Quote #26

Quote:
Originally Posted by nightrider View Post
I have uploaded a version of redirector that suggests a server to connect to rather than kicking.

Add this to your sourcemod.cfg

//sm_redirect_announce - Announces when the server redirects a player.
//Values 1 to Enable, 0 to Disable. Default = 1.
sm_redirect_announce 1

//sm_redirect_server = IP of the server to redirect to.
//Values an IP address of the server you wish to send the client to in the format ip:port.
//If you don't set this convar the plugin wont do anything.
//enter in your ip address and port number
sm_redirect_server x.x.x.x:27015

//sm_redirect_slots = Number of slots to use for redirecting players.
//Values any integer from 0 onwards.
//Default 2 (even number to keep the teams balanced).
//Setting this to 0 also effectively disables the plugin.
sm_redirect_slots 2

//sm_redirect_time = Time (in seconds) until a player in a redirect slot is kicked.
//Values any interger from 0 onwards. Default 35.
sm_redirect_time 35
If you do a hint message with the %askconnect_accept% placeholder, it will print the button they actually have it bound to (which may or may not be F3).
psychonic is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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