View Full Version : srcds problems
Hiya,
I have got everything downloaded and HLDSupdatetool has updated, but when I try and run srcds.exe I get an error saying cannot find Steam.dll and it wont run. I have reinstalled source dedicated server a few times aswell.
Any ideas?
Cheers.
Well after searching the forum, I found out that I can copy the steam.dll file and place it where srcds.exe is located. Now I click it, a DOS window comes up and then says "Unable to load file "surfaceproperties_manifest.txt" yet when I go in scripts the file is there.
Why wont it load it?
Please does anyone have any ideas? I have searched the net and this forum. Someone must know how to fix this?
Thanks
Salt
DanRaZor
03-06-2007, 12:51 AM
I think its not HLDSUpdateTool but the Steam Dedicated Server.
The Standalone srcds doesn't need Steam launched but the "Dedicated Server" yes.
You don't have any dll to copy when installing SRCDS from HLDSUpdateTool.
Check the commands you launch to update the game you choose, they are maybe wrong
or surely not finished fully.
Im sorry but I dont really understand you. I am trying to run srcds, and you are saying Steam doesnt need to be launched?
Also, I have now replaced the Steam.dll file and a DOS window comes up but now it says "Unable to load file surfaceproperties_manifest.txt"
When I check in cstrike\scripts, that file is there.
Why wont it load it?
Cheers,
Salt :)
DanRaZor
03-06-2007, 06:18 AM
The REAL HLDSUpdateTool doesn't need Steam to be launched.
Its a Standalone.
The Dedicated Server under Steam needs Steam to be started and logged to your account.
When Steam is started, it loads the steam.dll and then srcds.exe can run ...
If you start Steam and then click on "Dedicated Server" it is not the HLDSUpdateTool Server.
It's the Steam one ( like any other game ), and it needs steam to be started ...
You can't run hl2.exe directly to play CSS ... its the same trouble you have with srcds.exe.
Go to GET STEAM NOW, look for dedicated server on the bottom right side.
Hiya,
Thanks for the help but I've already stated that I have got rid of the Steam.dll problem, I have now got another problem. Like in my previous post,
"I have now replaced the Steam.dll file and a DOS window comes up but then I get a dialog box that says
"Unable to load file surfaceproperties_manifest.txt"
When I check in cstrike\scripts, that file is there.
Why wont it load it?"
Cheers for any help
BTW: This is happening when I click the shortcut I made for srcds.exe that contains al lthe correct information in the properties i.e. the IP, number of players and map etc.
Cmom people someone must have a simple solution! I have deleted that file and run Hldsupdatetool and it replaced it but I still get the "Engine Error" that says "Unable to load scripts/surfaceproperties_manifest.txt"
When I click Ok to that message, all this comes up and then the DOS window shuts down:
http://img117.imageshack.us/img117/8829/srcdskm7.jpg
Thanks for any help
DanRaZor
03-06-2007, 09:26 AM
Do you use a .bat to launch server ? Make sure the .bat is at the same place as the srcds.exe.
And then eventually make a shortcut to launch the .bat ...
If you launch the srcds.exe with a .bat in your desktop or in Your Documents
you need to go to the directory where srcds.exe is first ...
Batch code :
cd /d G:\HLServer\SRCDS
start /realtime /min /wait srcds.exe -game cstrike -console ...
And the batch :
start /realtime /min /wait G:\HLServer\SRCDS\srcds.exe -game cstrike -console ...
Will not work if the .bat is not in G:\HLServer\SRCDS.
I mean its probably just a problem of current path for execution.
PS : You forgot mentioned you use Vista .. ^^
Ahh yes sorry! My fault should have been more specific :)
So I need to put this as a .bat file on the desktop with the shortcut for srcds.exe? -
cd /d G:\HLServer\SRCDS
start /realtime /min /wait srcds.exe -game cstrike -console
and then this in the directory where srcds.exe is located? -
start /realtime /min /wait G:\HLServer\SRCDS\srcds.exe -game cstrike -console
Cheers
EDIT: I used the first .bat code you gave me and it works! I now have this:
http://img63.imageshack.us/img63/3002/srcds2ag3.jpg
Is this correct?
DanRaZor
03-06-2007, 09:51 AM
Its OK, you just forget some options ... map, maxplayers, game, port ... i think ...
... procedure :
1 : Create a file called startSRCDS.bat just in the same directory of srcds.exe.
2 : Edit the .bat with notepad or just right-click/edit an put the command you use in.
( srcds.exe -console -game cstrike bla bla bla )
3 : Create a shortcut to startSRCDS.bat ( do not copy the .bat !!! )
and copy it anywhere you want, to launch the server.
Here is my startCSS.bat ( Windows XP ) :
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017
/realtime : launch srcds in high priority
/min : minimized
Imo it might work under Vista too
So startCSS.bat should look like this?:
cd /d C:\srcds
start /realtime /min /wait srcds.exe -game cstrike -console
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017
I ran this but it still uses the ports shown in my screenshot.
DanRaZor
03-06-2007, 09:58 AM
So startCSS.bat should look like this?:
cd /d C:\srcds
start /realtime /min /wait srcds.exe -game cstrike -console
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017
I ran this but it still uses the ports shown in my screenshot.
You have two lines and the first is the right one ...
Use ONLY this code :
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017
You will need to also set maxplayers and map ...
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017 +maxplayers 12 +map de_dust2
It now looks like this:
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017 +maxplayers 12 +map de_dust2
It now says "Cannot allocate dedicated server UDP port"
Arghhhh, please say you can help?
DanRaZor
03-06-2007, 10:09 AM
Use ONLY this code in your .bat :
@echo OFF
start /realtime /min srcds.exe -game cstrike -console -port 27017 +maxplayers 12 +map de_dust2
Tip : There is only 2 lines !!!
Ahh K lol, thanks :)
It now hangs on the line "Executing dedicated server file"
I have a server.cfg file so why is it just hanging :s
Okay, it loaded but I get this now:
http://img126.imageshack.us/img126/9892/srcds3pz4.jpg
EDIT: When I go in console and type "connect 192.168.0.5:27017" it connects, as this is my computers IP allocated by the router, but when I type my real I.P it says connection failed. How would people connect to my server?
DanRaZor
03-06-2007, 10:54 AM
So it works perfectly ...
For the external ip, you will have to tell a friend to test it ... your router just don't resolve this IP ... don't forget you're on LAN behind the router ...
My mate tried to join it but it wouldnt connect. Is it to do with my router settings?
DanRaZor
03-06-2007, 11:42 AM
Yes, surely, check the FAQ ...
DanRaZor
03-06-2007, 12:09 PM
Example :
http://support.steampowered.com/cgi-bin/steampowered.cfg/php/enduser/std_adp.php?p_faqid=11
Cheers,
I really cant understand why its not working, the stupid ports are there for the whole world to use yet none of my mates can connect!
Also, I have downloaded the Mani plugin, it didnt come with the adminlist.txt and admingroups.txt files so can you paste what is in them here so I can create them? (If you use mani)
Cheers :)
DanRaZor
03-06-2007, 01:01 PM
For Mani plugin go here :
http://forums.alliedmods.net/showthread.php?t=39448&highlight=mani
For the router make sure your firewall don't block srcds.exe ( Vista and any other firewall ).
And make sure you forward the ports needed.
Hey,
Im sure that I have now opened the ports on my router and the firewall isnt blocking srcds.exe from running but still no one can connect.
Any ideas why? :confused: :(
kennycom
03-07-2007, 06:54 AM
which ports did you open up on the firewall?
and maybe try reading up on how firewalls/routers work at www.portforward.com
I have now set up a static IP for this machine (192.168.0.136) so the ports should always be forwarded to this address.
Im just going to get one of my mates to test the server to see if it will connect now, cos I have configured mcaffee so it should work with it.
There is one problem, I have set myself to be admin in Mani, here is what is in the adminlist.txt file:
STEAM_0:1:4012***
Which is my steam address and this is what is in the clients.txt file:
"clients.txt"
{
"version" "1"
// This key group lists all your client players
"players"
{
// This must be a unique client name
"Peter"
{
// Client real name
"name" "Peter"
// Steam ID for client
"steam" "STEAM_0:1:4012***"
// These are personal access flags for a player
"groups"
{
"Admin" "Serveradmin"
"Immunity" "Serveradmin"
}
}
}
// These are global groups of flags that can be assigned to clients
"groups"
{
"Immunity"
{
"Serveradmin" "a b c d e f g h i j k l m n o p q r s t u v x y afk ping autojoin grav Immunity"
"Clanmember" "a b c k n p ping grav autojoin Immunity"
"Teamadmin" "b k n ping Immunity"
"No Kick Ban" "b k Immunity"
"NoFun" "d f g i j l t Immunity"
}
"Admin"
{
"Serveradmin" "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e"
"Serveradmin" "f g i k l m o p q q2 q3 r s t v w x y z admin client grav pban spray"
"Clanmember" "B D F H I K M N O Q R S T U V W X Y Z a b c d f g i j k l m o p s t v w y admin pban"
"Teamadmin" "I O V a b k l o p v w admin"
"Level 2 Access" "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a c d e"
"Level 2 Access" "f g i j k l m o p q r s t v w z admin spray grav pban client"
"No Rcon Or Sound" "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d"
"No Rcon Or Sound" "e f g i j k l m o q s t v w x y z admin spray grav pban"
"No Rcon Or Sound" "client"
}
}
}
So then I go in console ingame and type "bind p admin" but when im playing on my server and type "P" it says "You are not authorised to use the admin command"
Why is this? :(
Also, no one can get on my server still :(
I can get on it by using my computers local IP address (192.168.0.136) but when my mates use my real IP they cant connect.
WHYYY?!?! :confused: :o :( :o :mad: :(
kennycom
03-07-2007, 10:27 AM
if they cannot connect then your forwarding is not setup properly.
What ports do you have forwarded?
I have 27000-27020, 27200-27039 and 1200.
kennycom
03-07-2007, 10:51 PM
CS:S ports
TCP/UDP 27016 (GamePort)
UDP 1200 (Friends Network)
UDP 27000 to 27015
UDP 27020
TCP 27030 to 27039
TCP: 27015 (SRCDS Rcon port)
the above is for a server running with -port 27016 in the commandline
Hey guys, yes im back again!
The server worked for a while but now no one can connect :( I can connect locally (192.168.0.4) but no one can connect through my real IP. Ports are forwarded in router, no firewall, no AV.
Why is it so unreliable?!
Any ideas?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.