Welcome to
Mod The Sims
Online: 2178
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
 Replies: 6 (Who?), Viewed: 2516 times.
Search this Thread
Old 28th Nov 2009, 04:35 PM DefaultS3OC - Version: 0911-25-1728 Type Initialization Error #1
Digitalchaos
Original Poster

Instructor

Join Date: Apr 2005
Posts: 510
Thanks: 1588 in 21 Posts
9 Achievements


Apparently with S3OC, Version=911.25.17.31448, the turtle ini ("s3oc-ini.ttl") is not being looked for in the installation directory (in the constructor for ObjectCloner.MainForm).

1) Copying s3oc-ini.ttl to the desktop (where it was looking for it) allowed the application to startup properly.
2) Cloning -> Normal Objects ... Roof Patters (all working with Base game) and it seems everything else is fine.

Code:
System.TypeInitializationException: 
{"The type initializer for 'ObjectCloner.MainForm' threw an exception."}

Code:
{Inner Exception: 
"Could not find file 'C:\\Users\\william\\Desktop\\s3oc-ini.ttl'.":"C:\\Users\\william\\Desktop\\s3oc-ini.ttl"}

Code:
Stack Trace:    
at ObjectCloner.MainForm..ctor(String[] args)
at ObjectCloner.Program.Main(String[] args)"

Code:
Assembly: 
"ObjectCloner.MainForm, s3oc, Version=911.25.17.31448, Culture=neutral, PublicKeyToken=null"

All TS2 Downloads Link
All TS3 Downloads: Link
All Other downloads: Link
Skyrim SKSE 1.6.x gamepad key support: Link
Old 28th Nov 2009, 04:59 PM #2
pljones
Don't ask me, I just code

Join Date: Nov 2005
Posts: 421
2 Achievements


Ah... It's looking in the "Current Working Directory". I'm guessing you're using the self-install .7z rather than the installer? I think the installer creates the shortcut with the cwd set to the install dir. Anyway, the code is wrong. It should be pre-pending the application dir to the filename (as with help and stuff). Thanks for the spot!
Old 28th Nov 2009, 05:30 PM #3
Digitalchaos
Original Poster

Instructor

Join Date: Apr 2005
Posts: 510
Thanks: 1588 in 21 Posts
9 Achievements


Actually I used the easy installer...

All TS2 Downloads Link
All TS3 Downloads: Link
All Other downloads: Link
Skyrim SKSE 1.6.x gamepad key support: Link
Old 28th Nov 2009, 05:35 PM #4
Inge Jones
Mad Poster

Join Date: Sep 2004
Posts: 6,851
Thanks: 7426 in 17 Posts
18 Achievements


It's been working ok for me? My init hasn't been on the desktop!

simlogical
Please do not PM me with questions about modding. Please post in an appropriate forum and send me a link to the thread if you would like me to try and help.
Old 28th Nov 2009, 05:41 PM #5
pljones
Don't ask me, I just code

Join Date: Nov 2005
Posts: 421
2 Achievements


OK, before I promote this to the sticky, can you (Digitalchaos) confirm it's fixed:
Installer

Thanks!
Old 28th Nov 2009, 05:42 PM #6
Digitalchaos
Original Poster

Instructor

Join Date: Apr 2005
Posts: 510
Thanks: 1588 in 21 Posts
9 Achievements


BARFFF!!!

It seems that I had my shortcut set with CWD ("Start in") pointing outside of the install folder (instead of pointing it to c:\program files\s3oc). Once, that was fixed it loaded fine...but still as peter said "the code is wrong" <- should be looking at the install folder, regardless of the start-in folder.

Well, anyway ... glad to get that resolved.

EDIT: Change my "Start-in" directory back to the old value so I could make the application barf again before installing the version your posted....
Well, the new version had not problem finding the file in the right place.

ITS WORKS!!!

All TS2 Downloads Link
All TS3 Downloads: Link
All Other downloads: Link
Skyrim SKSE 1.6.x gamepad key support: Link
Old 1st Dec 2009, 01:45 PM #7
pljones
Don't ask me, I just code

Join Date: Nov 2005
Posts: 421
2 Achievements


Thanks for confirmation.
 


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.