Jump to content

[Suspended]Caelum Terras


jakecool19

Recommended Posts

May i ask You to move part, implementing ranged attack and other entity AI mechanics, to external "AI" mod-library? I believe, many modders, server owners and players can use this great option, but, unfortunately, not all of them can use Caelum terras "as is", because of world generation incompatible with existing old worlds :(

Thank You.

Edited by Digitalr
Link to comment
Share on other sites

On 3/17/2021 at 2:37 AM, Digitalr said:

May i ask You to move part, implementing ranged attack and other entity AI mechanics, to external "AI" mod-library? I believe, many modders, server owners and players can use this great option, but, unfortunately, not all of them can use Caelum terras "as is", because of world generation incompatible with existing old worlds :(

Thank You.

All of the code for my AI's are available on my Github, you can copy and paste it and do what ever you want with it. Although I need to do some work on the ranged attack AI, it still has some drawbacks and bugs I need to fix. 

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...
  • 3 weeks later...
  • 2 weeks later...

This mod crashes the server in 1.15.5.

21:02:41 [Client Fatal] System.MissingFieldException: Field not found: System.Nullable`1<bool> Vintagestory.API.Common.Block.SnowCoverage Due to: Could not find field in class
  at (wrapper dynamic-method) Vintagestory.GameContent.WeatherSimulationSnowAccum.Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer_Patch1(Vintagestory.GameContent.WeatherSimulationSnowAccum,Vintagestory.GameContent.SnowAccumSnapshot,bool,Vintagestory.API.Common.IServerMapChunk,Vintagestory.API.MathTools.Vec2i,Vintagestory.API.Common.IWorldChunk[])
  at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate (Vintagestory.GameContent.WeatherSimulationRegion simregion, Vintagestory.API.Common.IServerMapChunk mc, Vintagestory.API.MathTools.Vec2i chunkPos, Vintagestory.API.Common.IWorldChunk[] chunksCol) [0x00173] in <9317042fa1f54145823dc93fd6e06966>:0
  at Vintagestory.GameContent.WeatherSimulationSnowAccum.TryImmediateSnowUpdate (Vintagestory.GameContent.WeatherSimulationRegion simregion, Vintagestory.API.Common.IServerMapChunk mc, Vintagestory.API.MathTools.Vec2i chunkCoord, Vintagestory.API.Common.IWorldChunk[] chunksCol) [0x0006e] in <9317042fa1f54145823dc93fd6e06966>:0
  at Vintagestory.GameContent.WeatherSimulationSnowAccum.Event_ChunkColumnLoading (Vintagestory.API.Common.IServerMapChunk mc, System.Int32 chunkX, System.Int32 chunkZ, Vintagestory.API.Common.IWorldChunk[] chunks) [0x00044] in <9317042fa1f54145823dc93fd6e06966>:0
  at Vintagestory.Server.ServerEventAPI.TriggerChunkColumnSnowUpdate (Vintagestory.API.Common.IServerMapChunk mapChunk, System.Int32 chunkX, System.Int32 chunkZ, Vintagestory.API.Common.IWorldChunk[] chunks) [0x0000a] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemSupplyChunks.loadOrGenerateChunkColumn () [0x0014a] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemSupplyChunks.LoadChunkAreaBlocking (System.Int32 chunkX1, System.Int32 chunkZ1, System.Int32 chunkX2, System.Int32 chunkZ2, System.Boolean isStartupLoad, Vintagestory.API.Datastructures.ITreeAttribute chunkGenParams) [0x001e7] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemSupplyChunks.LoadWorldgenHandlerAndSpawnChunks () [0x0027c] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemLoadAndSaveGame.OnBeginWorldReady () [0x00000] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerMain.EnterRunPhase (Vintagestory.API.Server.EnumServerRunPhase runPhase) [0x000a2] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerMain.Launch () [0x0028b] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at _q065sSmA3CNgGuKTGnlAjR4ljPw._jv5ACTxQ2zYdp9fsBzvU76QFoiQ () [0x000b0] in <b672d076b02e463ea883df3788c927ec>:0

 

Link to comment
Share on other sites

On 9/6/2021 at 12:18 AM, Kyle Stemen said:

This mod crashes the server in 1.15.5.

21:02:41 [Client Fatal] System.MissingFieldException: Field not found: System.Nullable`1<bool> Vintagestory.API.Common.Block.SnowCoverage Due to: Could not find field in class
  at (wrapper dynamic-method) Vintagestory.GameContent.WeatherSimulationSnowAccum.Vintagestory.GameContent.WeatherSimulationSnowAccum.UpdateSnowLayer_Patch1(Vintagestory.GameContent.WeatherSimulationSnowAccum,Vintagestory.GameContent.SnowAccumSnapshot,bool,Vintagestory.API.Common.IServerMapChunk,Vintagestory.API.MathTools.Vec2i,Vintagestory.API.Common.IWorldChunk[])
  at Vintagestory.GameContent.WeatherSimulationSnowAccum.GetSnowUpdate (Vintagestory.GameContent.WeatherSimulationRegion simregion, Vintagestory.API.Common.IServerMapChunk mc, Vintagestory.API.MathTools.Vec2i chunkPos, Vintagestory.API.Common.IWorldChunk[] chunksCol) [0x00173] in <9317042fa1f54145823dc93fd6e06966>:0
  at Vintagestory.GameContent.WeatherSimulationSnowAccum.TryImmediateSnowUpdate (Vintagestory.GameContent.WeatherSimulationRegion simregion, Vintagestory.API.Common.IServerMapChunk mc, Vintagestory.API.MathTools.Vec2i chunkCoord, Vintagestory.API.Common.IWorldChunk[] chunksCol) [0x0006e] in <9317042fa1f54145823dc93fd6e06966>:0
  at Vintagestory.GameContent.WeatherSimulationSnowAccum.Event_ChunkColumnLoading (Vintagestory.API.Common.IServerMapChunk mc, System.Int32 chunkX, System.Int32 chunkZ, Vintagestory.API.Common.IWorldChunk[] chunks) [0x00044] in <9317042fa1f54145823dc93fd6e06966>:0
  at Vintagestory.Server.ServerEventAPI.TriggerChunkColumnSnowUpdate (Vintagestory.API.Common.IServerMapChunk mapChunk, System.Int32 chunkX, System.Int32 chunkZ, Vintagestory.API.Common.IWorldChunk[] chunks) [0x0000a] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemSupplyChunks.loadOrGenerateChunkColumn () [0x0014a] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemSupplyChunks.LoadChunkAreaBlocking (System.Int32 chunkX1, System.Int32 chunkZ1, System.Int32 chunkX2, System.Int32 chunkZ2, System.Boolean isStartupLoad, Vintagestory.API.Datastructures.ITreeAttribute chunkGenParams) [0x001e7] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemSupplyChunks.LoadWorldgenHandlerAndSpawnChunks () [0x0027c] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerSystemLoadAndSaveGame.OnBeginWorldReady () [0x00000] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerMain.EnterRunPhase (Vintagestory.API.Server.EnumServerRunPhase runPhase) [0x000a2] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at Vintagestory.Server.ServerMain.Launch () [0x0028b] in <0929cb4a0bf94f28ae863eabe44f778a>:0
  at _q065sSmA3CNgGuKTGnlAjR4ljPw._jv5ACTxQ2zYdp9fsBzvU76QFoiQ () [0x000b0] in <b672d076b02e463ea883df3788c927ec>:0

 

I released a patch to fix this

Link to comment
Share on other sites

  • 1 month later...

Hello, I am in the process of getting a server ready for a few friends. One of my testing people reports that the vine skeps crash with the following error when they are placed. 

Version: v1.15.7 (Stable)18/10/2021 09:08:25: Critical error occurred System.NullReferenceException: Unable to to find a rotated block with code caelumterras:skep-empty-south, you're maybe missing the side variant group of have a dash in your block code at Vintagestory.GameContent.BlockBehaviorHorizontalOrientable.TryPlaceBlock(IWorldAccessor world, IPlayer byPlayer, ItemStack itemstack, BlockSelection blockSel, EnumHandling& handling, String& failureCode) at Vintagestory.API.Common.Block.TryPlaceBlock(IWorldAccessor world, IPlayer byPlayer, ItemStack itemstack, BlockSelection blockSel, String& failureCode) at Vintagestory.Client.NoObf.ClientMain.OnPlayerTryPlace(BlockSelection blockSelection, String& failureCode)

Edited by TheArchive
Make text clearer
Link to comment
Share on other sites

On 10/18/2021 at 10:30 AM, TheArchive said:

Hello, I am in the process of getting a server ready for a few friends. One of my testing people reports that the vine skeps crash with the following error when they are placed. 

Version: v1.15.7 (Stable)18/10/2021 09:08:25: Critical error occurred System.NullReferenceException: Unable to to find a rotated block with code caelumterras:skep-empty-south, you're maybe missing the side variant group of have a dash in your block code at Vintagestory.GameContent.BlockBehaviorHorizontalOrientable.TryPlaceBlock(IWorldAccessor world, IPlayer byPlayer, ItemStack itemstack, BlockSelection blockSel, EnumHandling& handling, String& failureCode) at Vintagestory.API.Common.Block.TryPlaceBlock(IWorldAccessor world, IPlayer byPlayer, ItemStack itemstack, BlockSelection blockSel, String& failureCode) at Vintagestory.Client.NoObf.ClientMain.OnPlayerTryPlace(BlockSelection blockSelection, String& failureCode)

I released an update to stop that crash, although for right now it prevents them from being rotated.

Link to comment
Share on other sites

  • jakecool19 changed the title to [Suspended]Caelum Terras
×
×
  • 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.