• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Experimental Feedback
  • /DZEXP-85
Back
25

The #include "$profile:\\..." stop to work in 1.30xp

Error
25

State

Done
Issue key
DZEXP-85
Access
Public
Space
DayZ
Project
Experimental Feedback
Creator
liven
Created
Sep 16, 2026
Views
1.1k
Platform
PC Steam
What happened?

I have several #include "$profile:\\..." links in my mod script since a long time to include values from files in server profile in my mod (to allow server owners to easily tweak some values) but it doesn't work any more with 1.30xp update


I don't know if the problem comes from #include or $profile

I know it's not the best way to get values from profile but it's how I have done it a long time ago and to be honest I do not have much time to refactor the mod.

So I need to know if my mod is obsolete or not because this mod is a spawn system for zombies and I would be happy to set a Nasdara profile if my mod still works

Reproduction steps

Create a file names MyProfileValues.c in the server profile folder and add this in it :

int myValueInTheProfile = 1;



In a file in a basic mod (MyScript.c in 4_World for example) :

#ifdef SERVER       // because the server profile is not accessible to client
#include "$profile:\\MyProfileValues.c"
class MyClass
{
	int myValueInTheMod;

	void MyVoid()
	{
		myValueInTheMod = myValueInTheProfile; // => myValueInTheProfile is not found in 1.30xp (it works in 1.29), the server don't start
	}
}
#endif
Exact build version (optional)
—
Where did it happen?
Community
Is it modded?
Yes
Expected result

the values in server profile folder / MyProfileValues.c should be found in 4_World / MyScript.c and the server should be able to start

Section
Mod list

no mod except the example above

Load order / launch params
—
Reactions

Activity

    2 months ago
  • liven
    created issue2 months ago
  • 2 months ago
  • l909
    changed state to
    ASSIGNED
    2 months ago
  • 2 months ago
  • 6wingseraphcommented
    2 months ago
    6wingseraphcommented
    2 months ago

    Fix this asap

  • gamemaster4commented
    2 months ago
    gamemaster4commented
    2 months ago

    + pls, Fix this asap

  • 2 months ago
  • psyerncommented
    2 months ago
    psyerncommented
    2 months ago

    Same issue for $mission and $profiles

  • 6wingseraphcommented
    2 months ago
    6wingseraphcommented
    2 months ago

    this must be fixed for 1.30 stable, this is critical
    dont forget to validate https://report.bistudio.com/issues/DZEXP-134 is fixed.

  • lbmastercommented
    2 months ago
    lbmastercommented
    2 months ago

    And why not use a Json config instead? 99% of the usecases were for obfuscation and I would not be surprised if the devs decide to not add it back. To me it looks like the Engine Upgrade, which was done just did not support it anymore

  • 2 months ago
  • livenreplied to a comment
    2 months ago
    livenreplied to a comment
    2 months ago

    Because it requires refactoring my mod and I don't have much time for it

  • 2 months ago
  • 6wingseraphreplied to a comment
    2 months ago
    6wingseraphreplied to a comment
    2 months ago

    this is used not just for obfuscation, if you are not using it, this doesnt mean, nobody uses it

    Also l909 linked https://report.bistudio.com/issues/DZEXP-134 to this issue, so i think this is global issue, with devs somehow breaking file system code.

  • 6wingseraphcommented
    2 months ago
    6wingseraphcommented
    2 months ago

    l909 will it be fixed by 1.30 stable release? This is critical for mods.

  • about 2 months ago
  • 6wingseraphcommented
    about 2 months ago
    6wingseraphcommented
    about 2 months ago

    l909 we need an update on this, pls.

  • about 2 months ago
  • saitamacommented
    about 2 months ago
    saitamacommented
    about 2 months ago

    #include directives semantic was removed i guess. all the #include tests I had don't work anymore, so you better start to refactor your mods😄

  • 6wingseraphreplied to a comment
    about 2 months ago
    6wingseraphreplied to a comment
    about 2 months ago

    nah, its problem related to FindFile beeing broken, if it was removed, devs like to break modding lives.

  • saitamareplied to a comment
    about 2 months ago
    saitamareplied to a comment
    about 2 months ago

    I don't think it is. It doesn't work even within packed PBO or loose file patching. FindFile must be completely separate issue. But we'll see

  • 6wingseraphcommented(edited)
    about 2 months ago
    6wingseraphcommented(edited)
    about 2 months ago

    l909 mind giving us feedback on that, as well for https://report.bistudio.com/issues/DZEXP-134

  • 6 days ago
  • l909
    changed state to
    DONE
    6 days ago

You are not signed in. Please sign in to see more details and to reply.

State

Done
Issue key
DZEXP-85
Access
Public
Space
DayZ
Project
Experimental Feedback
Creator
liven
Created
Sep 16, 2026
Views
1.1k