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
85 stars 13 forks source link

Index out of bounds Exception occurred #7

Closed Zasilus closed 4 years ago

Zasilus commented 4 years ago

Currently running a large crimson master world. Threw this error: System.IndexOutOfRangeException: Index was outside the bounds of the array. at TerraMap.Data.World.ReadTilesVersion2(BinaryReader reader, Boolean[] importance) in C:\Users\Jason\source\terramap\windows\Data\World.cs:line 895 at TerraMap.Data.World.ReadWorldVersion2(BinaryReader reader) in C:\Users\Jason\source\terramap\windows\Data\World.cs:line 459 at TerraMap.Data.World.Read(String filename) in C:\Users\Jason\source\terramap\windows\Data\World.cs:line 431 at TerraMap.Data.World.<>c__DisplayClass374_0.b0() in C:\Users\Jason\source\terramap\windows\Data\World.cs:line 393 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.d24.MoveNext() in C:\Users\Jason\source\terramap\windows\TerraMap\MainWindow.xaml.cs:line 287 --- 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.d23.MoveNext() in C:\Users\Jason\source\terramap\windows\TerraMap\MainWindow.xaml.cs:line 254 --- 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.d56.MoveNext() in C:\Users\Jason\source\terramap\windows\TerraMap\MainWindow.xaml.cs:line 1189 --- 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)

jasoncoon commented 4 years ago

Try the latest version, just released this morning? https://terramap.github.io/windows.html

Zasilus commented 4 years ago

This was done on the 1.4.1 release

jasoncoon commented 4 years ago

Looking now. Unable to reproduce the error. Don't suppose you can attach your world file? It's been opened in Terraria v1.4, right?

Zasilus commented 4 years ago

The_Sector_of_Memes.zip

Zasilus commented 4 years ago

Its a multiplayer world if that changes anything

jasoncoon commented 4 years ago

Thanks! Should be fixed in 1.4.2 now: https://terramap.github.io/windows

Zasilus commented 4 years ago

It worked thanks