Page 1 of 1

[1.1.33] Crash (GraphicsInterfaceDX11::swapBuffers)

Posted: Fri May 14, 2021 9:09 pm
by nightfortress
Hi,
Playing a multiplayer game (hosting and joining), and I cannot place a pipe connecting two petroleum pipes, but bots can?
Same thing occurs with undergrounds.
Playing around with this, caused the entire game to crash.
(Turns out heavy oil and petrol are in the same pipe, which shouldn't happen?)
See attached videos
Thanks

Re: [1.1.33] Crash (GraphicsInterfaceDX11::swapBuffers)

Posted: Fri May 14, 2021 9:43 pm
by Loewchen
The crash has nothing to do with your pipe screw up. Are you using the steam- or discord overlay?

Re: [1.1.33] Crash (GraphicsInterfaceDX11::swapBuffers)

Posted: Sat May 15, 2021 12:15 am
by nightfortress
I used OBS for recording, but did have Steam and Discord Overlay running.
I also thought that pipes shouldn't be able to be do that?

Re: [1.1.33] Crash (GraphicsInterfaceDX11::swapBuffers)

Posted: Sat May 15, 2021 1:49 am
by cbhj1
you got some heavy oil in the upper pipe that is blocking you

Re: [1.1.33] Crash (GraphicsInterfaceDX11::swapBuffers)

Posted: Sat May 15, 2021 6:04 am
by Silari
nightfortress wrote: Sat May 15, 2021 12:15 am I also thought that pipes shouldn't be able to be do that?
Fluid mixing prevention was vastly simplified because the old system had far too many corner cases and issues. As part of that, bot placement isn't checked at all, and there are a number of ways to get two different fluids in the same system since they're simply not checking anything complicated. For instance, no checks at all on rotating underground pipes/storage tanks/buildings.

From what I've seen, it's only checking if the player is manually placing a pipe/underground pipe, and if it's connecting two or more separate fluid systems (you can always connect a fluid system to itself), and the types of fluids in those systems are different (if they both have two fluids in them, but they're the same two fluids, it works), only then don't allow it.

Re: [1.1.33] Crash (GraphicsInterfaceDX11::swapBuffers)

Posted: Wed May 19, 2021 3:55 pm
by posila
Thanks for the report.

As for the crash, the game crashed when calling out to a Direct3D function ... the crash was probably caused by one of the in-game overlays, or combination of them.

As for connecting two different fluid systems ... as Silary wrote, the fluid mixing prevention system was simplified and thinned out and we currently don't want to make it any more complicated to prevent the fluid mixing in all cases.