Jump to content

LUA Error on Startup: attempt to perform arithmetic on local 'music' (a string value)


VoidCurse
  • Fixed

Whenever I start up the game, I get this error. 

 

DTS Bug.png

client_log.txt


Steps to Reproduce
The error simply happened upon startup. The game used to work before, I do not know what I did.



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Ive been having the same issue for a few months now. I've deleted all my files and reinstalled. Selectively deleted 'music' and 'playerprofile' folders, but nothing. 

Share this comment


Link to comment
Share on other sites

Hi @VoidCurse and @Matt7, sorry for the slow response.

It looks like your client.ini is corrupt. Can you remove the [audio] section? Mine looks like this:

[audio]
volume_ambient = 10
volume_sfx = 10
volume_music = 10

Delete those lines and you should be able to run the game. If that doesn't work, try renaming client.ini to client_corrupt.ini and running the game again.

On Windows, your client.ini is located here:

%USERPROFILE%\Documents\Klei\DoNotStarveTogether\

(Hit WindowsKey+R, paste that path, hit enter.)

Share this comment


Link to comment
Share on other sites

Changed Status to Fixed

I manually corrupted my own ini file and figured out a fix!

(Doesn't fix whatever corrupted your ini, but the game won't crash for this specific corruption.)

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...