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

xREDIRECT - server redirect menu


Post New Thread Closed Thread   
 
Thread Tools Display Modes
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 06-19-2008 , 14:20   Re: xREDIRECT - server redirect menu
#991

xREDIRECT is not compatible with other slot reservation plugins, for some background information read FAQ 8 and 9, or the description i wrote here.

as you already noticed xREDIRECT is always keeping the last slot clear of players. if you now reserve one slot with another plugin that absolutely has no effect, as i said, xREDIRECT is ALWAYS keeping this slot clear anyway, so an admin can't come to use slot 14 whatever you do (the only exceptions are: there is no other server to redirect to/the server is full of only admins/automatic redirection is disabled).

i am not sure what the immunity would change about this, but i am sure that xREDIRECT by default checks for the ADMIN_RESERVATION flag, not immunity if you did not change MIN_ADMIN_LEVEL within the source code. so check your users.ini whether your admins got that flag.

anyway, the solution to what you want would be in xREDIRECT philosophy:
- turn amx_reservation off
- leave redirect_adminslots set to 1
- add adminslots=1 to the serverlist.ini entry for all servers where adminslots are used
- optional: set redirect_maxadmins to 1

remember, xREDIRECT reserves one slot anyway. but now with the above settings if an admin connects xREDIRECT does not redirect him but takes another player and sends him away, telling him that he was redirected to clear a slot for an admin. this way it stays 13/14, no matter how many admins come and use a "slot".

setting redirect_maxadmins to 1 is optional however. get rid of the old way of thinking about slot reservation - with xREDIRECT you don't really need to think so much about how much slot reservation overhead you want to have on your server - it does not work at the level of slots. it's always only one slot that is reserved but you can have as many admins in this special position as you want. however, if you have many admins you maybe don't want to risk that a situation occurs where 6 admins join and 6 players are redirected away, then you can use redirect_maxadmins to limit the use of that feature.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:

Last edited by xOR; 06-19-2008 at 14:24.
xOR is offline
Stewieg
Member
Join Date: Dec 2006
Location: Liepaja
Old 06-19-2008 , 17:11   Re: xREDIRECT - server redirect menu
#992

Thanks a lot! It helped me )
Stewieg is offline
Send a message via Skype™ to Stewieg
AcidoX
Senior Member
Join Date: Oct 2007
Location: Vilnius
Old 06-21-2008 , 11:16   Re: xREDIRECT - server redirect menu
#993

Hi, in the newest beta version i got the log:

Code:
L 06/20/2008 - 13:32:18: Start of error session.
L 06/20/2008 - 13:32:18: Info (map "awp_dust") (logfile "error_062008.log")
L 06/20/2008 - 13:32:18: [AMXX] Displaying debug trace (plugin "xredirect.amxx")
L 06/20/2008 - 13:32:18: [AMXX] Run time error 4: index out of bounds 
L 06/20/2008 - 13:32:18: [AMXX]    [0] xredirect.sma::welcome_message (line 2297)
__________________
Who need lockerz invite? Pm me.
AcidoX is offline
Send a message via Skype™ to AcidoX
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 06-22-2008 , 06:48   Re: xREDIRECT - server redirect menu
#994

Quote:
Originally Posted by AcidoX View Post
Hi, in the newest beta version i got the log:

Code:
L 06/20/2008 - 13:32:18: Start of error session.
L 06/20/2008 - 13:32:18: Info (map "awp_dust") (logfile "error_062008.log")
L 06/20/2008 - 13:32:18: [AMXX] Displaying debug trace (plugin "xredirect.amxx")
L 06/20/2008 - 13:32:18: [AMXX] Run time error 4: index out of bounds 
L 06/20/2008 - 13:32:18: [AMXX]    [0] xredirect.sma::welcome_message (line 2297)
are you sure you are using the recompiled version of your plugin (with the higher MAX_SERVERFORWARDS) on all of your servers?
this happens e.g. when players come carrying the information "i am coming from server 4" while you have only 3, so when the MAX_SERVERFORWARDS is lower than the number the players client reports to come from.
this could also happen when he was on a bigger xREDIRECT network before on server 10.

anyway, the messages do not do any harm, yet i added a simple bounds checking now so it won't occur in the release version anymore.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
AcidoX
Senior Member
Join Date: Oct 2007
Location: Vilnius
Old 06-22-2008 , 15:10   Re: xREDIRECT - server redirect menu
#995

Well yes, and i have 7 servers, so a have added MAX_SERVERFORWARDS 7 in the source, and compiled it again.
__________________
Who need lockerz invite? Pm me.
AcidoX is offline
Send a message via Skype™ to AcidoX
niFe
Senior Member
Join Date: Apr 2008
Location: Planet Green
Old 06-22-2008 , 22:54   Re: xREDIRECT - server redirect menu
#996

Okay I added everything server list and what not...

One of the server we just newly got has one prob.
When we do /server, we do see the serverlist but for the "More" and "Cancel" we see ML_NOTFOUND_CANCEL etc. I did put the redirect.txt file in the lang folder. Not sure whats wrong with it.
__________________
niFe is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 06-23-2008 , 06:04   Re: xREDIRECT - server redirect menu
#997

If the name is redirect.txt it is the wrong lang file. You have to use the xredirect.txt langfile to use with this version.
__________________

Mordekay is offline
niFe
Senior Member
Join Date: Apr 2008
Location: Planet Green
Old 06-23-2008 , 06:17   Re: xREDIRECT - server redirect menu
#998

I'm using the old version, at least not the latest one. Besides, All other 5 servers are fine with the redirect.txt
__________________
niFe is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 06-23-2008 , 06:22   Re: xREDIRECT - server redirect menu
#999

Then the file is corrupt or misses privileges to be readable.
__________________

Mordekay is offline
AcidoX
Senior Member
Join Date: Oct 2007
Location: Vilnius
Old 06-25-2008 , 16:35   Re: xREDIRECT - server redirect menu
#1000

Well, the newest version seems to be ok, but 1 bug..
#define MAX_SERVERFORWARDS 7 is ok, but when you change to 8 in the menu when you type /server it doesnt show the 8th server ant 9. Back

Please, fix my source
Attached Files
File Type: sma Get Plugin or Get Source (xredirect.sma - 847 views - 102.6 KB)
__________________
Who need lockerz invite? Pm me.

Last edited by AcidoX; 06-25-2008 at 16:36. Reason: Add Source
AcidoX is offline
Send a message via Skype™ to AcidoX
Closed Thread



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 00:39.


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