SUBSIM Radio Room Forums
The newest naval sim by Totem Games!

SUBSIM: The Web's #1 BBS for all submarine and naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-25-2009, 12:40 AM   #61
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,512
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by tomfon
BTW, did you know that SH3Cmdr comprises over 7.000 code lines???
OMG tell me about it, LOL! :rotfl:My point with that "tip" was simply to highlight that behind the scenes a lot--a real lot--goes on. Call it self-indulgent or whatever to make a point of it, but the seemingly pretty interface does hide a lot of grunt work.
__________________
Download the JSGME Generic Mod Enabler
JScones is offline   Reply With Quote
Old 01-25-2009, 12:44 AM   #62
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,512
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by A Very Super Market
Man, if only every instruction manual was like yours...
Thanks. And I'll take this opportunity to formally thank irish1958 for his diligence in reviewing the User Guide and providing consistently valuable feedback for its improvement.
__________________
Download the JSGME Generic Mod Enabler
JScones is offline   Reply With Quote
Old 01-25-2009, 04:25 AM   #63
A6Intruder
Seasoned Skipper
 
Join Date: Aug 2006
Location: Germany
Posts: 663
Downloads: 22
Uploads: 0
Hi Jscones,
i use your fantastic tool with every supermod i use. With this new version i got a little problem with WAC3.0 and S-Boot-Mod (ontop GWX2.1). With normal GWX 2.1 it works fine but with both installations above i get this error message when try to update my personal file: Invalid argument to date encode.
Some idea why? I did not have this problem with older 3. Versions.
Thanks for your help in advance.
Kind regards
A6Intruder is offline   Reply With Quote
Old 01-25-2009, 04:47 AM   #64
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,512
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by A6Intruder
Hi Jscones,
i use your fantastic tool with every supermod i use. With this new version i got a little problem with WAC3.0 and S-Boot-Mod (ontop GWX2.1). With normal GWX 2.1 it works fine but with both installations above i get this error message when try to update my personal file: Invalid argument to date encode.
Some idea why? I did not have this problem with older 3. Versions.
Thanks for your help in advance.
Kind regards
Did you delete any save games in the career? If so, that'll be the reason because SH3 gets itself confused datewise when you revert to a previous save point. To fix, go back into the career in SH3 and exit again, that'll fix it.
__________________
Download the JSGME Generic Mod Enabler
JScones is offline   Reply With Quote
Old 01-25-2009, 06:01 AM   #65
A6Intruder
Seasoned Skipper
 
Join Date: Aug 2006
Location: Germany
Posts: 663
Downloads: 22
Uploads: 0
Default

Quote:
Originally Posted by JScones
Quote:
Originally Posted by A6Intruder
Hi Jscones,
i use your fantastic tool with every supermod i use. With this new version i got a little problem with WAC3.0 and S-Boot-Mod (ontop GWX2.1). With normal GWX 2.1 it works fine but with both installations above i get this error message when try to update my personal file: Invalid argument to date encode.
Some idea why? I did not have this problem with older 3. Versions.
Thanks for your help in advance.
Kind regards
Did you delete any save games in the career? If so, that'll be the reason because SH3 gets itself confused datewise when you revert to a previous save point. To fix, go back into the career in SH3 and exit again, that'll fix it.
No i did not delete anything.:hmm: I did install the new version into the existing Commander-folder of each mod.
Kind regards
A6Intruder is offline   Reply With Quote
Old 01-25-2009, 06:23 AM   #66
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,512
Downloads: 19
Uploads: 0
Default

:hmm: Was it a first patrol? That's another SH3 bug that sometimes foils SH3Cmdr.

If not, I have no idea - usually the error is caused by reverting to an earlier save point or the "first patrol no tonnage bug".

I've made no changes to anything other than the ship names feature and crew manager component, so I'm at a loss to explain why you would now have this problem.

You might have to email me your career files for those that are failing (sans save games).
__________________
Download the JSGME Generic Mod Enabler
JScones is offline   Reply With Quote
Old 01-25-2009, 06:23 AM   #67
tomfon
Grey Wolf
 
Join Date: Jan 2008
Location: CK7662
Posts: 919
Downloads: 148
Uploads: 4


Default

Quote:
Originally Posted by JScones
...but the seemingly pretty interface does hide a lot of grunt work.
No doubt about that.
tomfon is offline   Reply With Quote
Old 01-25-2009, 07:54 AM   #68
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,254
Downloads: 320
Uploads: 11
Three cheers for Jaesen

JSCones,
Thanks for all your hard work in making this "don't leave port without it" mod
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 01-25-2009, 08:33 AM   #69
Lzs von swe
Ace of the Deep
 
Join Date: Nov 2005
Location: Norrkoping, Sweden
Posts: 1,074
Downloads: 66
Uploads: 0
Default

JScones, SS, bbw, iabl and i1958, thanks for CSDTCSUE

This is a MUST HAVE
__________________
Lzs von swe is offline   Reply With Quote
Old 01-25-2009, 11:06 AM   #70
A6Intruder
Seasoned Skipper
 
Join Date: Aug 2006
Location: Germany
Posts: 663
Downloads: 22
Uploads: 0
Default

Quote:
Originally Posted by JScones
:hmm: Was it a first patrol? That's another SH3 bug that sometimes foils SH3Cmdr.

If not, I have no idea - usually the error is caused by reverting to an earlier save point or the "first patrol no tonnage bug".

I've made no changes to anything other than the ship names feature and crew manager component, so I'm at a loss to explain why you would now have this problem.

You might have to email me your career files for those that are failing (sans save games).
No it was/is WAC/15th, S-Boat/5th patrol. Which folder do you need? Please send me your Mail per PM.
Thanks in forward
Kind regards.
A6Intruder is offline   Reply With Quote
Old 01-25-2009, 06:09 PM   #71
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,512
Downloads: 19
Uploads: 0
Default

Email address is in the top of JoneSoft.txt.

Email the files that are in the career folder only, not any files in the 0, 1, 2 etc sub-folders.
__________________
Download the JSGME Generic Mod Enabler
JScones is offline   Reply With Quote
Old 01-25-2009, 11:36 PM   #72
A6Intruder
Seasoned Skipper
 
Join Date: Aug 2006
Location: Germany
Posts: 663
Downloads: 22
Uploads: 0
Default

Quote:
Originally Posted by JScones
Email address is in the top of JoneSoft.txt.

Email the files that are in the career folder only, not any files in the 0, 1, 2 etc sub-folders.
On the way
Thanks
A6Intruder is offline   Reply With Quote
Old 01-26-2009, 12:19 AM   #73
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,512
Downloads: 19
Uploads: 0
Default

Thanks. Received and reviewed. You should have my response by now.

For the benefit of others, this was an example of the "upgrade before first patrol" stock SH3 bug. There's really nothing SH3Cmdr can do about this; sure, I could trap the error, then look at the Log_0.cfg file and get the correct career start date from it, but that doesn't fix up the missing renown or ship sunk data that are also symptoms of this bug. And TBH I have no intention of writing another 100 lines of code to correct another stock SH3 bug (there's enough lines like that in there already, LOL!), especially when there is a well known and advertised way to avoid the problem in the first place.

And that is?

Don't upgrade your boat before you start your first patrol in a new career. Alternatively, if you feel you must do so, then save just before docking at the end of the patrol. If you do then get the bug, it seems that re-loading the save game and re-docking fixes it.

In summary, if you receive an "Invalid argument to date encode" error when attempting to create a Personnel File in SH3Cmdr it will be because of this bug. You can confirm for yourself by opening Patrols.cfg and checking the StartYear, StartMonth and StartDay values under [PATROLS 000]. If they are all 0, then you have caught the bug. You'll also notice 0 ships sunk, 0 tonnage sunk and 0 renown received, and a few others that I've forgotten now.

Unfortunately this is just one of those stock bugs that is not practical to work around in SH3Cmdr.
__________________
Download the JSGME Generic Mod Enabler

Last edited by JScones; 01-26-2009 at 12:35 AM.
JScones is offline   Reply With Quote
Old 01-26-2009, 06:45 AM   #74
Captain Nemo
Ace of the Deep
 
Join Date: Jan 2002
Location: London, England
Posts: 1,144
Downloads: 53
Uploads: 0
Default

JScones thanks for this super duper update of SH Commander. Installed for use with GWX 3.0 without any issues .

Nemo
__________________
"I'm afraid there is no disguising the fact that King's obsession with the Pacific and the Battle of Washington cost us dear in the Battle of the Atlantic".

Sir John Slessor GCB, DSO, MC, DL
AOC-in-C Coastal Command RAF
___________________________________________
Captain Nemo is offline   Reply With Quote
Old 01-26-2009, 08:10 AM   #75
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
Subsim.com
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 119,980
Downloads: 48
Uploads: 11


Default

Great start to a new year.....nice one
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!


GWX3.0 Download Page - Donation/instant access to GWX (Help SubSim)
Jimbuna is online   Reply With Quote
Reply

Tags
sh3 commander

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 1997- 2017 Subsim