Bridge Commander Central

BC Forums => BC Technical Support => Previous "Black Screen of Death" Fixes => Topic started by: lint on October 18, 2007, 08:56:36 AM

Title: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: lint on October 18, 2007, 08:56:36 AM
Hey guys, this happened for no reason what so ever.
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: MLeo on October 18, 2007, 09:31:35 AM
You have used an older version of the NanoFX Config Panel, and erased the entire field without supplying any replacement.

Delete scripts/Custom/NanoFXv2Beta/NanoFXConfig.py (c) and start over with the default config.
Or open the same py file and fill in the right value on that line (a decimal number).
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: lint on October 18, 2007, 09:52:05 AM
thanks man, it worked,
its weird though, i have never fiddled with the nanofx.py or anything related to it, it just...happened?, haha
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: MLeo on October 18, 2007, 09:56:25 AM
You mostlikely used the ingame configuration.
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: lint on October 18, 2007, 11:15:46 AM
ok, now im getting this one when i enter qb haha,
and in the mutators section its just blank
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: MLeo on October 18, 2007, 11:37:49 AM
Did you change the FoundationConfig by yourself? Since it shouldn't do that.

Can you put up the following file?
scripts/Custom/FoundationConfig.py
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: lint on October 18, 2007, 12:07:10 PM
nah, i did'nt touch a thing, i dont change things i dont know anything about, haha..
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: MLeo on October 18, 2007, 12:53:53 PM
Well, something did chance...
The ' and ', and ren't supposed to be that, they are supposed to be """ and """,

Btw, rename it to FoundationConfig.py (instead of FoundationConfig2.py, I had to do that otherwise it would have overwritten another file I had there).
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: lint on October 18, 2007, 01:11:36 PM
the options in the mutator is back, but the qb still does'nt work and there is no master switch and the bcs:the beggining, slipstream drive configs ect ect is'nt there. and i can no longer scroll through the mutator selection, the arrows are gone.
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: MLeo on October 18, 2007, 01:20:52 PM
Check the FAQ sticky, the current error has it's own entry, and a working fix.
Title: Re: BSOD - SyntaxError: invalid syntax (File ".\Scripts\Custom\NanoFXv2\NanoFX_Config.py", line 42 wFX_MaxRandomDistance
Post by: lint on October 18, 2007, 01:25:07 PM
will do!, thanks for the help.