Page 1 of 1

0.14 Error while applying migration

Posted: Tue May 23, 2017 11:13 am
by ruppert
I had installed Yuokimodpack. Now after installing Bob's getting this error:

Code: Select all

Error while applying migration: Bob's Warfare: bobwarfare_0.12.10.lua
Cannot execute command. Error: [string "game.reload_script()[]..."]:7:attempt to index field 'tanks-3' (a nil value)
bobwarfare_0.12.10.lua CODE:

Code: Select all

game.reload_script()

for index, force in pairs(game.forces) do
  force.reset_recipes()
  force.reset_technologies()

  if force.technologies["tanks-3"].researched then
    force.recipes["distractor-artillery-shell"].enabled = true
  end
end

How can I fix it?

Re: 0.14 Error while applying migration

Posted: Tue May 23, 2017 1:58 pm
by bobingabout
I'd say tank 3 still exists, but I'm not sure, I might have renamed it to bob-tank-3 or something.

Does it prevent the game from loading, or does the migration just fail, then let you continue as normal?
You probably don't need the file anyway, as that's a pre 0.12.10 to post 0.12.10 migration, if you're just adding the mod it won't effect anything.

Re: 0.14 Error while applying migration

Posted: Tue May 23, 2017 5:12 pm
by ruppert
Does it prevent the game from loading, or does the migration just fail, then let you continue as normal?
I'm trying to load the last file-save and then get this error, but factorio is not collapsing.
If I try to start a new game then the game start successfully, but the problem is the technology of tanks 2 and 3 is missing.
You probably don't need the file anyway, as that's a pre 0.12.10 to post 0.12.10 migration, if you're just adding the mod it won't effect anything.
I have never had other versions of factorio and bobmods. I would like to continue the game and not start a new one.
When I deleted the contents of the files bobwarfare_0.12.10.lua bobwarfare_0.12.9.lua (empty file) it turns out to continue the game, but there are also no new tanks and vehicles. In the usual vehicle (tank) there is no grid "equipment-grid" because of this, it is impossible to insert the vehicle devices.

Re: 0.14 Error while applying migration

Posted: Tue May 23, 2017 5:27 pm
by bobingabout
There is an option somewhere to add the grids. I'm not sure why you don't have access to talks 2 and 3....
version 0.14 of my mods isn't supported anymore though unfortunately, all my time is currently being spent on working on the 0.15 mods.