[Klonan] [0.15.4] Script error in Tight Spot campaign

This subforum contains all the issues which we already resolved.
Robodave
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Apr 30, 2017 1:56 am
Contact:

[Klonan] [0.15.4] Script error in Tight Spot campaign

Post by Robodave »

I'm on level 4 of the Tight Spot campaign. I've built my factory, but the game gives an error when I try to start it running.

I've attached my save file.

Code: Select all

   0.001 2017-04-29 18:59:53; Factorio 0.15.4 (build 29262, mac, steam)
   0.001 Operating system: Mac OS X 10.12.4
   0.001 Program arguments: "/Users/David/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app" 
   0.001 Read data path: /Users/David/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.001 Write data path: /Users/David/Library/Application Support/factorio
   0.001 Binaries path: /Users/David/Library/Application Support/Steam/steamapps/common
   0.012 System info: [CPU: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz, 4 cores, RAM: 4096MB]
   0.043 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.044 Available display adapters: 1
   0.044  [0]: resolution 1440x900px at [0,0]
   0.044 Create display on adapter 0. Size 1280x720 at position [70, 72].
   0.195 Initialised OpenGL:[0] Intel HD Graphics 5000 OpenGL Engine; driver: 2.1 INTEL-10.24.45
   0.503 Graphics settings preset: medium
   0.503 Graphics options: [Graphics quality: normal] [Video memory usage: medium] [Light scale: 25%] [DXT: false]
   0.626 Loading mod core 0.0.0 (data.lua)
   0.647 Loading mod base 0.15.4 (data.lua)
   0.872 Loading mod base 0.15.4 (data-updates.lua)
   0.993 Checksum for core: 2926038370
   0.993 Checksum of base: 181075648
   1.298 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493517448
   1.298 Info PlayerData.cpp:60: Cloud player-data.json available, timestamp 1493517104
   1.453 Loaded shader file /Users/David/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data/core/graphics/shaders/game.glsl
   1.467 Loaded shader file /Users/David/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data/core/graphics/shaders/zoom-to-world.glsl
   1.487 Initial atlas bitmap size is 4096
   1.491 Created atlas bitmap 4096x4073
   1.494 Created atlas bitmap 4096x4096
   1.496 Created atlas bitmap 4096x4089
   1.496 Created atlas bitmap 4096x1012
   1.496 Created atlas bitmap 4096x1868
  34.394 Sprites loaded
  34.394 Convert atlas 4096x1868 to: trilinear-filtering 
  34.614 Loading sounds...
  38.739 Custom inputs active: 0
  38.872 Factorio initialised
  67.270 Loading map /Users/David/Library/Application Support/factorio/saves/Tight Spot.zip: 608789 bytes.
  67.272 Error FileUtil.cpp:291: Can't remove /Users/David/Library/Application Support/factorio/temp/currently-playing: No such file or directory
  67.293 Loading Level.dat: 474192 bytes.
  67.295 Info Scenario.cpp:133: Map version 0.15.4-2
  67.374 Loading script.dat: 5289 bytes.
  67.384 Checksum for script /Users/David/Library/Application Support/factorio/temp/currently-playing/control.lua: 318676594
  71.417 Error MainLoop.cpp:853: Exception at tick 112571: Error while running event level::on_gui_click (ID 1)
Resource amount has to be larger than 0.
stack traceback:
	...actorio/factorio.app/Contents/data/core/lualib/story.lua:391: in function 'recreate_entities'
	...on Support/factorio/temp/currently-playing/tightspot.lua:294: in function 'map_save'
	...on Support/factorio/temp/currently-playing/tightspot.lua:213: in function 'tightspot_start_level'
	...on Support/factorio/temp/currently-playing/tightspot.lua:412: in function 'action'
	...actorio/factorio.app/Contents/data/core/lualib/story.lua:93: in function 'story_update'
	...tion Support/factorio/temp/currently-playing/control.lua:87: in function <...tion Support/factorio/temp/currently-playing/control.lua:86>
  79.216 Steam API shutdown.
  84.242 Goodbye
Attachments
Tight Spot.zip
(594.52 KiB) Downloaded 154 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5290
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.15.4] Script error in Tight Spot campaign

Post by Klonan »

Thanks for the report,

There seems to be some coal patches with invalid values on the map,
Such as -30 and 0

So i will take care of them
Post Reply

Return to “Resolved Problems and Bugs”