Page 1 of 1

Restart LuaUI?

Posted: 20 Jun 2007, 19:14
by KDR_11k
Is there a way to restart the LuaUI if it has crashed? Since it's unsynced code it should not have trouble with being restarted mid-game, right? It's damn annoying when some error kills the whole LuaUI, even worse if you're using some IceUI stuff that replaces some standard screen element because then you'll play the rest of the game without a resource bar (THE reason I'm not using any alternative resource bars).

Posted: 20 Jun 2007, 19:15
by trepan
/luaui reload

The synced scripts can also be reloaded by the host (.cheat must be enabled):
.luarules reload
.luagaia reload
.luacob reload

The 'disable' keyword also works for all of those scripts.

Posted: 20 Jun 2007, 19:32
by KDR_11k
Cool, many thanks.

Posted: 23 Jun 2007, 05:01
by Noruas
I notice sometimes it likes to crash when i reload, epically playing ba or ca, with icexuicks wanabe lua.