Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soldat client dies when run without arguments #35

Open
Wuzzy2 opened this issue Jul 14, 2020 · 5 comments
Open

Soldat client dies when run without arguments #35

Wuzzy2 opened this issue Jul 14, 2020 · 5 comments

Comments

@Wuzzy2
Copy link

Wuzzy2 commented Jul 14, 2020

When you start the Soldat client under GNU/Linux without any arguments, the game dies instantly. The only thing that happens is that a window pops up for a split second, then Soldat dies.

There is no message, no error message, warning or anything that could be helpful to guide the user towards a solution.

Soldat version: 078795a

@akiross
Copy link

akiross commented Sep 24, 2020

Same problem here. Apparently, the game is compiled in debug mode, but the Debug functions produce no result. Not being expert with Pascal, I did a very very stupid replacement of Debug with writeln and this is the output:

[FS] Portable mode enabled.
[FS] UserDirectory: /home/are/Learning/soldat-nix/soldat/client/build/
[FS] BaseDirectory: /home/are/Learning/soldat-nix/soldat/client/build/
[PhysFS] Initializing system
[PhysFS] Mounting game archive
Game captions not found

Inspecting again with writeln I can see it tries to load the captions from /txt/en_US.UTF-8.mo, but I cannot find any .mo file in the entire repository, so I really don't know how to proceed.

@akiross
Copy link

akiross commented Sep 24, 2020

@Wuzzy2 I saw from another issue that you manage to run the game. How did you solve this issue?

@helloer
Copy link
Contributor

helloer commented Sep 24, 2020

Soldat currently doesn't have a GUI so it will exit without -join argument. What you need to do is:

  1. Start soldatserver (./soldatserver)
  2. Start soldatclient (./soldat -join 127.0.0.1 23073)

@akiross
Copy link

akiross commented Sep 24, 2020

Oh, I thought that was a default.
The game crashes, apparently due to access violation in networking code, but at least it's a progress.
Thank you!

@Wuzzy2
Copy link
Author

Wuzzy2 commented Sep 24, 2020

I don't remember what I did, but I believe it was the same that helloer wrote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants