Loading...
  OR  Zero-K Name:    Password:   

Steam API error, and I cant update the spring lobby

15 posts, 1341 views
Post comment
Filter:    Player:  
sort
7 years ago
Hi, Im sorry if this has been answered before. I reinstalled Linux Mint Sarah 18, and now when trying to run Zero-K, I get a steam error like this.

Chobby.exe Information: 0 : Connecting to steam API
[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.so.
Chobby.exe Information: 0 : Starting
Chobby.exe Warning: 0 : Spring exit code is: 127, assuming crash

Please help me.

Also I cant seem to find the latest version of Spring Lobby

Thank you,

DuffmaN
+1 / -0
Run
~/.spring/engine/<ver>/spring
directly in the console and look at what libs it says are missing. I may be off with the path, look around for it.

Also make sure you've run
sudo apt-get install mono-complete libsdl2-2.0-0 libopenal1
like http://zero-k.info/Wiki/Download tells you to.
+0 / -0
7 years ago
Hey thanks ikinz, I did figure out last night that I didnt have libcurl installed, now the game runs great, but I noticed in the terminal, that its still looking for steam?

My Spring Lobby version is .237, it says the latest version is .256, where do I find the latest SL?


Thx, Mike
+1 / -0
7 years ago
I got the latest Spring Lobby, I used wine, and loaded the windows version
+1 / -0
Hi, I play Zero-K on Mint 18 Mate.
It does print messages about looking for steam, but doesn't need it to run.
Did you get it running without Wine?

For Zero-K, Chobby is the best option I think.
For other Spring games, the QT port is better than old Spring Lobby: http://weblobby.springrts.com/
+0 / -0
7 years ago
Hi Vermind,

Yeah, Zero-K works great, I love this game, it's the best of the spring mods IMO, and having said that, Im a total newbi at RTS games, I tend to get lost in watching the battles, and forgetting to micro, but I'll catch on.

How do you run Zero-K? I have the folder on my desktop, I open it, and right click on Chobby, and choose run with mono runtime, it then self updates, and the Zero-K lobby opens, is there a way to put Chobby on the desktop, so I can just left click to open?


Spring Lobby.256 windows version is running under wine. I also have .237 installed from the software manager

I have Spring Web Lobby Linux 64 version, but it's stuck on connecting, and will not connect, is there a way to stop it from trying to connect?


Oh there's a mod called "The Cursed", thats a cool looking game too, the sarge with the cigar in his mouth is just too funny.


Thx,

DuffmaN aka CNCGuy
+1 / -0
Hi,
Weird about Spring Web Lobby, works fine for me. I downloaded this:
https://github.com/springweblobby/swl-qt/releases/download/v1.5/weblobby-1.5-linux64.zip and just extracted, double clicked the weblobby script.

to make a shortcut to Zero-K, open xed or pluma (text editor) and paste this:

quote:

[Desktop Entry]
Comment=Play Zero-K
Name=Zero-K
Exec=/home/user/.local/share/Steam/steamapps/common/Zero-K/Chobby.exe
Path=/home/user/.local/share/Steam/steamapps/common/Zero-K
Icon=Game
StartupNotify=false
Categories=Game;
Type=Application


Replace the paths after Exec= and Path= with the place where your zero-k is, for example /home/user/Desktop/Zero-K/Chobby.exe for Exec if you have a folder called Zero-K on your desktop.

Save this with the file name zero-k.desktop
Don't put .txt or anything at the end. Save it on your desktop.
Then right click the file on your desktop and choose properties. In the permissions tab, make it executable.
now double-clicking on it should run Zero-K.

To make Zero-K appear on your applications menu (Mint Menu), you need to place this zero-k.desktop file also in /home/user/.local/share/applications . You can do this by opening the file manager at your home folder, pressing Ctrl+H to show hidden files, and double clicking .local, then share, then applications. Then copy and paste the file from your desktop there. It should show up in Mint Menu search and the Games category immediately.
+0 / -0
7 years ago
Much thanks Vermind, the shortcut works great.

The Spring Web Lobby that I have, is the same one you listed, it did work, at first, it's when I tried to login, here's the terminal readout,

[INFO] springHome is "/home/md2017/.spring"
[INFO] Loading unitsync at "/home/md2017/.spring/engine/103.0/libunitsync.so"
[INFO] Connecting to lobby server on lobby.springrts.com:8200
[WARNING] readFileLess(): Could not open "/home/md2017/.spring/weblobby/logs/##battleroom.txt"
[INFO] Running command (spring-config-vars):
/home/md2017/.spring/engine/103.0/spring --list-config-vars
[INFO] Command finished: spring-config-vars
[WARNING] undefined:31 TypeError: undefined is not an object (evaluating 'user.elo')
[WARNING] undefined:31 TypeError: undefined is not an object (evaluating 'user.elo')
[WARNING] undefined:31 TypeError: undefined is not an object (evaluating 'user.elo')
[WARNING] readFileLess(): Could not open "/home/md2017/.spring/weblobby/logs/#weblobby.txt"
[WARNING] undefined:31 TypeError: undefined is not an object (evaluating 'user.elo')
[WARNING] undefined:31 TypeError: undefined is not an object (evaluating 'user.elo')
[WARNING] undefined:31 TypeError: undefined is not an object (evaluating 'user.elo')

It's now always auto connecting.

I do have another login name "CNCGuy" (not Command & Conquer, it's Computerized Numerical Control) I work in a CNC machine shop,anyway, I can login to Spring Lobby with CNCGuy, but not DuffmaN.



+0 / -0

7 years ago
Hi,
Do you know if your other alias works in Spring in general, or just Chobby? The servers that Zero-K and the other Spring games use are different, so one account might not exist on both...

But assuming this works with SpringLobby wine, try deleting the .spring folder completely and see if it resets logged in / autologin status.
+0 / -0
7 years ago
ok, CNCGuy works in Spring Lobbies, and DuffmaN only in ZK lobby.

I dont see any ZK games being played in the spring lobbies anymore anyway, I use them to play,1944, BA, nota or the cursed.

Is ZK going to be on steam? I've see talk about it being "greenlighted" for steam.
+0 / -0

7 years ago
quote:
Is ZK going to be on steam? I've see talk about it being "greenlighted" for steam.


yes- in 15 years
+0 / -0

7 years ago
There has been lots of discussion on if we're ready for Steam or not, see for example:
http://zero-k.info/Forum/Thread/24264?postID=176309#176309
+0 / -0
7 years ago
I finally got the spring weblobby out of it's always connecting, but never connecting hicup.

When I clicked the weblobby icon, I put the mouse over where it would say connecting, and I rapid clicked. That made it stop and give me a failed to connect message, I then went into login settings, for some reason CNCGuy will not connect in SWL, it does in version 100, and version 103 of spring lobby.

DuffmaN right away has a "invalid password", but it, does login if I check use Zero-K server.

I created a ]DuffmaN[ login for SWL, and it worked! now on to learning how to play.



Thanks for all the help


+0 / -0
Hang on USrankDuffmaN, did you get Chobby.exe to work fine? Is the extent of your problem that there are two steam errors in the console? If so, why does it matter? It looks, doesn't find it, so starts without it.

I strongly recommend that you use chobby because the other lobbies are unsupported. They only partially implement the correct behaviour for the server and I don't know who would think it is important to fix them if/when they break.
+0 / -0
7 years ago
I have a similar issue, except I'm on Arch and I get the spring exit code 134:

Chobby.exe Information: 0 : Connecting to steam API
[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.so.
Chobby.exe Information: 0 : Starting
Chobby.exe Warning: 0 : Spring exit code is: 134, assuming crash

Launching spring on its own works just fine, so I'm not sure what happend here.
+0 / -0