Quake Live

Quake Live

extraQL userscripts
XPEHOPE3 21 Nov, 2015 @ 11:26am
Steamnick doesn't work, steam_api.dll could not be initialized
Decided to start a discussion to not trash the comments.

So the situation is like this: for the majority of users the steamnick command does always work, for some users it never works. There's at least 1 user reporting it first didn't work and then magically started working.
Docs say (visible after login) there could only be 3 possibilities why a call to SteamAPI_Init may fail:
  1. The Steam client isn't running.
  2. The Steam client couldn't determine the AppID of game. Make sure you have Steam_appid.txt in your game directory.
  3. Your application is not running under the same user context as the Steam client, including admin privileges.
ExtraQL definitely takes care of 1).
3) can be viewed in Task manager, see instructions[www.sevenforums.com], all Ok in my case, both ExtraQL and Steam run from the same user with admin rights.
2) is trickier as ExtraQL uses a different appid than Quake Live, but the file is surely there in my case, and for others it works, so...
magic, but still steamnick fails for me.

I'm in here for help to debug the problem.
< >
Showing 1-1 of 1 comments
XPEHOPE3 21 Nov, 2015 @ 11:40am 
So I stumbled upon http://steamworks.github.io/steammanager/#steamapiinit and saw:
If you’re running into Init issues try running Microsoft’s DbgView[technet.microsoft.com] prior to launching to get the internal output from Steam.

I downloaded it, started it, opened Steam, saw some output from Steam, opened ExtraQL, pressed the tick to change Steam nick - NO debug output at all.

Then I closed Steam and ExtraQL, changed my Steam desktop shortcut to call
"C:\Program Files\Steam\Steam.exe" -developer -console -debug_steamapi
The debug log now contained the following:
[7592] [S_API INFO] Credentials.GetSteamGuardDetails#1(): OK
So at least it shows some debug info about SteamAPI. Then I started ExtraQL and pressed the tick - NO debug output generated. Now that's strange.

Then I closed ExtraQL. Went to Console tab in Steam (that should be there if you provide -console command line flag) and typed:
set_spew_level 10 10

Then I opened ExtraQL, press the ticks N times - still NO debug output. Then I closed ExtraQL and I get EXACTLY N strings in debug output in the form:
[6956] CClientMusic::OnSteamPipeClosed - 458757 [6956] CClientMusic::OnSteamPipeClosed - 524292 [6956] CClientMusic::OnSteamPipeClosed - 589830 [6956] CClientMusic::OnSteamPipeClosed - 655367 [6956] CClientMusic::OnSteamPipeClosed - 720904

I wonder what can it mean??
< >
Showing 1-1 of 1 comments
Per page: 1530 50