Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: bomb3rman on April 14, 2022, 09:58:37 am

Title: Problems with prompt box
Post by: bomb3rman on April 14, 2022, 09:58:37 am
Hey guys, after a long absence, I decided to go on with fredding. I thought it would be a good start to bring the system up to a recent version, but after updating to fs2open 22.0, I'm getting this really weird error-message in one of my missions, related to the promptbox-script:


Quote
LUA ERROR: [string "proBox-sct.tbm - On Game Init"]:87: attempt to index a nil value

------------------------------------------------------------------

stack traceback:
   [C]: ?
   [string "proBox-sct.tbm - On Game Init"]:87: in function 'GetTextFromGauges'
   [string "proBox-sct.tbm - On Game Init"]:64: in function 'UpdateText'
   [string "proBox-sct.tbm - On Game Init"]:54: in function 'MakeList'
   [string "proBox-sct.tbm - On Game Init"]:198: in function 'proBoxOn'
   [string "String: proBoxOn()"]:1: in main chunk
------------------------------------------------------------------

------------------------------------------------------------------

Has anyone experienced this error, too? Is there maybe an updated version of the Promptbox I have to use?
Title: Re: Problems with prompt box
Post by: wookieejedi on April 14, 2022, 03:34:39 pm
Thanks for posting, others have come across that error, too.
https://github.com/scp-fs2open/fs2open.github.com/issues/4171 (https://github.com/scp-fs2open/fs2open.github.com/issues/4171)

Work for a fix is underway  :)
Title: Re: Problems with prompt box
Post by: bomb3rman on April 14, 2022, 04:08:31 pm
Thx, that's good to hear. So I just wait for another nightly, then :)