[Oxyd] Crash when hovering mod-recipe that crafts base items

This subforum contains all the issues which we already resolved.
Riley19280
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Jul 17, 2015 11:36 pm
Contact:

[Oxyd] Crash when hovering mod-recipe that crafts base items

Post by Riley19280 »

there are a few bugs related to this, no icons being displayed in the recipe unlocks, as well as a crash when hovering over them related to RecipeSlot::createToolTip, the recipes are also not unlocked when the research is completed, however the recipies work fine on their own (when not being enabled by a tech research)

Screenshot of GUI:
Capture.JPG
Capture.JPG (30.95 KiB) Viewed 3766 times
icons should be iron ore, copper ore, stone and coal, but are not displayed
Attachments
Resource-Conversions_0.1.0.zip
mod file
(10.98 KiB) Downloaded 148 times
Loewchen
Global Moderator
Global Moderator
Posts: 9298
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Crash when hovering over mod-recipe that crafts base items

Post by Loewchen »

Please upload the log of the crash.
Riley19280
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Jul 17, 2015 11:36 pm
Contact:

Re: Crash when hovering over mod-recipe that crafts base items

Post by Riley19280 »

Here you go!
Attachments
factorio-current.log
log file of crash
(5.13 KiB) Downloaded 153 times
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [Oxyd] Crash when hovering mod-recipe that crafts base items

Post by Oxyd »

This part of your data.lua is wrong:

Code: Select all

{
        type = "unlock-recipe",
        recipe = {"iorn-to-copper"}
      },
	  {
        type = "unlock-recipe",
        recipe = {"copper-to-coal"}
      },
	  {
        type = "unlock-recipe",
        recipe = {"coal-to-stone"}
      },
	  {
        type = "unlock-recipe",
        recipe = {"stone-to-iron"}
      },
It is meant to be recipe = "copper-to-coal", etc – without the {}'s around the string. If you get rid of the {}'s, it works just fine.

Fixed in 0.13.11 – Factorio will correctly refuse to load with an invalid data.lua like that.
Riley19280
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Jul 17, 2015 11:36 pm
Contact:

Re: [Oxyd] Crash when hovering mod-recipe that crafts base items

Post by Riley19280 »

Ah, thank you!
Post Reply

Return to “Resolved Problems and Bugs”