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

Unable to read past end of stream #47

Open luigge opened 1 year ago

luigge commented 1 year ago

so, I am playing on terraria 1.4.4.9 and I tried using the latest version of this program (1.4.17.18826)to check for the evil biomes and clean them. it was working fine untill suddenly when I tried to reload the map it gave me this error.

System.IO.EndOfStreamException: Unable to read past end of stream. em System.IO.__Error.EndOfFile() em System.IO.BinaryReader.ReadString() em TerraMap.Data.World.ReadNPCsVersion2(BinaryReader reader) na C:\Users\Jason\source\terramap\windows\Data\World.cs:linha 1454 em TerraMap.Data.World.ReadWorldVersion2(BinaryReader reader) na C:\Users\Jason\source\terramap\windows\Data\World.cs:linha 497 em TerraMap.Data.World.Read(String filename) na C:\Users\Jason\source\terramap\windows\Data\World.cs:linha 456 em TerraMap.Data.World.<>c__DisplayClass406_0.<ReadAsync>b__0() na C:\Users\Jason\source\terramap\windows\Data\World.cs:linha 418 em System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em System.Runtime.CompilerServices.TaskAwaiter.GetResult() em TerraMap.MainWindow.<Open>d__24.MoveNext() na C:\Users\Jason\source\terramap\windows\TerraMap\MainWindow.xaml.cs:linha 308 --- End of stack trace from previous location where exception was thrown --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em System.Runtime.CompilerServices.TaskAwaiter.GetResult() em TerraMap.MainWindow.<Open>d__23.MoveNext() na C:\Users\Jason\source\terramap\windows\TerraMap\MainWindow.xaml.cs:linha 275 --- End of stack trace from previous location where exception was thrown --- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) em System.Runtime.CompilerServices.TaskAwaiter.GetResult() em TerraMap.MainWindow.<OnOpenWorldFile>d__59.MoveNext() na C:\Users\Jason\source\terramap\windows\TerraMap\MainWindow.xaml.cs:linha 1244 --- End of stack trace from previous location where exception was thrown--- em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() em System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) em System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

luigge commented 1 year ago

I am using the program to locate the biomes via the biome sets function and then i go on the game and clean them with the cleantaminator that is all, I tried also loading later on the web and it loaded like 10% and crashed so I dont know, it worked for awhile before the bug also I have seen the other post where the guy have a problem with illuminant paint, I have some blocks painted with that, is that still an issue?