[MOD 0.12.x] Treefarm REDUX (DISCONTINUED)

Looking for a mod? Have a review on a mod you'd like to share?
User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: [MOD 0.3.x] Treefarm

Post by FreeER »

rk84 wrote:y+x has some ill effects, because like (-10)+(10) = (10)+(-10) is equal. It will give zeros on y=x line and makes mirror image over opposite side of that line.
oops, I figured that wasn't the best way but lol. I imagine you could always come up with some equation/algorithim type thing like 2x^2+3y-math.sqrt(30).
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me :)
Or drop into #factorio on irc.esper.net

Morzan
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Apr 12, 2013 6:27 pm
Contact:

Re: [MOD 0.3.x] Treefarm

Post by Morzan »

This mod is good, because the wood is now renewable. But the field and the cokery has a very weird hitbox. Please fix it! Thanks. :)
Sorry for the bad english!

Used mods: F mod, Treefarm mod

User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: [MOD 0.3.x] Treefarm

Post by FreeER »

there's really nothing that can be done with the hit box unless he wants to make two seperate entities and have it so that when you place the 'field' (the chest is the actual field right now) and it then spawns in another entity that would take the place of the field itself. As for the cokery that's because the enitity is not exactly square so rotating it causes issues, you should be able to rotate it again to fix the hitbox but I wish it worked better as well lol
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me :)
Or drop into #factorio on irc.esper.net

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [MOD 0.3.x] Treefarm

Post by rk84 »

you can restore correct orientation of hitboxes by saving and loading the game.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [MOD 0.3.x] Treefarm

Post by kovarex »

Yes, rectangular collision boxes were buggy, I already fixed that few days ago for the furutre 0.4.0

Morzan
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Apr 12, 2013 6:27 pm
Contact:

Post by Morzan »

Hey everyone!

It's time to introduce my Power Plant! This system makes energy and coke coal!
I used 16 fields to make wood producton enough fast.
Image:
power plant.JPG
power plant.JPG (245.29 KiB) Viewed 8502 times
Edit: I working on to make it bigger and better!
Sorry for the bad english!

Used mods: F mod, Treefarm mod

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.3.x] Treefarm

Post by drs9999 »

I updated the mod a second ago.

It is now possible to produce fertilizer which increase the tree-spawning-rate and the field output.

hope you like it

Morzan
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Apr 12, 2013 6:27 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by Morzan »

Good good! But what think you about my power plant? Note: Right now it's bigger than in the picture.
Sorry for the bad english!

Used mods: F mod, Treefarm mod

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by drs9999 »

Yeah I like it!

And now build a new one, which includes fertilizer production :D

Morzan
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Apr 12, 2013 6:27 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by Morzan »

Yes, you right...
Sorry for the bad english!

Used mods: F mod, Treefarm mod

misterlui
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Mar 05, 2013 6:35 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by misterlui »

And how do I apply the fertilizer on the field? How do I increase the amount of tree harvesting? Explanation please picture. Thank you.
i use a translator, sorry for bad english. ;-)

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by drs9999 »

misterlui wrote:And how do I apply the fertilizer on the field? How do I increase the amount of tree harvesting? Explanation please picture. Thank you.
You have insert the fertilizer at the top left corner (the chest), the wood-output increases automatically as long as fertilizer is in the fields inventory.
But make sure that you use filter inserters to output the wood then.

Morzan
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Apr 12, 2013 6:27 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by Morzan »

WOW. Today i played a bit in my modded map and this happend:
treefarm bug.JPG
treefarm bug.JPG (62.43 KiB) Viewed 8669 times
treefarm bug2.JPG
treefarm bug2.JPG (45.89 KiB) Viewed 8669 times
So this happend with me two times. Please help me, because I WANT TO PLAY IN MY MODDED MAP. :D
Sorry for the bad english!

Used mods: F mod, Treefarm mod

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by drs9999 »

Ok I see what went wrong, but I cant explain it :D
Can you upload the savefile of the world pls?

Just to make sure I guess you use the treefarm-mod and f-mod only ( treefarm v0.5 and f-mod v1.3?)?

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by ficolas »

the code tries to insert inside a fish?
nom

Morzan
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Apr 12, 2013 6:27 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by Morzan »

Yes i use just Treefarm v0.5 and F-mod v1.3.

I can upload the world save. Here it is:
http://www.mediafire.com/?9ah82woieilpnza
Sorry for the bad english!

Used mods: F mod, Treefarm mod

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by drs9999 »

Well, obviously the table which stores the field-entities messed up. I am not sure why.

I think this part of the code is the reason:

Code: Select all

game.onevent(defines.events.onbuiltentity, function(event)
1:  if event.createdentity.name == "field" then
2:   glob.fieldcount = glob.fieldcount + 1    
3:    glob.field[glob.fieldcount] = event.createdentity
  end
end)
@ the devs:
How does the fish-spawning works atm?
Is the following possible?

- player places a field
- onbuilt event is raised
- codeline 1 is executed => result is true, because builtentity==field
- codeline 2 is excuted AND a fish spawns, so maybe event.createdentity becomes fish, but the onbuiltevent is not raised again, because it is executed atm
- the fish-entity is stored to the table instead of the field

Morzan
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Apr 12, 2013 6:27 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by Morzan »

So this interesting think in my map not just me happend?
Sorry for the bad english!

Used mods: F mod, Treefarm mod

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by drs9999 »

At least you are the first one who reported this :D

While I was testing and playing with the mod I had never ran into that problem. But yeah, if my suspicion is correct it will only appear under very very very rare circumstances.
Sadly I can not help you for now... But let us wait until a game-dev see this and say something.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [MOD 0.3.x] Treefarm v0.5

Post by kovarex »

drs9999 wrote: Is the following possible?
No :)
The value of the event can't change while you execute, that would make the script unusable.
The event is processed synchronously and nothing else is happening when the code is being executed.

Post Reply

Return to “Questions, reviews and ratings”