ChunkCache question
#11
I'm only getting an 15x15 chunk from the cChunkDesc. if I try to make it bigger it throws an error like "MaxRelX is too high. reducing to chunkwidth"
But atm my code saves the obfuscated chunks.


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#12
You are getting a 16x16 chunk. The "MinRelX" would be 0 and "MaxRelX" would be 15.
Reply
Thanks given by:
#13
Exacly, when I do this it tells me that it is too high

Code:
[11:59:49] Saved obfuscated chunk 36#-144 to drive!
[11:59:49] ReadBlockArea: MaxRelX more than chunk width, adjusting to chunk width
[11:59:49] ReadBlockArea: MaxRelZ more than chunk width, adjusting to chunk width
Reply
Thanks given by:
#14
I get a pretty nice result thoughBig Grin


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#15
Nicely done ! ShpinxC0re
Reply
Thanks given by:
#16
(10-18-2014, 08:38 PM)ambushed01 Wrote: Nicely done ! ShpinxC0re
Please, it's SphinxC0re Wink
Reply
Thanks given by:
#17
ehh sorry im just awake for like 10min first coffee still.
Reply
Thanks given by:
#18
looks good. I can sense a problem with the water, though - when the player digs the bottom of the water, they will see the obfuscated block. I think the obfuscation should work so that whenever the player digs, they don't see an obfuscated block.
Reply
Thanks given by:
#19
That's a quickwin. I can't see though, what I am doing wrong with the chunk. I'm getting a 15x15 Chunk.
Here is my code
Code:
ChunkDesc:ReadBlockArea(ChunkBlockArea, 0, 14, 0, (ChunkDesc:GetMaxHeight()), 0, 14)
and this gives me errors and leads to the same result:
Code:
ChunkDesc:ReadBlockArea(ChunkBlockArea, 0, 15, 0, (ChunkDesc:GetMaxHeight()), 0, 15)
Reply
Thanks given by:
#20
It would be usefull if you said what error you get Smile
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)