# Steam’s api dll doesn’t initialise

**URL:** <https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199>\
**Category:** CoD4x | Server Support\
**Created:** [January 5, 2024, 5:40pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199 "2024-01-05T17:40:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![valohawk](https://cod4x.ovh/user_avatar/cod4x.ovh/valohawk/32/871_2.png) [@valohawk](https://cod4x.ovh/u/valohawk)\
**Post date:** [January 5, 2024, 5:40pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/1 "2024-01-05T17:40:45Z")

</div>

Hi, recently we’re having trouble with our servers.  
Apparently the Steam’s api dll doesn’t initialise properly and all the players are assigned playerid 0.  
Example:

```auto
num score ping guid name lastmsg address qport rate
--- ----- ---- -------------------------------- --------------- ------- --------------------- ----- -----
 10 0 71 0 MB VALOHAWK 50 xx.x.xxx.xxx:28960 6478 25000

```

These three lines are now missing in qconsole.log:

```auto
Steam: Server connected successfully
GameServer is not VAC Secure!
GameServer SteamID: [...]

```

This applies to all players, whether they connect with or without Steam.  
I have no idea why it’s happening

---

<div class="post-metadata">

**Author:** ![K-Faktor](https://cod4x.ovh/user_avatar/cod4x.ovh/k-faktor/32/70_2.png) [@K-Faktor](https://cod4x.ovh/u/K-Faktor)\
**Post date:** [January 5, 2024, 7:25pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/2 "2024-01-05T19:25:18Z")

</div>

I do not see this problem on my servers

---

<div class="post-metadata">

**Author:** ![MAD\_DAD](https://cod4x.ovh/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@MAD\_DAD](https://cod4x.ovh/u/MAD_DAD)\
**Post date:** [January 5, 2024, 8:08pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/3 "2024-01-05T20:08:57Z")

</div>

Have you tried extracting the server files again over your existing to replace them in case there is a corrupted file(s).

---

<div class="post-metadata">

**Author:** ![valohawk](https://cod4x.ovh/user_avatar/cod4x.ovh/valohawk/32/871_2.png) [@valohawk](https://cod4x.ovh/u/valohawk)\
**Post date:** [January 5, 2024, 8:41pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/4 "2024-01-05T20:41:18Z")

</div>

Do you mean steam\_api.so?

---

<div class="post-metadata">

**Author:** ![MAD\_DAD](https://cod4x.ovh/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@MAD\_DAD](https://cod4x.ovh/u/MAD_DAD)\
**Post date:** [January 6, 2024, 12:25am UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/5 "2024-01-06T00:25:30Z")

</div>

I mean the full cod4x server files

---

<div class="post-metadata">

**Author:** ![valohawk](https://cod4x.ovh/user_avatar/cod4x.ovh/valohawk/32/871_2.png) [@valohawk](https://cod4x.ovh/u/valohawk)\
**Post date:** [January 6, 2024, 6:34pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/6 "2024-01-06T18:34:53Z")

</div>

Ok I fixed it. Basically the server’s startup script (like main\_server.sh) was executed by another process (a discord bot) with a different working directory. Aligning the two working directories solved the issue.

---

<div class="post-metadata">

**Author:** ![MAD\_DAD](https://cod4x.ovh/letter_avatar_proxy/v4/letter/m/b2d939/32.png) [@MAD\_DAD](https://cod4x.ovh/u/MAD_DAD)\
**Post date:** [January 6, 2024, 6:42pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/7 "2024-01-06T18:42:00Z")

</div>

Glad to see you sorted it 👍

---

<div class="post-metadata">

**Author:** ![SMiLeY](https://cod4x.ovh/user_avatar/cod4x.ovh/smiley/32/2350_2.png) [@SMiLeY](https://cod4x.ovh/u/SMiLeY)\
**Post date:** [February 10, 2024, 3:29pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/8 "2024-02-10T15:29:09Z")

</div>

I’m also having this trouble. I will look into it later and post if the problem is similar.

---

<div class="post-metadata">

**Author:** ![SMiLeY](https://cod4x.ovh/user_avatar/cod4x.ovh/smiley/32/2350_2.png) [@SMiLeY](https://cod4x.ovh/u/SMiLeY)\
**Post date:** [February 12, 2024, 7:49pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/9 "2024-02-12T19:49:16Z")

</div>

Still inconsistent…I use NeHo’s webadmin for Steam authentication to admin…but I am coming up as having insuffcient power (sometimes, but most of the time).

---

<div class="post-metadata">

**Author:** ![SMiLeY](https://cod4x.ovh/user_avatar/cod4x.ovh/smiley/32/2350_2.png) [@SMiLeY](https://cod4x.ovh/u/SMiLeY)\
**Post date:** [February 14, 2024, 2:02pm UTC](https://cod4x.ovh/t/steam-s-api-dll-doesn-t-initialise/3199/10 "2024-02-14T14:02:31Z")

</div>

No good for me ☹ I have gotten a new API Key from Steam to use for the site (webadmin) restarted and done all but I am not getting authenticated…NO idea whats going on. Steam is running and linked to meand I can see my Steam ID in webadmin. Webadmin has not been chnaged or updated in any way so is it CoD4X side…No idea 🙂

Anyone else using the Webadmin from NeHo ?

Its been a while so maybe I am missing something 🙂
