2024-04-19 06:19 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006217Spring engineGeneralpublic2019-05-05 12:28
Reportersilentwings 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
Product Version104.0 +git 
Target VersionFixed in Version 
Summary0006217: luaui entry point check fails to search inside basecontent
DescriptionLuaUI entry point should detect when luaui.lua is present within base content, as the luaui entry point, but currently it fails to do so. The basecontent file exists in https://github.com/spring/spring/tree/develop/cont

Afaics currently this check doesn't work correctly (i.e. VFS_BASE is not checked): https://github.com/spring/spring/blob/863bc7441aad1dd839b36d28de8ce4d62c961469/rts/Lua/LuaUI.cpp#L87

Infologs from raar:
http://paste.springfiles.com/view/ef3b06a2 (detects luaui.lua)
http://paste.springfiles.com/view/0cd4db97 (fails to detect luaui.lua)
TagsNo tags attached.
Checked infolog.txt for ErrorsYes
Attached Files

-Relationships
+Relationships

-Notes

~0019975

raaar (reporter)

the pastebins expire within a month, i've uploaded the infologs here as well

~0019976

hokomoko (developer)

luaui entry point is not in base, it's in raw

~0019977

silentwings (reporter)

[21:11:41] <Nightwatch> <ashdnazg#5048> luaui entry point is not in base
[21:12:42] <Nightwatch> <ashdnazg#5048> https://i.imgur.com/omvCM2m.png
[21:12:54] <Nightwatch> <ashdnazg#5048> it's in raw
[21:14:10] <[Fx]Bluestone> in which VFS_MOD won't detect it?
[21:16:25] <Nightwatch> <ashdnazg#5048> indeed

~0019978

hokomoko (developer)

I think all luaui stuff should move into base content, RFC

~0019979

silentwings (reporter)

+1

~0019981

Kloot (developer)

+0.5, I have some concerns about LuaUI discoverability.

~0019982

hokomoko (developer)

I thought about this, it raises a tad bit the threshold of going into luadev, but let's be rel, no one can really just jump into widget deving. The API is monstrous, you need the wiki open in all times and if you're working on an existing game, you have to know its shenanigans as well.
+Notes

-Issue History
Date Modified Username Field Change
2019-05-04 21:51 silentwings New Issue
2019-05-04 21:53 raaar File Added: infolog_743_widgets_load.txt
2019-05-04 21:53 raaar File Added: infolog_853_widgets_dont_load.txt
2019-05-04 21:54 raaar Note Added: 0019975
2019-05-04 22:13 hokomoko Note Added: 0019976
2019-05-04 22:18 silentwings Note Added: 0019977
2019-05-04 22:25 hokomoko Note Added: 0019978
2019-05-04 22:38 silentwings Note Added: 0019979
2019-05-05 11:56 Kloot Note Added: 0019981
2019-05-05 12:28 hokomoko Note Added: 0019982
+Issue History