steam_api_c.dll error

Post Reply
rah350z
New to forums
New to forums
Posts: 5
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Jul 30, 2012 10:06 am

steam_api_c.dll error

Post by rah350z »

I have a VDS with Windows 2008 R2.
I've just ran hldupdatetool -command update -game cstrike -dir "c:/game"
Was making a brand new server to make a scrim server.
Setup was easy only one problem
After running hlds about 3 times, I get an error that hlds crashes everytime I start up hlds.
my hlds command looks like this

Code: Select all

.\hlds.exe -game cstrike -console +port 1337 +maxplayers 12 -pingboost 2
I have this as an hlds shortcut on the desktop, and have the commands the Target Box.
I've also tried this same thing on Command prompt and using a batch file.
Even just a simple

Code: Select all

".\hlds.exe -game cstrike -console"
doesn't work

As soon I start it up, it crashes with the following

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	hlds.exe
  Application Version:	4.1.1.1
  Application Timestamp:	5016f099
  Fault Module Name:	steam_api_c.dll
  Fault Module Version:	1.13.88.28
  Fault Module Timestamp:	4e25fdb4
  Exception Code:	c0000005
  Exception Offset:	00003475
  OS Version:	6.1.7601.2.1.0.272.7
  Locale ID:	1033
  Additional Information 1:	674f
  Additional Information 2:	674f57842b3a7513c139a65797810845
  Additional Information 3:	ebe7
  Additional Information 4:	ebe741863fab3d50ecc76719207a0ee6
I've got the base install and 0 plugins running. Nothing additional installed except for server.cfg changes.

Code: Select all

// Edit this to your liking.

// Name Of Server
hostname "My Server"

// CS Specific Cvars
mp_autokick 1
mp_autoteambalance 1
mp_c4timer 35
mp_flashlight 1
mp_footsteps 1
mp_forcechasecam 0
mp_freezetime 4
mp_friendlyfire 0
mp_hostagepenalty 0
mp_limitteams 1
//mp_logdetail 3
mp_logmessages 1
mp_mapvoteratio 0.6
mp_roundtime 2.5
mp_buytime .5
mp_timelimit 30
mp_maxrounds 0
sv_restartround 0
mp_ghostfrequency 0
mp_startmoney 800
allow_spectators 1
mp_chattime 2

// General HL Cvars
sv_clienttrace 3.5
decalfrequency 60
mp_decals 100
mp_falldamage 1
pausable 0
sv_aim 0
sv_cheats 0
sv_maxspeed 500
sv_maxrate 0

sv_minrate 30000

sv_timeout 120
sv_netsize 0
sv_maxunlag 0.2
sv_gravity 800
sv_airaccelerate 10
edgefriction 2
mp_fragsleft 0
mp_consistency 1
sv_allowupload 1
sv_allowdownload 1
//sv_visiblemaxplayers 18
//sv_challengetime 45

// Rcon Stuff
rcon_password "myrconpass"

// Make sure the right people are banned
filterban 1
exec banned.cfg
writeid

//files
mapcyclefile mapcycle.txt

logsdir "logs"
log on

// disable lag compensation
//sv_unlag 1

heartbeat

// important settings inserted by NFo
sys_ticrate 10000

max_queries_sec_global 150
max_queries_sec 3
sv_stats 0
mapchangecfgfile "server.cfg"

sv_voicecodec voice_speex
sv_voicequality 5
hpk_maxsize 1

sv_region 0

sv_password "mypass"
sv_downloadurl "mywebsite"
If anyone can shed some light I would highly appreciate it.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: steam_api_c.dll error

Post by soja »

That looks like the windows error report, which rarely sheds light on the real problem, get a screenshot of the console content when it crashes again, that should provide some more relevant info.
Not a NFO employee
rah350z
New to forums
New to forums
Posts: 5
Joined: Mon Jul 30, 2012 10:06 am

Re: steam_api_c.dll error

Post by rah350z »

Image

As soon as I start it up, this is what happens.
User avatar
Edge100x
Founder
Founder
Posts: 12947
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: steam_api_c.dll error

Post by Edge100x »

Is this still a plugin-free server?

Have you tried re-running hldsupdatetool with the "-verify_all" option?

When starting your server, you don't need the ".\" bit at the beginning, and I would recommend downloading to a subdirectory (such as "hldsbase") instead of "c:/game".
rah350z
New to forums
New to forums
Posts: 5
Joined: Mon Jul 30, 2012 10:06 am

Re: steam_api_c.dll error

Post by rah350z »

Edge100x wrote:Is this still a plugin-free server?

Have you tried re-running hldsupdatetool with the "-verify_all" option?

When starting your server, you don't need the ".\" bit at the beginning, and I would recommend downloading to a subdirectory (such as "hldsbase") instead of "c:/game".
It is still a plugin-free server as I will be using it for a scrim server free of anything.

I tried re-running hldsupdatetool with -verify_all option
doesn't work as well

I only said ".\" as I was using powershell but the same outcome happens on command prompt.
I have all my servers in folders like this
C:/My Servers/Server1
C:/My Servers/Server2

Using hlds with the gui works just fine. This only happens when I try to run it via console mode.
rah350z
New to forums
New to forums
Posts: 5
Joined: Mon Jul 30, 2012 10:06 am

Re: steam_api_c.dll error

Post by rah350z »

I have just figured it out. It had nothing to do with my DLL files at all. It was in the server.cfg file.
I pulled this server.cfg file from a managed VDS i have and the command "heartbeat" was the one causing this issue.

Removed that one line, and all fixed.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: steam_api_c.dll error

Post by soja »

Thanks for updating us, in case I encounter this error again.


Glad you got it fixed :)
Not a NFO employee
Post Reply