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

[Bug]: DAYZ bug in "[Advanced] Server-Side Only Mods" #119

Open
penalte opened this issue Jan 12, 2025 · 6 comments
Open

[Bug]: DAYZ bug in "[Advanced] Server-Side Only Mods" #119

penalte opened this issue Jan 12, 2025 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@penalte
Copy link

penalte commented Jan 12, 2025

There is a bug in "[Advanced] Server-Side Only Mods" That only read the first mod, also in DayZ linux wiki they say to not use "@" and to put the launch parameter mod and servermod in quotes "" here it is https://community.bistudio.com/wiki/DayZ:Hosting_a_Linux_Server.
About the bug it is something to do with
"# Replace Startup Variables
modifiedStartup=eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')"

LOGS:
[UPDATE]: Steam Workshop mod update check complete!
/entrypoint.sh: line 283: @3098001210: command not found
/entrypoint.sh: line 283: @2464526692: command not found
/entrypoint.sh: line 283: -dologs: command not found
[STARTUP]: Starting server with the following startup command:
./DayZServer -port=2302 -profiles=profiles -bepath=./ -config=serverDZ.cfg -mod= -serverMod=@2960586913

@penalte penalte changed the title DAYZ bug in "[Advanced] Server-Side Only Mods" [Bug]: DAYZ bug in "[Advanced] Server-Side Only Mods" Jan 12, 2025
@redthirten redthirten self-assigned this Jan 12, 2025
@redthirten redthirten added the bug Something isn't working label Jan 12, 2025
@redthirten
Copy link
Contributor

@penalte Ignoring the @ symbol for a second, could you please try replacing your server's startup command with the following and let me know if it works for you:

./{{SERVER_BINARY}} -port={{SERVER_PORT}} -profiles=profiles -bepath=./ -config=serverDZ.cfg "-mod={{CLIENT_MODS}}" "-serverMod={{SERVERMODS}}" {{STARTUP_PARAMS}}

Relevant discussion of this issue can be found here: pelican-eggs/eggs#2021
I need to find time to do some testing to see what is actually true.

@penalte
Copy link
Author

penalte commented Jan 12, 2025

That works, it also works with @ in the mods, thanks.

@redthirten
Copy link
Contributor

Awesome, thanks for checking. So if you load, say, five mods, they all load correctly? If so, I'll make a PR for this fix soon.

Regarding the @, it shouldn't make a difference and their docs don't explicitly say to not use it. I have to use it as an identifier for mods in the entrypoint script, so it needs to remain if possible.

@penalte
Copy link
Author

penalte commented Jan 12, 2025

Yes, you can make that PR it works fine, loads all mods and works with @.

LOGS:
Starting server with the following startup command:
./DayZServer -port=2302 -profiles=profiles -bepath=./ -config=serverDZ.cfg -mod= -serverMod=@2960586913;@3098001210;@2464526692; -dologs -adminlog -netlog -freezecheck

Thanks.

@redthirten
Copy link
Contributor

LOGS: Starting server with the following startup command: ./DayZServer -port=2302 -profiles=profiles -bepath=./ -config=serverDZ.cfg -mod= -serverMod=@2960586913;@3098001210;@2464526692; -dologs -adminlog -netlog -freezecheck

I don't see the quotes " in your startup command?

@penalte
Copy link
Author

penalte commented Jan 13, 2025

That is the logs and they dont show the quotes, the fact that the start up command is complete it means that is working,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants