hi guys. I want to redirect my oldest css server ip to new ip. But i couldnt find needless plugin . There are some plugins on sourcemod site but they are not redirecting while connect to server. ( i dont want press F3 bla bla, i want to redirect to new ip while connect oldest ip )
I know that i am a dumbass for telling you to use mani, but it has a function which automatically redirects you to another server if the current server er full
03-10-2010, 06:24 PM (This post was last modified: 03-10-2010, 06:28 PM by css.)
(03-10-2010, 05:59 PM)lol554 Wrote: I know that i am a dumbass for telling you to use mani, but it has a function which automatically redirects you to another server if the current server er full
Automatical redirects are not working since long time ago when Valve released some patch. It's not possible to redirect players unless they press F3. It's not about which plugin you use, it's just not possible. NOT POSSIBLE.
But then again, impossible is nothing. Here's how you can redirect players on a Linux server. In your case this probably works very well.
This will make any server look like it's at 1.2.3.4:27016. For example I could run the command on my computer and then it would look like there's the 1.2.3.4:27016 server on my computer although I don't have server on my computer at all.
Let me know if it works.
Note, if you try and test this, then it may get bit weird if the connections are not going as you expected. Linux kernel has timeout for all connections it has seen. That's why only new connections go through the iptables' nat table. If you've had connection to your old server earlier, then the rule doesn't work. You can go around it by this:
This is experimental, which may be obvious at this point
PS. Somebody with some Linux skills could turn this to normal player redirect by adding "-s 9.8.7.6" to the iptables rule + using "retry" command on the server simultaneously.
(03-10-2010, 05:59 PM)lol554 Wrote: I know that i am a dumbass for telling you to use mani, but it has a function which automatically redirects you to another server if the current server er full
Automatical redirects are not working since long time ago when Valve released some patch. It's not possible to redirect players unless they press F3. It's not about which plugin you use, it's just not possible. NOT POSSIBLE.
But then again, impossible is nothing. Here's how you can redirect players on a Linux server. In your case this probably works very well.
This will make any server look like it's at 1.2.3.4:27016. For example I could run the command on my computer and then it would look like there's the 1.2.3.4:27016 server on my computer although I don't have server on my computer at all.
Let me know if it works.
Note, if you try and test this, then it may get bit weird if the connections are not going as you expected. Linux kernel has timeout for all connections it has seen. That's why only new connections go through the iptables' nat table. If you've had connection to your old server earlier, then the rule doesn't work. You can go around it by this:
This is experimental, which may be obvious at this point
PS. Somebody with some Linux skills could turn this to normal player redirect by adding "-s 9.8.7.6" to the iptables rule + using "retry" command on the server simultaneously.
Well i have been testing a new dellserver at home which became very populated, and now i am moving it into my colocenter, so i would be happy to test it out