[Rseding91] [0.16.36]on_gun_inventory_changed crash

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

[Rseding91] [0.16.36]on_gun_inventory_changed crash

Post by DRY411S »

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.
Log file with my debug statements in it
(8.72 KiB) Downloaded 49 times
Crash dump
(546.37 KiB) Downloaded 40 times
Scenario that crashes the game
(5.07 KiB) Downloaded 41 times

Factorio Staff
Factorio Staff
Posts: 10986
Joined: Wed Jun 11, 2014 5:23 am

Re: [Rseding91] [0.16.36]on_gun_inventory_changed crash

Post by Rseding91 »

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: p4wana