LotExpander for Free Time (Obsolete)
Flag Download
Hide Thanks Posts for this thread (Show only feedback)
Posts: 4
Posts: 474
LotExpander Error and Warning Messages: How to handle errors or warnings displayed by the LotExpander: If you do not have a current backup, stop now. Make a backup of your neighborhood and re-start the lot expansion at the beginning. If you have a backup, then carefully read any warnings or errors which occur before continuing with the process. Here are the known messages with an explanation of what to do: -------------------- Error Message: "Source array was not long enough. Check srcIndex and length, and the array's lower bounds." Explanation: This is a fatal error which is displayed by the C# runtime; it is an indication that the program does not know how to deal with the current lot file. What to do: If you continue, your lot and possibly your neighborhood will be corrupted. It is never a good idea to continue after seeing this message. To help make the LotExpander better, please attach a copy of your original lot to this thread, so that I can determine what went wrong and fix it. -------------------- Warning Message: "This lot may be incompatible with the LotExpander because it is marked with a newer version of The Sims 2. The LotExpander only handles Expansion and Stuff Packs up to and including" {name of the currently supported EP / SP}. Explanation: The game files change with each Expansion and Stuff Pack released by EA/Maxis. This message is telling you that the current version of the LotExpander does not know how to handle your installed EPs / SPs. What to do: If you do not have a backup, stop now. Continuing may corrupt your lot and neighborhood. Sometimes, the LotExpander is not affected by the new EP / SP and will be able to expand your lot without any problem. If you have a backup, you may want to continue and see whether the lot expansion proceeds normally. Be sure to keep your backup until you are sure that your lot is OK. If you have any problems, restore from your backup and wait for a new release of the LotExpander. -------------------- Warning Message: "This is an unfinished Feature. You can use it to enlarge your lot on the other side of the street. After using this, don't replace the lot anymore. So you can't share it. Do you want to use this feature?" Explanation: You have checked the "Over the road" checkbox. This is an advanced feature. What to do: If you have a backup, continue at your own risk. Your final dialog from the LotExpander will be different than the one shown in the tutorial. -------------------- Warning Message: "You didn't change any of this Lot's Values. So the only effect is unlocking all tiles of the lot. Tiles will only remain unlocked until you replace the lot the next time. Is this your intention?" Explanation: You have not specified any change to the size of the lot. What to do: If you want to expand the size of the lot, go back and increase the size on at least one side of the lot. If you continue without changing the size of the lot, your final dialog from the LotExpander will be different than the one shown in the tutorial. -------------------- If you get a warning or error message which is not on this list, the wisest course is to stop trying to expand the lot unless you have a current backup. Please post the error message on this thread, so that I can add it to this list. |
My error message:
Unhandled exception has occured in your application.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at SimPe.Packages.File.Read(IPackedFileDescriptor pfd)
at LotExpander.LotExpander.NeighborhoodScreen() in G:\Source\LotExpander\Source\LE129\129\LotExpander.cs:line 327
at LotExpander.LotExpander.NextButton_Click(Object sender, EventArgs e) in G:\Source\LotExpander\Source\LE129\129\LotExpander.cs:line 116
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
LotExpander
Assembly Version: 1.2.9.0
Win32 Version: 1.2.9.0
CodeBase: file:///E:/SIMS%202/SOFTWARES%20for%20TS2/LotExpander/LotExpander.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
simpe.package
Assembly Version: 1.0.2676.19318
Win32 Version: 1.0.2676.19318
CodeBase: file:///E:/SIMS%202/SOFTWARES%20for%20TS2/LotExpander/simpe.package.DLL
----------------------------------------
simpe.interfaces
Assembly Version: 1.0.2676.19317
Win32 Version: 1.0.2676.19317
CodeBase: file:///E:/SIMS%202/SOFTWARES%20for%20TS2/LotExpander/simpe.interfaces.DLL
----------------------------------------
simpe.helper
Assembly Version: 0.62.1.100
Win32 Version: 0.62.1.100
CodeBase: file:///E:/SIMS%202/SOFTWARES%20for%20TS2/LotExpander/simpe.helper.DLL
----------------------------------------
simpe.clst
Assembly Version: 1.0.2676.19317
Win32 Version: 1.0.2676.19317
CodeBase: file:///E:/SIMS%202/SOFTWARES%20for%20TS2/LotExpander/simpe.clst.DLL
----------------------------------------
simpe.commonhandler
Assembly Version: 1.0.2676.19317
Win32 Version: 1.0.2676.19317
CodeBase: file:///E:/SIMS%202/SOFTWARES%20for%20TS2/LotExpander/simpe.commonhandler.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Posts: 14,061
Thanks: 38373 in 178 Posts
My error message:[...] |
Can you tell me which operating system you're running (Window XP, Vista 32, Vista 64, ...?), which EPs / SPs you have installed, and which language version of the Sims 2 you are running?
Thanks for your help.
Posts: 474
This is the same error that dakkie13 reported a few days ago. It looks like the LotExpander is having problems reading the catalog description in one of your neighborhood files. I never got an answer to my questions from dakkie13. Perhaps you can help me to find this problem by answering a few questions. Can you tell me which operating system you're running (Window XP, Vista 32, Vista 64, ...?), which EPs / SPs you have installed, and which language version of the Sims 2 you are running? Thanks for your help. |
I gladly help you. After all you are going to help me, lol.
I run Win XP, I have all EP's EXCEPT season, FF, Celebration & Glamour Stuff. I think I have english US version.
Posts: 474
Posts: 14,061
Thanks: 38373 in 178 Posts
Mootilda, did you get any closer in solving my problem? I know that there is a life after Sims (hard to believe, lol) but I need it so badly. |
Posts: 925
Thanks: 158 in 2 Posts
Posts: 14,061
Thanks: 38373 in 178 Posts
Posts: 450
Thanks: 508 in 4 Posts
Sorry, the report from my operating system is in German, I try to translate a few things that might be confusing. My operating system is Vista Ultimate 64bit (tried to install the "NetFx64.exe" as you said but it's already included) and I have all EPs + all stuff packs except Teen style installed.
System.BadImageFormatException: Die Datei oder Assembly simpe.package, Version=1.0.2676.19318, Culture=neutral, PublicKeyToken=null oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden. Dateiname: simpe.package, Version=1.0.2676.19318, Culture=neutral, PublicKeyToken=null (transation: null=zero) bei LotExpander.LotExpander.NeighborhoodScreen() bei LotExpander.LotExpander.NextButton_Click(Object sender, EventArgs e) in G:\Source\LotExpander\Source\LE129\129\LotExpander.cs:Zeile 117. (translation: Zeile means line) bei System.Windows.Forms.Control.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ButtonBase.WndProc(Message& m) bei System.Windows.Forms.Button.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) |
"bei" means "at/located".
Currently this Assembly thingy (??? Assemblybindung) isn't reported. I could switch it on in the registry if this might help you.
************** Loaded Assemblys ************** mscorlib Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll. ---------------------------------------- LotExpander Assembly-Version: 1.2.9.0. Win32-Version: 1.2.9.0. CodeBase: file:///C:/Users/Khaibit/Desktop/MTS2_LotExpander129/LotExpander.exe. ---------------------------------------- System.Windows.Forms Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll. ---------------------------------------- System Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- System.Drawing Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll. ---------------------------------------- System.Configuration Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll. ---------------------------------------- System.Xml Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll. ---------------------------------------- System.Windows.Forms.resources Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll. ---------------------------------------- mscorlib.resources Assembly-Version: 2.0.0.0. Win32-Version: 2.0.50727.312 (rtmLHS.050727-3100). CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll. ---------------------------------------- |
BTW, the error message stays the same when trying to run LotExpander in WinXP- compatibily mode (yes, sure - but I forgot to change that before my first try to expand a lot - and my game worked perfectly afterwards )
Hopefully this is helpful to you, otherwise just ask me for more information
Even the joker can be deadly serious...
Entscheidend daran ist, wie?
Posts: 14,061
Thanks: 38373 in 178 Posts
Posts: 450
Thanks: 508 in 4 Posts
Even the joker can be deadly serious...
Entscheidend daran ist, wie?
Posts: 14,061
Thanks: 38373 in 178 Posts
At this point, I'm still trying to figure out what the problem might be...
Posts: 11,682
Thanks: 9680 in 11 Posts
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Posts: 450
Thanks: 508 in 4 Posts
But as LE was already complaining about the latest official SimPe-DL... is it maybe (additionally) a Vista-thingy? Is there maybe someone else around running Vista 64 to check this?
BTW: stupid question: Why does the report say
in G:\Source\LotExpander\Source\LE129\129\LotExpander.cs:Zeile 117. (translation: Zeile means line) |
Even the joker can be deadly serious...
Entscheidend daran ist, wie?
Posts: 474
Posts: 14,061
Thanks: 38373 in 178 Posts
The SimPE repository at sourceforge has been rearranged a little - would that be making a difference? |
BTW: stupid question: Why does the report say ? If G:\ is referring to a HDD... I don't have so many - and as the file is currently still on my desktop I don't think that Vista declares the desktop to be a HDD, does it? :D |
I don't understand half of what was said here, but then I don't run Vista. My problem is with XP. I wonder if I should re-install the old version of SimPE? Or the old version of the lot expander? |
At this point, I just don't have a clue what the problem is, so I don't have any good ideas for how to fix it.
Posts: 450
Thanks: 508 in 4 Posts
As it seems to be OK to complain about things on your HDD ( at least I'm calmed about G:, thanks) why does it say that it doesn't agree with something in line 117? Could this be the reason for my problem (Vista, whatever)?
Do you maybe have an idea what I could try out to help you finding a sollution?
Even the joker can be deadly serious...
Entscheidend daran ist, wie?
Posts: 14,061
Thanks: 38373 in 178 Posts
Alternatively, simpe.package.dll is throwing the exception because it believes that the neighborhood file has a bad image format.
Can you tell me how you are running the LotExpander? IE, do you just double click on the EXE in the windows explorer? Or, have you set up a shortcut in the start menu or on your desktop? If you are using a shortcut, have you got the "start in" directory set to the directory which contains the LotExpander EXE?
Is it possible that you had a corrupt zip file and that the simpe.packages.dll is corrupt? You could try downloading and unzipping again and see whether that helps.
Are you using a standard installation of the Sims 2? IE, are your neighborhoods in "My Documents\EA Games\The Sims 2\Neighborhoods"? If not, can you tell me where they are stored?
Posts: 450
Thanks: 508 in 4 Posts
Lot Expander is still on my desktop, the content from your rar file is kept in one folder. So I don't use a shortcut but open the folder on the desktop and double-click the .exe.
Re-downloaded, WinRAR unrared without complaining about corrupt content but the error stays the same. Seems like I could run XP which is stored on another HDD and try and find out what happens - do that later on.
It's a standard- installation but Vista calls things different ("MY Documents" were "Eigene Dateien" in WinXP while Vista calls it even in the German version "Dokumente") so to make sure that the path is still the same (just named different maybe) here's my personal complete neighborhood- path: C:\Users\Khaibit\Dokumente\EA Games\Die Sims 2\Neighborhoods which should be equal to "My Documents\EA Games\The Sims 2\Neighborhoods"
Not just the game but also SimPE finds the neighborhood.packages and can open them without any problems so the files shouldn't be corrupt, should they?
Does the LE immediately after presssing the "Start" button try to open all the neighborhood- packages (mean: all content is read) or are the just listed and the selected neighborhood is loaded after pressing "Next"? Would it make a difference to remove some neighborhoods from the EA- folder to try and find out if the error is caused by one of the neighborhood.packages? Or would this be a kind of "waste your time- trial"?
Even the joker can be deadly serious...
Entscheidend daran ist, wie?
Posts: 14,061
Thanks: 38373 in 178 Posts
I created a version of the LE (1.2.9.2) which should skip all neighborhoods with missing or corrupted catalog descriptions. Note that I have not tested this new logic. This may not solve the problem, but might help us narrow it down anyway. Please try running this version and see whether it skips any of your neighborhoods or subneighborhoods.
If anything is missing from the neighborhood list, it would be helpful to look at the catalog description for these neighborhood and subneighborhood packages, to see whether any of the descriptions are corrupt or missing.
I've also checked the LE path logic with your specific path and I cannot see any obvious problems, so I no longer believe that this is a Vista vs. Windows XP issue.
You don't need to apologize for taking time to answer. I'm afraid that I haven't been able to work on this much lately, so I'm really the bottleneck - not you.
Update: Removed temporary version. Change incorporated into version 1.2.10 (Free Time), so there's no need for this anymore.
Posts: 28
Thanks: 967 in 12 Posts
Posts: 14,061
Thanks: 38373 in 178 Posts
Posts: 474
[/QUOTE]
That version worked like a dream for me. Thank you, thank you, thank you. I had expanded 4lots already. Woo-hoo.
Posts: 14,061
Thanks: 38373 in 178 Posts
That version worked like a dream for me. Thank you, thank you, thank you. I had expanded 4lots already. Woo-hoo. |
Posts: 474
Can you tell me anything about the catalog description for the neighborhoods which were skipped over? If I understood what the problem was, I might be able to come up with a better fix. Thanks. |
Well, thats a bit of a long story. Firstly I got rid of the first 3 Maxis made nhoods, then I inserted empty lots (from Jordi in Maty)to prevent them from regenerating. I also had to do this several times until nhood no.4 as I had heaps of problems generating new nhoods ect.......So your question is a bit difficult to answer.
Page 6 of 12
|