Description

!PROBABLY OUTDATED AND DOES NOTHING ANYMORE! A quick workaround for the `ui_options.script:756: attempt to perform arithmetic on local 'w' (a nil value)` crash - PLEASE read the readme if you don't use or play in 1920x1080!

Preview
[OLD] Settings Menu Crash Workaround
Post comment Comments
LeGourmet003
LeGourmet003 - - 59 comments

You need to change your title, it say cash instead of crash.

Reply Good karma Bad karma+3 votes
smt923 Author
smt923 - - 9 comments

oops, fixed now, thanks

Reply Good karma+1 vote
Shinta[新太]
Shinta[新太] - - 2 comments

Is this a fix for the game crashing every time you change a single setting or something else entirely?

Reply Good karma Bad karma+2 votes
smt923 Author
smt923 - - 9 comments

if you get the crash that looks like this:

`ui_options.script:756: attempt to perform arithmetic on local 'w' (a nil value)`

it should fix it, I've had it on the main menu and when opening settings mid game, it only seems to happen when actually clicking the settings button, so if your crash is different it probably won't help, sorry

Reply Good karma+1 vote
Tegarccio
Tegarccio - - 130 comments

I hope someone can help. just find an ak12 and really wanted to shot it.

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CInifile::r_section
[error]File : Xr_ini.cpp
[error]Line : 530
[error]Description : fatal error
[error]Arguments : Can't open section 'string_table'. Please attach [*.ini_log] file to your bug report

Reply Good karma Bad karma+2 votes
Guest
Guest - - 691,863 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,863 comments

This comment is currently awaiting admin approval, join now to view.

Selimovski
Selimovski - - 6 comments

any idea?


---------------------------
Fatal Error
---------------------------
Expression : <no expression>

Function : CScriptEngine::lua_error

File : ..\xrServerEntities\script_engine.cpp

Line : 191

Description : fatal error

Arguments : LUA error: ...ads/anomaly-1.5.1.2\gamedata\scripts\ui_main_menu.script:179: attempt to call field 'UIOptions' (a nil value)


stack trace:



Press OK to abort execution

---------------------------
Ok
---------------------------

Reply Good karma Bad karma+3 votes
n5
n5 - - 2 comments

I get the same error after applying the patch on Linux and pressing the Settings button on the main menu.

Reply Good karma Bad karma+1 vote
unseeabledeath
unseeabledeath - - 1 comments

Has anyone found a fix for this? I'm trying to play it on the steam deck as people have on YouTube, but it crashes everytime I click settings even though I set the resolution to 1280x800.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 691,863 comments

This comment is currently awaiting admin approval, join now to view.

smt923 Author
smt923 - - 9 comments

I made this for a really specific issue that was happening in 2020, I have no idea if this would help anything at all in 2023 (or 2024) and the issue I was originally having has long been fixed, this probably won't help with any of your linux/steamdeck issues unfortunately

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: