Search found 60 matches

by PunPun
Fri Nov 08, 2019 3:49 pm
Forum: Technical Help
Topic: Why is my UPS low?
Replies: 19
Views: 470

Re: Why is my UPS low?

Anyone have experience with the newer Intel i9 series? They support quad channel RAM. Could make a big difference if that is part of the problem. Clearly, quad channel will not improve your gaming experience over dual channel (at least with Intel CPU, I don't know the impact on AMD CPU). You'd get ...
by PunPun
Wed Oct 30, 2019 11:49 am
Forum: Technical Help
Topic: [0.17.74] Can't connect to remove server, traffic seems to be going through but nothing happens
Replies: 6
Views: 127

Re: [0.17.74] Can't connect to remove server, traffic seems to be going through but nothing happens

Since the packets are reaching the machine but are not reaching factorio's server my quess is that there is a firewall present on the machine that prevents it. Do you happen to know what OS the server is using? Most linux distros use iptables for firewall. You can check by running iptables -L It sho...
by PunPun
Wed Oct 30, 2019 8:49 am
Forum: Technical Help
Topic: [0.17.74] Can't connect to remove server, traffic seems to be going through but nothing happens
Replies: 6
Views: 127

Re: [0.17.74] Can't connect to remove server, traffic seems to be going through but nothing happens

Hello folks, I'm trying to set up a remote server for factorio 0.17.74. I installed the headless server on a dedicated server, and I am using the Steam client. As you can guess, it doesn't connect I launch the server with this command line : bin/x64/factorio --start-server saves/test.zip --bind 1.2...
by PunPun
Mon Oct 21, 2019 5:57 pm
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

For A* to work the heuristic must never report a distance larger than what it actually is. As long as that remains true A* will find the shortest path. The better the heuristic the faster it finds it usually. A heuristic of H() = min([<distance to each goal>]) fits the requirement. I was too tired....
by PunPun
Sat Oct 19, 2019 6:21 pm
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

For double headed trains you search with A* starting at the destinations. Then you expand the paths from each station backwards till one of them hits the segment the train is in. Why would you need to search twice? Because the ends are not neccessarily in the same segment. If you have a 100+ car lo...
by PunPun
Mon Oct 14, 2019 4:27 pm
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

Thanks, once again it shows: A picture says more than a thousand words. I understand. Pathfinding and especially A* is a subject that is not obvious without visual examples. Also if you google A* stuff the internet is full of misinformation posted by people who do not understand how A* actually wor...
by PunPun
Mon Oct 14, 2019 2:47 pm
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

A* expands the path where |path| + H() is the cheapest. The heuristic H() must not overestimate the cost to reach the goal. It usually underestimates it relative to the amount of path remaining. Until here you are correct. With many paths of identical cost that means the paths that have been least ...
by PunPun
Sun Oct 13, 2019 12:56 am
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

If I did say it was using A* in the past and it's not then I was wrong. Regardless of what algorithm it's using I have implemented a few optimizations on top of the code to improve performance so if someone thinks they might have ideas about how to make it even faster I'd love to hear them. In that...
by PunPun
Sat Oct 12, 2019 1:55 pm
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

Also someone should correct the wiki https://wiki.factorio.com/Railway/Train_path_finding . It claims A* is used when it is actually djikstra. And those two are infact different algorithms. Well, do you have a reliable source for it being djikstra? I cannot find an FFF that says whether it is A* or...
by PunPun
Sat Oct 12, 2019 1:25 pm
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

https://forums.factorio.com/viewtopic.php?t=52635 OHGODS. It's a djikstra. The only thing djikstra has over A* is that it is easier to implement. No wonder big railnetworks with lots of intersections are slow. If you say so. The only time I've ever seen rail path finding being "slow" is on rail net...
by PunPun
Fri Oct 11, 2019 10:37 am
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

Rseding91 wrote:
Thu Oct 10, 2019 11:05 pm
viewtopic.php?t=52635
OHGODS. It's a djikstra. The only thing djikstra has over A* is that it is easier to implement. No wonder big railnetworks with lots of intersections are slow.
by PunPun
Thu Oct 10, 2019 7:34 pm
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

A* expands the path where |path| + H() is the cheapest. The heuristic H() must not overestimate the cost to reach the goal. It usually underestimates it relative to the amount of path remaining. Until here you are correct. With many paths of identical cost that means the paths that have been least ...
by PunPun
Tue Oct 08, 2019 11:58 am
Forum: Technical Help
Topic: 0.17.xx optimizing base for ups
Replies: 39
Views: 1345

Re: 0.17.xx optimizing base for ups

The path finding uses the A* algorithm. In an uniform grid there are many different paths from A to B that have exactly the same cost and the A* algorithm will explore all of them in parallel until one of them reaches the destination. It can't exclude any of them from consideration since none of th...
by PunPun
Sun Oct 06, 2019 6:09 am
Forum: Modding interface requests
Topic: Show mod license.txt ingame.
Replies: 15
Views: 630

Re: Show mod license.txt ingame.

My goal is soley to raise awareness that licenses do exist and to make it easier for the few people who do care. (See what @Koub said.) Yes I noticed. Which is why I pointed out that this is simply not an inconvinience thing but an actual problem that undermines the licencing thing as a whole. I ch...
by PunPun
Sat Oct 05, 2019 3:38 pm
Forum: Modding interface requests
Topic: Show mod license.txt ingame.
Replies: 15
Views: 630

Re: Show mod license.txt ingame.

I checked with a lawyer frend of mine and oh boy. For a licence to actually hold in court in my country the user needs to be made aware that a licence exists before they are able to use the thing under the licence when acquaired through official distribution channels(So you can't claim you didn't kn...
by PunPun
Tue Aug 13, 2019 10:23 pm
Forum: Gameplay Help
Topic: 3 Belt splitter
Replies: 17
Views: 834

Re: 3 Belt splitter

Personally I would not bother with splitting at all and just put inserters between labs so they take from the labs closer to the belt and put into one furter away. You can fit more labs into the space this way and it is also easier.
by PunPun
Sat Jul 27, 2019 1:15 am
Forum: Balancing
Topic: A Case for Balancing Nuclear Power
Replies: 83
Views: 3767

Re: A Case for Balancing Nuclear Power

that affect. Try it out, mod an assembler to use 0 energy and place it without a power pole. Does the "no energy" icon blink? My guess is yes. Changing every electrical entity to burner entity and setting them to 0 might though. The question then would be: Are burner entities more CPU efficient tha...
by PunPun
Thu Jul 25, 2019 11:25 pm
Forum: Balancing
Topic: A Case for Balancing Nuclear Power
Replies: 83
Views: 3767

Re: A Case for Balancing Nuclear Power

A 10 cent discount per kWh? Totally. That's like like 40% cheaper power. No not per kWh. The entire bill. So if you paid $500 this month then with the discount it would have been $499.90. Would you spend it for beeing able to draw more power from the grid? Because that is more like what you get wit...
by PunPun
Thu Jul 25, 2019 10:40 am
Forum: Balancing
Topic: A Case for Balancing Nuclear Power
Replies: 83
Views: 3767

Re: A Case for Balancing Nuclear Power

Well, if we indeed are discussing megabases here, then UPS cost is the metric to use. Does not matter how long it will take to setup (wich is done by bots after plopping down blueprints anyway). The nuclear setup will lower your UPS below 60 while the solar setup will not. Solar always wins for meg...

Go to advanced search