AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   xREDIRECT (https://forums.alliedmods.net/forumdisplay.php?f=128)
-   -   Server(A) direct to Server(B) Problem (https://forums.alliedmods.net/showthread.php?t=82297)

Pnoibestylin 12-20-2008 17:32

Server(A) direct to Server(B) Problem
 
I've been reading through the manual for almost two days now.
And I'm still trying to find out how to direct player to (server B)

ok so basically I have (two) servers. which both has 20 slots server.
Server (A) is a home server, which lags super bad when it gets to 15 players.
So I've decided to redirect players thats connecting from Server(A) to Server(B) AUTOMATICALLY which i've been trying to find how to do.

heres my serverlist.ini which has the server(B) IP address:

Quote:

[#1 ASIAN PACIFIC KILLAH]
address=69.12.100.136
localaddress=
port=27016
cmdbackup=1
noauto=0
nomanual=1
nodisplay=0
adminslots=0
password=0
publicpassword=0
configuration set on the server.cfg on server(A)which has the xredirect.amxx
Quote:

redirect_active 1
redirect_auto 1
redirect_manual 1
redirect_follow 1
redirect_announce 0
redirect_announce_mode 1
redirect_show 1
redirect_check_method 1
redirect_adminslots 0
redirect_maxadmins 0
redirect_retry 1
redirect_hidedown 0

So what I want to do is direct connecting players AUTOMATICALLY from server(A) to connect to server(B)

I've been seeing this kind of format mostly in deathmatch server
which the server(A) server has the fake bots and when they connect, they automatically get connect to server(B)

thank you in advance ;]]

xOR 12-21-2008 01:28

Re: Server(A) direct to Server(B) Problem
 
your serverlist.ini seems to be incomplete. server A and server B both have to be in the list. server A has to find itself in the list for xREDIRECT to work correctly, even if you are only redirecting in one direction.
do you ever want players on server A at all, or should they all be redirected? in this case you should set the CVAR redirect_auto to 6 or rather use this much more simple plugin which will do the job. if not, then your settings are fine except the missing server A in the server list.

Pnoibestylin 12-21-2008 02:06

Re: Server(A) direct to Server(B) Problem
 
oh okay. well basically I just want them to automatically connect to server(B) right away.
so as for serverlist.ini
should i add the server(A) IP before server(B) list or after?
and set it as redirect_auto 6?

Mordekay 12-21-2008 06:31

Re: Server(A) direct to Server(B) Problem
 
It's not important where you add the second server.

xOR 12-21-2008 10:20

Re: Server(A) direct to Server(B) Problem
 
hmm i think it is important though. redirect_auto 6 redirects to the next server in list, so server A should be first and server B below it, so it always is the next server. if you turn that upside down there would be no next server and xREDIRECT wouldn't redirect anywhere at all.

Mordekay 12-21-2008 11:52

Re: Server(A) direct to Server(B) Problem
 
Huh? I thought it will start from the beginning again...

xOR 12-21-2008 12:56

Re: Server(A) direct to Server(B) Problem
 
it's a chain, not a circle. i noticed that this can be easily misunderstood, that's why i recently made the text in the FAQ more precise about that. however i just read it again and noticed it can still be misunderstood, so i updated it again now.

Pnoibestylin 12-23-2008 22:51

Re: Server(A) direct to Server(B) Problem
 
ok now the problem, which IP do i put in?
server(A) is my home server so it shows a (192.168.X.XX) IP
should i put that or the IP I see from whatismyip.com?

xOR 12-23-2008 23:59

Re: Server(A) direct to Server(B) Problem
 
execute on the console of server A:
net_address

then use the IP shown there as your address in serverlist.ini. and yes, this will most probably be your local address (192.168...) if it's a home server.


All times are GMT -4. The time now is 05:26.

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