Jump to content

Beefalo "bad self" sound crash


MF99K
  • Closed

line 713 SGbeefalo.lua

I tried to screenshot the error message but it keeps crashing before I have time to screencap it.

Happens after riding a pudgy beefalo for a while, but I'm not sure if that's the only time that happens. It's happened several times seemingly at random while riding.


Steps to Reproduce
1. get a pudgy beefalo 2. ride it around for a while



User Feedback


The log files contain the same error that is displayed on screen (plus a lot more details). So if this happens again, please attach the log files (it can be found in your save file directory).

Share this comment


Link to comment
Share on other sites

2 hours ago, ScottHansen said:

The log files contain the same error that is displayed on screen (plus a lot more details). So if this happens again, please attach the log files (it can be found in your save file directory).

I've been having issues accessing logs, but I think I found the error message

 

Quote

[00:09:49]: [string "scripts/stategraphs/SGBeefalo.lua"]:713: calling 'PlaySound' on bad self (string expected, got nil)
LUA ERROR stack traceback:
    =[C]:-1 in (method) PlaySound (C) <-1--1>
    scripts/stategraphs/SGBeefalo.lua:713 in (field) fn (Lua) <713-713>
    scripts/stategraph.lua:568 in (method) UpdateState (Lua) <536-580>
    scripts/stategraph.lua:607 in (method) Update (Lua) <599-627>
    scripts/stategraph.lua:125 in (method) Update (Lua) <109-148>
    scripts/update.lua:209 in () ? (Lua) <150-223>

 

Share this comment


Link to comment
Share on other sites

6 hours ago, ScottHansen said:

@mf99k Can you please attach the entire log file next time this happens? Thanks.

It crashed again but I managed to figure out the issue, I had accidentally replaced the beefalo.lua file with an older version, which ended up confusing the stategraph. updated the file to the current version and now it's working fine. Sorry about that :p

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...