Using the game.create_entity function to spawn a radar in the enemy force(when no force is set) equals to a crash(instantly with no log)
edit:
Edit i'm really sorry for the confusion, but its not the turrets that are faulty basically the bug relies with when there is a radar in a faction with no players in them
I tested it by setting my force to the enemy force and when i did that the crashes did not happen.
BTW after changing back to the player force the radar in an enemy faction did no longer crash.
Just remember it must be active with power
One more thing enemy structures(including yours) can use power from any faction.
I guess the next time(s) i report a bug i should probably take a notebook and write down everything that happens and make it as clear as possible to pin point excactly where the bug lies so that the bug report will stay easy and clean
[0.12.3] [kovarex] Radar in a force with no player
[0.12.3] [kovarex] Radar in a force with no player
- Attachments
-
- LabSetupBugReport.zip
- (2.37 MiB) Downloaded 129 times
Last edited by jorgenRe on Fri Aug 14, 2015 11:02 am, edited 10 times in total.
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^Thanks for listening to our suggestions, devs !
I would jump of joy if we could specify which tiles spawned in a surfaces
Re: [0.12.3][veryMinor]Radar spawned as default enemy force
You can spawn it as a player_force radar, and then change its force via script. You can also set player_mineable, indestructible etc., though i don't know the exact commands offhand
Re: [0.12.3][veryMinor]Radar spawned as default enemy force
That sounds like a good idea for the radar, but I like the spawned in turrets pointing at me ^_^.Klonan wrote:You can spawn it as a player_force radar, and then change its force via script. You can also set player_mineable, indestructible etc., though i don't know the exact commands offhand
But yea I will do indestructible for all blocks when they are downloaded as I call it. 6 files = 1 building. Its insane how much info it takes to store just 1 tiny 50 by 45 big Base
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^Thanks for listening to our suggestions, devs !
I would jump of joy if we could specify which tiles spawned in a surfaces
Re: [0.12.3][veryMinor]Radar spawned as default enemy force
I just ran /c game.player.surface.create_entity{name="radar", position={game.player.position.x+10, y=game.player.position.y}} and it didn't crash, so the problem must be elsewhere. What else did you do? Post the log. Preferrably also the map just before the crash.
Re: [0.12.3][veryMinor]Radar spawned as default enemy force
How odd, ok i found out what it was(sorry for not testing it fully )Oxyd wrote:I just ran /c game.player.surface.create_entity{name="radar", position={game.player.position.x+10, y=game.player.position.y}} and it didn't crash, so the problem must be elsewhere. What else did you do? Post the log. Preferrably also the map just before the crash.
Explained abow^^^^
- Attachments
-
- LabSetupBugReport.zip
- (2.37 MiB) Downloaded 119 times
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^Thanks for listening to our suggestions, devs !
I would jump of joy if we could specify which tiles spawned in a surfaces
Re: [0.12.3] [kovarex] Radar in a force with no player
Thx for the report, it is fixed for 0.12.4