Enlighten me about cChunks
#1
We've had several people reporting crashes thanks to the PathFinder, all of them are related to cChunks.

Can someone explain what to expect and what not to expect when it comes to chunks?
  • Is it safe to assume that a Tick()'s chunk is valid?
  • Is it safe to call a_Chunk->GetNeighborChunk(a_Location.x, a_Location.z); when the chunk is invalid?
  • Assuming a valid pointer, could a_Chunk->GetNeighborChunk(a_Location.x, a_Location.z); crash the game under some circumstances?
  • A general explanation of the "safety instructions" of chunks would be appreciated.
Reply
Thanks given by:


Messages In This Thread
Enlighten me about cChunks - by LogicParrot - 05-04-2015, 03:19 PM
RE: Enlighten me about cChunks - by xoft - 05-04-2015, 05:18 PM
RE: Enlighten me about cChunks - by LogicParrot - 05-04-2015, 05:27 PM
RE: Enlighten me about cChunks - by xoft - 05-04-2015, 05:48 PM
RE: Enlighten me about cChunks - by LogicParrot - 05-04-2015, 05:58 PM



Users browsing this thread: 1 Guest(s)