Friday Facts #302 - The multiplayer megapacket
-
- Filter Inserter
- Posts: 685
- Joined: Sat Jun 06, 2015 2:23 am
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
This is all great but where are the blueprint library improvements we have been promised for version 0.17, it's now version 0.17.54 and still no blueprint library improvements that were promised.
-
- Filter Inserter
- Posts: 947
- Joined: Wed Nov 25, 2015 11:44 am
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
I had the same question, and I guess if the game was developed as a mmo maybe they would have made different choices.Mylon wrote: βFri Jul 05, 2019 1:29 pm Why does the game state need to know what entity the player has selected anyhow? If the player executes an action, pass that action to the server rather than passing the player.selected property. This seems like an unnecessary linkage between view and controller of model/view/controller design.
otoh, it's a deliberate user action, so I doubt most people select more than one entity on average per second... so it should normally not be that much data...
Re: Friday Facts #302 - The multiplayer megapacket
Don't listen to the whiners, and very well done!!
-
- Filter Inserter
- Posts: 587
- Joined: Sun Jun 09, 2019 10:40 pm
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
Nah, champ. ClusterIO is impressive, but this. This is the next darn level right here: https://github.com/justarandomgeek/Fact ... thernet.md
IPv6 autoconfiguration, including publicly routable addresses ... using Factorio combinators. Oh, and ClusterIO to interface to the outside world.
...but IPv6 in Factorio. Just .... yeah.
Re: Friday Facts #302 - The multiplayer megapacket
Great news exhibiting the right amount of technical information.
But as Factorio runs smoother and has more robust network code than WoW while supporting more concurrent players per instance now - where can i find the official Factorio role play servers?
But as Factorio runs smoother and has more robust network code than WoW while supporting more concurrent players per instance now - where can i find the official Factorio role play servers?
- TatsuZZMage
- Inserter
- Posts: 38
- Joined: Thu Dec 29, 2016 1:26 am
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
Wow, Actual use cases for jumbo frames, i know my network card doesn't have that on by default.
Re: Friday Facts #302 - The multiplayer megapacket
The megapacket name is a bit misleading as it's not really a big network packet, but rather a game packet that is split into lots of 576 byte network packets. So there are no actual jumbo frames.TatsuZZMage wrote: βSun Jul 07, 2019 7:10 pm Wow, Actual use cases for jumbo frames, i know my network card doesn't have that on by default.
Re: Friday Facts #302 - The multiplayer megapacket
I can't say if your netcode is better than WoW's, but at least your bugfixing is so much better. I know that... *blinks against speck of dust*
-
- Filter Inserter
- Posts: 587
- Joined: Sun Jun 09, 2019 10:40 pm
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
Because it uses UDP, it is, in context. ...but, remember that scale makes a difference, too. If Factorio had 14 million active players and about as many years of legacy code, it might now move quite so fast.
Re: Friday Facts #302 - The multiplayer megapacket
Yes, but actually no. Blizz has removed myrriads of lines from the code with cataclysm. effectively making them reverse engeneer thier classic mode because 'classic' wow just simply doesn't exist anymore. But tahts way off of this FFFs scope.slippycheeze wrote: βMon Jul 08, 2019 9:30 pm If Factorio had 14 million active players and about as many years of legacy code, it might now move quite so fast.
So, theoretical question at twinsen: let's say you play on a locally hosted server (127.0.0.1) and your best friend wants to join in, Ports set and everything - does what you fixed appliy on the small scale too? Because we had this one odd thing, when a friend tried to connect to the server he was the only one (out of 5) to be dropped constantly.
Madness? No, just insannity!
Re: Friday Facts #302 - The multiplayer megapacket
It does apply to the small scale since the big packet can still be generated, but the bug it's self is very rare, hence it only realistically shows with 200 players. Also with less players it's easy for the server and the clients to 'absorb' the bandwidth spike.Yijare wrote: βTue Jul 09, 2019 10:55 pm let's say you play on a locally hosted server (127.0.0.1) and your best friend wants to join in, Ports set and everything - does what you fixed appliy on the small scale too? Because we had this one odd thing, when a friend tried to connect to the server he was the only one (out of 5) to be dropped constantly.
So it's possible your problem got fixed but more likely it's just a bad connection issue.
Re: Friday Facts #302 - The multiplayer megapacket
We are talking fiber optics here :'D - i know that doesn't exclude the bad connection problem but it is less likely. But thank you for the reply.Twinsen wrote: βWed Jul 10, 2019 9:07 am It does apply to the small scale since the big packet can still be generated, but the bug it's self is very rare, hence it only realistically shows with 200 players. Also with less players it's easy for the server and the clients to 'absorb' the bandwidth spike.
So it's possible your problem got fixed but more likely it's just a bad connection issue.
Madness? No, just insannity!
-
- Filter Inserter
- Posts: 587
- Joined: Sun Jun 09, 2019 10:40 pm
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
Twinsen, elsewhere someone commented that the default socket buffer size was being used, and they observed many fragment drops and retransmits once you got a packet greater than the default 8k buffer on Windows 7; could that influence recovery here too? (or were they wrong, and y'all set a sensible socket buffer size, as I imagine you would do?)Yijare wrote: βWed Jul 10, 2019 11:58 amWe are talking fiber optics here :'D - i know that doesn't exclude the bad connection problem but it is less likely. But thank you for the reply.Twinsen wrote: βWed Jul 10, 2019 9:07 am It does apply to the small scale since the big packet can still be generated, but the bug it's self is very rare, hence it only realistically shows with 200 players. Also with less players it's easy for the server and the clients to 'absorb' the bandwidth spike.
So it's possible your problem got fixed but more likely it's just a bad connection issue.
Yijare, I got the impression that y'all were talking over the Internet, yes? Unfortunately that means the fibre optic part would then only be one step in the overall path, and anywhere along the path could cause the problem. In my experience when things work great for 4/5 people, and badly for one, it turns out to be something unique to that one person - a dodgy router inside an ISP or between them, something firewall related on their part, or whatever. It can be very hard to track down why exactly their system has trouble, but even inside the same ISP you can hit this. Networks are annoyingly complicated, and with dozens of different systems touching every packet between y'all, that can definitely be "the cloud is when someone else's computer breaks, and makes your life a misery."
Re: Friday Facts #302 - The multiplayer megapacket
No.slippycheeze wrote: βWed Jul 10, 2019 3:48 pm
Yijare, I got the impression that y'all were talking over the Internet, yes?
We're talking Intraweb.
Madness? No, just insannity!
Re: Friday Facts #302 - The multiplayer megapacket
That sounds really strange. If you think it's an issue with Factorio you can gather as much info as possible(minimal test with wireshark captures, etc) and we will look into it.
-
- Filter Inserter
- Posts: 587
- Joined: Sun Jun 09, 2019 10:40 pm
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
Coming later. ...or possibly soon, or possibly never. Development plans are a best guess at what will be done to start with, but honestly, version numbers are even less useful as a guide to what should show up when during development.factoriouzr wrote: βSat Jul 06, 2019 11:23 am This is all great but where are the blueprint library improvements we have been promised for version 0.17, it's now version 0.17.54 and still no blueprint library improvements that were promised.
For all I, and I'm gonna guess you, know they have the 99 percent of the blueprint library stuff that is invisible infrastructure to make it work complete, and the last one percent will be super-fast. or not, IDK. I'd kind of rather no crashes and library improvements later, if I had to choose.
-
- Filter Inserter
- Posts: 685
- Joined: Sat Jun 06, 2015 2:23 am
- Contact:
Re: Friday Facts #302 - The multiplayer megapacket
Or work on both at the same time. That's the benefit of multiple employees
Re: Friday Facts #302 - The multiplayer megapacket
They are currently all fully occupied with fixing the massive "biters are too cute" game refunds. So expect some real badass biter action soonβ’ !factoriouzr wrote: βFri Jul 12, 2019 4:57 pm Or work on both at the same time. That's the benefit of multiple employees
Re: Friday Facts #302 - The multiplayer megapacket
I think it's more likely an freak occourence with that particular computer.
Madness? No, just insannity!