Package Details: soldat-git 1.8.0.alpha.initial.33.g078795a-1

Git Clone URL: https://aur.archlinux.org/soldat-git.git (read-only, click to copy)
Package Base: soldat-git
Description: Unique 2D (side-view) multiplayer action game.
Upstream URL: https://github.com/Soldat/soldat
Keywords: game
Licenses: BSD, MIT, CC-BY-4.0
Provides: soldat
Submitter: thann
Maintainer: thann
Last Packager: thann
Votes: 6
Popularity: 0.187903
First Submitted: 2020-05-26 04:10
Last Updated: 2020-07-14 19:44

Pinned Comments

thann commented on 2020-05-26 04:14

Start Server: soldatserver

Start Game: soldat -join 127.0.0.1 23073

Config Location: ~/.local/share/Soldat/Soldat/

Latest Comments

1 2 Next › Last »

kaczus commented on 2020-08-11 21:01

Looks like some kind of a race condition. Got the same error "cp: cannot stat 'libstb.so': No such file or directory". BUT, using bare makepkg twice worked. The package got built. It crashes when entering the game

$ soldat -join 0.0.0.0 30000   
[NET] Received SteamNetConnectionStatusChangedCallback_t (2181141519, ((k_ESteamNetworkingIdentityType_Invalid, 0, 0, ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''], (((0, 0, 0, [0, 0, 0, 0]), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), 0), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]), -1, 0, (((0, 0, 65535, [0, 0, 0, 0]), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0]), 30000), 0, 1, 0, k_ESteamNetworkingConnectionState_Connected, 0, ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '#', '2', '1', '8', '1', '1', '4', '1'], ['5', '1', '9', ' ', 'U', 'D', 'P', ' ', 'i', 'n', 'v', 'a', 'l', 'i', 'd', '@', '0', '.', '0', '.', '0', '.', '0', ':', '3', '0', '0', '0', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''], k_ESteamNetTransport_Unknown), k_ESteamNetworkingConnectionState_Connected)
[NET DEBUG] [#2181141519 UDP invalid@0.0.0.0:30000] problem detected locally (5003): Timed out attempting to connect
An unhandled exception occurred at $00000000004ECF40:
EAccessViolation: Access violation
  $00000000004ECF40
  $00000000004AACB0
  $00000000004AACB0
  $00000000004D271B
  $00000000004D1B8B
  $00007F44DE9141A4
  $00000000004D1B30

[NET] Received SteamNetConnectionStatusChangedCallback_t [NET DEBUG] Shutting down low level socket/threading support.

kochon commented on 2020-07-20 16:03

Package fails to copy libstb.so... not sure what the solution is, none of the solutions posted here seem to do it for me.

thann commented on 2020-07-14 19:52

@Wuzzy Thanks for the reports! I updated the license and instead of depending on an external gamenetworkingsockets, I decided to just build the custom version needed inside this PKGBUILD =]

Wuzzy commented on 2020-07-14 11:10

Building the package fails when picking gamenetworkingsockets-git:

This is my error log:

~/.cache/pikaur/build/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:1631: undefined reference to `SteamAPI_SteamNetworkingSockets_v008'
/usr/bin/ld: ./build/x86_64-linux/GameNetworkingSockets.o: in function `RUNCONNECTIONSTATUSCHANGEDCALLBACKS':
~/.cache/pikaur/build/soldat-git/src/soldat-git/server//../shared/libs/GameNetworkingSockets/GameNetworkingSockets.pas:1749: undefined reference to `SteamAPI_ISteamNetworkingSockets_RunConnectionStatusChangedCallbacks'

EDIT: According to the developer(s), libGameNetworkingSockets needs to be built under a very specific commit. How strange. https://github.com/Soldat/prebuilt-libs/issues/1

You probably want to talk to the devs, too.

Wuzzy commented on 2020-07-14 10:17

Media license changed!

Soldat media files (https://github.com/Soldat/base) are now released under CC BY 4.0. The license “custom:Shareware assets” no longer applies.

thann commented on 2020-06-29 19:20

@traace, the PKGBUILD does include the make command for stb, but for some reason it doesn't work for some people =/

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=soldat-git&id=5a995902d5f78a97cac75a2a6784ddbeea71a7a3#n39

thann commented on 2020-06-17 19:17

The protobuf errors are caused by a recent update to protobuf. If you update gamenetworkingsockets-git then it should work =]

Traace commented on 2020-06-06 05:49

Edit: @thann thanks for all the help :) Updating gamenetworkingsockets-git resolved that protobuf error. However it brought back libstb.so missing error.

I'll now mod the PKGBUILD and include make -d running in client/libs/stb dir. Just wonder why this isn't included in the AUR PKGBUILD file by default?

thann commented on 2020-06-01 23:53

If you're having trouble with libstb.so, try going into client/libs/stb/ and running make -d

Traace commented on 2020-06-01 18:35

nice, a few days after soldat finally gone open source we have a PKGBUILD file. thanks @thann.

For me make actually throws an error that libstb.so is missing.

cc -shared -O3 -fPIC -fno-strict-aliasing -o libstb.so src/stb.c

cp libstb.so ../../build/

cp: cannot stat 'libstb.so': No such file or directory

Edit: sorry, I'm not a docker guy :(