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

Redirect problem. Own server not detected.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
nevalopo
Member
Join Date: Mar 2008
Old 03-18-2010 , 20:46   Redirect problem. Own server not detected.
#1

As the title says.. My problem is that it doesnt detects "own server"

No problems at startup, It says its loading fine but when i enter game and write /server this comes up in server console:

ERROR: Own server has not been detected, plugin will not function correctly. And no menu comes up. This is how my serverlist.ini looks like:
Code:
[RPG Mod - Hosted by BwG Clan]
address=83.209.23.128
localaddress=
port=27015
cmdbackup=5
noauto=0
nomanual=0
nodisplay=0
adminslots=0
password=
publicpassword=0

[Silent Hill Mod - Hosted by BwG Clan]
address=83.209.23.128
localaddress=
port=27016
cmdbackup=5
noauto=0
nomanual=0
nodisplay=0
adminslots=0
password=
publicpassword=0
I have been reading the F.A.Q carefully, And tested alot of things. First what i tested was adding net_address "83.209.23.128:27015" to my server.cfg file. When i did that, It gives me no errors but still doesn't open the menu. After that, I added ip "83.209.23.128" to my server.cfg file too. So now it was

net_address "83.209.23.128:27015"
ip "83.209.23.128"

Still no luck, And still no errors. Then i tried the last thing. I added redirect_external_address "83.209.23.128:27015" to my amxx.cfg
Yet, No luck. So now im stuck here and wondering what to do.. And im in need of help :/

Would be glad if anyone can Reply to this thread with a anwser of my problem. Thanks, Nevalopo
nevalopo is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-19-2010 , 06:32   Re: Redirect problem. Own server not detected.
#2

Is your server running in a LAN?
If yes try to set localaddress for your servers
__________________

Mordekay is offline
nevalopo
Member
Join Date: Mar 2008
Old 03-19-2010 , 19:04   Re: Redirect problem. Own server not detected.
#3

Not lan, Public and available for everyone to join. :/
nevalopo is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-20-2010 , 04:50   Re: Redirect problem. Own server not detected.
#4

You missunderstood my question.
I asked if your server is running in a LAN at your home behind a router maybe. Then it mostly happens that the server get's an IP like this: 192.168.XX.XX. But as this IP is not found in the serverlist.ini it would not find itself, thus you get your errormessage.
Another way to fix it would be to add +ip yourserverip +port yourserverport to the startparameters of your server.
__________________

Mordekay is offline
nevalopo
Member
Join Date: Mar 2008
Old 03-20-2010 , 18:13   Re: Redirect problem. Own server not detected.
#5

Yeah well.. It's behind a router. And i already have theese parameters:
D:\servers\Test Server\hlds.exe -console -game cstrike +ip 192.168.0.123 +port 27015 +maxplayers 30 +map de_dust2

U are telling me i should add 192.168.0.123 to serverlist.ini instead of 83.209.23.128?
nevalopo is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-20-2010 , 19:20   Re: Redirect problem. Own server not detected.
#6

FAQ question number 6.
Quote:
Q: the own server is not detected, but i am sure my address= parameter specifies the correct external ip and port= is also correct – what now?
A: in some setups the hlds is bound to an internal IP address (especially when behind routers) while the external IP address is bound to it through NAT. the plugin detects only the internal IP address and does not find any match to the IP specified in address= parameter, thus does not detect the own server. to solve this, put this line in your server.cfg:
net_address "123.123.123.123:27015"
replace 123.123.123.123 with your external ip that you also specified for address= parameter in serverlist.ini and 27015 with your port. if this does not help you can also try to add ip "123.123.123.123" to server.cfg file. if this still does not work, as a last attempt, add redirect_external_address "123.123.123.123:27015" to your amxx.cfg – this last resort always has to work, if it does not you can be sure you mistyped something within the IP or port somewhere.
__________________

Mordekay is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 03-20-2010 , 22:06   Re: Redirect problem. Own server not detected.
#7

Quote:
Originally Posted by nevalopo View Post
U are telling me i should add 192.168.0.123 to serverlist.ini instead of 83.209.23.128?
no, you should additionally add the local address to your server list. for example:
Code:
[RPG Mod - Hosted by BwG Clan]
address=83.209.23.128
localaddress=192.168.0.123
port=27015
...more parameters...
Quote:
Originally Posted by nevalopo View Post
D:\servers\Test Server\hlds.exe -console -game cstrike +ip 192.168.0.123 +port 27015 +maxplayers 30 +map de_dust2
if possible, better bind to the external IP address here, not the local address. maybe this is what is causing xREDIRECT to fail in detecting the own address in the first place...
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
nevalopo
Member
Join Date: Mar 2008
Old 03-21-2010 , 20:47   Re: Redirect problem. Own server not detected.
#8

Edited my serverlist.ini and it now looks like this:

Code:
[RPG Mod - Hosted by BwG Clan]
address=83.209.23.128
localaddress=192.168.0.123
port=27015
cmdbackup=5
noauto=0
nomanual=0
nodisplay=0
adminslots=0
password=
publicpassword=0

[Silent Hill Mod - Hosted by BwG Clan]
address=83.209.23.128
localaddress=192.168.0.123
port=27016
cmdbackup=5
noauto=0
nomanual=0
nodisplay=0
adminslots=0
password=
publicpassword=0
No change in the server.. Still wont display the server list... Do i need any more specific cvars put on except than manual to 1?

I also tried putting +ip 83.209.23.128 but the server doesnt start then at all :/

Any more suggestions on what i should do? :S

Last edited by nevalopo; 03-21-2010 at 22:22.
nevalopo is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 03-22-2010 , 14:31   Re: Redirect problem. Own server not detected.
#9

Quote:
Originally Posted by nevalopo View Post
No change in the server.. Still wont display the server list... Do i need any more specific cvars put on except than manual to 1?
setting redirect_active 1 to activate the plug-in would be a start

of course i recommend going through the whole configuration, otherwise you still might forget settings you need.
for easy graphical CVAR configuration you can just open this file:
xREDIRECT.xconf
(you need to have xVarConfig installed for this to work, it's just a few clicks)
this will also warn you if functionalities are blocked because of other CVARs not being set correctly, e.g. it would have warned you that redirect_active must be set to 1

Quote:
Originally Posted by nevalopo View Post
I also tried putting +ip 83.209.23.128 but the server doesnt start then at all :/
this would only work when your external IP address is static and known by your local system - if starting the server fails it obviously is not, so you can't do that. binding to the local IP as it was before should be fine.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
nevalopo
Member
Join Date: Mar 2008
Old 03-22-2010 , 16:54   Re: Redirect problem. Own server not detected.
#10

Well thanks.. Now i feel retarded -.-
I didnt have it to redirect_active 1

Why is not the plugin on default? lol

Works now perfectly.. xD
nevalopo 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 22:07.


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