Raised This Month: $51 Target: $400
 12% 

Server(A) direct to Server(B) Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pnoibestylin
Member
Join Date: Nov 2006
Old 12-20-2008 , 17:32   Server(A) direct to Server(B) Problem
Reply With Quote #1

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 ;]]
__________________
OMG!
did i help you? +karma would make it fair ^^
Pnoibestylin is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-21-2008 , 01:28   Re: Server(A) direct to Server(B) Problem
Reply With Quote #2

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.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Pnoibestylin
Member
Join Date: Nov 2006
Old 12-21-2008 , 02:06   Re: Server(A) direct to Server(B) Problem
Reply With Quote #3

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?
__________________
OMG!
did i help you? +karma would make it fair ^^

Last edited by Pnoibestylin; 12-21-2008 at 02:25. Reason: Oh wow it actually work!! THANK YOU VERY MUCH. no need to reply back ;]]
Pnoibestylin is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 12-21-2008 , 06:31   Re: Server(A) direct to Server(B) Problem
Reply With Quote #4

It's not important where you add the second server.
__________________

Mordekay is online now
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-21-2008 , 10:20   Re: Server(A) direct to Server(B) Problem
Reply With Quote #5

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.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 12-21-2008 , 11:52   Re: Server(A) direct to Server(B) Problem
Reply With Quote #6

Huh? I thought it will start from the beginning again...
__________________

Mordekay is online now
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-21-2008 , 12:56   Re: Server(A) direct to Server(B) Problem
Reply With Quote #7

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.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Pnoibestylin
Member
Join Date: Nov 2006
Old 12-23-2008 , 22:51   Re: Server(A) direct to Server(B) Problem
Reply With Quote #8

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?
__________________
OMG!
did i help you? +karma would make it fair ^^
Pnoibestylin is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-23-2008 , 23:59   Re: Server(A) direct to Server(B) Problem
Reply With Quote #9

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.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR 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 12:43.


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