[GZDoom]Tried to create a status bar with no script (Solved)

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Post Reply
Daze
Posts: 4
Joined: Sun Nov 06, 2016 2:49 am

[GZDoom]Tried to create a status bar with no script (Solved)

Post by Daze »

I've recently decided to update to the latest SVN build since yesterday.
It came to my attention that my project was mysterious greeted with the following message out of nowhere.

"Tried to create a status bar with no script!"

I don't know where this issue comes from...?
Never had this issue with an old 2016 svn build.

Anyone experienced this as well and how to solve this error?


Thanks. <3
Last edited by Daze on Tue May 02, 2017 4:03 am, edited 1 time in total.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [GZDoom] Tried to create a status bar with no script!

Post by _mental_ »

Post your mod or at least its part including SBARINFO and other resources needed to reproduce the problem.
Daze
Posts: 4
Joined: Sun Nov 06, 2016 2:49 am

Re: [GZDoom] Tried to create a status bar with no script!

Post by Daze »

That's the thing... The mod isn't using any SBARINFO yet. :c
That makes me wonder where it's coming from.
There is an empty SBARINFO.txt file in the PK3 though, I could test later today by completely removing the file.
Can't do that now since it'll interrupt my Stream. :c
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: [GZDoom] Tried to create a status bar with no script!

Post by Enjay »

Daze wrote: "Tried to create a status bar with no script!"

Anyone experienced this as well and how to solve this error?
So, you have an empty SBARINFO and you got message about trying to create a status bar with no script? Seems pretty likely your blank SBARINFO is to blame.

There has been some work done on status bars recently to expose them to zscript so perhaps things are a bit stricter as far as old-style SBARINFO lumps are concerned. I can see why a blank one could cause problems.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [GZDoom] Tried to create a status bar with no script!

Post by _mental_ »

Yep, this is empty SBARINFO. Need to check is it a bug or just a feature ;)

Until somebody points us to a released mod that ceases to load because of this error, I think it's OK to keep this behavior unchanged.
So please remove empty SBARINFO lump and be happy.
Last edited by _mental_ on Tue May 02, 2017 3:07 am, edited 1 time in total.
Daze
Posts: 4
Joined: Sun Nov 06, 2016 2:49 am

Re: [GZDoom] Tried to create a status bar with no script!

Post by Daze »

I've just tried...
Problem is still there. :c
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [GZDoom] Tried to create a status bar with no script!

Post by _mental_ »

Post your mod then, a guess game doesn't work quite well.
Daze
Posts: 4
Joined: Sun Nov 06, 2016 2:49 am

Re: [GZDoom] Tried to create a status bar with no script!

Post by Daze »

I've figured it out.
Sorry about my claim that it wasn't the issue, it actually was the issue. D:
My custom compiler didn't removed sbarinfo text file.

Thanks for the help. <3
Post Reply

Return to “Technical Issues”