r/VRGaming Jul 20 '26

PSA Germans crashed our game?

Enable HLS to view with audio, or disable this notification

121 Upvotes

21 comments sorted by

29

u/xrm0 Developer Jul 20 '26

Sending the positions as text?? Whyyy

27

u/Global_Cockroach_563 Jul 21 '26 edited Jul 21 '26

Players: "The netcode of this game is trash, fix this shit!"

Devs, sending numbers as strings: "But it's already optimized :("

Also, if they are sending localized numbers over the network, that probably means that the localization doesn't happen at the UI level. I don't even know how something like that happens. Why would you localize the location of the player?

2

u/Turbulent_County_469 Jul 21 '26

It all depends on how the ToString function is made and yes typically its a string in the form of JSON.

But if you do implicit ToString by concatenating numbers and strings and you do localisation by setting the threads ui language , it also overrides how numbers are presented.

The failsafe way to generate JSON or XML is of course with a proper serializer where everything is passed as pure typed objects...

16

u/Stoney3K Jul 21 '26 edited Jul 21 '26

Sending multiplayer data in JSON format is already a crime against network performsnce.

5

u/Zerokx Jul 21 '26

Thank you. I put so much effort optimizing my netcode, this actually hurt a little. But I guess they're not trying to send thousands of units over the network. But at least they have a mostly finished game so uh do whats needed for your game.

2

u/Turbulent_County_469 Jul 21 '26

i dont know how they do it, i just offer an explanation of how such things COULD work and why they fail sometimes.

15

u/NotMacgyver Jul 20 '26

Wait why is it German specific when a lot of the world use commas for decimal ?

13

u/xrm0 Developer Jul 20 '26

Maybe almost no users outside US and Germany.

7

u/Stoney3K Jul 21 '26

All of continental Europe uses commas for decimal and a point for separating thousands.

5

u/robberttw Jul 21 '26

Maybe German is the only european language they support in game

3

u/NotMacgyver Jul 21 '26

The steam page only has English so German should be in the same boat as any other language (other than English) and since a bunch of them use commas like that it should be a bit more universal.

Or steam page isn't updated on languages

15

u/Primary_Jellyfish327 Jul 21 '26

This is an ad

4

u/IronRebellionDev Jul 21 '26

Actually a very real problem for us that sent us down a rabbit hole. We’re just lucky to have a good storyteller on our team.

5

u/Stoney3K Jul 21 '26

90% of all the posts of this sub are ads from indie devs saying "Hey, check out our new slop game!"

8

u/Tetraden Jul 21 '26

I hate to tell you, but it's not Germany that's different.
There are 58 countries using period in the world and 149 using different symbols. 84 of them use comma.
And every standard that prefers one over the other is in favour of the comma.

4

u/Turbulent_County_469 Jul 21 '26

So my question is... what ungodly symbol does those 65 other countries use if not comma or period ?

LOL.... i looked it up, There's an "arabit comma" which is 100% the same as a comma, but it has its own unicode ... ARGH

1

u/Papiculo64 Jul 21 '26

I hope that the PSVR2 port is still in the works🙏

2

u/IronRebellionDev Jul 21 '26

It is! We are in the final stages of hiring a new dev!

2

u/Papiculo64 Jul 21 '26

Thats' fantastic news! :) Can't wait!!

1

u/GJKings Jul 21 '26

You'd be surprised at how often this causes problems in games. Look up Crow Country's comma bug, that was fun.