eggs icon indicating copy to clipboard operation
eggs copied to clipboard

[Bug]: DayZ Experimental will not load mods

Open Wannab007 opened this issue 2 years ago • 6 comments

Panel Version

1.9.2

Wings Version

1.6.4

Service

dayz experimental

Modified

No, I did not modify the egg

Expected Behavior

adding mods to the startup tab, additional mods and server mods section, and having the mods load

Actual Behavior

Mods do not load as the startup command that are automatically generated places some "" (quotation marks) in an incorrect place which doesn't allow the mods to load. The quotation that is being generated only incases the @mod, and editing the startup command to "-mod=@mod" has loaded the mod successfully.

Manually editing the startup command to add mods is a workaround.

Steps To Reproduce

add mods to additional mods and server mods section of startup tab start server mods do not load

Install logs

https://pteropaste.com/wcfz57/

Wannab007 avatar Jul 21 '22 12:07 Wannab007

are there really mods for Linux dedicated? idk, if the Linux Server have mod support

gOOvER avatar Jul 21 '22 13:07 gOOvER

@Wannab007 The quotation marks are there in effort to "escape" the semicolon (;) that is supposed to follow every mod, similar to Arma 3. Otherwise, the ; character would prematurely terminate the startup command within the entrypoint.sh bash script that runs internally within the image. The workaround for this for Arma 3 on Linux is to surround the -mod and -serverMod launch parameters with quotations (like you see with the DayZ startup command), but maybe DayZ doesn't accept quotations?... I don't know; documentation is very poor. Though, I'm fairly certain the way it is should be correct.

Regarding your issue, it looks like you are trying to run a singular mod, and you were able to eventually get it working, which tells us the mod is not the problem. Could you please post a screenshot or exactly what you have for the following startup parameters?:

  • Modlist File (Exported from DayZ Launcher)
  • Additional Mods
  • [Advanced] Server-Side Only Mods

This will help me determine if the issue is user error or an issue with the egg. Thanks :)

Edit: Also, if you could include logs of the server starting up with the original startup command where the mod doesn't load, that would also be helpful.

lilkingjr1 avatar Jul 21 '22 15:07 lilkingjr1

This is what the startup command looks like when the mods do not load. startup default

This is the change I make in the admin panel (note the changes to the mods and server mods arguments) startup command change admin panel

This is what I am getting when the mods actually load. startup after change

Now even though the mods are loaded I still haven't been able to get zomberry admin tools to work, it is loading as it is creating the files it needs in the server profile folder (before I adjust the startup command I would get nothing). This issue just may be a case of compatibility experimental. If that is the case then I will just have to tell my friends that I cannot run dayz for them with that particular mod, or any mods possibly. I don't play dayz so I am not very familiar with how this is supposed to be set up. This is just what I have found with the panel and running the server so far.

Thanks for looking into it. {edit due to incorrect pictures uploaded}

Wannab007 avatar Jul 21 '22 16:07 Wannab007

Well I've gotten the mods to work without issue, moving zomberry from serverMod to mod and everything is functioning. The only issue that remains is the startup command. The mods will not load by using the default setup and I have to modify the startup command from the admin panel.

Wannab007 avatar Jul 22 '22 19:07 Wannab007

Sorry for the late reply. So, if I understand correctly, removing the quotation marks and running the two mods under the -mod flag works? You have it as -mod=@cf;@zomberry-admin-tools; right? (note the trailing semi-colon)

If so, are you sure your -doLogs and -limitFPS flags are also being registered? If they are, that means the trailing semi-colon is somehow not prematurely terminating the line (which is good), and I'll submit a PR to simply remove the quotation marks to fix your reported issue.

lilkingjr1 avatar Jul 22 '22 20:07 lilkingjr1

So when the panel generates the startup command by adding the mods into the additional mods box, it looks like -mod="@cf;@zomberry-admin-tools;" with the quotations around the mods, what I do to get them to load is go into the admin panel and modify the startup command to look like "-mod=@cf;@zomberry-admin-tools;" quotations around the entire argument, after doing this when the startup command is run on server start it looks like the picture above with quotations removed and the mods load fine. I made these changes to the startup command by looking at examples of various startup scripts I found by googling.

Mods are working in linux experimental from what I've test so far. Currently my friends who requested I host for them are playing without issue.

As for the logs it looks like log files are being generated with the startup command as is and when I make the change.

Wannab007 avatar Jul 22 '22 21:07 Wannab007