This project is read-only.
1

Closed

Can't View My World

description

I used TerraMap to view my world, trying to find Floating Islands, and it worked fine. I then loaded my world in TEdit to change the blocks a Crimson Altar was sitting on. I tried reopening my world in TerraMap and now I'm getting this message:

World file tiles list start is not where it's expected to be. Expected: 2612 Actual: 2604

These are the details:

System.Exception: World file tiles list start is not where it's expected to be. Expected: 2612 Actual: 2604
at System.Runtime.CompilerServices.AsyncServices.<ThrowAsync>b__0(Object state)
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.3.13.35023


I'm not sure what all this means but was hoping someone might be able to help.

file attachments

Closed Sep 10, 2016 at 2:25 PM by jcoon

comments

jcoon wrote Aug 1, 2016 at 10:47 PM

What version of TEdit did you use?

Anemous wrote Aug 1, 2016 at 11:13 PM

I was using v3.8.16213.116 that is listed on the website. It was the newest version at the time and then 2 new ones were released today.

jcoon wrote Aug 2, 2016 at 12:40 AM

Hrm, I've updated TerraMap to support the latest version of Terraria (v1.3.2.1). It does not support older versions. Does it load in Terraria? Any chance you could compress it (using Windows, WinZip, 7zip, etc) and attach it here?

Anemous wrote Aug 2, 2016 at 1:00 AM

It works fine in the game, everything loads and seems to be working. I have the newest version of TerraMap and (at the time, yesterday) the newest version of TEdit so I'm not sure why it's bugging out. I'm not sure what the .bak file is so I included it in the ZIP file also with the .wld file.

Anemous wrote Aug 2, 2016 at 2:24 AM

So I've been playing in this world the last couple of hours and after finishing I decided to try TerraMap again and now it's working. I didn't do anything besides play and save so I don't even know... I attached a new ZIP with the world after I saved if you wanted to figure out why it was doing it or something, I dunno. Thanks for the replies though.

EnigmaQuip wrote Aug 2, 2016 at 5:25 AM

I see where the issue is and working on fixing it in TEdit.....

EnigmaQuip wrote Aug 2, 2016 at 5:36 AM

I lied, I thought I knew what it was and that it was in TEdit.
You're not loading the partiers
\Data\World.cs Line 702
  this.Properties.Add(new WorldProperty() { Name = "PartyManual", Value = reader.ReadBoolean() });
  this.Properties.Add(new WorldProperty() { Name = "PartyGenuine", Value = reader.ReadBoolean() });
  this.Properties.Add(new WorldProperty() { Name = "PartyCooldown", Value = reader.ReadInt32() });
  int num3 = reader.ReadInt32();
num3 is the count of how many int32's to read, it's npc id's of people partying
you're missing the FOR loop


From LoadHeader()
WorldFile.tempPartyManual = reader.ReadBoolean();
WorldFile.tempPartyGenuine = reader.ReadBoolean();
WorldFile.tempPartyCooldown = reader.ReadInt32();
int num3 = reader.ReadInt32();
WorldFile.tempPartyCelebratingNPCs.Clear();
for (int k = 0; k < num3; k++)
{
    WorldFile.tempPartyCelebratingNPCs.Add(reader.ReadInt32());
}

jcoon wrote Aug 2, 2016 at 1:46 PM

Fixed in TerraMap v1.3.14.0, thanks!