2019-08-24 02:33 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005889Spring engineLuapublic2018-02-19 11:26
ReporterFloris 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version104.0 +git 
Target VersionFixed in Version 
Summary0005889: unitdef techLevel returns nil
Descriptiontried on 104.0.1-236-g23c7945 maintenance
Additional Information[f=-000001] Error: [UnitDefIndex] ERROR_TYPE for key "techLevel" in UnitDefs __index
[f=-000001] Error: [LuaRules::RunCallInTraceback] error=2 (LUA_ERRRUN) callin=Initialize trace=[Internal Lua error: Call failure] error = 2, LuaRules/gadgets.lua, [string "LuaRules/Gadgets/unit_customicons.lua"]:346: attempt to compare number with nil
TagsNo tags attached.
Checked infolog.txt for lua Errors
Attached Files

-Relationships
+Relationships

-Notes

~0018818

Google_Frog (reporter)

Looks intentional https://github.com/spring/spring/commit/b646c7a579262a283603b3b0a9edb3cdfadfe209.

~0018821

Kloot (developer)

Last edited: 2018-02-19 11:26

View 2 revisions

techlevel was removed, use a customparam.

(you can only have meaningful levels in a *tree*, but most games including BA actually define tech *graphs* with cycles in them)

+Notes

-Issue History
Date Modified Username Field Change
2018-02-19 02:14 Floris New Issue
2018-02-19 08:28 Google_Frog Note Added: 0018818
2018-02-19 11:24 Kloot Assigned To => Kloot
2018-02-19 11:24 Kloot Status new => resolved
2018-02-19 11:24 Kloot Resolution open => no change required
2018-02-19 11:24 Kloot Note Added: 0018821
2018-02-19 11:26 Kloot Note Edited: 0018821 View Revisions
+Issue History