Page 1 of 1

[0.12.7] [Rseding91] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 1:13 pm
by StiffarmSoy
I was able to reproduce this successfully, and I vaguely recall a similar issue in previous versions related to moving things into power armor slots by shift+clicking, maybe related?

Steps to reproduce:
  1. Have cannon shells in inventory
  2. Enter tank
  3. Open inventory
  4. Attempt to move shells into tank ammo inventory from player inventory by shift clicking on them
  5. Crash to desktop
It's a minor edge-case type issue, but I thought I would report it anyway. My apologies if this has been reported previously, I did attempt to search but couldn't find anything that looked related.

Re: [0.12.7] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 1:24 pm
by Klonan
What is needed:

Mods
Log file
Save game
System info

Re: [0.12.7] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 3:02 pm
by jeroon
can confirm, Win 10 - x64 zip

Without mods it's fine, but when I do it with launch-control_0.1.1 mod it crashes with "Unexpected error" message.
launch-control_0.1.1.zip
(14 KiB) Downloaded 203 times
_autosave2.zip
(12.12 MiB) Downloaded 220 times
factorio-current.log
(5.13 KiB) Downloaded 228 times

Re: [0.12.7] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 8:45 pm
by Rseding91
I'm not able to reproduce the crash using that save and the mod. I tried:

Shift click ammo in tank ammo slot
Put some ammo in the main inventory and shift click it/control click it
Control click entire inventory
Control click ammo in tank
Move all ammo to tank inventory, main inventory or drop it and shift click it around

No matter what I do I can't get it to crash. Do you have any other save files with steps to reproduce the issue?

Re: [0.12.7] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 9:15 pm
by StiffarmSoy
Rseding91 wrote:I'm not able to reproduce the crash using that save and the mod. I tried:

Shift click ammo in tank ammo slot
Put some ammo in the main inventory and shift click it/control click it
Control click entire inventory
Control click ammo in tank
Move all ammo to tank inventory, main inventory or drop it and shift click it around

No matter what I do I can't get it to crash. Do you have any other save files with steps to reproduce the issue?
This is in vanilla. Were you inside the tank when you tried to reproduce?

Re: [0.12.7] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 9:38 pm
by Rseding91
StiffarmSoy wrote:
Rseding91 wrote:I'm not able to reproduce the crash using that save and the mod. I tried:

Shift click ammo in tank ammo slot
Put some ammo in the main inventory and shift click it/control click it
Control click entire inventory
Control click ammo in tank
Move all ammo to tank inventory, main inventory or drop it and shift click it around

No matter what I do I can't get it to crash. Do you have any other save files with steps to reproduce the issue?
This is in vanilla. Were you inside the tank when you tried to reproduce?
Yes.

Re: [0.12.7] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 9:43 pm
by Rseding91
StiffarmSoy wrote:This is in vanilla. Were you inside the tank when you tried to reproduce?

Can you please upload the save where you have the crash?

Re: [0.12.7] CTD when shift+clicking cannon shells while in tank

Posted: Sun Sep 13, 2015 10:24 pm
by StiffarmSoy
My apologies, I wasn't at the PC where the save was located when I posted before.

I'm also wondering if there is still some confusion on the reproduction, as I was able to do it again just before uploading the save. I'm not opening the tank's inventory while I'm inside it, I'm opening the player inventory and attempting to move the cannon shells from there by shift+clicking.

Attached is the log file I just produced with this most recent crash, and the save file. I've placed the player right outside the tank, all you should have to do to reproduce is jump in the tank, open the player inventory, and shift+click the shells.
factorio-current.log
Log File
(1.41 KiB) Downloaded 158 times
patch1.zip
Save File
(3.87 MiB) Downloaded 173 times

EDIT: I just tested, and I was able to reproduce the issue using the same steps but substituting ctrl+click instead.

Re: [0.12.7] [Rseding91] CTD when shift+clicking cannon shells while in tank

Posted: Mon Sep 14, 2015 4:13 am
by Rseding91
Ok, I found out how to reproduce it. Now to figure out what the proper fix is for it.

Re: [0.12.7] [Rseding91] CTD when shift+clicking cannon shells while in tank

Posted: Tue Sep 15, 2015 2:58 am
by StiffarmSoy
I did a little more testing and it seems to affect both the tank and the car for all of their respective ammo types.

Re: [0.12.7] [Rseding91] CTD when shift+clicking cannon shells while in tank

Posted: Tue Sep 15, 2015 6:06 am
by Rseding91
Thanks for the report. This is now fixed for 0.12.8.