BinaryConstruct/Terraria-Map-Editor — Issue #196: Crash Upon Exiting
Author: Alphanos
Created: 2012-01-03 16:50:44+00:00
State: open

Using TEdit 3 Beta 12:

This is almost a non-issue since it only happens when closing the program, but I thought you might want to know anyway ;-). After you fixed the earlier issue with the undo folder causing crashes, I moved the program back into a subdirectory off of Terraria instead of my profile's worlds directory. This works while editing, but when you try to close the program it's crashing attempting to open the undo folder in the worlds directory. It looks like this is in the cleanup code to delete the undo files or something where it's not using a relative path off of the executable's directory.

Also FYI, the earlier issues with crashing near world edges and chest contents being cleared appear fixed. Thanks very much :-D!

2012-01-03 11:45 AM: Error - Could not find a part of the path 'C:\Documents and Settings\Administrator\My Documents\My Games\Terraria\Worlds\undo\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path)
at TEditXna.Editor.Undo.UndoManager.Finalize()