Page 4 of 6
Re: Treefarm Download
Posted: Fri Mar 11, 2016 8:22 am
by Blu3wolf
Blu3wolf wrote:roy7 wrote:Blu3wolf, any chance the performance suggestions Rseding makes here can get into the official release? It solves the performance problems of using lots of farms, but was done in a much older version he just used for himself.
viewtopic.php?f=34&t=19258&p=131926#p125486
Thats the general aim of the Optimisation branch here:
https://github.com/Blu3wolf/Treefarm-Li ... timisation
Unfortunately while that version is loading into Factorio just fine, its not actually growing anything, so I have an error somewhere. Havent found it yet though. Also that branch is still working on the first of his suggestions, the second one (about planting trees on farms more efficiently) has not been started on yet.
The Optimisation branch is now working, with the first of Rseding's suggestions implemented. I found my (rookie) mistakes, and redid the part affected. Next onto the field maintainer script, to see if we can get an improvement there also!
EDIT: 0.3.0 is up here:
https://github.com/Blu3wolf/Treefarm-Lite/releases
Would appreciate feedback - any bugs, and also how performance is affected with LOTS of treefarms!
Re: Treefarm Download
Posted: Sat Mar 12, 2016 3:11 am
by Blu3wolf
New version 0.3.1 is up with a minor bugfix for errors on loading a save -
https://github.com/Blu3wolf/Treefarm-Lite/releases
Did a test with 60 treefarms that stayed at 60 FPS. Hopefully 600 treefarms would be the same - although Ill need someone to try that for me!
Re: Treefarm Download
Posted: Sun Mar 13, 2016 2:34 pm
by steinio
Hello Blu3wolf,
i've updated from 0.2.8 to 0.3.1 and get an error message on load a game.
Tryed 0.3.0 but the same. Downgrade to 0.2.8 helped.
Greetings steinio
Re: Treefarm Download
Posted: Sun Mar 13, 2016 4:26 pm
by Blu3wolf
Hmm. I might need to work on a migration file to fix that. Ill see what I can do. Hopefully sometime tomorrow.
Re: Treefarm Download
Posted: Sun Mar 13, 2016 5:49 pm
by roy7
Blu3wolf wrote:New version 0.3.1 is up with a minor bugfix for errors on loading a save -
https://github.com/Blu3wolf/Treefarm-Lite/releases
Did a test with 60 treefarms that stayed at 60 FPS. Hopefully 600 treefarms would be the same - although Ill need someone to try that for me!
Fantastic news!
Re: Treefarm Download
Posted: Sun Mar 13, 2016 6:02 pm
by steinio
Hello Blu3wolf,
thanks for your reply.
Dont't feel pushed.
Just take as much time as you want.
Greetings steinio
Re: Treefarm Download
Posted: Sun Mar 13, 2016 11:59 pm
by Blu3wolf
Working on an attempted fix here:
https://github.com/Blu3wolf/Treefarm-Lite/tree/bugfix
Tempted to call it save breaking, but if I can get this fix working then it will be able to convert save games over to the new data handling system. Again it stems from errors Im not sure how to interpret though!
Thats about as much as I can do this am, classes now.
Re: Treefarm Download
Posted: Mon Mar 14, 2016 3:19 am
by Blu3wolf
New version 0.3.2 up here:
https://github.com/Blu3wolf/Treefarm-Lite/releases
Hoping 0.3.2 will work with saves from 0.2.8 and older; If anyone could report back whether it works for them or not, that would be appreciated, thanks!
Re: Treefarm Download
Posted: Thu Mar 17, 2016 4:19 pm
by Shadow_Dragon
Very very nice, work pefectly for me.
And it work with the Shadow Modpack

Re: Treefarm Download
Posted: Mon Mar 21, 2016 6:51 pm
by steinio
Hello Blu3wolf,
upgrade from 0.2.8 to 0.3.2 worked like a charm after your update.
Greetings
steinio
Re: Treefarm Download
Posted: Tue Mar 22, 2016 6:19 am
by Blu3wolf
Awesome, Im glad to hear its working.
Re: Treefarm Download
Posted: Wed Mar 23, 2016 3:13 am
by tetryon
Hey .. I posted a crasher on github - wasn't sure if I should paste it there or here
https://github.com/Blu3wolf/Treefarm-Lite/issues/12
Re: Treefarm Download
Posted: Wed Mar 23, 2016 3:57 am
by Blu3wolf
Posting it there is best, as I will get an email notification of it if its posted there. I am thus more likely to see it if its posted to Github. Ill look into it. Thanks for submitting it.
Re: Treefarm Download
Posted: Wed Mar 23, 2016 4:47 am
by Blu3wolf
Hopefully 0.3.3 fixes this issue:
https://github.com/Blu3wolf/Treefarm-Lite/releases
Let us know how it goes. Cheers!
Re: Treefarm Download
Posted: Wed Mar 23, 2016 3:56 pm
by tetryon
Updated, tested, resolved. Good job!
Re: Treefarm Download
Posted: Wed Mar 30, 2016 5:05 am
by Blu3wolf
Would anyone be interested in testing the performance of an interim release for me? It would likely not be a good idea to progress your saves on this release, but Id be interested in hearing what kind of errors folks get and what kind of performance.
New Version 0.3.4 Is Up
Posted: Sat Apr 02, 2016 10:29 am
by Blu3wolf
A new version, 0.3.4, is now available for download! This version should make it possible to add treefarm to an existing save that was started without treefarm installed, as well as hopefully improve framerates with LOTS of treefarms installed.
This version is still a little fresh from testing, so any bug reports are valued! Please post any Issues to Github:
https://github.com/Blu3wolf/Treefarm-Lite/issues I will try to look at any issues when I can. Any thoughts, reports or just opinions you have on performance, I would appreciate posted here or github - Im hoping this version should be much lighter on resources needed to run, especially with large numbers of treefarms, but maybe even with just a few.
Looking forwards to see what you guys think!
Re: Treefarm Download
Posted: Sat Apr 02, 2016 11:37 am
by roy7
I tried upgrading my old Treefarm map to the latest versions of AC and Lite but I got the error message attempt to index field 'fieldsToMaintain' (a nil value) in control.lua:269 in TreefarmLite.
This map was using like 8ms for Treefarm and had a UPS of 52, so it's my test map for performance once it'll load. Uploading my save file and mods.zip to help with debugging/testing. It was running previously with AC 0.2.1 and Lite 0.2.0.
Don't recall exact # of treefarms but there are quite a few. We had eventually added a lot more treefarms then punted once UPS was in the 40s and replaced everything with Greenhouses. That was back before you implemented the performance boosts.

Re: Treefarm Download
Posted: Sat Apr 02, 2016 11:47 am
by Blu3wolf
Hold that thought, people: 0.3.5 will be up shortly. Sorry!
EDIT: owing to some performance issues 0.3.5 will be delayed. Apologies for the premature announcement.
Re: Treefarm Download
Posted: Sat Apr 02, 2016 8:01 pm
by Sacredd
Thank you for this mod.