View Issue Details

IDProjectCategoryView StatusLast Update
0003850Spring engineLuapublic2013-06-24 15:20
ReporterGoogle_Frog Assigned TojK  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version94.1.1+git 
Summary0003850: GetUnitRulesParam for 'inlos=true' param returns value for unidentified radar dot.
DescriptionSpring.GetUnitRulesParam can read parameters for units which are outside los even when the param is set with inlos=true.
Additional InformationReplay: http://zero-k.info/Battles/Detail/175180
Do /specfullview
Optionally do /luaui reload at times to ensure widgets are not storing data.

Gadget:
http://code.google.com/p/zero-k/source/browse/trunk/mods/zk/LuaRules/Gadgets/start_unit_setup.lua

Widget:
http://code.google.com/p/zero-k/source/browse/trunk/mods/zk/LuaUI/Widgets/unit_gadget_icons.lua
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Google_Frog

2013-06-15 10:53

reporter   ~0010868

Spring 94.1.1-635-g01f5a8e

jK

2013-06-15 12:48

developer   ~0010870

cannot reproduce

You also got LOS range for the commander that comes into question at the beginning, and then lose it again cause of missing radar. So the widget likely buffers the data in that time, and reuse it for the radar dot. -> cannot fix

Google_Frog

2013-06-15 12:55

reporter   ~0010871

"Optionally do /luaui reload at times to ensure widgets are not storing data."

Another way to reproduce is to start a test game, switch to team 2 and spawn a radar tower such that the start commander is in radar range. I'll try to make a clearer test case.

Google_Frog

2013-06-15 13:06

reporter   ~0010873

Ok, cannot reproduce with clear test case. Assume that there is some sort of widget problem.

Google_Frog

2013-06-24 15:10

reporter   ~0010930

As in, this can be closed.

Issue History

Date Modified Username Field Change
2013-06-15 10:47 Google_Frog New Issue
2013-06-15 10:53 Google_Frog Note Added: 0010868
2013-06-15 12:48 jK Note Added: 0010870
2013-06-15 12:55 Google_Frog Note Added: 0010871
2013-06-15 13:06 Google_Frog Note Added: 0010873
2013-06-24 15:10 Google_Frog Note Added: 0010930
2013-06-24 15:20 jK Status new => closed
2013-06-24 15:20 jK Assigned To => jK
2013-06-24 15:20 jK Resolution open => no change required