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

redirect_auto 2 doesn't work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kantzorf
Junior Member
Join Date: Oct 2008
Old 12-08-2008 , 12:38   redirect_auto 2 doesn't work
Reply With Quote #1

I don't know why, but when I set redirect_auto 2 players are redirected on the first server in list, not on the next server.

That's my serverlist:

[CS1]
address=x.x.x.100
port=27015

[CS2]
address=x.x.x..101
port=27015

[CS3-War3FT]
address=x.x.x.102
port=27015

[CS4-War3FT]
address=x.x.x.103
port=27015

[CS5-DeathMatch]
address=x.x.x.104
port=27015

[CS6-Zombie Plague]
address=x.x.x.105
port=27015

[CS7-BioHazard]
address=x.x.x.106
port=27015
kantzorf is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 12-08-2008 , 13:00   Re: redirect_auto 2 doesn't work
Reply With Quote #2

hmm maybe i should read my own code more often. in the past i thought it would be different but now that i checked the code again it indeed is like this:
calling it the "next server in list" feature does not mean it's using the server next from the current one. it still starts with trying to redirect to the first server. if that is full or down it tries the next server in the list, so the second one. if that is full or down it again tries the next server...well, you get it.
on the other hand random redirection really chooses a random number, then checks whether the server is not full or offline - if it is, it rolls the dice again until it found a valid server.

so there is the two options you got.

i will update the wiki entry for the CVAR descriptions to explain that better.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
kantzorf
Junior Member
Join Date: Oct 2008
Old 12-08-2008 , 14:31   Re: redirect_auto 2 doesn't work
Reply With Quote #3

Hmm... ok... Anyway, keep up the good work!
kantzorf 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 01:07.


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