Cuberite Forum
Disappearing Blocks - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Disappearing Blocks (/thread-1655.html)

Pages: 1 2


RE: Disappearing Blocks - wudles - 11-21-2014

(11-21-2014, 02:55 AM)STR_Warrior Wrote: Could you copy your world.ini files in
Code:
[code][ /code]
tags?

shire/world.ini
Code:
[SpawnProtect] ProtectRadius=10 [WorldLimit] LimitRadius=0 [Difficulty] WorldDifficulty=1 [General] Dimension=Overworld IsDaylightCycleEnabled=1 Gamemode=1 Weather=1 TimeInTicks=1028 [Broadcasting] BroadcastDeathMessages=1 BroadcastAchievementMessages=1 [Storage] Schema=default CompressionFactor=6 [Plants] MaxCactusHeight=3 MaxSugarcaneHeight=3 IsCactusBonemealable=0 IsCarrotsBonemealable=1 IsCropsBonemealable=1 IsGrassBonemealable=1 IsMelonStemBonemealable=1 IsMelonBonemealable=0 IsPotatoesBonemealable=1 IsPumpkinStemBonemealable=1 IsPumpkinBonemealable=0 IsSaplingBonemealable=1 IsSugarcaneBonemealable=0 [Physics] DeepSnow=1 ShouldLavaSpawnFire=1 TNTShrapnelLevel=2 WaterSimulator=Vanilla LavaSimulator=Vanilla SandInstantFall=0 RedstoneSimulator=Incremental [Mechanics] CommandBlocksEnabled=1 PVPEnabled=1 UseChatPrefixes=1 [Monsters] VillagersShouldHarvestCrops=1 AnimalsOn=1 Types=bat, cavespider, chicken, cow, enderman, horse, mooshroom, ocelot, pig, sheep, silverfish, skeleton, slime, spider, squid, wolf, zombie [LinkedWorlds] NetherWorldName=world_nether EndWorldName=world_end OtherWorld=world [Generator] BiomeGen=MultiStepMap HeightGen=DistortedHeightmap CompositionGen=DistortedHeightmap Finishers=Ravines, WormNestCaves, WaterLakes, WaterSprings, LavaLakes, LavaSprings, OreNests, Mineshafts, Trees, SprinkleFoliage, Ice, Snow, Lilypads, BottomLava, DeadBushes, PreSimulator, NaturalPatches Generator=Composable MultiStepMapOceanCellSize=384 MultiStepMapMushroomIslandSize=64 MultiStepMapRiverCellSize=384 MultiStepMapRiverWidth=0.125000 MultiStepMapLandBiomeSize=1024 BiomeGenCacheSize=64 BiomeGenMultiCacheLength=4 DistortedHeightmapSeaLevel=62 DistortedHeightmapFrequencyX=10.000000 DistortedHeightmapFrequencyY=10.000000 DistortedHeightmapFrequencyZ=10.000000 HeightGenCacheSize=64 CompositionGenCacheSize=64 WormNestCavesSize=64 WormNestCavesGrid=96 WormNestMaxOffset=32 WaterLakesProbability=25 LavaLakesProbability=10 MineShaftsGridSize=512 MineShaftsMaxOffset=256 MineShaftsMaxSystemSize=160 MineShaftsChanceCorridor=600 MineShaftsChanceCrossing=200 MineShaftsChanceStaircase=200 BottomLavaLevel=10 PreSimulatorFallingBlocks=1 PreSimulatorWater=1 PreSimulatorLava=1 [WaterSimulator] Falloff=1 TickDelay=5 NumNeighborsForSource=2 [LavaSimulator] Falloff=2 TickDelay=30 NumNeighborsForSource=-1 [FireSimulator] BurnStepTimeFuel=500 BurnStepTimeNonfuel=100 Flammability=50 ReplaceFuelChance=50000 [Seed] Seed=hermosa [WaterSprings] HeightDistribution=0, 0; 10, 10; 11, 75; 16, 83; 20, 83; 24, 78; 32, 62; 40, 40; 44, 15; 48, 7; 56, 2; 64, 1; 255, 0 Chance=24 [LavaSprings] HeightDistribution=0, 0; 10, 5; 11, 45; 48, 2; 64, 1; 255, 0 Chance=9 [SpawnPosition] PregenerateDistance=20 X=-1464.4546053887 Y=70 Z=2422.6999999881

world/world.ini
Code:
[SpawnProtect] ProtectRadius=10 [WorldLimit] LimitRadius=0 [Difficulty] WorldDifficulty=1 [General] Dimension=Overworld IsDaylightCycleEnabled=1 Gamemode=1 Weather=0 TimeInTicks=11979 [Broadcasting] BroadcastDeathMessages=1 BroadcastAchievementMessages=1 [Storage] Schema=default CompressionFactor=6 [Plants] MaxCactusHeight=3 MaxSugarcaneHeight=3 IsCactusBonemealable=0 IsCarrotsBonemealable=1 IsCropsBonemealable=1 IsGrassBonemealable=1 IsMelonStemBonemealable=1 IsMelonBonemealable=0 IsPotatoesBonemealable=1 IsPumpkinStemBonemealable=1 IsPumpkinBonemealable=0 IsSaplingBonemealable=1 IsSugarcaneBonemealable=0 [Physics] DeepSnow=1 ShouldLavaSpawnFire=1 TNTShrapnelLevel=2 WaterSimulator=Vanilla LavaSimulator=Vanilla SandInstantFall=0 RedstoneSimulator=Incremental [Mechanics] CommandBlocksEnabled=1 PVPEnabled=1 UseChatPrefixes=1 [Monsters] VillagersShouldHarvestCrops=1 AnimalsOn=1 Types=bat, cavespider, chicken, cow, enderman, horse, mooshroom, ocelot, pig, sheep, silverfish, skeleton, slime, spider, squid, wolf, zombie [LinkedWorlds] NetherWorldName=world_nether EndWorldName=world_end OtherWorld=shire [Generator] BiomeGen=MultiStepMap HeightGen=DistortedHeightmap CompositionGen=DistortedHeightmap Finishers=Ravines, WormNestCaves, WaterLakes, WaterSprings, LavaLakes, LavaSprings, OreNests, Mineshafts, Trees, SprinkleFoliage, Ice, Snow, Lilypads, BottomLava, DeadBushes, PreSimulator, NaturalPatches Generator=Composable MultiStepMapOceanCellSize=384 MultiStepMapMushroomIslandSize=64 MultiStepMapRiverCellSize=384 MultiStepMapRiverWidth=0.125000 MultiStepMapLandBiomeSize=1024 BiomeGenCacheSize=64 BiomeGenMultiCacheLength=4 DistortedHeightmapSeaLevel=62 DistortedHeightmapFrequencyX=10.000000 DistortedHeightmapFrequencyY=10.000000 DistortedHeightmapFrequencyZ=10.000000 HeightGenCacheSize=64 CompositionGenCacheSize=64 WormNestCavesSize=64 WormNestCavesGrid=96 WormNestMaxOffset=32 WaterLakesProbability=25 LavaLakesProbability=10 MineShaftsGridSize=512 MineShaftsMaxOffset=256 MineShaftsMaxSystemSize=160 MineShaftsChanceCorridor=600 MineShaftsChanceCrossing=200 MineShaftsChanceStaircase=200 BottomLavaLevel=10 PreSimulatorFallingBlocks=1 PreSimulatorWater=1 PreSimulatorLava=1 [WaterSimulator] Falloff=1 TickDelay=5 NumNeighborsForSource=2 [LavaSimulator] Falloff=2 TickDelay=30 NumNeighborsForSource=-1 [FireSimulator] BurnStepTimeFuel=500 BurnStepTimeNonfuel=100 Flammability=50 ReplaceFuelChance=50000 [Seed] Seed=redondo [WaterSprings] HeightDistribution=0, 0; 10, 10; 11, 75; 16, 83; 20, 83; 24, 78; 32, 62; 40, 40; 44, 15; 48, 7; 56, 2; 64, 1; 255, 0 Chance=24 [LavaSprings] HeightDistribution=0, 0; 10, 5; 11, 45; 48, 2; 64, 1; 255, 0 Chance=9 [SpawnPosition] PregenerateDistance=20 X=-1464.4546053887 Y=70 Z=2422.6999999881



RE: Disappearing Blocks - NiLSPACE - 11-21-2014

Hmm that looks fine to me. @xoft does the generator accept strings for a world seed?


RE: Disappearing Blocks - wudles - 11-21-2014

(11-21-2014, 03:03 AM)xoft Wrote:
(11-21-2014, 02:39 AM)wudles Wrote: edited the world.ini files to have different seeds ('redondo' and 'hermosa')

The seed should be a number, not a text. When you put text in, MCS couldn't translate it to a number so it uses zero. So in fact you created two worlds with the same seed.

I guess I missed that in the docs. Smile Let me redo those files.

(11-21-2014, 03:14 AM)wudles Wrote:
(11-21-2014, 03:03 AM)xoft Wrote:
(11-21-2014, 02:39 AM)wudles Wrote: edited the world.ini files to have different seeds ('redondo' and 'hermosa')

The seed should be a number, not a text. When you put text in, MCS couldn't translate it to a number so it uses zero. So in fact you created two worlds with the same seed.

I guess I missed that in the docs. Smile Let me redo those files.

Ok. Now the worlds are different. I'll test cutting and pasting a little later!

Thanks!


RE: Disappearing Blocks - NiLSPACE - 11-21-2014

@xoft Maybe we can just make MCServer get the bytes from each char in a string. In Lua it would look somewhere like this:
local Seed = "MySeed"

if (type(Seed) == 'string') then
  local NewSeed = ""
  for I = 1, Seed:len(), 1 do
    NewSeed = NewSeed .. string.byte(Seed:sub(I, I))
  end
  Seed = NewSeed
end
print(Seed)



RE: Disappearing Blocks - xoft - 11-21-2014

@STR there are better ways of doing this, such as the checksum hashes (CRCx, MD5, SHAx, ...) We might do that in the future, after all we've got a plethora of those functions in the PolarSSL library.


RE: Disappearing Blocks - wudles - 11-21-2014

Well, it looks like the block problem is an issue with the 1.8 protocol.

Doesn't happen when I'm logged in (or xoft) is logged in with 1.7.9