[Genhis][2.0.11] Crash using roboport.charging_station_count_affected_by_quality (RoboportPrototype::RoboportPrototype)

This subforum contains all the issues which we already resolved.
User avatar
micromario
Fast Inserter
Fast Inserter
Posts: 114
Joined: Thu Apr 05, 2018 11:53 am
Contact:

[Genhis][2.0.11] Crash using roboport.charging_station_count_affected_by_quality (RoboportPrototype::RoboportPrototype)

Post by micromario »

Greetings,

I have the following data stage excerpt from Factorssimo.

Code: Select all

local roboport = table.deepcopy(data.raw["roboport"]["roboport"])
roboport.name = "factory-construction-roboport"
roboport.collision_box = {{-0.4, -0.4}, {0.4, 0.4}}
roboport.selection_box = {{-0.5, -0.5}, {0.5, 0.5}}
roboport.recharging_light.size = roboport.recharging_light.size / 2
roboport.charging_station_count_affected_by_quality = true
roboport.logistics_radius = 4
roboport.radar_range = 0
downscale(roboport.base)
downscale(roboport.base_patch)
downscale(roboport.frozen_patch)
downscale(roboport.base_animation)
downscale(roboport.door_animation_up)
downscale(roboport.door_animation_down)
downscale(roboport.recharging_animation)
vector_downscale(roboport.charging_station_shift)
vector_downscale(roboport.stationing_offset)
vector_downscale(roboport.charging_offsets)

data:extend{roboport}
This mod crashes the game in data stage. Commenting out the line "roboport.charging_station_count_affected_by_quality" seems to remove the crash.

Log files and mod are attached.
Attachments
factorissimo-2-notnotmelon_3.1.7.zip
(4.91 MiB) Downloaded 18 times
factorio-current.log
(11.58 KiB) Downloaded 29 times
Genhis
Factorio Staff
Factorio Staff
Posts: 719
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.11] Use of roboport.charging_station_count_affected_by_quality crashes the game.

Post by Genhis »

Thanks for the report, it's fixed for the next release.
Post Reply

Return to “Resolved Problems and Bugs”