Got any mods installed?kecin25 wrote:So I have started a new run through the game and now a few min after my save the game keeps freezing. I fly to a sector with a Xenon J, Q, P, and a few smaller crafts of theirs. The game freezes but the sounds keep going and get stuck on a loop. My task manager says the game is not responding. I am about 4 in game days in and about 23 hours of IRL time in the game and I can' get it to stop freezing, Ive tried creating a new export and importing it. I've tried to reinstall the mod but nothing I've tried works. Does anyone know what I need to do to fix this issue?
Litcube's Universe
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: Freezes around Xenon fleets
Please try the following: go to the script editor (console, then S), then to the global tasks menu; highlight Gbl.StockExchange and hit "delete", then confirm. Do the same thing for !shield.stock.terran (or something like that).
It's more an experiment than a fix, but developing Mayhem, I came to the impression than one of these scripts is bugged.
Still, if an E/I is not helping, that's really weird.
It's more an experiment than a fix, but developing Mayhem, I came to the impression than one of these scripts is bugged.
Still, if an E/I is not helping, that's really weird.
This seemed to have worked! it was station.shield something but I was able to find it and delete it! thankyou for helping!Joubarbe wrote:Please try the following: go to the script editor (console, then S), then to the global tasks menu; highlight Gbl.StockExchange and hit "delete", then confirm. Do the same thing for !shield.stock.terran (or something like that).
It's more an experiment than a fix, but developing Mayhem, I came to the impression than one of these scripts is bugged.
Still, if an E/I is not helping, that's really weird.
Ok so it did not actually work, It just prolonged it. What happened when it froze is a Xenon C was in firing distance of my TL and I'm guessing shot it with some game breaking gun. But also a fleet of Xenon ships appeared, at the same time, consisting of 3 Xenon L, 12 Xenon M, 7 Xenon N. Only way I can give you the numbers is because it froze while I was looking at my sector map
That looping-sound freeze indicates a script stuck in an infinite loop. I recently added an option to the X3 Customizer that forces on script infinite loop detection (eg. too many operations done in a single time step), which could help isolate the problem script if you were interested in trying that.kecin25 wrote:Ok so it did not actually work, It just prolonged it.
Author of X3 Customizer and X4 Customizer
It is a command line tool. If you shift-right click in the folder in windows explorer, it gives a shortcut for opening a command prompt there (at least on windows 7), otherwise run cmd and path to there.
You can edit the input_scripts\Example_Transforms.py file to set the path to your game installation, remove the 3 example transforms, and add in "Force_Infinite_Loop_Detection()". In the command prompt, run the tool with "Launch_X3_Customizer input_scripts\Example_Transforms.py" (or whatever you named your copy of that file).
When you want to remove the change and play normally again, either comment out Force_Infinite_Loop_Detection and rerun the tool, or run with the -clean flag.
You can edit the input_scripts\Example_Transforms.py file to set the path to your game installation, remove the 3 example transforms, and add in "Force_Infinite_Loop_Detection()". In the command prompt, run the tool with "Launch_X3_Customizer input_scripts\Example_Transforms.py" (or whatever you named your copy of that file).
When you want to remove the change and play normally again, either comment out Force_Infinite_Loop_Detection and rerun the tool, or run with the -clean flag.
Ok so it froze and I had the script running but it kept saying "attempting to run..."
and then "successfully ran..."
and while typing this it started to play again and then froze again. so now it will freeze for a min, play for 1 second and then freeze again
Edit: tried again and the script did not work and the game stayed frozen
and then "successfully ran..."
and while typing this it started to play again and then froze again. so now it will freeze for a min, play for 1 second and then freeze again
Edit: tried again and the script did not work and the game stayed frozen
Last edited by kecin25 on Thu, 23. Aug 18, 21:54, edited 1 time in total.
Kecin, when an infinitely looping script is detected, the game should send a message saying the script was killed off, giving the name and some additional numbers. Did you manage to catch anything like that?
If you want us to hunt down freezing LU scripts elsewhere, I don't mind doing it in the customizer thread. Kecin, you are free to post further questions or observations over there.Joubarbe wrote:Not the appropriate thread gentlemen.
Last edited by SirNukes on Fri, 24. Aug 18, 03:53, edited 1 time in total.