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
empty BA.lua = no LuaUI
Moderator: Content Developer
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: empty BA.lua = no LuaUI
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.
Maybe I'll just make a patch for the widget handler.
Re: empty BA.lua = no LuaUI
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.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: empty BA.lua = no LuaUI
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.
But if you ever find out what made BA.lua blank, let me know.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: empty BA.lua = no LuaUI
Probably the same thing that wrecks/modifies BA.lua config after every single game for some people, no?Silentwings wrote: But if you ever find out what made BA.lua blank, let me know.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: empty BA.lua = no LuaUI
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.
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
Looks like abma fixed default handler: http://git.io/AY0f5g