Log in

View Full Version : I'm sorry to ask again.


clayp
03-11-09, 09:18 PM
I'm having a really hard time with a mod I have made for myself.It worked for awhile now it wont..When I try to start a career it does everything ok untill I try to start the mission and then it crashes and I get the SH4 has encounted a problem.I know this is a lot to ask but would someone look at it when they have some time? I will try to upload it to file planet..:oops:

tater
03-11-09, 09:19 PM
You have given zero information. What does your mod do, etc. There are infinite ways you could CTD with a mod.

clayp
03-11-09, 09:42 PM
You have given zero information. What does your mod do, etc. There are infinite ways you could CTD with a mod.

Tater sir it changes many things,Sub availability,weapons,crew skills,torpedo loadout,renown,etc..
But please disregard!! I tried to load the files to File Planet and cant get them uploaded.....:oops: Now File Planet says they are there but each has a seperate URL..Here they are..

http://www.fileplanet.com/files/190000/197254.shtml (http://www.fileplanet.com/files/190000/197254.shtml)

http://www.fileplanet.com/files/190000/197256.shtml (http://www.fileplanet.com/files/190000/197256.shtml)

http://www.fileplanet.com/files/190000/197258.shtml (http://www.fileplanet.com/files/190000/197258.shtml)

http://www.fileplanet.com/files/190000/197260.shtml (http://www.fileplanet.com/files/190000/197260.shtml)

http://www.fileplanet.com/files/190000/197262.shtml (http://www.fileplanet.com/files/190000/197262.shtml)

http://www.fileplanet.com/files/190000/197264.shtml (http://www.fileplanet.com/files/190000/197264.shtml)

http://www.fileplanet.com/files/190000/197266.shtml (http://www.fileplanet.com/files/190000/197266.shtml)

http://www.fileplanet.com/files/190000/197268.shtml

Webster
03-11-09, 09:56 PM
clay, uploaded files usually need to be zipped first because you cant upload a folder only individual files



you may have missed something in the cfg dates clay, go over your numbers again.

chances are you missed a cfg date listed somewhere.

then again it might just be a mission editor thing, read this and look the mission over:
http://www.subsim.com/radioroom/showthread.php?p=1064189#post1064189

clayp
03-11-09, 10:04 PM
clay, uploaded files usually need to be zipped first because you cant upload a folder only individual files



you may have missed something in the cfg dates clay, go over your numbers again.

chances are you missed a cfg date listed somewhere.

then again it might just be a mission editor thing, read this and look the mission over:
http://www.subsim.com/radioroom/showthread.php?p=1064189#post1064189

Hey bud,I have checked and checked..If it is a date issue I'm missing it..I dont think the mission editor will help cause its not any particular mission its starting a career..I have to get off now I'm going into the hospital tomorrow for an angiogram and some other tests.I may need another bypass,my third..

Webster
03-11-09, 11:56 PM
clay, uploaded files usually need to be zipped first because you cant upload a folder only individual files



you may have missed something in the cfg dates clay, go over your numbers again.

chances are you missed a cfg date listed somewhere.

then again it might just be a mission editor thing, read this and look the mission over:
http://www.subsim.com/radioroom/showthread.php?p=1064189#post1064189

Hey bud,I have checked and checked..If it is a date issue I'm missing it..I dont think the mission editor will help cause its not any particular mission its starting a career..I have to get off now I'm going into the hospital tomorrow for an angiogram and some other tests.I may need another bypass,my third..

ok, sorry i missunderstood. forget what i said, i thought you were doing a single mission to test it. if its a campaign crashing your mod files have a typo somewhere.

clayp
03-13-09, 04:29 PM
Webster,I'm, back home and am going to go over these files line by line..

clayp
03-15-09, 10:54 AM
Well I got it kinda sorta...Now the game plays with the mod and I get the "problem" box when I shut the game down...

vanjast
03-15-09, 11:52 AM
You're missing an ID or ParentID somewhere...

This comes about from deleting sections of the INI file or leaving things out of the CFG files - maybe you've edited this out.

With the problem window write down the ID number then do a text search through the Stock game files.
:)

clayp
03-15-09, 04:19 PM
You're missing an ID or ParentID somewhere...

This comes about from deleting sections of the INI file or leaving things out of the CFG files - maybe you've edited this out.

With the problem window write down the ID number then do a text search through the Stock game files.
:)

You are probably right sir,but I have looked at these files until my eyes get blury...:damn:

Edit,here is what it says in the error box..
"AppName:SH4.exe AppVer:1.4.0.0
Mod Name:Ntdll.dll
Mod Ver 5.1.2600.2180 OffSet:00011e58"

So what do I search for?

Edit#2 I did a search fot the file ntdll.dll and it is a Windows System/32 file????

peabody
03-15-09, 06:13 PM
Well I got it kinda sorta...Now the game plays with the mod and I get the "problem" box when I shut the game down...

Hello Buddy, hope you are well !!!

I downloaded the files above and found a couple errors.


You didn't include a NSS_Gato.sim file so I am assuming you forgot to change it. In the "wpn_subtorpedosys" you need to go to rooms-fore and make "Storage[16] (Right click on storage and add array item until it says 16. Then go to the Aft and make "Storage[10]"

The other error which is probably giving you the error box is in the Crewmembers.upc under [crewmember 20]

Look for this:

WatchmanCoef= 0.55Medals=

It should look like this:

WatchmanCoef= 0.55
Medals=

Medals= is on the wrong line and the game gives an error.

I put it into a mod and uploaded it, if you need it.

http://files.filefront.com/clay7z/;13473105;/fileinfo.html

Peabody

Webster
03-15-09, 07:01 PM
you should download 7zip if you dont already have it.

its free and you can zip files, and your whole mod when you want to post it to be checked or when your ready to release your mod you will need to zip it to do it.

get 7zip here: http://www.7zip.com/

clayp
03-15-09, 10:41 PM
PEABODY!!!!!!!!!!..Hi ya bud..Not doing so good..:down: Did I have errors in all of those files?//I belive I did the torpedo thing with the SD3..I will look at them all tomorrow..Thank you..
Webster I have WinZip,just cant figure out how to zip the files..:oops:

peabody
03-16-09, 12:06 AM
PEABODY!!!!!!!!!!..Hi ya bud..Not doing so good..:down: Did I have errors in all of those files?//I belive I did the torpedo thing with the SD3..I will look at them all tomorrow..Thank you..
Webster I have WinZip,just cant figure out how to zip the files..:oops:

Just 2 files,buddy. Just didn't put the torpedos in storage in the .sim file and the one with medals in the wrong place. Like you say, you looked at it over and over, it's usually harder to find the mistake than it is to fix it.

Peabody

Webster
03-16-09, 12:20 AM
Webster I have WinZip,just cant figure out how to zip the files..:oops:

really easy, open winzip and tell it to create new archive

it will ask you to name it, this will be the name of the zip file (but its easy to just right click it and rename it anytime you want)

it will ask you where you want to put this file, as default it puts it in your my documents folder so i let it do that

the next window asks if you want to zip a file or a folder, whatever you pick you wont see the other type when you select the location so it may look funny but nothings missing its only showing you the types you selected.

if its a mod your zipping select folders and then highlight the main mod folder then click ok, thats it in 2 seconds your mods zipped, open my documents and there it is. untill you do it a few times unzip it to see it was done right (maybe you forgot to include the read me or whatever). when i first did it i mixed up the name to call the file with the name of the file to zip and had to edit the name lol.

vanjast
03-16-09, 02:08 AM
Edit,here is what it says in the error box..
"AppName:SH4.exe AppVer:1.4.0.0
Mod Name:Ntdll.dll
Mod Ver 5.1.2600.2180 OffSet:00011e58"


OK this is not what I'm thinking about.
It looks like you're running a very strange MOD and NTDLL.DLL is a system32 file.
This shouldn't be a mod name and this whole thing looks very suspicous.

Have you installed mods via JSGME or are the mods in what I call 'dodgy' exe format
Any mod should not access any application files ??

It might just be the SH4 exe having access problems with the file
Do a quick file search for NTDLL.DLL - it should be in your Windows/system32 folder - XP system
:)

clayp
03-19-09, 05:01 AM
It seems to be running great now...:D..Thank you all you are the best!!!..:up::up:

skwasjer
03-19-09, 05:49 AM
OK this is not what I'm thinking about.
It looks like you're running a very strange MOD and NTDLL.DLL is a system32 file.
This shouldn't be a mod name and this whole thing looks very suspicous.

Have you installed mods via JSGME or are the mods in what I call 'dodgy' exe format
Any mod should not access any application files ??

It might just be the SH4 exe having access problems with the file
Do a quick file search for NTDLL.DLL - it should be in your Windows/system32 folder - XP system
:)
For a developer, a mod is also a 'module', which is a 'library', which is a 'DLL'... :88) So the message is not wrong or dodgy per se (though it might), just has to be read differently ;)

vanjast
03-19-09, 01:57 PM
Or a COM interface.. :)