SRCDS Steam group

Some newbie questions :x
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
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 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
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.
Did you portforward for RCON? I mean it has its own port.
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
you should forward the ports
[Image: doiremotelogo.jpg]
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?
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_password PW
And then a CMD.
rcon exec calcss.cfg
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_password PW
And then a CMD.
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?
You haven't forgot to add +ip 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
dillmc7743 Wrote:you should forward the ports

unless the server has a public ip . . . .
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.
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.
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
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:

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
Adding master server
Connection to Steam servers successful.
   VAC secure mode is activated.
A2C_PRINT from :
No challenge for your address.
A2C_PRINT from :
No challenge for your address.

Can anyone please help me? :<
Nevermind, got it running now. RCON still doesn't work though. Sad

Forum Jump:

Users browsing this thread: 1 Guest(s)