jpanther / dectorio

Dectorio is a large mod that adds decorative elements to Factorio.
https://mods.factorio.com/mod/Dectorio
GNU General Public License v3.0
22 stars 17 forks source link

Cannot plant trees #122

Open maroelawerner opened 5 years ago

maroelawerner commented 5 years ago

When I try to plant a tree inside my base, in a PVP game, I get a message informing me that I cannot build inside an enemy base. When I try and plant a tree outside my base, it crashes the server. Screenshot_20190907_113108 mod-list.zip

Playing 0.17.68(Linux). First noticed th issue in 0.17.67

Running the headless server on a remote machine and playing on the local network.

Thank you for your hard work.

jpanther commented 5 years ago

Thanks I'll see if I can work out what's going on here. I don't normally play PVP so it's not something I've noticed before.

jpanther commented 5 years ago

I think the issue here is that trees cannot have a force specified and so in a PVP game it recognises that the tree belongs to a special force when it's being placed and because it sees this as an enemy it doesn't let you place it. Out of interest does the same problem happen when placing rocks or is it only the trees?

maroelawerner commented 5 years ago

Hi,We have not tried placing rocks. Planting grass and landfill work. It is just the trees that are giving us problems.  I'll try placing other things from Dectorio tonight when I get home.Thank you for looking into this problem. Sent from my Samsung device

-------- Original message -------- From: James Panther notifications@github.com Date: 10/09/2019 02:08 (GMT+00:00) To: jpanther/Dectorio Dectorio@noreply.github.com Cc: Ralph Werner palagat@themaroelatree.co.uk, Author author@noreply.github.com Subject: Re: [jpanther/Dectorio] Cannot plant trees (#122)

I think the issue here is that trees cannot have a force specified and so in a PVP game it recognises that the tree belongs to a special force when it's being placed and because it sees this as an enemy it doesn't let you place it. Out of interest does the same problem happen when placing rocks or is it only the trees?

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/jpanther/Dectorio/issues/122?email_source=notifications\u0026email_token=AAVU73PWEJJ737TGZKADZNDQI3XRPA5CNFSM4IUPURV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6JPPOY#issuecomment-529725371", "url": "https://github.com/jpanther/Dectorio/issues/122?email_source=notifications\u0026email_token=AAVU73PWEJJ737TGZKADZNDQI3XRPA5CNFSM4IUPURV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6JPPOY#issuecomment-529725371", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

maroelawerner commented 5 years ago

Hi James,I just checked the rocks and they have the same problem. Everything else does not have that problem. Sent from my Samsung device

-------- Original message -------- From: James Panther notifications@github.com Date: 10/09/2019 02:08 (GMT+00:00) To: jpanther/Dectorio Dectorio@noreply.github.com Cc: Ralph Werner palagat@themaroelatree.co.uk, Author author@noreply.github.com Subject: Re: [jpanther/Dectorio] Cannot plant trees (#122)

I think the issue here is that trees cannot have a force specified and so in a PVP game it recognises that the tree belongs to a special force when it's being placed and because it sees this as an enemy it doesn't let you place it. Out of interest does the same problem happen when placing rocks or is it only the trees?

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/jpanther/Dectorio/issues/122?email_source=notifications\u0026email_token=AAVU73PWEJJ737TGZKADZNDQI3XRPA5CNFSM4IUPURV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6JPPOY#issuecomment-529725371", "url": "https://github.com/jpanther/Dectorio/issues/122?email_source=notifications\u0026email_token=AAVU73PWEJJ737TGZKADZNDQI3XRPA5CNFSM4IUPURV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6JPPOY#issuecomment-529725371", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

jpanther commented 5 years ago

Okay thanks, I'll see if I can do some more testing to try work out if there's a way I can get this working.

jpanther commented 5 years ago

A quick update on this... I'm still doing some testing. All I've been able to work out on this so far is that it's not PvP-mode specific, but it's rather specific on whether the "Enemy building restriction" option is set when starting a new round. If this option is off, tree and rock placement works fine.

maroelawerner commented 5 years ago

Hi,Thank you for the update. Have found that while we are playing a freeplay game on our server, running Version 0.17.69, the server crashes when planting a tree. We did update Dectorio to 0.9.16, hoping the crashes will go away, but they did not. Kind RegardsRalphSent from my Samsung device

-------- Original message -------- From: James Panther notifications@github.com Date: 30/09/2019 01:58 (GMT+00:00) To: jpanther/Dectorio Dectorio@noreply.github.com Cc: Ralph Werner palagat@themaroelatree.co.uk, Author author@noreply.github.com Subject: Re: [jpanther/Dectorio] Cannot plant trees (#122)

A quick update on this... I'm still doing some testing. All I've been able to work out on this so far is that it's not PvP-mode specific, but it's rather specific on whether the "Enemy building restriction" option is set when starting a new round. If this option is off, tree and rock placement works fine.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/jpanther/Dectorio/issues/122?email_source=notifications\u0026email_token=AAVU73P2TBSCV34RVCE5SHDQMFFKDA5CNFSM4IUPURV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD74DPSA#issuecomment-536360904", "url": "https://github.com/jpanther/Dectorio/issues/122?email_source=notifications\u0026email_token=AAVU73P2TBSCV34RVCE5SHDQMFFKDA5CNFSM4IUPURV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD74DPSA#issuecomment-536360904", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]