• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

SDX 0.7.3 - Alpha 17

That log file is not from an SDX instrumented build. That's the only exception I see in that log, and its not related to SDX.

Code:
NullReferenceException: Object reference not set to an instance of an object
 at EntityAlive.ConditionalTriggerSleeperWakeUp () [0x00000] in <filename unknown>:0 
 at EAISetNearestEntityAsTarget.Start () [0x00000] in <filename unknown>:0 
 at EAITaskList.OnUpdateTasks () [0x00000] in <filename unknown>:0
 
What's an instrumented build? I grabbed SDX 0.7.3 from right here: https://7daystodie.com/forums/showthread.php?97663-SDX-0-7-3-Alpha-17
Did I fail from the beginning?
I wouldn't say fail.... just... not as successful as intended. An instrumented build is what I call a version of the game modified with SDX.

In all SDX builds, I'd expect to see something like this:

Code:
SDX:  SDX detected base game directory as: C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\
SDX:  Could not find sdx config file: ''. Using default settings
SDX: Mod Engine Started.
SDX: Finding type refs...
SDX: Loading mods assembly
 
It's odd, because running it the way I did, the SDX Elevator mod works just fine. So I have no idea what I'm doing wrong. I know the SDX itself is behaving, it's just not detecting my mod folder when I launch it that way. But if I launch the game through the normal means, I probably can't use the SDX mods.

EDIT: I launched the game with just the Elevator SDX mod so it would load without errors again, and made this pastebin of my log:

https://pastebin.com/UNbFy9qE

 
Last edited by a moderator:
It's odd, because running it the way I did, the SDX Elevator mod works just fine. So I have no idea what I'm doing wrong. I know the SDX itself is behaving, it's just not detecting my mod folder when I launch it that way. But if I launch the game through the normal means, I probably can't use the SDX mods.
EDIT: I launched the game with just the Elevator SDX mod so it would load without errors again, and made this pastebin of my log:

https://pastebin.com/UNbFy9qE
Yup, that's a good log. SDX is added. Try adding your other mods now to the target folder, and then rebuild, and Play from the SDX Launcher

 
Oh, I was using the default mod folder. I didn't move things from the mod folder to the SDX's mod folder to be built with it. I'll try that, thanks.

EDIT: I figured it out. I was copy-pasting my backup'd mod folder after I reinstalled the game. A lot of those mods have files that exist outside the Mods folder, so they were the ones missing things. I just installed a single mod, Impact Wrench, which only needs its Mods folder, and it worked just fine through SDX. So it's just a matter of improper procedures on my part.

Thanks to all involved.

 
Last edited by a moderator:
Hello. Thank you to the whole SDX team for this, you guys are awesome! I am used to playing vanilla single player with the -configfile serverconfig.xml and am curious if this is possible with SDX. Probably a simple thing but I am lost as to how to accomplish this. Thank you for any information!!!

 
Last edited by a moderator:
Hello. Thank you to the whole SDX team for this, you guys are awesome! I am used to playing vanilla single player with the -configfile serverconfig.xml and am curious if this is possible with SDX. Probably a simple thing but I am lost as to how to accomplish this. Thank you for any information!!!
Not directly, as far as I know. You can do your build in SDX, then just launcher a bat file that calls 7daystodie.exe with the -configfile parameter.

 
Hello,

i am very confused, first everyone is talking about them updating to 0.7.4 of sdx… but where do i find 0.7.4? There are so many different SDX versions cluttered everywhere..

Secondly, i get this error.. which usually happens when the program runs on an old Framework: Default parameter specifiers are not permitted

i can compile my script without any problems using visual studio. I am currently using 0.7.3 because i cant find 0.7.4. Also is there any fix for this in the new version?

Thanks for the help!

 
Hello Extinktion,

0.7.4 is in testing. So far it's pretty stable and you can download it here: http://7d.l9000.co.uk/SDX0.7.4Test.zip

SDX uses CodeDom for dynamically compiling the DLL and it does not support default parameters.

There's a new tool in production at the moment that should replace SDX that will be open sourced. At the moment it's still using CodeDom but a Roslyn compiler could be added in the future which would allow that functionality.

Cheers,

Hal

 
hello! Thanks for the answer.

Since i am only intermediate with coding i have some troubles getting the code into the right format to be compiled. Do you think you could help me create a method overload so i get the code working?

 
hello! Thanks for the answer.
Since i am only intermediate with coding i have some troubles getting the code into the right format to be compiled. Do you think you could help me create a method overload so i get the code working?
Sure, create a thread outlining the problem and code and the community should be able to help. You can post a link here to it and I'll have a look.

 
Just compiling these two mods, i get these errors. The screenshots show the version and that it knows where 7 days to die is located.

I don't know why this website forces the screenshots to be so tiny.

View attachment 3661

View attachment 3662

I've heard it referred as the linq error but i don't know what it means.

EVENT: Begin task: Backup game files

EVENT: Begin task: Import UnityEngine.dll

EVENT: Begin task: Deobfuscate Assembly Strings

INFO: Skipping string deobfuscation as it already exists

EVENT: Begin task: Patch game code

INFO: Inject: System.Void GameManager::Awake() into type(SDX.Payload.Entry, SDX.Payload).Setup at start

INFO: Inject: System.Void GameManager::StartGame() into type(SDX.Payload.ModEngine, SDX.Payload).StartupModScripts at start

Saving...

Done.

EVENT: Begin task: Deobfuscate game code

EVENT: Begin task: Compile mod patcher scripts

Compiling PatchScripts assembly...

Loading References...

INFO: Built in 93ms

Reference: SDX.Compiler.dll

Reference: Mono.Cecil.dll

Reference: E:\(Games - Steam)\steamapps\common\7 Days To Die/7DaysToDieServer_Data/Managed\Assembly-CSharp.dll

Reference: E:\(Games - Steam)\steamapps\common\7 Days To Die/7DaysToDieServer_Data/Managed\SDX.Core.dll

Reference: E:\(Games - Steam)\steamapps\common\7 Days To Die/7DaysToDieServer_Data/Managed\SDX.Payload.dll

WARN: e:\(Games - Steam)\steamapps\common\7 Days To Die\SDX0.7.3\Targets\7DaysToDie\Mods\AnimationSDX\PatchScripts\Animations.cs(5,14): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

WARN: e:\(Games - Steam)\steamapps\common\7 Days To Die\SDX0.7.3\Targets\7DaysToDie\Mods\HalDllUpdates\PatchScripts\PatcherHalDll.cs(4,14): error CS0234: The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference?)

WARN: e:\(Games - Steam)\steamapps\common\7 Days To Die\SDX0.7.3\Targets\7DaysToDie\Mods\HalDllUpdates\PatchScripts\PatcherHalDll.cs(10,14): error CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)

ERROR: Failed to compile PatchMods

ERROR: Task Compile mod patcher scripts failed

EVENT: Action completed at: 4/15/2019 2:03:47 AM and took 0.62 seconds

 
Last edited by a moderator:
Hi, what does this mean?

WARN: C:\Users\7days\Desktop\SDX Mod\Backups\7 Days To Die\Data/Config/Localization.txt detected BOM in file

It occures, when I click on build ...

dfzwxz.jpg


 
Last edited by a moderator:
It's letting you know there's a Byte Order Mark found in the file. SDX will auto update it so it's nothing to worry about unless you're getting an error when loading the game

 
When opening the game with the play button in the launcher, everything loads but after everything loads the game says The steam client is not running or no connection possible, any fixes?

 
When opening the game with the play button in the launcher, everything loads but after everything loads the game says The steam client is not running or no connection possible, any fixes?
That usually means that Steam and the SDX Launcher are not running as the same user, if Steam is even running.

If Steam is running, then its probably running as Administrator. You could right click and run the SDX Launcher as an Administrator.

- - - Updated - - -

assembly-CSharp.dll file missing error but it IS there
The error could be coming from the Backup folder in the SDX Launcher. Revalidate your files, delete your back up, then try again.

 
Back
Top