Jump to content

Recommended Posts

Posted

I can't find where to change the world height for a dedicated server, the wiki page for world generation settings notes that its set at world creation, but don't explain or link to how. I found a MapSizeY value in serverconfig.json, but after changing it to 350 and deleting the world to regenerate I started receiving errors which disappeared when it was changed back.

The errors received are here:

20.8.2025 21:12:09 [Server Worldgen] An error was thrown in pass TerrainFeatures when generating chunk column X=16007,Z=16018 in world 'A new world' with seed 151401547
Exception System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Vintagestory.ServerMods.DiscDepositGenerator.GenDeposit(IBlockAccessor blockAccessor, IServerChunk[] chunks, Int32 chunkX, Int32 chunkZ, BlockPos depoCenterPos, Dictionary`2& subDepositsToPlace) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\5.GenDeposits\Generators\DiscGenerator.cs:line 213
   at Vintagestory.ServerMods.GenDeposits.GenDeposit(IServerChunk[] chunks, Int32 chunkX, Int32 chunkZ, BlockPos depoCenterPos, DepositVariant variant) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\5.GenDeposits\GenDeposits.cs:line 247
   at Vintagestory.ServerMods.GenDeposits.GeneratePartial(IServerChunk[] chunks, Int32 chunkX, Int32 chunkZ, Int32 chunkdX, Int32 chunkdZ) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\5.GenDeposits\GenDeposits.cs:line 203
   at Vintagestory.ServerMods.GenPartial.GenChunkColumn(IChunkColumnGenerateRequest request) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\GenPartial.cs:line 38
   at Vintagestory.Server.ServerSystemSupplyChunks.runGenerators(ChunkColumnLoadRequest chunkRequest, Int32 forPass) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 1854

20.8.2025 21:13:25 [Server Warning] Error when testing to spawn entity shiver-surface at position X=512018,Y=322,Z=512007, can report to dev team but otherwise should do no harm.
20.8.2025 21:13:25 [Server Error] Exception: Index was outside the bounds of the array.
   at Vintagestory.Server.ServerSystemEntitySpawner.CanSpawnAt_offthread(EntityProperties type, Vec3i spawnPosition, RuntimeSpawnConditions sc, IWorldChunk[] chunkCol) in VintagestoryLib\Server\Systems\World\EntitySpawner.cs:line 585

 

  • 4 weeks later...
Posted

sorry for necroposting, been busy

I found both of the MapSizeY in the serverconfig file, but it don't fix the error, I left both set to 350 anyways and it only caused lag and crashes, changing it back to default fixed it. I can't change it when creating a new world as I'm running a dedicated server and I don't have a ui to set initial world settings.

Thanks!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.