0.14 Error while applying migration

Some mods, made by Bob. Basically streaks every Factroio-area.

Moderator: bobingabout

ruppert
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue May 23, 2017 11:00 am
Contact:

0.14 Error while applying migration

Post 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?
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: 0.14 Error while applying migration

Post 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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
ruppert
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue May 23, 2017 11:00 am
Contact:

Re: 0.14 Error while applying migration

Post 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.
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: 0.14 Error while applying migration

Post 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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Post Reply

Return to “Bob's mods”