### Exec Unable to Find File

Scripting questions, discussions, etc
• 1
• 2

#### Re: Exec Unable to Find File

greenfire27
Posts: 22
Joined: Tue Nov 03, 2015 8:18 pm

It wasn't able to load the file directly either! Here's the end of the console.log file:

Missing file: D:/Steam/steamapps/common/Pirate Code/modules/Bootstrap/1/boot.cs!
Module Manager: Cannot load explicit module Id 'Bootstrap' at version Id '1' as it failed to have the script file 'D:/Steam/steamapps/common/Pirate Code/modules/Bootstrap/1/boot.cs' loaded.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Missing file: D:/Steam/steamapps/common/Pirate Code/modules/Bootstrap/1/boot.cs!

As you can see, the module failed like before and then I ask it to load the file directly and it gives the exact same answer. And again, the actual file is the dso - not sure if it matters. Any ideas? Corrupt file? He said he already uninstalled and reinstalled the game. Should I try loading a different file?

#### Re: Exec Unable to Find File

LukasPJ
Posts: 388
Joined: Tue Feb 03, 2015 7:25 pm

If you get the opportunity, I would consider trying the following line, just for shits and giggles:
exec("D:/Steam/SteamApps/common/Pirate Code/modules/Bootstrap/1/boot.cs");

Furthermore, I would try creating a new .cs file (test.cs), and exec that one. It could just have an echo statement:
echo("I was executed!");


#### Re: Exec Unable to Find File

greenfire27
Posts: 22
Joined: Tue Nov 03, 2015 8:18 pm

Well this problem was my fault. In my haste to debug I had turned on "IgnoreDSOs" which is why none of my files would load after that. The released version of the game only has DSOs.

The user still only gets a black screen with music though and I'm at a loss about why. His setup is almost the exact same as mine, except his graphics card is a little more powerful.

Anyway, I told him to try uninstall/reinstall again or try it on a different computer and we'll leave it at that. He got the game for free. Still, I don't like walking away from a bug like this.

#### Re: Exec Unable to Find File

JeffR
Steering Committee
Posts: 854
Joined: Tue Feb 03, 2015 9:49 pm

Any chance he could provide a new console.log file now that the script load issue is resolved?

#### Re: Exec Unable to Find File

greenfire27
Posts: 22
Joined: Tue Nov 03, 2015 8:18 pm

There's nothing unusual in it. It loads just fine, but has a black screen.

#### Re: Exec Unable to Find File

greenfire27
Posts: 22
Joined: Tue Nov 03, 2015 8:18 pm

Found this on the web.

https://support.thebehemoth.com/hc/en-u ... ame-audio-

I'm going to guess that I had a similar problem.
• 1
• 2

#### Who is online

Users browsing this forum: No registered users and 2 guests