Skip to content

Mishandling of server config (radius and max sections) sync #16

@SakuraKoi

Description

@SakuraKoi

I installed mod on both server and client, imported world but it doesnt stream voxy chunks for me and in console this player Qaveru is ready for LOD streaming [04:15:12] [Server thread/INFO]: player Qaveru updated LOD preferences: enabled=true, radius=0, maxSections=0

same here, edit your voxyserver-client.json, give it some value as workaround

default settings:

{
  "defaults": {
    "enabled": true,
    "preferredRadius": 0, <- HERE
    "preferredMaxSections": 0 <- HERE
  },
  "serverProfiles": {}
}

ClientLodReceiver.java#L43 -> applyServerSettings just changed serverMaxRadius and serverMaxSections, but it wont affect activePreferences.preferredRadius and activePreferences.preferredMaxSections, which is sent at ClientLodSettings.java#L86, then that value directly printed out at server side
so it not working as README said, 0 = use server default, but use the configured value, thats why radius=0, maxSections=0

Originally posted by @SakuraKoi in #13

I think this bug should be reported in a separate issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions