Page 1 of 1

boost::math::round error

Posted: Sun Jan 11, 2015 8:51 am
by Dysoch
when you install my latest Core version and hover you mousse over the glass smelting recipe in the DyTech Intermediates tab, you get an this error:
Image

i know where the issue lies:
sand you can get from Gems, water and a few other things, so its an infinite loop and cause the game to error.

here is the download

edit:
changing this:

Code: Select all

    ingredients =
    {
	  {type="item", name="ruby-orex", amount=1}
    },
    results = 
	{
      {type="item", name="stone", amount_min=1, amount_max=6, probability=1},
      {type="item", name="sand", amount_min=1, amount_max=50, probability=0.2},
	},
to this

Code: Select all

    ingredients =
    {
	  {type="item", name="ruby-orex", amount=1}
    },
    results = 
	{
      {type="item", name="stone", amount_min=1, amount_max=6, probability=1},
      --{type="item", name="sand", amount_min=1, amount_max=50, probability=0.2},
	},
(removing the sand from the recipe) will fix this issue. But it is not prefered

Re: boost::math::round error

Posted: Sun Jan 11, 2015 10:15 am
by kovarex
The problem is that the recipe product has minimum amount 0.

Fixed for 0.11.11