Page 1 of 6

Treefarm Download

Posted: Wed Jan 13, 2016 2:05 am
by Blu3wolf
Type: Mod
Name: Treefarm
Description: This mod lets you cultivate trees and/or other plants
License: GPLv3
Version: 0.5.0
Release: 2016-07-03
Tested-With-Factorio-Version: 0.13.3
Category: Gameplay
Tags: Treefarm,
Author: drs9999, Blu3wolf, Treefarm Team
Download-Url: https://github.com/Blu3wolf/Treefarm-Lite/releases, https://github.com/Blu3wolf/Treefarm-AC/releases
Website: https://github.com/Blu3wolf/Treefarm-Lite, https://github.com/Blu3wolf/Treefarm-AC
License
Long description
Version history

Re: Treefarm Download

Posted: Fri Jan 15, 2016 3:55 pm
by speedy45
Here is error when I try to play Field Mk2 in my game of factorio 0.12.21. So let me know if there is a fix since I do enjoy using treefarm in my game of factorio?

Re: Treefarm Download

Posted: Fri Jan 15, 2016 11:07 pm
by Blu3wolf
Thanks for bringing this up speedy, fortunately there is a fix!

The fix is downloading the new patch here: https://github.com/Blu3wolf/Treefarm-Lite/releases

Cheers!

Re: Treefarm Download

Posted: Sat Jan 16, 2016 11:04 pm
by Omnagon
Started a new Game with Treefarm 0.2.2. Now I can't load the Game and got this Error Message:

Re: Treefarm Download

Posted: Sun Jan 17, 2016 2:02 am
by Blu3wolf
Could I get you to try 0.2.4 from here?

https://github.com/Blu3wolf/Treefarm-Lite/releases

Re: Treefarm Download

Posted: Sun Jan 17, 2016 10:03 am
by katalex
Image
Problem at the moment Field1 begin grow.
2.4

Re: Treefarm Download

Posted: Sun Jan 17, 2016 10:41 am
by katalex
Make new game.
Image
Again...problem with seed when I try insert seed in Field1

Re: Treefarm Download

Posted: Sun Jan 17, 2016 12:51 pm
by Blu3wolf
Hi katalex, which version of Treefarm and Factorio is this with? I cannot reproduce the issue here on TF Lite 0.2.4 and Factorio 0.12.21.

Re: Treefarm Download

Posted: Sun Jan 17, 2016 1:32 pm
by katalex
Of course newest 12.21 :(((.
Very interesting what I can continue old savegame 12.10. But problem appear after reinstall fields 1,2.
Second screen - new game, first screen - old game. I will try delete all mods.

Re: Treefarm Download

Posted: Sun Jan 17, 2016 4:59 pm
by Blu3wolf
Is this only happening with the coral seeds and not the germlings?

If so, I havent done any tests with the coral seeds yet, Ill have a look at those tomorrow and see if I can replicate it.

Re: Treefarm Download

Posted: Mon Jan 18, 2016 3:21 am
by Omnagon
Blu3wolf wrote:Is this only happening with the coral seeds and not the germlings?

If so, I havent done any tests with the coral seeds yet, Ill have a look at those tomorrow and see if I can replicate it.
Got the Same Error Message now after playing more than 24 hours
got Factorio 0.12.20 and don't use any Coral seeds

Re: Treefarm Download

Posted: Mon Jan 18, 2016 5:09 am
by Blu3wolf
Im still not seeing the script errors, on a new 0.12.21/0.2.4 game with both coral and germlings being used. Ill keep messing with it to see if I can replicate the error.

Re: Treefarm Download

Posted: Mon Jan 18, 2016 9:46 am
by powerafro
I started a new game with Treefarm 0.2.1 lite and for the factorio version 12.21 .
Now i have about 24 hours on the savegame. I updated yesterday to the new Treefarm 0.2.4 version.

I had the same Error as katalex.

When i put my old Treefarm version(0.2.1) back into the mods directory my day and night cycle is getting wrong!

I play with Bobs, Dytech, Yuoki, 5Dim and many other mods.

greetings powerafro!

Re: Treefarm Download

Posted: Mon Jan 18, 2016 2:27 pm
by Omnagon
Blu3wolf wrote:Im still not seeing the script errors, on a new 0.12.21/0.2.4 game with both coral and germlings being used. Ill keep messing with it to see if I can replicate the error.
The Error Message appeared after about 27 hours playing.
I started a new world and updated to 2.4. just as powerafro.
However i de-/activated the Mod and placed the treefarms again.
For the moment it works.

EDIT:
I just tried to load the World.
Message is there again.

REEDIT:
Updated Factorio to 0.12.21
Works

Re: Treefarm Download

Posted: Mon Jan 18, 2016 3:46 pm
by Blu3wolf
I will see about downloading Factorio 0.12.20 to see if I can replicate the errors, but I will be primarily aiming to have TF working with the latest experimental build rather than the last stable build. In any event Ill see what I can do. Tomorrow, after I get some sleep.

Re: Treefarm Download

Posted: Mon Jan 18, 2016 3:57 pm
by roy7
The code base should be nearly identical, but those with the errors could try the unofficial port

https://forums.factorio.com/forum/viewtop ... 20&t=18870

To see if it make any difference.

Re: Treefarm Download

Posted: Tue Jan 19, 2016 9:33 am
by powerafro
I made a new test. I deleted the old Treefarm 0.2.1 after that i load and save the game (without the treefarm).
Then i exit the game and put the new Treefarm 0.2.4 lite and Treefarm 0.2.3 AC into the mod directory.
I started the savegame and build 10 treefarm's mk1 without problem's, but when I save the game and load it is the same error as above.

Re: Treefarm Download

Posted: Tue Jan 19, 2016 10:43 am
by Eunomiac
I'm getting the same two errors, in 0.12.21: attempt to index nil value, at either control.lua:275 or control.lua:383 depending on the autosave I try to load.

I've looked at the code, tested a few things, and learned some stuff! Apologies if you're already way ahead of me, but I figured I'd share what I know:

Both errors are due to the seedTypeLookUpTable defined by the populateSeedTypeLookUpTable() function (control.lua:8): It's returning "nil" instead of the expected "basicTree" or "basicCoral" strings. This is almost certainly because it's being passed "entity.name" values that aren't defined in the list of "states" described by the defineStandardSeedPrototypes() function (control.lua:322).

My next step is to figure out what entity.name value is giving seedTypeLookUpTable problems, but I'm hung up on something silly: I don't know how to print a message (to the screen, or as a popup window, or otherwise capture and log a string)---I know Lua, just not Factorio Lua :)

Could you or someone else please give me the proper syntax to display a simple string to the player? I'll figure out what value of entity.name (or entity.names) is causing the problem on my end and report back.

Re: Treefarm Download

Posted: Tue Jan 19, 2016 11:19 am
by powerafro
Do you forget the lua function script.on_load ? (when i Load the savegame).

Re: Treefarm Download

Posted: Tue Jan 19, 2016 2:29 pm
by roy7
Eunomiac wrote: My next step is to figure out what entity.name value is giving seedTypeLookUpTable problems, but I'm hung up on something silly: I don't know how to print a message (to the screen, or as a popup window, or otherwise capture and log a string)---I know Lua, just not Factorio Lua :)

Could you or someone else please give me the proper syntax to display a simple string to the player? I'll figure out what value of entity.name (or entity.names) is causing the problem on my end and report back.
Something like this in console

/c game.player.print(game.item_prototypes["coal"]["fuel_value"])