Page 9 of 11
Re: Bug Reports
Posted: Thu Aug 20, 2015 8:42 am
by Alexs
I have exactly the same mistake ...
Re: Bug Reports
Posted: Tue Sep 22, 2015 10:57 am
by PiggyWhiskey
I've found a weird bug.
Playing with .12.8, Bobs Mods and TreeFarm lite.
I have a grid of 16 Mk1 treefarms on grass. Then decided to upgrade all my walking areas to Stone Brick. This killed the growth of the trees (Even though it's still grass underneath)
So I removed the stone brick, and it still doesn't work. The trees refuse to re-grow.
However, there are some fields that didn't have the brick down for that long that are growing. I'm guessing that it only blocks/fails the growth if it experiences a growth tick while there is Stone Brick underneath.
Haven't tested with Concrete.
Re-placing the tree farm removes the "barren" effect.
Re: Bug Reports
Posted: Fri Oct 16, 2015 11:03 pm
by bobingabout
Your mod is broken in 0.12.11, something to do with change in scripting.
Re: Bug Reports
Posted: Sun Oct 18, 2015 1:33 pm
by bobingabout
I fixed it myself if anyone is interested.
https://www.dropbox.com/s/4fr6xaq62o9lw ... x.zip?dl=0
I replaced all the script event variables from game. to script. as per the recent changes in 0.12.11.
I also had to replace the game.on_load script with script.on_configuration_changed, as per the devs instructions of "No script should be calling a game. variable on game load, use on_configuration_changed instead.".
the new on_configuration_changed basically detects if the game or any mods have had an update, if they have that function is called.
Re: Bug Reports
Posted: Wed Oct 21, 2015 11:32 am
by PiggyWhiskey
bobingabout wrote:I fixed it myself if anyone is interested.
sinp
ooh thanks bob.
Another Bug Report.
When robots place a Tree Farm Mk2 it causes a crash to desktop referencing Attempting to index nil.
I think it was code to account for multiplayer (control.lua:196 - local player = game.players[event.player_index])
In single player it doesn't allow indexed players that I could tell.
This mod seems to be dead. Owner hasn't posted since July 29th.
Anyone have any ideas?
Edit: Also happens when bots attempt to fill a MK2 field.
control.lua:383 attempt to index field '?' (a nil value) "if global.tf.seedPrototypes[seedType].efficiency[currentTilename] == nil then"
This stuff is getting well beyond me. I'm hopeless coding unless I can step through it.
Looks like I need to get rid of TreeFarm or stick to MK1's perhaps.
Re: Bug Reports
Posted: Thu Oct 22, 2015 7:07 am
by bobingabout
My fix is inadequate, aparantly the game crashs when a tree would grow.
Re: Bug Reports
Posted: Thu Oct 22, 2015 8:56 am
by Lone_Player
Re: Bug Reports
Posted: Thu Oct 22, 2015 9:04 am
by PiggyWhiskey
Nice! I didn't even consider trying to find a replacement mod. I'll have a look later tonight.
Re: Bug Reports
Posted: Tue Dec 15, 2015 11:02 am
by aklesey1
Error with Factorio 0.12.20 when launching custom scenario
Treedarm Lite control.lua attempt to index global 'game' (a nil value)
I'm using treefarm Ac and Lite with bob mods
Re: Bug Reports
Posted: Mon Feb 22, 2016 10:18 pm
by Lee_newsum
I get this from loading a save game I just save.
Edit loading with the mod and then add it back in fix it so far so good.
Edit2: new game and add it a game works but not loading it with a game with the mod in.

Re: Bug Reports
Posted: Sat Mar 05, 2016 6:00 pm
by Albin00
everytime i try to put a germling into the field this message shows up
Error while running the event handler: __Treefarm-Lite__/control.lua:383: attempt to index field '?' (a nil value)
I can still be in the same world but i can't use the mod. This is very saddening because of the tree producing, myself hate too break down all the trees and then find new ones.
I hoped you fix it

Re: Bug Reports
Posted: Wed Mar 09, 2016 2:22 pm
by Blu3wolf
Which version of Treefarm, which version of Factorio?
Re: Bug Reports
Posted: Sat Apr 02, 2016 11:40 am
by Blu3wolf
PiggyWhiskey wrote:bobingabout wrote:I fixed it myself if anyone is interested.
sinp
ooh thanks bob.
Another Bug Report.
When robots place a Tree Farm Mk2 it causes a crash to desktop referencing Attempting to index nil.
I think it was code to account for multiplayer (control.lua:196 - local player = game.players[event.player_index])
In single player it doesn't allow indexed players that I could tell.
This mod seems to be dead. Owner hasn't posted since July 29th.
Anyone have any ideas?
Edit: Also happens when bots attempt to fill a MK2 field.
control.lua:383 attempt to index field '?' (a nil value) "if global.tf.seedPrototypes[seedType].efficiency[currentTilename] == nil then"
This stuff is getting well beyond me. I'm hopeless coding unless I can step through it.
Looks like I need to get rid of TreeFarm or stick to MK1's perhaps.
Fixed the first one. I think I might have fixed the second one? I did a fix, but havent tested it properly as yet. Can find it here:
https://github.com/Blu3wolf/Treefarm-Lite/releases
Hope that helps!
Re: Bug Reports
Posted: Sat Apr 02, 2016 6:41 pm
by Unrated
Treefarm-Lite__/control.lua:573: LuaEntity API call when LuaEntity was invalid.
CTD
Three farms producing with germlings. It looks like possibly that it is happening when trees are going from medium to large.
Treefarm Lite Version 0.3.4
Factorio version 0.12.29
Mods:
Advanced Logistics
Autofill
Bob's Mods Suite
EvoGUI
FARL
Fluid Barrel
Initial Scan
Larger Inventory
Rail Tanker
RSO
Smart Trains
TheFatController
Tree Collision
YARM
Re: Bug Reports
Posted: Sun Apr 03, 2016 8:25 am
by MiniMe943

- treefarm_error.png (182.27 KiB) Viewed 9858 times
Getting this error on 12.29 whenever a mature alien tree is automatically selected for deconstruction.
EDIT: Using Treefarm-AC_0.2.3, AlienPlant_0.2.0, and Lite_0.3.1
EDIT, EDIT: Realized I'm using a horribly out of date version of Treefarm, will wait for 0.3.5.

Re: Bug Reports
Posted: Sun Apr 03, 2016 9:07 am
by Blu3wolf
Thanks for the reports guys, I really appreciate them!
Can I get folks to include the version number they were using, of both factorio and the Treefarm mods as well, when you post? Thanks!
Also please note that 0.3.4 is best not used at all right now, it would be better to wait for 0.3.5 due to some awkward bugs.
Re: Bug Reports
Posted: Sun Apr 03, 2016 7:20 pm
by Unrated
Edited my comment with the version number.
Factorio version 0.12.29
Also, put the report on GitHub.
I noticed that the version was pre-released. Reverted back to the previous release, and don't have issues now.
Re: Bug Reports
Posted: Mon Apr 04, 2016 12:27 pm
by Blu3wolf
Unrated wrote:Edited my comment with the version number.
Factorio version 0.12.29
Also, put the report on GitHub.
I noticed that the version was pre-released. Reverted back to the previous release, and don't have issues now.
Ive gone a step further, and removed the release entirely, due to the game breaking bugs in it. Thanks for putting the report on Github!
0.3.5 is now up, and does not have this game breaking bug any more. As usual, you can download it from the Releases page on Github:
https://github.com/Blu3wolf/Treefarm-Lite/releases
Cheers for waiting!
Re: Bug Reports
Posted: Tue Apr 05, 2016 5:27 am
by MiniMe943
Fantastisch, keep up the great work. This is one of the first mods I ever downloaded for Factorio way back in the day and I'm glad that someone's keeping it alive.

Re: Bug Reports
Posted: Wed Apr 13, 2016 5:01 pm
by Qon
I can't uninstall this mod. If I try to disable or remove lite and AC or just AC I get an error message preventing me from loading my save file. The performance problems forced be to remove all treefarm items and without them I would like to remove the mod from my savefile. Error mesage attached.