2020-02-25 16:43 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005156Spring engineGeneralpublic2016-03-10 01:12
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityhave not tried
Product Version 
Target Version102.0Fixed in Version 
Summary0005156: can ModUICtrl be removed as it seems unused?!
Descriptionthe only place where it is used is for spring-headless to claim more speed (?)

atm it makes it more difficult to write tests as Spring.SendCommands() doesn't work with spring-headless.
Additional Informationany point of allowing to disable LuaModUICtrl? the speed gain should be minor as luaui very likely is already disabled in headless

if not, can it be removed?
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files




hokomoko (developer)

luaui isn't disabled in headless


abma (administrator)

hmm, ok, i guess i meant "hideinterface" then:

still, is there a point of keeping ModUICtrl?


Kloot (developer)

Last edited: 2016-03-09 14:07

View 2 revisions

it blocks user (non-mod) widgets from doing potentially unwanted actions, like extracting files or messing with the mod's UI.

also: CONFIG(bool, LuaModUICtrl).defaultValue(true).headlessValue(false);


abma (administrator)

> it blocks user (non-mod) widgets from doing potentially unwanted actions, like extracting files or messing with the mod's UI.

then the config setting can be removed at least and changing at runtime will be kept?!

doesn't look like its used anywhere:


abma (administrator)

Fix 2581dc9ba37d8a9cb27253a544d16e2fcd0ea79a committed to develop branch: remove LuaModUICtrl config setting: fix 0005156, repo: spring changeset id: 6812

-Issue History
Date Modified Username Field Change
2016-03-09 01:40 abma New Issue
2016-03-09 01:42 abma Description Updated View Revisions
2016-03-09 01:42 abma Additional Information Updated View Revisions
2016-03-09 11:23 hokomoko Note Added: 0016025
2016-03-09 13:55 abma Note Added: 0016026
2016-03-09 14:04 Kloot Note Added: 0016027
2016-03-09 14:07 Kloot Note Edited: 0016027 View Revisions
2016-03-09 15:45 abma Note Added: 0016028
2016-03-10 01:12 abma Changeset attached => spring develop 2581dc9b
2016-03-10 01:12 abma Note Added: 0016037
2016-03-10 01:12 abma Assigned To => abma
2016-03-10 01:12 abma Status new => resolved
2016-03-10 01:12 abma Resolution open => fixed
+Issue History