2025-07-04 23:25 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002341Spring engineUnit Scriptingpublic2011-02-07 21:32
Reporteruser744 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.82.7.1 
Target VersionFixed in Version0.82.7+git 
Summary0002341: made unit that crashs spring.exe when targeting units but not when shooting at ground
DescriptionSo I made this unit called "tpmlauncher" and it crashs Spring.exe when shoting at enemies. Does not crash when shoting at ground or fpsed.

what i was trying:
http://answers.springlobby.info/questions/511/make-weapon-pick-new-target-in-lus-blockshottargetweight

To reproduce:
/cheat
/give tpmlauncher
/give tplegocar 1 (in range of the rocket turret)

I suspect it is the faulty unit script (too much retargeting or something) but maybe it is ultimately something else.
Additional Informationinfolog http://pastebin.com/PS7SyjDZ

unit script http://pastebin.com/aycnNQFd
(scripts\tpmlauncher.lua)

whole mod http://www.file-upload.net/download-3196131/Springtanks.sdd.zip.html
(shows as "SpringTanks sdd" in modlist)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0006358

user744

Last edited: 2011-02-07 16:42

only happens if you /give the target in range of the turret.
if you spawn the target far away and then drive into range, it does not crash.
but it crashes again if the target goes outside range (or outside los?)
to test this you might want to put a higher reload time so the test targets live longer. (i already put very low damage)

~0006360

Kloot (developer)

merci, c'est repare avec 84dcc096ec
+Notes

-Issue History
Date Modified Username Field Change
2011-02-07 14:34 user744 New Issue
2011-02-07 16:36 user744 Note Added: 0006358
2011-02-07 16:42 user744 Note Edited: 0006358
2011-02-07 21:20 Kloot Status new => assigned
2011-02-07 21:20 Kloot Assigned To => Kloot
2011-02-07 21:32 Kloot Note Added: 0006360
2011-02-07 21:32 Kloot Status assigned => resolved
2011-02-07 21:32 Kloot Fixed in Version => 0.82.7+git
2011-02-07 21:32 Kloot Resolution open => fixed
+Issue History