empty BA.lua = no LuaUI

empty BA.lua = no LuaUI

Classic game design, maintained to please you...

Moderator: Content Developer

Post Reply
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

empty BA.lua = no LuaUI

Post by knorke »

There was player in chat who had only very small buildmenu, like this:
http://abload.de/img/screen00000joqa3.png
It was because his \LuaUI\Config\BA.lua was 0 kb
Appearently empty BA.lua makes LuaUI crash:http://pastebin.com/giGeKGpJ
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: empty BA.lua = no LuaUI

Post by Silentwings »

Yes - this is a known bug (the build menu in the pic is the spring default). It started happening post 91 & not before that. It's never happened to me (or any other BA devs or, as far as I know, to anyone who could work out what caused it). It seems to happen randomly to only a small set of people. Got any ideas?

Maybe I'll just make a patch for the widget handler.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: empty BA.lua = no LuaUI

Post by smoth »

or just find out why an empty ba.lua crashes what and fix THAT bug. There will always be a luaiu crash that can take down your luaui, better to find those bugs silentwings.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: empty BA.lua = no LuaUI

Post by Silentwings »

Fixed the widget handler: http://imolarpg.dyndns.org/trac/balatest/changeset/1199

But if you ever find out what made BA.lua blank, let me know.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: empty BA.lua = no LuaUI

Post by very_bad_soldier »

Silentwings wrote: But if you ever find out what made BA.lua blank, let me know.
Probably the same thing that wrecks/modifies BA.lua config after every single game for some people, no?
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: empty BA.lua = no LuaUI

Post by Silentwings »

Possibly - from the people who reported this too me, I was told it's intermitent and rare. I've not heard of something that happens every game.

My config file has never had anything strange happen to it. If anyone can reliably reproduce whatever makes their BA.lua go blank, I'd be grateful to know how.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: empty BA.lua = no LuaUI

Post by zwzsg »

Looks like abma fixed default handler: http://git.io/AY0f5g
Post Reply

Return to “Balanced Annihilation”