Apparently 0.11.6 broke game.canplaceentity for rails.
Picture is worth a thousand words
i placed a rail, got the coordinates, removed it and called the function with these numbers. Same error for curved rails. No mods installed, freh map.
[0.11.6] game.canplaceentity broken for rails
Re: [0.11.6] game.canplaceentity broken for rails
Thank you for the notice, it is fixed for 0.11.8 now.
Re: [0.11.6] game.canplaceentity broken for rails
Tried with 0.11.8 with the same results as in the OP, as it's not in the changelog i'm not that surprised. Just wanted to make sure it actually isn't working and not only the changelog is missing this rather unimportant bugfix
Re: [0.11.6] game.canplaceentity broken for rails
I tried it and it worked for me, what message you get exactly? (The same?)
Re: [0.11.6] game.canplaceentity broken for rails
Yes the exact same error. Tried with a fresh downloaded zip package (0.11.8.12921) for windowsx64, using windows 7. Again, no mods (exept base and scenario pack), fresh map
Re: [0.11.6] game.canplaceentity broken for rails
So I just noticed, that I made this fix on my home computer and I forgot to push it to the main branch, so the fix was not included in the release.
It will be included in the 0.11.9 version, sorry for the confusion.
It will be included in the 0.11.9 version, sorry for the confusion.