[0.12.3] [kovarex] Radar in a force with no player

This subforum contains all the issues which we already resolved.
Post Reply
jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

[0.12.3] [kovarex] Radar in a force with no player

Post by jorgenRe »

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 :(
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 :D!
I would jump of joy if we could specify which tiles spawned in a surfaces

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.12.3][veryMinor]Radar spawned as default enemy force

Post by Klonan »

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

jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: [0.12.3][veryMinor]Radar spawned as default enemy force

Post by jorgenRe »

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
That sounds like a good idea for the radar, but I like the spawned in turrets pointing at me ^_^.

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 :lol:
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.12.3][veryMinor]Radar spawned as default enemy force

Post by Oxyd »

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.

jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: [0.12.3][veryMinor]Radar spawned as default enemy force

Post by jorgenRe »

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.
How odd, ok i found out what it was(sorry for not testing it fully :( )
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 :D!
I would jump of joy if we could specify which tiles spawned in a surfaces

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.3] [kovarex] Radar in a force with no player

Post by kovarex »

Thx for the report, it is fixed for 0.12.4

Post Reply

Return to “Resolved Problems and Bugs”