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

xREDIRECT - server redirect menu


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Lt Llama
Senior Member
Join Date: Aug 2004
Old 01-03-2008 , 13:49   Re: xREDIRECT - server redirect menu
#761

Im sorry if this has been asked before.
Im having problems using redirect_user.
When i use it it says "[REDIRECT] : Sorry, the server is full and there is no no server to redirect to".

Problem is that the server is not full and there are plenty of servers to redirect to.

My settings are:

redirect_active 1
redirect_auto 0
redirect_manual 1
redirect_follow 1
redirect_send_tag 1
redirect_receive_tag 1
redirect_check_method 2

serverlist.ini

[Euroskillz - Easy]
address=85.114.140.42
port=1335

[Euroskillz - Medium]
address=85.114.140.42
port=1336

[Euroskillz - Hard]
address=85.114.140.42
port=1337

[Euroskillz - Fun]
address=85.114.140.42
port=1338

I'm using version 0.9.1

p.s. And as I havent posted in this thread for ages I think I can repeat how great I think this plugin is. I used it for very long now, and it is a very potent community booster. I have a lot to thank you for xOR, and our players.

p.s. #2 NVM. Updated to xredirect and now it works like a charm.
__________________
A dodo: Used to describe someone without common sense and who always has the pathetic confused look on their face when a question is asked.

Last edited by Lt Llama; 01-03-2008 at 14:25.
Lt Llama is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-03-2008 , 16:52   Re: xREDIRECT - server redirect menu
#762

Quote:
Originally Posted by Lt Llama View Post
p.s. And as I havent posted in this thread for ages I think I can repeat how great I think this plugin is. I used it for very long now, and it is a very potent community booster. I have a lot to thank you for xOR, and our players.

p.s. #2 NVM. Updated to xredirect and now it works like a charm.
thanks for all the motivating words.

i also wanted to suggest to try xredirect - of course you take some risk with using a beta - but i am here for you and every error you report.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-06-2008 , 02:44   Re: xREDIRECT - server redirect menu
#763

for all those who had the crash problems when multiple servers on the same machine checked each others: there is a chance that the problem is gone with amxx 1.80. i just stumbled over this. from looking at the fix version this fix is new since amxx 1.80 - so all of you should upgrade to 1.80 and see if the crashes still occur.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:

Last edited by xOR; 01-06-2008 at 02:53.
xOR is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-06-2008 , 03:32   xREDIRECT 1.0RC5c
#764

i again found an error with redirect_hidedown - i am surprised that jsterling did not notice it already. so i release this as 1.0RC5c and hence delay any official RC5 release again to give it some testing time. for those already running 1.0RC5b and not using redirect_hidedown you can just ignore this version and wait for the official RC5 (or RC5d if necessary).

@jsterling: i could not reproduce the error that you reported with empty servers shown as (-1/maxplayers). i tried with my own server list when most servers were empty. i also tried with yours but at time of testing all your servers had players on it. i will try it again with your servers when one of it is empty.

changelog is:
  • fixed a bug where the own server always would be hidden from the menu/announcements when redirect_hidedown is enabled
  • slight speed optimization in socket query code
Attached Files
File Type: sma Get Plugin or Get Source (xredirect.sma - 949 views - 96.8 KB)
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:

Last edited by xOR; 01-06-2008 at 03:51.
xOR is offline
LeoS
New Member
Join Date: Jun 2007
Old 01-06-2008 , 08:17   Re: xREDIRECT - server redirect menu
#765

So... I've got a problem with this plugin.

My CS servers are LAN servers, but physically they are single PC which has two both internal IPs through different network cards.
So this plugin doesn't work - it writes "cannot detect own server address", even when I set "net_address" and "ip", in server.cfg, "address" in serverlist.ini and "redirect_external_address" in amxx.cfg to same adress and port. I've tried to use second ip - but it has no effect, it still doesn't work.

What else I've got to do in order to get it working, or it is impossible to use this plugin with two local ip configuration?
LeoS is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-06-2008 , 09:31   Re: xREDIRECT - server redirect menu
#766

Quote:
Originally Posted by jsterling View Post
Looks good. The new version solved the problem.

1 more thing I am noticing with the new version and the same configs.

The plugin display's empty server's as -1/16 instead of 0/16. Can this be fixed ot is it a limitation?

Thanks!
i could now reproduce the error. the servers reported to have 1 bot on it, the code for redirect_countbots 0 does not work. as you have redirect_countbots 0 set, xREDIRECT subtracts this one bot from the actual player count. so if it is 0, it becomes -1.
also i noticed that this only happens when the server is empty. if there is 1 ore more players the server does not report it has a bot on it, so everything else is working just fine.

i am currently redoing the parsing code and will release that as 1.0RC5d here when it's finished. until then you might consider to set redirect_countbots 1.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-06-2008 , 09:33   Re: xREDIRECT - server redirect menu
#767

Quote:
Originally Posted by LeoS View Post
So... I've got a problem with this plugin.

My CS servers are LAN servers, but physically they are single PC which has two both internal IPs through different network cards.
So this plugin doesn't work - it writes "cannot detect own server address", even when I set "net_address" and "ip", in server.cfg, "address" in serverlist.ini and "redirect_external_address" in amxx.cfg to same adress and port. I've tried to use second ip - but it has no effect, it still doesn't work.

What else I've got to do in order to get it working, or it is impossible to use this plugin with two local ip configuration?
i don't see why there should be a problem with this in general. just show your configuration settings and we try to find out where the problem is.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
LeoS
New Member
Join Date: Jun 2007
Old 01-07-2008 , 04:07   Re: xREDIRECT - server redirect menu
#768

I use amx mod x 1.76b.
server.cfg:
Code:
 
ip 192.168.0.251 
net_address "192.168.0.251:27015"
amxx.cfg:
Code:
 
redirect_active 1 
redirect_auto 3
redirect_manual 0
redirect_adminslots 1 
redirect_maxadmins 1 
redirect_external_address 192.168.0.251:27015
serverlist.ini
Code:
[serv1]
address = 192.168.0.251
localaddress = 10.0.0.226
port = 27015
[serv2]
address = 192.168.120.251
localaddress = 10.0.0.226
port = 27016
LeoS is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 01-07-2008 , 14:01   Re: xREDIRECT - server redirect menu
#769

Quote:
Originally Posted by LeoS View Post
I use amx mod x 1.76b.
server.cfg:
Code:
 
ip 192.168.0.251 
net_address "192.168.0.251:27015"
amxx.cfg:
Code:
 
redirect_active 1 
redirect_auto 3
redirect_manual 0
redirect_adminslots 1 
redirect_maxadmins 1 
redirect_external_address 192.168.0.251:27015
serverlist.ini
Code:
[serv1]
address = 192.168.0.251
localaddress = 10.0.0.226
port = 27015
[serv2]
address = 192.168.120.251
localaddress = 10.0.0.226
port = 27016
the plugin doesn't have an advanced parser for the serverlist.ini. it is planned for a version somewhere after 1.0 but for now it is a very simple parser, which needs the lines as exactly name=value. not name =value, name= value or name = value. so no spaces before, after, or inbetween the lines.

also i am not sure what you do with this address and localaddress parameter there. do you have a routing between these two different local networks? otherwise the servers might not see each other.
localaddress is thought for servers that are reachable from remote and local connections. if it is reachable from local connections only, just use the address= parameter - doing this with twice the same local IP should be just fine.

all other configuration items look fine to me, although you should not need to set redirect_external_address in your case. if you set it, you have to make sure it matches the IP given in the address= parameter. maybe just removing the redirect_external_address line will be easier though.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:

Last edited by xOR; 01-07-2008 at 14:06.
xOR is offline
ufo-sty
New Member
Join Date: Jan 2008
Old 01-07-2008 , 19:48   Re: xREDIRECT - server redirect menu
#770

Hello, first i want to thank you for this plugin. I´m watching xREDIRECT long time, but only few days ago try to install.
I readed instalation manual and FAQ and i still have a problem:
When I say /server, nothing happen.
I´m using v1.0RC5b on linux server v1.1.2.0+, AMXX v1.76d, MM v1.19.
Plugin is running on both servers, with the same config. On server-testing
no errors in LOGs, no errors in players console. In server console
Code:
02:17:56 L 01/08/2008 - 02:17:53: [xredirect.amxx] Loaded server 2server (77.48.19.190:27016)
02:17:56 L 01/08/2008 - 02:17:53: [xredirect.amxx] Loaded server server-testing (77.48.19.190:27030)
On 2server is error with "Own server has not been detected" in amx log and both servers loaded in console.

This is my configuration:

Code:
"redirect_active"	"1"
"redirect_auto"	"6"
"redirect_manual"	"1"
"redirect_follow"	"1"
"redirect_external_address" "77.48.19.190"
"redirect_check_method"	"2"
"redirect_announce_mode"	"1"
"redirect_show"	"1"
"redirect_hidedown"	"0"
Code:
[2server]
address=77.48.19.190
localaddress=10.109.252.151
port=27016

[server-testing]
address=77.48.19.190
localaddress=10.109.252.151
port=27030
What is wrong, what i forgot? Thanks for everything.

Last edited by ufo-sty; 01-07-2008 at 20:44. Reason: add info.
ufo-sty is offline
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 09:45.


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