[FIXED] Saving/Loading terrain bug
#3
I'm still looking at what's going on and changing stuff (not committing).

I noticed in cChunkMap::cChunkLayer::UnloadUnusedChunks() that it unloads chunks without saving, would queuing them for saving result in what you're saying?


EDIT: I just added World->GetStorage().QueueSaveChunk(m_Chunks[i]); before m_Chunks[i].reset() and it saves it just fine after some tests.

However maybe it would once in a while unload a chunk before saving it, and losing the changes?
Reply
Thanks given by:


Messages In This Thread
[FIXED] Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 09:59 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 10:26 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 10:30 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 10:48 PM
RE: Saving/Loading terrain bug - by Boo - 02-16-2012, 11:05 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 11:24 PM
RE: Saving/Loading terrain bug - by Boo - 02-16-2012, 11:57 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 11:21 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 11:49 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 01:23 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 01:34 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 01:54 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 02:04 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 02:57 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 04:05 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 05:24 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 06:53 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 07:12 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 09:46 PM
RE: Saving/Loading terrain bug - by Boo - 02-17-2012, 10:29 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 11:15 PM
RE: Saving/Loading terrain bug - by xoft - 02-18-2012, 03:11 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-18-2012, 10:10 AM
RE: Saving/Loading terrain bug - by xoft - 02-19-2012, 12:09 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-19-2012, 01:40 AM
RE: Saving/Loading terrain bug - by xoft - 02-19-2012, 04:07 AM



Users browsing this thread: 6 Guest(s)