OpenClonk Bugtracker - OpenClonk
View Issue Details
0001851OpenClonkObjectspublic2016-11-12 11:112016-12-16 21:05
ReporterFulgen 
Assigned ToMaikel 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Versiongit master 
Summary0001851: Wind generator: GetPowerNetwork() either not called from definition context or no object specified..
DescriptionI spawned a wind generator in the playground, and this error was logged:

[12:08:07] ERROR: ERROR: script: GetPowerNetwork() either not called from definition context or no object specified..
[12:08:07] by: Library_Power->GetPowerNetwork() (Objects.ocd\Libraries.ocd\Structures.ocd\Power.ocd\Script.c:181)
[12:08:07] by: Object(2052702)->RefreshPowerNetwork(Object(1902420)) (Objects.ocd\Libraries.ocd\Structures.ocd\Flag.ocd\Script.c:525)
[12:08:07] by: Object(2052702)->RefreshAllPowerNetworks() (Objects.ocd\Libraries.ocd\Structures.ocd\Flag.ocd\Script.c:496)
[12:08:07] by: Object(2052702)->AddOwnership() (Objects.ocd\Libraries.ocd\Structures.ocd\Flag.ocd\Script.c:211)
[12:08:07] by: Object(2052702)->Initialize() (Objects.ocd\Libraries.ocd\Structures.ocd\Flag.ocd\Script.c:56)
[12:08:07] by: Object(2052702)->Initialize() (Objects.ocd\Structures.ocd\WindGenerator.ocd\Script.c:39)
[12:08:07] by: Object(2051816)->SpawnObject(WindGenerator) (Savegames.ocf\PlayGround.ocf\PlayGround1.ocs\SpawnMenu.ocd\Script.c:388)
[12:08:07] by: Object(2051816)->MenuSpawnObject(WindGenerator) (Savegames.ocf\PlayGround.ocf\PlayGround1.ocs\SpawnMenu.ocd\Script.c:274)
TagsObjects, Power, Script
Attached Files

Notes
(0005537)
Maikel   
2016-12-16 21:05   
Does not happen any more, probably due to a recent related bugfix.

Issue History
2016-11-12 11:11FulgenNew Issue
2016-11-12 11:11FulgenTag Attached: Objects
2016-11-12 11:11FulgenTag Attached: Power
2016-11-12 11:11FulgenTag Attached: Script
2016-12-16 21:05MaikelAssigned To => Maikel
2016-12-16 21:05MaikelStatusnew => resolved
2016-12-16 21:05MaikelResolutionopen => fixed
2016-12-16 21:05MaikelFixed in Version => git master
2016-12-16 21:05MaikelNote Added: 0005537