Page MenuHomeFeedback Tracker

Astropos
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 21 2023, 5:53 PM (65 w, 6 d)

Recent Activity

Oct 23 2024

Astropos added a comment to T185532: TB objects on newly added Layers can't be manipulated in BD [Project specific].

the same 1.25 TB project:

Oct 23 2024, 1:27 PM · DayZ Modding, DayZ

Oct 18 2024

Astropos created T185532: TB objects on newly added Layers can't be manipulated in BD [Project specific].
Oct 18 2024, 4:55 PM · DayZ Modding, DayZ

Oct 16 2024

Astropos added a comment to T185424: wrp File.

I was able to brute force a build by ignoring all errors in mikero. It's ok for my local build but it's logs are pretty grim reading

Oct 16 2024, 10:42 PM · DayZ Modding, DayZ
Astropos added a comment to T185424: wrp File.

hi, I'm experiencing a problem with packing my /world folder too.

Oct 16 2024, 7:19 PM · DayZ Modding, DayZ

Dec 14 2023

Astropos added a comment to T165620: Linux Ubuntu 20.04 server cfggameplay.json Problem.

Tracing the openat() system call using strace during the execution of the server shows that the cfggameplay.json file isn't opened at all:

strace -o /tmp/dayz.log -e openat -f ./DayZServer -config=/profiles/serverDZ.cfg -port=2302 -freezecheck -BEpath=/profiles/battleye -profiles=/profiles -nologs

Let the server start up. Then:

grep json /tmp/dayz.log

The only json file that's opened is a different one:

1353 openat(AT_FDCWD, "/serverfiles/mpmissions/dayzOffline.chernarusplus/cfgundergroundtriggers.json", O_RDONLY) = 164

This was actually a very helpful tip, thank you very much, because of this I was able to get it to work again on my server.

If run the strace for the stat systemcall instead of the openat one, you will find that stat for the file cfgGameplay.json is being done during startup:

...
20457 stat("/dayz_server_root_directory/mpmissions/dayzOffline.chernarusplus/cfgGameplay.json", {st_mode=S_IFREG|0755, st_size=2594, ...}) = 0
...

(this line may look a bit different for you, i only took this trace after finding and fixing my issue)

So it seems the reason that the file is not being opened is the spelling of its name (note the capital G in the syscall that is neither in the documentation nor in the directory tree you download: cfggameplay.json vs cfgGameplay.json).
For me, renaming this file to include the capital G in its filename has actually solved the issue, so here's to hoping that this is the case for you as well.

I suspect that this stems from development on windows (given the apparent focus on windows releases, i suspect that DayZ is developed on windows), as windows does not care about capitalization of filenames at all while linux very much does (i.e on windows 'cfggameplay.json' and 'cfgGameplay.json' are actually the same file, while on linux they're two different files).

In any case, good luck to you all having this issue, and I hope that my comment here can help others as well.

Dec 14 2023, 12:48 PM · DayZ Modding, DayZ