• Tracker

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

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

Error
22

State

Assigned
Issue key
DZEXP-85
Access
Public
Space
DayZ
Project
Experimental Feedback
Creator
liven
Created
Sep 16, 2026
Views
531
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

    25 days ago
  • liven
    created issue25 days ago
  • 24 days ago
  • l909
    changed state to
    ASSIGNED
    24 days ago
  • 21 days ago
  • 6wingseraph
    21 days ago
    6wingseraph
    21 days ago

    Fix this asap

  • gamemaster4
    21 days ago
    gamemaster4
    21 days ago

    + pls, Fix this asap

  • 20 days ago
  • psyern
    20 days ago
    psyern
    20 days ago

    Same issue for $mission and $profiles

  • 6wingseraph
    20 days ago
    6wingseraph
    20 days 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.

  • lbmaster
    20 days ago
    lbmaster
    20 days 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

  • 19 days ago
  • liven
    19 days ago
    liven
    19 days ago

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

  • 18 days ago
  • 6wingseraph
    18 days ago
    6wingseraph
    18 days 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.

  • 6wingseraph
    18 days ago
    6wingseraph
    18 days ago

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

  • 12 days ago
  • 6wingseraph
    12 days ago
    6wingseraph
    12 days ago

    l909 we need an update on this, pls.

  • 11 days ago
  • saitama
    11 days ago
    saitama
    11 days 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😄

  • 6wingseraph
    11 days ago
    6wingseraph
    11 days ago

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

  • saitama
    11 days ago
    saitama
    11 days 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

  • 6wingseraph(edited)
    11 days ago
    6wingseraph(edited)
    11 days ago

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

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

State

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