Jump to content

Gaps between base parts after server restart


Rob2

Recommended Posts

Hello,

 

Epoch 3 has still the same issue like Epoch 2, that the building parts snap to a 10cm grid at server restart, when building at areas that are more than 10000m away from map center. (Note: Y-database-coordinate does not matche the ingame map).

 

The cause is, that in the database the coordinates are stored with 6 digits. For example 9424.68/2156.76 (m). Or another example 1243.57/536.567.

 

The problem is, when you build more than 10km away from the database coordinate center, it only save 15365.2/21564.5 (m). With that alle objects snap to a 10cm grid on the next restart of the server.

 

 

Is there a good cause that the system is not using at least 7 digits?

 

 

In Epoch2 there was a server side script, that fixed the issue, by converting the coordinates to a string before putting them into the database:

 

Maybe that format would be an option, if there is a hardcoded limit to 6 digits. However, I dont know how big the performance impact is.

 

But it would be nice to finally eleminate the "Snap to 10cm" problem.

 

BR

Rob

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...