SRCDS Steam group


CS:GO SRCDS PROBLEM
#1
I made same post on steam forums but no replies.

Looking for some kind of help, heres the post:

Got few issues trying to put up correctly CS:GO SRCDS.
Well, system is:
Code:
Debian 6 (squeeze) 32bit

My IPTABLES looks like:
Code:
root@vaevictis:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
SteamServers  all  --  anywhere             anywhere
fail2ban-ssh  tcp  --  anywhere             anywhere            multiport dports ssh
ACCEPT     udp  --  anywhere             anywhere            udp spts:27000:27030 dpts:1025:65355
ACCEPT     udp  --  anywhere             anywhere            udp spt:4380 dpts:1025:65355
ACCEPT     udp  --  anywhere             anywhere            udp dpt:4380
ACCEPT     udp  --  anywhere             anywhere            udp dpts:27000:27050
ACCEPT     tcp  --  anywhere             anywhere            state NEW,ESTABLISHED tcp dpt:27015
ACCEPT     udp  --  anywhere             anywhere            state NEW,ESTABLISHED udp dpt:27015
ACCEPT     udp  --  anywhere             anywhere            udp dpt:1200

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain SteamServers (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:25565
ACCEPT     udp  --  anywhere             anywhere            udp dpts:27000:27014
ACCEPT     tcp  --  anywhere             anywhere            tcp dpts:27000:27014
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:27016
ACCEPT     tcp  --  anywhere             anywhere            tcp dpts:27030:27039
ACCEPT     udp  --  anywhere             anywhere            udp dpt:27020
ACCEPT     udp  --  anywhere             anywhere            udp dpts:27000:27015
ACCEPT     udp  --  anywhere             anywhere            udp dpt:27015
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:27015

My public IP:
Code:
root@vaevictis:~# ifconfig -a | grep 'inet addr'
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.255
          inet addr:176.122.224.xxx  P-t-P:176.122.224.xxx  Bcast:0.0.0.0  Mask:255.255.255.255

My run command is (a script start.sh):
Code:
cs@vaevictis:~$ cat csgo-ds/start.sh
#!/bin/sh
echo "Startuje dedyka Counter-Strike: Global Offensive"
sleep 1
screen -A -m -d -S SRC_GLOBAL_OFFENSIVE ./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_bomb +map de_dust -maxplayers_override 21 +net_public_adr 176.122.224.xxx

My server.cfg file:
Code:
hostname "CS:GO server"
rcon_password "******"
sv_password ""
cl_disablehtmlmotd 1

sv_allow_lobby_connect_only 0
sv_dc_friends_reqd 0
sv_hibernate_when_empty 0


sv_cheats 0
sv_lan 0

mp_freezetime 5
mp_join_grace_time 15
mp_match_end_restart 0

bot_difficulty 1
bot_chatter "off"
bot_join_after_player 1
bot_quota 0
bot_quota_mode "fill"

sv_region 255

writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg
exec gamemode_competitive.cfg

And here are the errors:

lets dont think about cvars errors for now, whats worrying me its:

Code:
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.

Then it says
Code:
mode MP, dedicated No, ports 27015 SV / 27005 CL

I can't find my server on network, i CAN connect to it and play, but i cant find it in servers tab.

And next error is:
Code:
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

Well, it says my server is not dedicated, but after i type 'status' in console i can see:

Code:
status
hostname: CS:GO server
version : 1.21.4.1/12141 5123 secure
udp/ip  : 176.122.224.xxx:27015  (public ip: 176.122.224.xxx)
os      :  Linux
type    :  community dedicated
map     : de_dust
players : 0 humans, 0 bots (21/0 max) (not hibernating)

# userid name uniqueid connected ping loss state rate adr
#end

Server runs MetaMod and SourceMod just fine:
Code:
meta version
Metamod:Source version 1.9.0
Build ID: 796:54b3d34a06ac
Loaded As: Valve Server Plugin
Compiled on: Sep  3 2012
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
meta list
Listing 3 plugins:
  [01] SourceMod (1.5.0-dev+3697) by AlliedModders LLC
  [02] CS Tools (1.5.0-dev+3697) by AlliedModders LLC
  [03] SDK Tools (1.5.0-dev+3697) by AlliedModders LLC

Problems occurs with MM and SM and without them as well.
any clue ?

If someone wants, full server start log:
http://pastebin.com/7DewGGpN

EDIT:

and since today i got all the time:
Code:
Steam>app_update 740
ERROR! Timed out waiting for AppInfo update.

EDIT2:

Following this post: http://forums.srcds.com/viewtopic/18494&highlight=SteamAPI_IsSteamRunning
I was trying to change appid, but on server startup, srcds was rewriting file to 730, i was trying to input nimbers from 700 to 750 with removing rewrite rights, but that didnt changed anything at all, server showed different version, but errors still occurs.

Any idea ? should i try to fix it or its steam/valve issue and they need to handle it ?
Reply
#2
Ok, similar problem here:
http://steamcommunity.com/app/221410/discussions/0/882965737277378347/?l=polish

How do i do that for my files ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)