Posts: 11
Threads: 3
Joined: Oct 2008
Reputation:
0
10-05-2008, 07:42 PM
(This post was last modified: 10-05-2008, 07:46 PM by Derelict.)
So, finally got srcds installed on my bro's Linux (Debian) box. It runs fine, I have one big problem though; when I log in with the rcon password and use an rcon command, nothing happens.. After a while I get a console message stating I lost connection to the RCON server (UNKNOWN ERROR).
Also, I'm wondering how you host two servers on one box, you'd probably have to change the port on the second server - how do I do this?
And as last, when I launch the server in PuTTy, I can't input any commands (mp_restartgame 1,for example); nothing happens. Is there a way to get something like a command window for the server in a terminal?
Thanks in advance guys. <3
Posts: 80
Threads: 1
Joined: Aug 2008
Reputation:
0
1) Make sure you set the rcon password in the config file, then you have to do "rcon_password <password>" when connecting, and "rcon <cmd>" for command
2) There are two ways: First way is to have two ips in the box, usually you can purchase another ip for $1, then when you start the server just change the ip in the parameters, -ip 1.2.3.4. The other way is by using different port, same way as IP, change the launch parameters by doing, -port 27015. The server will assign the incremented port if it already exists.
3) RCON is just a udp listener to the server, you do the commands while in game, or you can get a tool called HLSW to query the commands.
Good luck
Posts: 11
Threads: 3
Joined: Oct 2008
Reputation:
0
Hello, thank you so much for helping me already, however, the issue with RCON is not that it doesn't work, it's that it somehow times out. It just loses connection, I can log in with the rcon_password, when I execute a command it doesn't do anything and then it gives me the connection lost error after a while.
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
Did you portforward for RCON? I mean it has its own port.
Posts: 11
Threads: 3
Joined: Oct 2008
Reputation:
0
realchamp Wrote:Did you portforward for RCON? I mean it has its own port.
Well, I managed to connect to the server without forwarding its port, does that mean forwarding the RCON port won't help? I only have access to the Debian terminal, as the box is hosted remotely somewhere in France. I'm a real Linux noob, could anyone help me out please? =X
Posts: 12
Threads: 3
Joined: Aug 2008
Reputation:
0
you should forward the ports
Posts: 11
Threads: 3
Joined: Oct 2008
Reputation:
0
My brother says that port forwarding isn't necessary on his server, but I'll try to get him to forward them anyway. How do I find out the RCON port?
Also, should I use rcon_address in-game?
Posts: 7,778
Threads: 176
Joined: May 2008
Reputation:
83
10-06-2008, 06:58 PM
(This post was last modified: 10-06-2008, 06:59 PM by realchamp.)
Yes, if you are on the server you don't need to(I don't), if you not are on the server, should must do it.
rcon_address xx.xx.xxx.xx:xxxxx
rcon_password PW
And then a CMD.
Example:
rcon exec calcss.cfg
Posts: 11
Threads: 3
Joined: Oct 2008
Reputation:
0
realchamp Wrote:Yes, if you are on the server you don't need to(I don't), if you not are on the server, should must do it.
rcon_address xx.xx.xxx.xx:xxxxx
rcon_password PW
And then a CMD.
Example:
rcon exec calcss.cfg
Okay, thanks. Two things though:
1) How do I find out the RCON address? Is it the same as the server IP?
2) How do I forward the RCON port on Debian?
Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
You haven't forgot to add +ip 123.123.123.123 in launch options?
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Posts: 74
Threads: 4
Joined: Sep 2008
Reputation:
0
dillmc7743 Wrote:you should forward the ports
unless the server has a public ip . . . .
Posts: 42
Threads: 3
Joined: May 2008
Reputation:
0
Derelict Wrote:How do I find out the RCON port?
The rcon port is the same as the game port (usually 27015). Only the game uses UDP where rcon uses TCP.
Posts: 1,033
Threads: 13
Joined: Oct 2008
Reputation:
11
If you have two servers on one box, you either need seperate ports or different IP's. When starting using putty take off /dev/null 2>&1 &
if you dont already have it on there, and it will allow you to type in things in putty. However if you close the putty window, the process will quit, which is why the /dev/null 2>&1 &
is there. Forward ports 2700-2800 for your server.
Posts: 11
Threads: 3
Joined: Oct 2008
Reputation:
0
Here's a quick update; I installed srcds on another server, and now the server won't even run anymore - I followed the instructions on the srdcs homepage, just like I did on the previous server box. Here's my log... thingy:
Code:
root@Vriendenboomhutje:/home/thomas/brol/srcds_1# ./srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Updating server using Steam.
Checking bootstrapper version ...
Updating Installation
Checking/Installing 'Counter-Strike Source Shared Content' version 69
Checking/Installing 'Base Source Shared Models' version 4
Checking/Installing 'Base Source Shared Sounds' version 4
Checking/Installing 'Base Source Shared Materials' version 8
Checking/Installing 'Source Dedicated Server Linux' version 93
HLDS installation up to date
Console initialized.
Game.dll loaded for "Counter-Strike: Source"
maxplayers set to 16
Network: IP unknown, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Executing dedicated server config file
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn't download the price list!
Error: Material "sprites/bubble" : proxy "AnimatedTexture" not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
appdatacache.cpp (311) : Assertion Failed: !"Implement me"
couldn't exec banned_user.cfg
couldn't exec banned_ip.cfg
Adding master server 72.165.61.189:27011
Adding master server 69.28.151.162:27011
Connection to Steam servers successful.
VAC secure mode is activated.
A2C_PRINT from 69.28.151.162:27011 :
No challenge for your address.
A2C_PRINT from 72.165.61.189:27011 :
No challenge for your address.
Can anyone please help me? :<
Posts: 11
Threads: 3
Joined: Oct 2008
Reputation:
0
Nevermind, got it running now. RCON still doesn't work though.
|