[MOD 0.15.x] The Fat Controller. Remote train manager 2.0.7

Topics and discussion about specific mods
DukeAl
Inserter
Inserter
Posts: 49
Joined: Mon Feb 09, 2015 3:55 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by DukeAl »

Tried it on an existing save.
When clicking the button i get the following event handler notice:
.../control.lua1246. bad argument #1 to 'ipairs' (table expected, got nil)
using TFC 0.3.0, factorio 12.11, no other mod active

JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by JamesOFarrell »

Uploaded a fix. Also has fixes that Choumiko has added. You might be better off loading the game without TFC and saving it to fix the issue.

Edit: If it doesn't work, post the save game. If you don't post the save game I can't help you

Angel33Demon666
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Sep 27, 2015 4:30 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by Angel33Demon666 »

I got the same result:

Error while running the event handler: __TheFatController__/control.lua:799: bad argument #1 to 'ipairs' (table expected, got nil)

MiloRK
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Oct 18, 2015 6:50 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by MiloRK »

The problem I'm having:

Unknown key:"Error while running the on_init: __TheFatController__/control.lua:295: attempt to index field 'guiSettings' (a nil value)"

Mods:
The Fat Controller 3.1
Marathon 5.3: https://forums.factorio.com/forum/vie ... t=marathon

Link to save file: https://drive.google.com/file/d/0BxpWVZ ... sp=sharing

Thanks, I really love this Mod :) I had to make a forum account so I could provide feedback. Let me know if I'm missing any detail.

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by Choumiko »

MiloRK wrote:The problem I'm having:

Unknown key:"Error while running the on_init: __TheFatController__/control.lua:295: attempt to index field 'guiSettings' (a nil value)"
Try the attached version, i could load your save with it and FAT Controller showed up.

DukeAI and AngelDemon: Try disabling the mod. Restart Factorio, save the game. reenable FAT contlroler and reload the save. This _should_ fix your problem.
Attachments
TheFatController_0.3.11.zip
(58.31 KiB) Downloaded 527 times

MiloRK
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Oct 18, 2015 6:50 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by MiloRK »

Choumiko wrote:
MiloRK wrote:The problem I'm having:

Unknown key:"Error while running the on_init: __TheFatController__/control.lua:295: attempt to index field 'guiSettings' (a nil value)"
Try the attached version, i could load your save with it and FAT Controller showed up.
Wow thanks! It works great! Now I don't have to chase my trains down anymore.

SirRichie
Fast Inserter
Fast Inserter
Posts: 244
Joined: Wed Feb 25, 2015 4:50 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by SirRichie »

Starting a new game in multiplayer results in de-syncs when the fat controller is enabled.
Loading an existing game was no problem at all.

I suspect that this is due to the fact that on_init is no longer called when the game is loaded, so whoever created the game, got the luxury of running on_init, but joining people only get to run on_load.

HellNeko
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Oct 18, 2015 9:38 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by HellNeko »

The problem I'm having:

Unknown key:"Error while running the on_init: __TheFatController__/control.lua:295: attempt to index field 'guiSettings' (a nil value)"

Using Factorio Ver 0.12.10 when i first tried this mod now using 0.12.12
I tried what Choumiko said and tried the attached file and still does't work. it works at first on the first world load then on the next load of the save i get that error

Mods:
The Fat Controller 0.3.1
Rail Tanker 1.1.2 https://forums.factorio.com/forum/vie ... =14&t=6847
Train Stats 1.0.0 https://forums.factorio.com/forum/vie ... 96&t=13867
Smart Trains 0.3.69 https://forums.factorio.com/forum/vie ... 97&t=14432
F.A.R.L.0.4.3 https://forums.factorio.com/forum/vie ... 92&t=13553
Oil Steam Boiler 0.2.0 https://forums.factorio.com/forum/vie ... =93&t=9873
Diesel Generator 0.2.1 https://forums.factorio.com/forum/vie ... 93&t=16616

Link to save file: https://drive.google.com/file/d/0BwAx9S ... sp=sharing


Edit: This is now working after i update smart trains to 0.3.7 and it works using the one Choumiko moded TFC 0.3.11
Last edited by HellNeko on Sun Oct 25, 2015 10:29 pm, edited 1 time in total.

User avatar
Afforess
Filter Inserter
Filter Inserter
Posts: 422
Joined: Tue May 05, 2015 6:07 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by Afforess »

Lua error, after updating to 0.12.13 and trying to open the train list:

Code: Select all

Error while running the event handler: __ TheFatController__/control.lua: 1015: attempt to call field 'add' (a nil value) 
Skimmed the code. Do you need to use gui.left.add or gui.top.left instead? Not sure exactly what is intended to happen around line 1015.

grifter1
Inserter
Inserter
Posts: 37
Joined: Sat Aug 08, 2015 5:53 am
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by grifter1 »

Hi

Just a quick question do you still have a link the this mod for 12.8 and is this stable for MP game

we are stuck on 12.8 as we have a lot of mods running and a lot havent been updated

JamesOFarrell
Filter Inserter
Filter Inserter
Posts: 402
Joined: Fri May 23, 2014 8:54 am
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by JamesOFarrell »

I'm just going to paste this here from the rail tanker thread. I'll update the first post now with the posted version Choumiko posted earlier.
JamesOFarrell wrote:I figure i should pop up and say something at this point. Life is crazy at the moment, between work and house hunting I've got almost no time to relax. I used to play Factorio and mod in that time but these days I am messing around with some other things. I'm hoping to get back into Factorio when everything calms down but I doubt it will be for a before December. If someone wants to have a crack at patching Rail Tanker (or any of my other mods) feel free to. The code is on github, i'll eye the code and accept the pull request. If you want to post a new version just upload it to this tread and I'll link it in the first post.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by ssilk »

Ok, I will help out, if this mods (or others) needs to be updated. A short PM is enough.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by Choumiko »

I've done some work: TheFatController 0.3.13

Should work with new games as well as older saves that already had FAT installed.

If you only have saves from Factorio 0.12.13 or 0.12.14:
Load them with FatController disabled, save, reenable FatController and load again. Should work then (those versions messed up stored mod data, so there's no other way around it.

James, as with Railtanker, if you want, add a link to https://github.com/Choumiko/TheFatController/releases in the OP, i'll work on it every now and then (will mostly be bug fixes i guess)

Edit: Updated link to 0.3.13, fixed that FatController wasn't working when loading a game

mbritb
Inserter
Inserter
Posts: 22
Joined: Thu Oct 01, 2015 4:19 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by mbritb »

Thank you, that totally fixed the error!!! <3 :D

mbritb
Inserter
Inserter
Posts: 22
Joined: Thu Oct 01, 2015 4:19 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by mbritb »

I have a question: I loaded Colonelwill's map with version 12.15 and this new version of Fat Controller. It takes a few minutes to find about half of the trains then stops. Found out that it's because any train that is manually stopped, can't update so therefore TFC can't find them. Is there a script or something we can run that will force all trains to update or something similar? or do we just have to find each train and turn them on?

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by Choumiko »

mbritb wrote:Found out that it's because any train that is manually stopped, can't update so therefore TFC can't find them. Is there a script or something we can run that will force all trains to update or something similar? or do we just have to find each train and turn them on?
Good point, use the new version below:

The Fat Controller 0.3.14
  • Scans for trains when TFC get's added to a save or updated from older versions.
  • requires Factorio 0.12.12+
  • Display localised item names
This is hopefully the last update to fix all issues concerning updating Factorio/TFC. Tested it with vanilla saves, old saves with TFC 0.3.0 and seems to work.

mbritb
Inserter
Inserter
Posts: 22
Joined: Thu Oct 01, 2015 4:19 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by mbritb »

OMG! Thank you so much Choumiko!!! I'm sorry we keep you guys so busy! Very Very grateful for all you guys have done for us!! Y'all are awesome!!

ColonelWill
Inserter
Inserter
Posts: 20
Joined: Sat Jun 21, 2014 2:25 am
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by ColonelWill »

Thanks so much for updating the mod so fast, means alot

rasser0759
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Oct 31, 2015 2:51 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by rasser0759 »

Hi when i try to run Factorio, i get this error "(player): using axially_symmetrical with just 1 direction"
I hope someone can help me out with this :D

Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

Re: [MOD 0.12.x] The Fat Controller. Remote train management

Post by Choumiko »

New version: The Fat Controller 0.3.15
  • fix typo, preventing unlocking after research
If you already have rail-signals (not rails-signals :mrgreen: ) researched and the button shows up there's no need to update.
rasser0759 wrote:Hi when i try to run Factorio, i get this error "(player): using axially_symmetrical with just 1 direction"
I hope someone can help me out with this :D
What Factorio/FatController version? Or delete the FatController zip/folder and try again, if it still shows the error without it then it's something else

Post Reply

Return to “Mods”