Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script causes crashes on multiplayer #54

Open
raven06a opened this issue May 4, 2024 · 9 comments
Open

Script causes crashes on multiplayer #54

raven06a opened this issue May 4, 2024 · 9 comments

Comments

@raven06a
Copy link

raven06a commented May 4, 2024

I was having problems with DCS crashing when joining multiplayer servers. Started 3 weeks ago and it has persisted. Everything is up to date, did a clean installation of DCS, repaired everything and then I moved the folders one by one back into the SavedGames folder.

The only thing that makes DCS crash is the UFC script. I have tried removing it completely and all the residual files, reinstall, more than a few times. The only constant is once I remove the script everything works fine.

dcs.log

This is what's contained on the export.lua:

pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil);
pcall(function() local TheWayLfs=require('lfs');dofile(TheWayLfs.writedir()..'Scripts/TheWay/TheWay.lua'); end)
pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil)

Neither SRS or TheWay interfere with DCS.

@InzaneSK
Copy link

InzaneSK commented May 4, 2024

I am having the exact same issue. Works in SP but crash in MP. Attached is my DCS.log crash file, that might help you out.

dcs.log

@domagojhack
Copy link

domagojhack commented May 7, 2024

Same, I am experiencing instantaneous crash when joining mp server, when the script is not installed I have no issues.
dcs.log

edit: Just using the script configurator to remove/delete the script from the DCS did not work, for me completely deleting DCS folder in Saved Games restored the playability of the game.

@raven06a
Copy link
Author

raven06a commented May 7, 2024

Yes, I also had to completely remove the saved games folder and add each file one by one to make sure. There are residual files in Hooks and I think had some problems within the Config folder too.

@pet333r
Copy link
Owner

pet333r commented May 8, 2024

try deleting the "pw_nav-hook.lua" file from the Hooks folder

@domagojhack
Copy link

domagojhack commented May 10, 2024

I can confirm that removing "pw_nav-hook.lua" allows connecting to mp servers.

However I am still getting crashes after few minutes. I reuploaded crash log after removing "pw_nav-hook.lua"

dcs.log

@Mayhem93
Copy link

I can confirm this behavior with both the latest version and an older one (a few months old).

I found out that this script was the issue by removing everything (I had a backup) in the saved games/DCS folder and reinstalling the script.

Sadly enough the functionality to remove it using the Script Configurator does not work as it still leaves a script file behind (even though the export lua is empty).

@domagojhack
Copy link

Any news on this issue?

@DavidCB75
Copy link

I have this issue too. The only workaround I found is to load a flight offline, exit of the flight, and then I can join a multiplayer server (all this without exiting the game, because if you leave the game, you have to repeat the next time). I will looking forward to see this fixed, I mainly use DCS NAV and it is very useful to me with the Huey.

@Mayhem93
Copy link

I have this issue too. The only workaround I found is to load a flight offline, exit of the flight, and then I can join a multiplayer server (all this without exiting the game, because if you leave the game, you have to repeat the next time). I will looking forward to see this fixed, I mainly use DCS NAV and it is very useful to me with the Huey.

This workaround just avoids the crash, unfortunately the App doesn't connect when trying on a MP server.

I have the latest 2024.05.23 script version and the latest 2.9.5.55300 game version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants