[Rseding91] [0.16.36]on_gun_inventory_changed crash

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
DRY411S
Filter Inserter
Filter Inserter
Posts: 608
Joined: Sun Mar 13, 2016 9:48 am
Contact:

[Rseding91] [0.16.36]on_gun_inventory_changed crash

Post by DRY411S » Sun Apr 22, 2018 7:09 pm

How to reproduce
  1. Unzip the attached roles.zip in your local scenarios folder
  2. Launch the game
  3. Choose the 'roles' scenario
  4. Generate the map
  5. The game crashes
My own diagnosis, because of the debug statements I have into the log, are that the line that causes the crash is line 216 in control.lua

Note. This scenario is in the feasibility stage. What I was trying to do was damage the player's character every time they tried to change their gun inventory. The event occurs after the player_joined_game event because the player is given a gun when they are created.
Attachments
factorio-current.log
Log file with my debug statements in it
(8.72 KiB) Downloaded 33 times
factorio-dump-current.dmp
Crash dump
(546.37 KiB) Downloaded 22 times
roles.zip
Scenario that crashes the game
(5.07 KiB) Downloaded 25 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 9478
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.16.36]on_gun_inventory_changed crash

Post by Rseding91 » Tue May 01, 2018 1:37 am

Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]