Option window
JCD
Join Date: 2005-01-07 Member: 33150Members, Reinforced - Shadow
Hey I have a new Bug in 253 concerning the Option windows.
They work just fine if I stay in the main menu, but if I try to access them while on a server it spams alot of Lua errors in the console.
Which leads to not closable windows.
They work just fine if I stay in the main menu, but if I try to access them while on a server it spams alot of Lua errors in the console.
Which leads to not closable windows.
Error: lua/menu/GUIMainMenu.lua:1598: attempt to call global 'OptionsDialogUI_GetWindowMode' (a nil value)
[Client] Script Error #1: lua/menu/GUIMainMenu.lua:1598: attempt to call global 'OptionsDialogUI_GetWindowMode' (a nil value)
Call stack:
#1: InitOptions lua/menu/GUIMainMenu.lua:1598
optionElements = {AccelerationAmount=SlideBar { }, AmbientOcclusion=DropDown { }, AnisotropicFiltering=DropDown { }, AntiAliasing=DropDown { }, ArmorType=DropDown { }, Atmospherics=DropDown { }, Bloom=DropDown { }, CameraAnimation=DropDown { }, DecalLifeTime=SlideBar { }, Detail=DropDown { }, Display=DropDown { }, DisplayBuffering=DropDown { }, DrawDamage=DropDown { }, FOVAdjustment=SlideBar { }, Infestation=DropDown { }, InvertedMouse=DropDown { }, Language=DropDown { }, MinimapZoom=SlideBar { }, MouseAcceleration=DropDown { }, MusicVolume=SlideBar { }, NickName=TextInput { }, ParticleQuality=DropDown { }, PhysicsGpuAcceleration=DropDown { }, RawInput=DropDown { }, RecordingGain=SlideBar { }, RecordingVolume=ProgressBar { }, Reflections=DropDown { }, RenderDevice=DropDown { }, Resolution=DropDown { }, RookieMode=DropDown { }, Sensitivity=SlideBar { }, SexType=DropDown { }, Shadows=DropDown { }, ShowCommanderHelp=DropDown { }, ShowHints=DropDown { }, SoundInputDevice=DropDown { }, SoundOutputDevice=DropDown { }, SoundVolume=SlideBar { }, TextureStreaming=DropDown { }, VoiceVolume=SlideBar { }, WindowMode=DropDown { } }
BoolToIndex = function
nickName = "JCD2150"
mouseSens = 0.3135293659411
mouseAcceleration = false
accelerationAmount = 0.16411513090134
invMouse = false
rawInput = false
locale = "enUS"
showHints = false
showCommanderHelp = true
drawDamage = true
rookieMode = false
screenResIdx = 19
visualDetailIdx = 3
display = 0
#2: InitOptionWindow lua/menu/GUIMainMenu.lua:2010
#3: CreateOptionWindow lua/menu/GUIMainMenu.lua:2395
self = GUIMainMenu { }
InitOptionWindow = function
content = ContentBox { }
back = MenuButton { }
apply = MenuButton { }
displays = {1="DEFAULT", 2="DISPLAY 1" }
windowModes = {1=1, 2=2, 3=3 }
screenResolutions = {10="1280x960", 11="1280x1024", 12="1360x768", 13="1360x1024", 14="1366x768", 15="1440x900 *", 16="1600x1200", 17="1680x1050 *", 18="1920x1080", 19="1920x1200 *", 1="640x480", 2="720x480", 3="720x576", 4="800x600", 5="1024x768", 6="1152x864", 7="1280x720", 8="1280x768", 9="1280x800 *" }
soundOutputDevices = {1="Default", 2="Lautsprecher (Creative SB X-Fi)", 3="SPDIF Out (Creative SB X-Fi)" }
soundInputDevices = {1="Default", 2="Microphone (Creative SB X-Fi)", 3="Line-In (Creative SB X-Fi)", 4="Auxiliary (Creative SB X-Fi)", 5="Digital-In (Creative SB X-Fi)", 6=""What U Hear" (Creative SB X-Fi)" }
languages = {1="English", 2="French", 3="German", 4="Korean", 5="Polish", 6="Spanish", 7="Swedish" }
armorTypes = {1="Green", 2="Deluxe" }
sexTypes = {1="Male" }
generalOptions = {10= {label="DRAW DAMAGE", name="DrawDamage", type="select", values= {1="NO", 2="YES" } }, 11= {label="ROOKIE MODE", name="RookieMode", type="select", values= {1="NO", 2="YES" } }, 12= {label="FOV ADJUSTMENT", name="FOVAdjustment", sliderCallback=function, type="slider" }, 13= {label="MINIMAP ZOOM", name="MinimapZoom", sliderCallback=function, type="slider" }, 14= {label="ARMOR TYPE", name="ArmorType", type="select", values= {1="Green", 2="Deluxe" } }, 15= {label="SEX", name="SexType", type="select", values= {1="Male" } }, 16= {callback=function, label="CAMERA ANIMATION", name="CameraAnimation", type="select", values= {1="OFF", 2="ON" } }, 17= {callback=function, label="PhysX GPU Acceleration", name="PhysicsGpuAcceleration", type="select", values= {1="OFF", 2="ON" } }, 1= {label="NICKNAME", name="NickName" }, 2= {label="LANGUAGE", name="Language", type="select", values= {1="English", 2="French", 3="German", 4="Korean", 5="Polish", 6="Spanish", 7="Swedish" } }, 3= {label="MOUSE SENSITIVITY", name="Sensitivity", type="slider" }, 4= {label="REVERSE MOUSE", name="InvertedMouse", type="select", values= {1="NO", 2="YES" } }, 5= {label="MOUSE ACCELERATION", name="MouseAcceleration", type="select", values= {1="OFF", 2="ON" } }, 6= {label="ACCELERATION AMOUNT", name="AccelerationAmount", type="slider" }, 7= {label="RAW INPUT", name="RawInput", type="select", values= {1="OFF", 2="ON" } }, 8= {label="SHOW HINTS", name="ShowHints", type="select", values= {1="NO", 2="YES" } }, 9= {label="COMMANDER HELP", name="ShowCommanderHelp", type="select", values= {1="OFF", 2="ON" } } }
soundOptions = {1= {callback=function, label="OUTPUT DEVICE", name="SoundOutputDevice", type="select", values= {1="Default", 2="Lautsprecher (Creative SB X-Fi)", 3="SPDIF Out (Creative SB X-Fi)" } }, 2= {callback=function, label="INPUT DEVICE", name="SoundInputDevice", type="select", values= {1="Default", 2="Microphone (Creative SB X-Fi)", 3="Line-In (Creative SB X-Fi)", 4="Auxiliary (Creative SB X-Fi)", 5="Digital-In (Creative SB X-Fi)", 6=""What U Hear" (Creative SB X-Fi)" } }, 3= {label="SOUND VOLUME", name="SoundVolume", sliderCallback=function, type="slider" }, 4= {label="MUSIC VOLUME", name="MusicVolume", sliderCallback=function, type="slider" }, 5= {label="VOICE VOLUME", name="VoiceVolume", sliderCallback=function, type="slider" }, 6= {label="MICROPHONE GAIN", name="RecordingGain", sliderCallback=function, type="slider" }, 7= {label="MICROPHONE LEVEL", name="RecordingVolume", type="progress" } }
autoApplyCallback = function
graphicsOptions = {10= {callback=function, label="ANTI-ALIASING", name="AntiAliasing", type="select", values= {1="OFF", 2="ON" } }, 11= {callback=function, label="BLOOM", name="Bloom", type="select", values= {1="OFF", 2="ON" } }, 12= {callback=function, label="ATMOSPHERICS", name="Atmospherics", type="select", values= {1="OFF", 2="ON" } }, 13= {callback=function, label="ANISOTROPIC FILTERING", name="AnisotropicFiltering", type="select", values= {1="OFF", 2="ON" } }, 14= {callback=function, label="AMBIENT OCCLUSION", name="AmbientOcclusion", type="select", values= {1="OFF", 2="MEDIUM", 3="HIGH" } }, 15= {callback=function, label="REFLECTIONS", name="Reflections", type="select", values= {1="OFF", 2="ON" } }, 16= {callback=function, label="SHADOWS", name="Shadows", type="select", values= {1="OFF", 2="ON" } }, 17= {callback=function, label="TEXTURE STREAMING", name="TextureStreaming", type="select", values= {1="OFF", 2="ON" } }, 1= {callback=function, label="DEVICE", name="RenderDevice", type="select", values= {1="D3D11", 2="D3D9", 3="OpenGL" } }, 2= {label="DISPLAY", name="Display", type="select", values= {1="DEFAULT", 2="DISPLAY 1" } }, 3= {label="RESOLUTION", name="Resolution", type="select", values= {10="1280x960", 11="1280x1024", 12="1360x768", 13="1360x1024", 14="1366x768", 15="1440x900 *", 16="1600x1200", 17="1680x1050 *", 18="1920x1080", 19="1920x1200 *", 1="640x480", 2="720x480", 3="720x576", 4="800x600", 5="1024x768", 6="1152x864", 7="1280x720", 8="1280x768", 9="1280x800 *" } }, 4= {label="WINDOW MODE", name="WindowMode", type="select", values= {1=1, 2=2, 3=3 } }, 5= {label="WAIT FOR VERTICAL SYNC", name="DisplayBuffering", type="select", values= {1="DISABLED", 2="DOUBLE BUFFERED", 3="TRIPLE BUFFERED" } }, 6= {callback=function, label="TEXTURE QUALITY", name="Detail", type="select", values= {1="LOW", 2="MEDIUM", 3="HIGH" } }, 7= {callback=function, label="PARTICLE QUALITY", name="ParticleQuality", type="select", values= {1="LOW", 2="HIGH" } }, 8= {label="DECAL LIFE TIME", name="DecalLifeTime", sliderCallback=function, type="slider" }, 9= {callback=function, label="INFESTATION", name="Infestation", type="select", values= {1="MINIMAL", 2="RICH" } } }
generalForm = Form { }
keyBindingsForm = Form { }
graphicsForm = Form { }
soundForm = Form { }
tabs = {1= {form=Form { }, label="GENERAL", scroll=true }, 2= {form=Form { }, label="BINDINGS", scroll=true }, 3= {form=Form { }, label="GRAPHICS", scroll=true }, 4= {form=Form { }, label="SOUND" } }
xTabWidth = 256
tabBackground = Image { }
tabAnimateTime = 0.1
#4: callback lua/menu/GUIMainMenu.lua:248
self = Link { }
#5: OnClick lua/menu/MenuElement.lua:682
self = Link { }
(for generator) = function
(for state) = {1=function }
(for control) = 1
_ = 1
callback = function
#6: OnMouseUp lua/menu/WindowManager.lua:127
self = WindowManager { }
key = 117
element = Link { }
window = Window { }
windowLayer = {offset=20, windowOrder= {1=Window { }, 2=Window { }, 3=Window { }, 4=Window { }, 5=Window { } }, windows= {1=Window { }, 2=Window { }, 3=Window { }, 4=Window { }, 5=Window { } } }
#7: MouseTracker_SendKeyEvent lua/menu/MouseTracker.lua:193
key = 117
down = false
amount = 0
inputBlocked = false
doubleClick = false
stop = false
(for generator) = function
(for state) = {1=WindowManager { }, 2= {OnMouseDown=function, OnMouseMove=function, OnMouseUp=function }, 3= {OnMouseDown=function, OnMouseMove=function, OnMouseUp=function, OnMouseWheel=function } }
(for control) = 1
index = 1
listener = WindowManager { }
#8: lua/InputHandler.lua:197
key = 117
down = false
amount = 0
repeated = false
Error: lua/menu/GUIMainMenu.lua:1598: attempt to call global 'OptionsDialogUI_GetWindowMode' (a nil value)
[Client] Script Error #2: lua/menu/GUIMainMenu.lua:1598: attempt to call global 'OptionsDialogUI_GetWindowMode' (a nil value)
Call stack:
#1: InitOptions lua/menu/GUIMainMenu.lua:1598
optionElements = {AccelerationAmount=SlideBar { }, AmbientOcclusion=DropDown { }, AnisotropicFiltering=DropDown { }, AntiAliasing=DropDown { }, ArmorType=DropDown { }, Atmospherics=DropDown { }, Bloom=DropDown { }, CameraAnimation=DropDown { }, DecalLifeTime=SlideBar { }, Detail=DropDown { }, Display=DropDown { }, DisplayBuffering=DropDown { }, DrawDamage=DropDown { }, FOVAdjustment=SlideBar { }, Infestation=DropDown { }, InvertedMouse=DropDown { }, Language=DropDown { }, MinimapZoom=SlideBar { }, MouseAcceleration=DropDown { }, MusicVolume=SlideBar { }, NickName=TextInput { }, ParticleQuality=DropDown { }, PhysicsGpuAcceleration=DropDown { }, RawInput=DropDown { }, RecordingGain=SlideBar { }, RecordingVolume=ProgressBar { }, Reflections=DropDown { }, RenderDevice=DropDown { }, Resolution=DropDown { }, RookieMode=DropDown { }, Sensitivity=SlideBar { }, SexType=DropDown { }, Shadows=DropDown { }, ShowCommanderHelp=DropDown { }, ShowHints=DropDown { }, SoundInputDevice=DropDown { }, SoundOutputDevice=DropDown { }, SoundVolume=SlideBar { }, TextureStreaming=DropDown { }, VoiceVolume=SlideBar { }, WindowMode=DropDown { } }
BoolToIndex = function
nickName = "JCD2150"
mouseSens = 0.3135293659411
mouseAcceleration = false
accelerationAmount = 0.16411513090134
invMouse = false
rawInput = false
locale = "enUS"
showHints = false
showCommanderHelp = true
drawDamage = true
rookieMode = false
screenResIdx = 19
visualDetailIdx = 3
display = 0
#2: callback lua/menu/GUIMainMenu.lua:2010
#3: OnHide lua/menu/MenuElement.lua:768
self = Window { }
returnValues = { }
(for generator) = function
(for state) = {1=function, 2=function }
(for control) = 2
_ = 2
callback = function
#4: SetIsVisible lua/menu/MenuElement.lua:459
self = Window { }
isVisible = false
success = true
#5: SetIsVisible lua/menu/Window.lua:134
self = Window { }
isVisible = false
setActive = false
#6: callback lua/menu/Window.lua:64
self = Window { }
#7: OnEscape lua/menu/MenuElement.lua:704
self = Window { }
returnValues = { }
(for generator) = function
(for state) = {1=function }
(for control) = 1
_ = 1
callback = function
#8: HandleKeyEventCallbacks lua/menu/WindowManager.lua:216
key = 1
down = true
item = Window { }
stop = false
#9: SendKeyEvent lua/menu/WindowManager.lua:245
self = WindowManager { }
key = 1
down = true
amount = 1
activeWindow = Window { }
stop = nil
#10: lua/InputHandler.lua:211
key = 1
down = true
amount = 1
repeated = false
stop = false
winMan = WindowManager { }
[Client] Script Error #1: lua/menu/GUIMainMenu.lua:1598: attempt to call global 'OptionsDialogUI_GetWindowMode' (a nil value)
Call stack:
#1: InitOptions lua/menu/GUIMainMenu.lua:1598
optionElements = {AccelerationAmount=SlideBar { }, AmbientOcclusion=DropDown { }, AnisotropicFiltering=DropDown { }, AntiAliasing=DropDown { }, ArmorType=DropDown { }, Atmospherics=DropDown { }, Bloom=DropDown { }, CameraAnimation=DropDown { }, DecalLifeTime=SlideBar { }, Detail=DropDown { }, Display=DropDown { }, DisplayBuffering=DropDown { }, DrawDamage=DropDown { }, FOVAdjustment=SlideBar { }, Infestation=DropDown { }, InvertedMouse=DropDown { }, Language=DropDown { }, MinimapZoom=SlideBar { }, MouseAcceleration=DropDown { }, MusicVolume=SlideBar { }, NickName=TextInput { }, ParticleQuality=DropDown { }, PhysicsGpuAcceleration=DropDown { }, RawInput=DropDown { }, RecordingGain=SlideBar { }, RecordingVolume=ProgressBar { }, Reflections=DropDown { }, RenderDevice=DropDown { }, Resolution=DropDown { }, RookieMode=DropDown { }, Sensitivity=SlideBar { }, SexType=DropDown { }, Shadows=DropDown { }, ShowCommanderHelp=DropDown { }, ShowHints=DropDown { }, SoundInputDevice=DropDown { }, SoundOutputDevice=DropDown { }, SoundVolume=SlideBar { }, TextureStreaming=DropDown { }, VoiceVolume=SlideBar { }, WindowMode=DropDown { } }
BoolToIndex = function
nickName = "JCD2150"
mouseSens = 0.3135293659411
mouseAcceleration = false
accelerationAmount = 0.16411513090134
invMouse = false
rawInput = false
locale = "enUS"
showHints = false
showCommanderHelp = true
drawDamage = true
rookieMode = false
screenResIdx = 19
visualDetailIdx = 3
display = 0
#2: InitOptionWindow lua/menu/GUIMainMenu.lua:2010
#3: CreateOptionWindow lua/menu/GUIMainMenu.lua:2395
self = GUIMainMenu { }
InitOptionWindow = function
content = ContentBox { }
back = MenuButton { }
apply = MenuButton { }
displays = {1="DEFAULT", 2="DISPLAY 1" }
windowModes = {1=1, 2=2, 3=3 }
screenResolutions = {10="1280x960", 11="1280x1024", 12="1360x768", 13="1360x1024", 14="1366x768", 15="1440x900 *", 16="1600x1200", 17="1680x1050 *", 18="1920x1080", 19="1920x1200 *", 1="640x480", 2="720x480", 3="720x576", 4="800x600", 5="1024x768", 6="1152x864", 7="1280x720", 8="1280x768", 9="1280x800 *" }
soundOutputDevices = {1="Default", 2="Lautsprecher (Creative SB X-Fi)", 3="SPDIF Out (Creative SB X-Fi)" }
soundInputDevices = {1="Default", 2="Microphone (Creative SB X-Fi)", 3="Line-In (Creative SB X-Fi)", 4="Auxiliary (Creative SB X-Fi)", 5="Digital-In (Creative SB X-Fi)", 6=""What U Hear" (Creative SB X-Fi)" }
languages = {1="English", 2="French", 3="German", 4="Korean", 5="Polish", 6="Spanish", 7="Swedish" }
armorTypes = {1="Green", 2="Deluxe" }
sexTypes = {1="Male" }
generalOptions = {10= {label="DRAW DAMAGE", name="DrawDamage", type="select", values= {1="NO", 2="YES" } }, 11= {label="ROOKIE MODE", name="RookieMode", type="select", values= {1="NO", 2="YES" } }, 12= {label="FOV ADJUSTMENT", name="FOVAdjustment", sliderCallback=function, type="slider" }, 13= {label="MINIMAP ZOOM", name="MinimapZoom", sliderCallback=function, type="slider" }, 14= {label="ARMOR TYPE", name="ArmorType", type="select", values= {1="Green", 2="Deluxe" } }, 15= {label="SEX", name="SexType", type="select", values= {1="Male" } }, 16= {callback=function, label="CAMERA ANIMATION", name="CameraAnimation", type="select", values= {1="OFF", 2="ON" } }, 17= {callback=function, label="PhysX GPU Acceleration", name="PhysicsGpuAcceleration", type="select", values= {1="OFF", 2="ON" } }, 1= {label="NICKNAME", name="NickName" }, 2= {label="LANGUAGE", name="Language", type="select", values= {1="English", 2="French", 3="German", 4="Korean", 5="Polish", 6="Spanish", 7="Swedish" } }, 3= {label="MOUSE SENSITIVITY", name="Sensitivity", type="slider" }, 4= {label="REVERSE MOUSE", name="InvertedMouse", type="select", values= {1="NO", 2="YES" } }, 5= {label="MOUSE ACCELERATION", name="MouseAcceleration", type="select", values= {1="OFF", 2="ON" } }, 6= {label="ACCELERATION AMOUNT", name="AccelerationAmount", type="slider" }, 7= {label="RAW INPUT", name="RawInput", type="select", values= {1="OFF", 2="ON" } }, 8= {label="SHOW HINTS", name="ShowHints", type="select", values= {1="NO", 2="YES" } }, 9= {label="COMMANDER HELP", name="ShowCommanderHelp", type="select", values= {1="OFF", 2="ON" } } }
soundOptions = {1= {callback=function, label="OUTPUT DEVICE", name="SoundOutputDevice", type="select", values= {1="Default", 2="Lautsprecher (Creative SB X-Fi)", 3="SPDIF Out (Creative SB X-Fi)" } }, 2= {callback=function, label="INPUT DEVICE", name="SoundInputDevice", type="select", values= {1="Default", 2="Microphone (Creative SB X-Fi)", 3="Line-In (Creative SB X-Fi)", 4="Auxiliary (Creative SB X-Fi)", 5="Digital-In (Creative SB X-Fi)", 6=""What U Hear" (Creative SB X-Fi)" } }, 3= {label="SOUND VOLUME", name="SoundVolume", sliderCallback=function, type="slider" }, 4= {label="MUSIC VOLUME", name="MusicVolume", sliderCallback=function, type="slider" }, 5= {label="VOICE VOLUME", name="VoiceVolume", sliderCallback=function, type="slider" }, 6= {label="MICROPHONE GAIN", name="RecordingGain", sliderCallback=function, type="slider" }, 7= {label="MICROPHONE LEVEL", name="RecordingVolume", type="progress" } }
autoApplyCallback = function
graphicsOptions = {10= {callback=function, label="ANTI-ALIASING", name="AntiAliasing", type="select", values= {1="OFF", 2="ON" } }, 11= {callback=function, label="BLOOM", name="Bloom", type="select", values= {1="OFF", 2="ON" } }, 12= {callback=function, label="ATMOSPHERICS", name="Atmospherics", type="select", values= {1="OFF", 2="ON" } }, 13= {callback=function, label="ANISOTROPIC FILTERING", name="AnisotropicFiltering", type="select", values= {1="OFF", 2="ON" } }, 14= {callback=function, label="AMBIENT OCCLUSION", name="AmbientOcclusion", type="select", values= {1="OFF", 2="MEDIUM", 3="HIGH" } }, 15= {callback=function, label="REFLECTIONS", name="Reflections", type="select", values= {1="OFF", 2="ON" } }, 16= {callback=function, label="SHADOWS", name="Shadows", type="select", values= {1="OFF", 2="ON" } }, 17= {callback=function, label="TEXTURE STREAMING", name="TextureStreaming", type="select", values= {1="OFF", 2="ON" } }, 1= {callback=function, label="DEVICE", name="RenderDevice", type="select", values= {1="D3D11", 2="D3D9", 3="OpenGL" } }, 2= {label="DISPLAY", name="Display", type="select", values= {1="DEFAULT", 2="DISPLAY 1" } }, 3= {label="RESOLUTION", name="Resolution", type="select", values= {10="1280x960", 11="1280x1024", 12="1360x768", 13="1360x1024", 14="1366x768", 15="1440x900 *", 16="1600x1200", 17="1680x1050 *", 18="1920x1080", 19="1920x1200 *", 1="640x480", 2="720x480", 3="720x576", 4="800x600", 5="1024x768", 6="1152x864", 7="1280x720", 8="1280x768", 9="1280x800 *" } }, 4= {label="WINDOW MODE", name="WindowMode", type="select", values= {1=1, 2=2, 3=3 } }, 5= {label="WAIT FOR VERTICAL SYNC", name="DisplayBuffering", type="select", values= {1="DISABLED", 2="DOUBLE BUFFERED", 3="TRIPLE BUFFERED" } }, 6= {callback=function, label="TEXTURE QUALITY", name="Detail", type="select", values= {1="LOW", 2="MEDIUM", 3="HIGH" } }, 7= {callback=function, label="PARTICLE QUALITY", name="ParticleQuality", type="select", values= {1="LOW", 2="HIGH" } }, 8= {label="DECAL LIFE TIME", name="DecalLifeTime", sliderCallback=function, type="slider" }, 9= {callback=function, label="INFESTATION", name="Infestation", type="select", values= {1="MINIMAL", 2="RICH" } } }
generalForm = Form { }
keyBindingsForm = Form { }
graphicsForm = Form { }
soundForm = Form { }
tabs = {1= {form=Form { }, label="GENERAL", scroll=true }, 2= {form=Form { }, label="BINDINGS", scroll=true }, 3= {form=Form { }, label="GRAPHICS", scroll=true }, 4= {form=Form { }, label="SOUND" } }
xTabWidth = 256
tabBackground = Image { }
tabAnimateTime = 0.1
#4: callback lua/menu/GUIMainMenu.lua:248
self = Link { }
#5: OnClick lua/menu/MenuElement.lua:682
self = Link { }
(for generator) = function
(for state) = {1=function }
(for control) = 1
_ = 1
callback = function
#6: OnMouseUp lua/menu/WindowManager.lua:127
self = WindowManager { }
key = 117
element = Link { }
window = Window { }
windowLayer = {offset=20, windowOrder= {1=Window { }, 2=Window { }, 3=Window { }, 4=Window { }, 5=Window { } }, windows= {1=Window { }, 2=Window { }, 3=Window { }, 4=Window { }, 5=Window { } } }
#7: MouseTracker_SendKeyEvent lua/menu/MouseTracker.lua:193
key = 117
down = false
amount = 0
inputBlocked = false
doubleClick = false
stop = false
(for generator) = function
(for state) = {1=WindowManager { }, 2= {OnMouseDown=function, OnMouseMove=function, OnMouseUp=function }, 3= {OnMouseDown=function, OnMouseMove=function, OnMouseUp=function, OnMouseWheel=function } }
(for control) = 1
index = 1
listener = WindowManager { }
#8: lua/InputHandler.lua:197
key = 117
down = false
amount = 0
repeated = false
Error: lua/menu/GUIMainMenu.lua:1598: attempt to call global 'OptionsDialogUI_GetWindowMode' (a nil value)
[Client] Script Error #2: lua/menu/GUIMainMenu.lua:1598: attempt to call global 'OptionsDialogUI_GetWindowMode' (a nil value)
Call stack:
#1: InitOptions lua/menu/GUIMainMenu.lua:1598
optionElements = {AccelerationAmount=SlideBar { }, AmbientOcclusion=DropDown { }, AnisotropicFiltering=DropDown { }, AntiAliasing=DropDown { }, ArmorType=DropDown { }, Atmospherics=DropDown { }, Bloom=DropDown { }, CameraAnimation=DropDown { }, DecalLifeTime=SlideBar { }, Detail=DropDown { }, Display=DropDown { }, DisplayBuffering=DropDown { }, DrawDamage=DropDown { }, FOVAdjustment=SlideBar { }, Infestation=DropDown { }, InvertedMouse=DropDown { }, Language=DropDown { }, MinimapZoom=SlideBar { }, MouseAcceleration=DropDown { }, MusicVolume=SlideBar { }, NickName=TextInput { }, ParticleQuality=DropDown { }, PhysicsGpuAcceleration=DropDown { }, RawInput=DropDown { }, RecordingGain=SlideBar { }, RecordingVolume=ProgressBar { }, Reflections=DropDown { }, RenderDevice=DropDown { }, Resolution=DropDown { }, RookieMode=DropDown { }, Sensitivity=SlideBar { }, SexType=DropDown { }, Shadows=DropDown { }, ShowCommanderHelp=DropDown { }, ShowHints=DropDown { }, SoundInputDevice=DropDown { }, SoundOutputDevice=DropDown { }, SoundVolume=SlideBar { }, TextureStreaming=DropDown { }, VoiceVolume=SlideBar { }, WindowMode=DropDown { } }
BoolToIndex = function
nickName = "JCD2150"
mouseSens = 0.3135293659411
mouseAcceleration = false
accelerationAmount = 0.16411513090134
invMouse = false
rawInput = false
locale = "enUS"
showHints = false
showCommanderHelp = true
drawDamage = true
rookieMode = false
screenResIdx = 19
visualDetailIdx = 3
display = 0
#2: callback lua/menu/GUIMainMenu.lua:2010
#3: OnHide lua/menu/MenuElement.lua:768
self = Window { }
returnValues = { }
(for generator) = function
(for state) = {1=function, 2=function }
(for control) = 2
_ = 2
callback = function
#4: SetIsVisible lua/menu/MenuElement.lua:459
self = Window { }
isVisible = false
success = true
#5: SetIsVisible lua/menu/Window.lua:134
self = Window { }
isVisible = false
setActive = false
#6: callback lua/menu/Window.lua:64
self = Window { }
#7: OnEscape lua/menu/MenuElement.lua:704
self = Window { }
returnValues = { }
(for generator) = function
(for state) = {1=function }
(for control) = 1
_ = 1
callback = function
#8: HandleKeyEventCallbacks lua/menu/WindowManager.lua:216
key = 1
down = true
item = Window { }
stop = false
#9: SendKeyEvent lua/menu/WindowManager.lua:245
self = WindowManager { }
key = 1
down = true
amount = 1
activeWindow = Window { }
stop = nil
#10: lua/InputHandler.lua:211
key = 1
down = true
amount = 1
repeated = false
stop = false
winMan = WindowManager { }
Comments
Delete these folders:
C:\Program Files (x86)\Steam\steamapps\common\Natural Selection 2\core\lua
C:\Program Files (x86)\Steam\steamapps\common\Natural Selection 2\ns2\lua
All paths relative to your steam directory of course. And then after deleting, go into Steam and re-verify your game cache (to redownload those particular files, only a few MB).