Anonymous Login
2019-07-21 06:48 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001665OpenClonkObjectspublic2016-03-28 17:22
ReporterMaikel 
Assigned ToClonkonaut 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Versiongit master 
Target VersionFixed in Version 
Summary0001665: Script error in zap
Description[18:19:30] ERROR: can't access local variables without this.
[18:19:30] by: Enrage({x = 0, y = 0}) (/home/maikel/openclonk/repos/build/planet/Objects.ocd/Animals.ocd/Zaphive.ocd/Zap.ocd/Script.c:118)
[18:19:30] by: GetAttraction({x = 0, y = 0}) (/home/maikel/openclonk/repos/build/planet/Objects.ocd/Animals.ocd/Zaphive.ocd/Zap.ocd/Script.c:94)
[18:19:30] by: MoveToTarget() (/home/maikel/openclonk/repos/build/planet/Objects.ocd/Libraries.ocd/Animal.ocd/Insect.ocd/Script.c:233)
[18:19:30] by: MoveToTarget() (/home/maikel/openclonk/repos/build/planet/Objects.ocd/Libraries.ocd/Animal.ocd/Insect.ocd/InsectSwarm.ocd/Script.c:134)
[18:19:30] by: Activity() (/home/maikel/openclonk/repos/build/planet/Objects.ocd/Libraries.ocd/Animal.ocd/Insect.ocd/Script.c:224)
[18:19:30] by: FxIntScheduleCallTimer(0,{Function = "Activity", Name = "IntScheduleCall", NoStop = true, Pars = [], Repeats = -33}) (/home/maikel/openclonk/repos/build/planet/System.ocg/Schedule.c:93)

Don't know when it appeared, I burnt a tree with a zapnest.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0004934

Zapper (developer)

I looked through the code but didn't really find out why this could happen.

~0005046

occ (reporter)

Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:
https://git.openclonk.org/openclonk.git/commitdiff/e6093ee2fcb11b0df67e1237868ecf063dc56463

Changeset e6093ee by Clonkonaut <Armag3ddon@web.de>
Fixed possible access of a removed zap (0001665).

~0005047

Clonkonaut (developer)

The zap can die in CheckTarget(), so yeah, at line 0000118 it's possible it's dead.
+Notes

-Issue History
Date Modified Username Field Change
2016-02-03 17:20 Maikel New Issue
2016-02-04 18:36 Zapper Note Added: 0004934
2016-03-28 17:21 occ Note Added: 0005046
2016-03-28 17:22 Clonkonaut Note Added: 0005047
2016-03-28 17:22 Clonkonaut Status new => resolved
2016-03-28 17:22 Clonkonaut Resolution open => fixed
2016-03-28 17:22 Clonkonaut Assigned To => Clonkonaut
+Issue History