Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Awesome job! The map is really amazing.

But I've some trouble on my game.

I've that on the log file and my game blocked at the begining and when I accelerate the time. Have you an idea?:

2024-07-05 14:23 Warning (script): 'DensityMapModifier:new': Argument 1 has wrong type. Expected: Int. Actual: Nil 

2024-07-05 14:23   2024-07-05 14:23 D:\auto_builder\cache\svn\ebac29df05e8259ab65b77112f6766d3\src\base\scripting\lua\LuaScriptSystem.cpp (903)2024-07-05 14:23 : 2024-07-05 14:23 expectedType == Value::VoidType || expectedType == Value::ClassType

2024-07-05 14:23 LUA call stack:

  dataS/scripts/utils/FSDensityMapUtil.lua (43) : DensityMapModifier:new

  dataS/scripts/field/FieldManager.lua (483) : new

  dataS/scripts/field/FieldManager.lua (964) : getFruitModifier

  dataS/scripts/field/FieldManager.lua (401) : setFieldPartitionStatus

  dataS/scripts/BaseMission.lua (1277) : update

  dataS/scripts/FSBaseMission.lua (1983) : update

  dataS/scripts/missions/mission00.lua (577) : update

  dataS/scripts/main.lua (1299) : update

2024-07-05 14:23 Error: Running LUA method 'update'.

dataS/scripts/utils/FSDensityMapUtil.lua(44) : attempt to index local 'modifier' (a nil value)

Are you playing with the Premium Expansion enabled? If so, that is your problem.  If not, you have a mod conflict of some sort.

Tks ! I've start a new savegame with Premium Exp dislabed and it works