Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


Give us a option to use mods with space in the name.


hlynge

Recommended Posts

Dear all

I am hosting a dayz server here and have found that there is a issue with the way that the launch parameters get parsed to the back-end.
There is a need to change how the -mod:xxxxx;xxxxx parameter get captured/parsed. The current approach is that different parameters are separated by space. This causes a problem when the name of a mod contain a space or a special char like " & or ' ".

We need to get a separator character that clearly show that what is between these separators is to be handled as one string e.g. | (pipe)
so it would be possible to write:

 -dayzserver=DayZServer.exe |-mod=@CF;@Code Lock| -scrAllowFileWrite

and this would result in this content in the rpt log:

== "C:\sspanel\gameservers\dayz\47695\DayZServer.exe" "-port=7315" "-profiles=Admin" "-config=Admin\serverDZ.cfg" "-name=Admin" "-dologs" "\-mod=@CF;@Code Lock\" "-scrAllowFileWrite"

 

Other solutions to solve the problem are welcome. I do not see any other way of being able to support both auto-update and DZSA launcher as renaming of folders to remove space and special char would break ether auto-update or support for DZSA launcher.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...