View Single Post
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 07-30-2006 , 08:20   Re: Server redirection
#9

Quote:
Originally Posted by pl2003
Wow, I can't believe I had overseen this plugin for two weeks !

Good idea, excellent realization and a perfect description/changelog - great!
thanks

Quote:
Originally Posted by pl2003
I want to use this on my servers, actually running a simple adminslot
plugin. This brings me to my first questions regarding:
This only affects players already on the server, trying to connect to another?
So I can keep my adminslot/redirection plugin, handling the players connecting
on a 'full' server (slotmax+adminslot)?
my plugin considers a server "full" when there are (maxplayers-1) players. so e.g. if there are 12/13 players and someone connects he will be redirected. as i don't know how your adminslot plugin works i can't predict how the plugins would work together but in general i guess it won't work very good.
i thought of adding reserved slots myself already but think of the following situation:
there are 12/13 players and you connect. you don't get redirected, because you are admin, so now we have 13/13. players that connect now will see the default message "server is full". they don't come far enough into the connection process to get handled by the plugin. aside from the fact that most people won't even try to connect to a full server anyway, when they see in server browser/steam browser (or their connect tool like HLSW or ASE) that the server is full. so, in fact, the redirection is broken in this case just because an admin connected to his reserved slot (which i believe will happen often).

so to your question again ("This only affects players already on the server, trying to connect to another?"): no it doesn't. it does affect people connecting. you can set redirect_auto 0 to prevent the plugin from handling connection people. in this case only manual redirects work (either when redirect_user is used by an admin or people used /server or /follow command). and these manual redirects, again, are prevented if the target server is "full" (maxplayers-1).

wow, i hope i did not confuse you more than even before now

Quote:
Originally Posted by pl2003
Furthermore, the options of redirect_auto do not fit my needs: I want everyone,
who tries to connect to a full server be redirected to a 'hardcoded' server, not
a random, not the next in the list - could I realize this?
just add "noauto=1" to every server in the list except the one you want to have people redirected to. i'd suggest to set redirect_auto 2 for this though, so it can't happen that the plugin is wasting time calculating random server numbers where in the end only one can be used anyway

Quote:
Originally Posted by pl2003
Another question regarding this:
Hopefully I got it right and did not overread something. Is it possible to let the plugin
assume a server is full, if it's connectedplayers-1/maxplayers (e.g. 20/21)? I have a reserved
admin slot on every server, hence they are never full (21/21).
But maybe I just don't understand the sentence "one free slot left, that is", do you mean it IS considering a server with one slot left as a full server?
yes, see above


Quote:
Originally Posted by pl2003
As you can see in my sig, I run a couple of servers on two boxes (=two IPs).
This makes me a victim of point 1 of your known issues section . Nevertheless
I will give it a try, because the information about map/players is one of the
most important features for me. Please keep trying to fix this.
yeah please try and tell whether it works for you. for now my experience is that on some servers it works and on some doesn't (e.g. my server works fine with several game servers on it checking each other with mode 2). i am afraid i can't fix this, it's no error in the plugin but either in AMXX sockets module or in sockets drivers of the machine running the server. it could be the firewall there as well.
regardless of whether mode 2 is crashing for you or not, it would greatly appreciate when you could tell me your system specs (if it's a root machine and you have access to such information). maybe someday we can at least find out what versions of what modules/drivers/firewalls calls the problem to have some workaround.

Quote:
Originally Posted by pl2003
I got an error with 0.7.5b:
my bad, download 0.7.5b2, it's fixed there
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline