2025-08-02 22:34 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002565Spring engineUnit Scriptingpublic2011-07-19 21:47
ReporterGoogle_Frog 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.82.7+git 
Target VersionFixed in Version0.82.7+git 
Summary0002565: Crash in Sleep with EmitSfx in unit script
DescriptionThe unit armstiletto_laser has a unit script crash in FireWeapon1 within Sleep if the EmitSfx that is emitted in the script hits a unit. Removing the Sleeps from the script fixes the crash.

This occurs up until zk version 3376. In 3377 a gadget is added that reimplements the behaviour of Sleep for this script, not a good solution. http://code.google.com/p/zero-k/source/detail?r=3377
Additional Information[f=0005906] [string "LuaGadgets/Gadgets/unit_script.lua"]:328: attempt to index local 'thread' (a nil value)
[f=0005906] stack traceback:
    [string "LuaGadgets/Gadgets/unit_script.lua"]:328: in function 'Sleep'
    [string "scripts/armstiletto_laser.lua"]:94: in function <[string "scripts/armstiletto_laser.lua"]:64>
    (tail call): ?

Engine: spring_0.82.3-2782-ga9d985b
Mod: Zero-k v0.8.8.2
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2011-07-19 07:35 Google_Frog New Issue
2011-07-19 07:35 Google_Frog File Added: Stiletto_crash_Comet Catcher Redux_0.82+.4.sdf
2011-07-19 07:35 Google_Frog Graphics Card => unknown
2011-07-19 20:51 Kloot Status new => assigned
2011-07-19 21:46 Kloot Status assigned => resolved
2011-07-19 21:46 Kloot Fixed in Version => 0.82.7+git
2011-07-19 21:46 Kloot Resolution open => fixed
2011-07-19 21:46 Kloot Assigned To => Kloot
+Issue History