Quote:
Originally Posted by addons_zz
- You server will only be available on LAN if you set the cvar 'sv_lan' to 1. Assures you got it set to 0.
|
The cvar 'sv_lan' is not set in cstrike/server.cfg but as I am not sure what is the default value for this cvar, I explicitly added this line to my cstrike/server.cfg file:
But after restarting the server, I see no difference.
Quote:
Originally Posted by addons_zz
- Open your server.
- Open your game and try to connect to your server by console using this:
Code:
connect 192.168.0.100:27015
It is because sometimes the GUI does not work.
- Also, this must to work even if you server is not available on the internet.
- If this does not work, before try to let it available on the internet, you need to fix it to be available on LAN connecting to it by your LAN ip using the game console.
|
I opened my server:
Code:
./hlds_run -insecure -game cstrike +maxplayers 32 +ip 78.199.90.154 +port 27015 1>stdout.log 2>stderr.log &
I opened my client and typed in the client console:
Code:
] connect 192.168.0.100:27015
NET Ports: server 27015, client 27005
Server IP address 192.168.0.2:27015
Connecting to 192.168.0.100:27015...
Retrying 192.168.0.100:27015...
Retrying 192.168.0.100:27015...
Retrying 192.168.0.100:27015...
Quote:
Originally Posted by addons_zz
- Try use another port as 27014.
|
OK that's what's happen with an other port:
On the server side:
Code:
$ ./hlds_run -insecure -game cstrike +maxplayers 32 +ip 78.199.90.154 +port 27014 1>stdout.log 2>stderr.log &
$ cat stdout.log
Auto-restarting the server on crash
Console initialized.
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:12:29 Aug 29 2013 (6153)
STEAM Auth Server
Server IP address 78.199.90.154:27014
couldn't exec listip.cfg
couldn't exec banned.cfg
$ cat stderr.log
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
On the client side:
Code:
] connect 192.168.0.100:27014
NET Ports: server 27015, client 27005
Server IP address 192.168.0.2:27015
Connecting to 192.168.0.100:27014...
Retrying 192.168.0.100:27014...
Retrying 192.168.0.100:27014...
Retrying 192.168.0.100:27014...
Quote:
Originally Posted by addons_zz
- On your computer, how many network boards do you have? If there are more than 1 active, you need to set +ip to the network board you are using to connect to the internet.
|
On my server machine, I have two network cards corresponding to the two network interfaces I have described previously.
Well, as there are more than 1 active network card on my server machine, my "+ip 78.199.90.154" option is correct.
Quote:
Originally Posted by JusTGo
add this to the start command +map de_dust
|
Done:
Code:
./hlds_run -insecure -game cstrike +maxplayers 32 +ip 78.199.90.154 +port 27014 +map de_dust 1>stdout.log 2>stderr.log &
And here are the logs:
Code:
$ cat stdout.log
Auto-restarting the server on crash
Console initialized.
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:12:29 Aug 29 2013 (6153)
STEAM Auth Server
Server IP address 78.199.90.154:27014
couldn't exec listip.cfg
couldn't exec banned.cfg
Connection to Steam servers successful.
VAC secure mode disabled.
$ cat stderr.log
Using breakpad crash handler
Setting breakpad minidump AppID = 10
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Did you notice the interesting difference in the log?
Now I have a wonderful new message:
"Connection to Steam servers successful.
VAC secure mode disabled."
But a terribly new error message:
"[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed."
Anyway, I am still unable to connect to with my client to my server.