Search found 15 matches

by spacedestructor
Fri Sep 29, 2023 10:00 pm
Forum: Tools
Topic: Factsim - A Factorio combinator simulator
Replies: 12
Views: 11489

Re: Factsim - A Factorio combinator simulator

It looks like you're trying to import a blueprint with a non-ascii character in it, it's complaining that the 9615'th character is not a valid ascii character ('\u2265' is apparently a non-ascii greater-than-equals character - ref ). Factorio blueprints are all base64 encoded. Base64 encodes everyt...
by spacedestructor
Tue Feb 07, 2023 6:16 pm
Forum: Tools
Topic: Factsim - A Factorio combinator simulator
Replies: 12
Views: 11489

Re: Factsim - A Factorio combinator simulator

I may have done some errors on my end since i dont have any previous python experience but i did install python to test this out and its always either giving out errors or just not doing anything at all. So im simply just posting the error thats related to the project it self and not python. dont kn...
by spacedestructor
Wed Jan 04, 2023 2:44 am
Forum: Modding help
Topic: inverted search limit filter
Replies: 4
Views: 791

Re: inverted search limit filter

/c player = game.player entity = game.player.selected game.print( "Distance between " .. entity.name .. " and " .. player.name .. " is: " .. math.sqrt((entity.position.x - player.position.x)^2 + (entity.position.y - player.position.y)^2) ) Thanks a lot for the help!
by spacedestructor
Wed Jan 04, 2023 2:12 am
Forum: Modding help
Topic: inverted search limit filter
Replies: 4
Views: 791

Re: inverted search limit filter

The radius and limit filters cannot be inverted. I would search the entire surface, then calculate the radius yourself using triangles: a² + b² = c². Thanks for the info that the radius cant be inverted, i wasnt aware of this and would otherwise have used the inverted filter with radius assuming i ...
by spacedestructor
Wed Jan 04, 2023 1:36 am
Forum: Modding help
Topic: inverted search limit filter
Replies: 4
Views: 791

inverted search limit filter

I hope this is the correct place for me to ask this question, i have recently come across a situation thats not documented in the official Factorio api documentation and so i would like to ask if anyone in the community has an answer for me. I entered a situation where i search in a given radius for...
by spacedestructor
Sat Dec 03, 2022 6:47 pm
Forum: Resolved Problems and Bugs
Topic: [Donion] [1.1.69] Audio does not switch to headphones when connected after factorio has started
Replies: 10
Views: 2178

Re: [Donion] [1.1.69] Audio does not switch to headphones when connected after factorio has started

If I understand it correctly, your headset is set as the default device in Windows but no matter the Factorio settings, the audio is going out through the TV? Can you post a log with Factorio's preferred device set to default and another log when it's set to your headset? I would like to provide th...
by spacedestructor
Thu Dec 01, 2022 11:35 pm
Forum: Resolved Problems and Bugs
Topic: [Donion] [1.1.69] Audio does not switch to headphones when connected after factorio has started
Replies: 10
Views: 2178

Re: [Donion] [1.1.69] Audio does not switch to headphones when connected after factorio has started

i would like to contribute to this thread and saying i have nearly the same issue but with the main difference im not connecting or disconnecting any audio devices. I have my headset set to default in windows but the connected Microphone and TV provide alternative audio outputs. For some unexplainab...
by spacedestructor
Fri Feb 18, 2022 7:44 am
Forum: Modding help
Topic: Scripting help with recipes
Replies: 4
Views: 1269

Re: Scripting help with recipes

Correct. And one addendum/correction to my previous post. One thing about recipes that can be changed at runtime is whether or not they are enabled. One thing to keep in mind is that (for prototypes) everything has a data stage version and then a runtime version. When looking through the docs, make...
by spacedestructor
Fri Feb 18, 2022 5:36 am
Forum: Modding help
Topic: Scripting help with recipes
Replies: 4
Views: 1269

Re: Scripting help with recipes

This is an incomplete answer, but prototypes cannot be altered outside of the data stage. Some things, like entities, take a copy of the prototype and will allow editing of some of their values for that specific entity , but you'd have to check out the API docs to know for sure which ones allow thi...
by spacedestructor
Fri Feb 18, 2022 1:13 am
Forum: Modding help
Topic: Scripting help with recipes
Replies: 4
Views: 1269

Scripting help with recipes

I hope this hasnt been asked before but i made a little mod that helps me testing production setups by providing in a cheat the resources necessary to keep it running. Now when i want to write in the script features for the user to customize the mod experience i run in the issue for example that whe...
by spacedestructor
Sun Nov 07, 2021 4:16 pm
Forum: Ideas and Suggestions
Topic: Include Train Fuel Info into Train Stops
Replies: 21
Views: 5304

Re: Include Train Fuel Info into Train Stops

The suggestion is (at the moment) pointless. Assume you could read the fuel level and you see the train is low on fuel. Now what? There is no way to send it to the refuel station. And no way to skip the fuel station if a train has enough fuel. For this to be of any use first one of the many dynamic...
by spacedestructor
Sun Nov 07, 2021 12:23 pm
Forum: Ideas and Suggestions
Topic: Include Train Fuel Info into Train Stops
Replies: 21
Views: 5304

Re: Include Train Fuel Info into Train Stops

Why don’t you just request enough fuel? IMHO I made this error only once. ;) Because fueling everywhere does not look nice :). I'd like to have single fuel-dedicated station. Thats exactly the same Setup im going for, i got one Production line for Fuel thats efficient enough to Support all Trains a...
by spacedestructor
Sun Nov 07, 2021 7:40 am
Forum: Ideas and Suggestions
Topic: Include Train Fuel Info into Train Stops
Replies: 21
Views: 5304

Re: Include Train Fuel Info into Train Stops

because I dont have Bots yet and therefore not a Logistic chest i could use to request fuel. The way i do it at the moment is putting long belt systems everywhere to fill chests with fuel and have the train wait at one of the loading Stops for the cargo and idle time condition to be correct so i can...
by spacedestructor
Sun Nov 07, 2021 12:22 am
Forum: Ideas and Suggestions
Topic: Include Train Fuel Info into Train Stops
Replies: 21
Views: 5304

Include Train Fuel Info into Train Stops

TL;DR Train Fuel as Train Stop Condition and Logic Network Value to setup Conditions for the Train based on its Fuel Level. What ? im Suggesting to Include in the Train Stop Conditions and the Information a Logic Network can read out from a Train Stop so Players can tell there Train to get a refuel ...
by spacedestructor
Sat Nov 06, 2021 11:47 pm
Forum: Not a bug
Topic: [1.1.46] Missing Train Fuel Logic
Replies: 1
Views: 849

[1.1.46] Missing Train Fuel Logic

Today while playing with a friend (irrelevant for the issue if its multiplayer or not) when we tried to setup a train that doesnt have transporting fuel as one of its task we realized there is a Major oversight to Train Logic. You can not make Train Fuel a Condition at the stop and can not read the ...

Go to advanced search