TerraMap / windows

TerraMap Windows is an interactive Terraria v1.4 world map viewer that loads quickly and lets you pan, zoom, find blocks, ores, items in chests, dungeons, NPCs, etc.
https://terramap.github.io/windows.html
GNU General Public License v3.0
83 stars 13 forks source link

World file not opening #38

Closed staticfox closed 1 year ago

staticfox commented 2 years ago

I believe I was playing this map in an older 1.4 patch, but I didn't re-load it in to latest in case this was something fixable on the TerraMap side. Built from master using build.bat 1.4.13 (though sources on master say 1.4.12 yet the release is 1.4.13, I tried build.bat with both just to be sure + also tried your release build with the same result).

System.Exception: World file tiles list start is not where it's expected to be. Expected: 3273 Actual: 3274
   at TerraMap.Data.World.ReadWorldVersion2(BinaryReader reader) in C:\Users\static\Documents\code\TerraMapWindows\Data\World.cs:line 471
   at TerraMap.Data.World.Read(String filename) in C:\Users\static\Documents\code\TerraMapWindows\Data\World.cs:line 444
   at TerraMap.Data.World.<>c__DisplayClass390_0.<ReadAsync>b__0() in C:\Users\static\Documents\code\TerraMapWindows\Data\World.cs:line 406
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TerraMap.MainWindow.<Open>d__24.MoveNext() in C:\Users\static\Documents\code\TerraMapWindows\TerraMap\MainWindow.xaml.cs:line 308
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TerraMap.MainWindow.<Open>d__23.MoveNext() in C:\Users\static\Documents\code\TerraMapWindows\TerraMap\MainWindow.xaml.cs:line 275
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at TerraMap.MainWindow.<OnSelectedWorldFileChanged>d__61.MoveNext() in C:\Users\static\Documents\code\TerraMapWindows\TerraMap\MainWindow.xaml.cs:line 1266
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Version: 1.4.13.24191

Hazy_Maze_Cave.zip