Comments (3)
I heard that Linux has issues with reading directories. this problem is likely out of our control
from dayz-editor-loader.
Just encountered the same error as mentioned above (also on linux)
I tried to dig and trace a bit to determine if there´s some case-sensitive issue - According to the log, the loader is able to find end open the directory, but then is not able to enumerate the contained files. (I tried also to set permissons as open as possible, no changes on that)
Although an list/dir on the given path "/home/dayz/serverfiles/mpmissions/dayzOffline.chernarusplus//EditorFiles/*.dze" returns output on commandline, I´m not sure if there might be an issue due to the double-slashes (chernarusplus//EditorFiles) within the Loader-Mod itself.
Attached an STRACE output where the loader fails to find any files in directory:
---snip---
stat("/home/dayz/serverfiles/mpmissions/dayzOffline.chernarusplus//EditorFiles", {st_mode=S_IFDIR|0755, st_size=52, ...}) = 0
openat(AT_FDCWD, "/home/dayz/serverfiles/mpmissions/dayzOffline.chernarusplus//EditorFiles", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 394
newfstatat(394, "", {st_mode=S_IFDIR|0755, st_size=52, ...}, AT_EMPTY_PATH) = 0
getdents64(394, 0x5a72d870 /* 3 entries /, 32768) = 96
getdents64(394, 0x5a72d870 / 0 entries /, 32768) = 0
close(394) = 0
openat(AT_FDCWD, "/home/dayz/serverfiles/mpmissions/dayzOffline.chernarusplus//EditorFiles/.dze", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
write(378, "SCRIPT : [EditorLoader] No"..., 54) = 54
---snap---
If I can test something or provide any further information, please let me know.
from dayz-editor-loader.
I heard that Linux has issues with reading directories. this problem is likely out of our control
Every modder is saying it is up to DayZ to update the server, but that is not problem of the linux server. Its how linux treats dirs.
Modders need to use:
#ifdef PLATFORM_LINUX
LoadDirectory(ROOT_DIRECTORY, files);
#else
LoadFolder(ROOT_DIRECTORY, files);
#endif
from dayz-editor-loader.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dayz-editor-loader.