Page 1 of 1
empty BA.lua = no LuaUI
Posted: 08 Jun 2013, 15:16
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
Re: empty BA.lua = no LuaUI
Posted: 08 Jun 2013, 17:16
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.
Re: empty BA.lua = no LuaUI
Posted: 08 Jun 2013, 17:47
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.
Re: empty BA.lua = no LuaUI
Posted: 08 Jun 2013, 19:17
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.
Re: empty BA.lua = no LuaUI
Posted: 08 Jun 2013, 19:24
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?
Re: empty BA.lua = no LuaUI
Posted: 08 Jun 2013, 19:25
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.
Re: empty BA.lua = no LuaUI
Posted: 10 Jun 2013, 05:48
by zwzsg
Looks like abma fixed default handler:
http://git.io/AY0f5g