Page 8 of 18
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sat Oct 17, 2015 6:30 pm
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
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sat Oct 17, 2015 11:17 pm
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
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sun Oct 18, 2015 2:09 am
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)
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sun Oct 18, 2015 7:14 pm
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.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sun Oct 18, 2015 9:21 pm
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.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sun Oct 18, 2015 10:22 pm
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.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Thu Oct 22, 2015 8:41 pm
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.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Fri Oct 23, 2015 8:33 am
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
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sat Oct 24, 2015 11:42 pm
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.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Wed Oct 28, 2015 1:29 am
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
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Thu Oct 29, 2015 8:12 am
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.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Thu Oct 29, 2015 4:12 pm
by ssilk
Ok, I will help out, if this mods (or others) needs to be updated. A short PM is enough.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Thu Oct 29, 2015 9:17 pm
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
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Fri Oct 30, 2015 4:58 pm
by mbritb
Thank you, that totally fixed the error!!! <3

Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Fri Oct 30, 2015 5:03 pm
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?
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Fri Oct 30, 2015 5:46 pm
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.
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Fri Oct 30, 2015 10:44 pm
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!!
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Fri Oct 30, 2015 10:53 pm
by ColonelWill
Thanks so much for updating the mod so fast, means alot
Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sat Oct 31, 2015 2:56 pm
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

Re: [MOD 0.12.x] The Fat Controller. Remote train management
Posted: Sat Oct 31, 2015 10:15 pm
by Choumiko
New version:
The Fat Controller 0.3.15
- fix typo, preventing unlocking after research
If you already have rail-signals (not rail
s-signals

) 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

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