View Full Version : Slow developing bug.
NEON DEON
02-28-09, 11:12 PM
I am making a sub cruisier mod and while testing it I came across a slow to develop bug.
It involves the twin 40 mm and the aft conning tower position on a modified late war Sargo Conning tower.
The twin 40 would cause the game to crash when manually firing it. However, this did not develop until well into the patrol. It worked for the first 3 weeks into the patrol and was fired manually on numerous occasions.
So I was wondering if anyone has encountered this before and if so what did they do to fix it.
Thanks.
Webster
03-01-09, 01:32 AM
well i know that most often when you think you did things right but find issues like that it can be a result of somewhere along the line you made changes and forgot to uninstall one of your mods before doing it.
the best way to be sure is delete all mods in jsgme and replace them with fresh new copies from backup files or new downloads. then delete the entire data folder from sh4 programs folder and replace it with your backup copy of it. if you never made one then uninstall and reinstall the game.
after all this you know everythings clean and uncorrupted so the only thing left is your mod. go through it carefully and check all your settings but it would be best to begin anew from a fresh clean start if its not too much trouble.
if the problem returns then it is definately your mod, but i doubt it because if somethings wrong it usually works or it doesnt but i havent seen things that change on there own.
NEON DEON
03-01-09, 01:57 AM
Do the mods themselves get messed up too or just the game itself?
Webster
03-01-09, 03:45 AM
Do the mods themselves get messed up too or just the game itself?yep they sure do.
the way jsgme works is it moves the stock file to a backup folder and puts the mods folder there but it only moves whats being put in so it can be the whole folder or just a file or two from it. now when you mod something it has changed the file so when you go to unistall the mod, jsgme cant find the file it put there because it has changed and it wont move something close it has to be exactly what it put there otherwise it would not know whats a game folder or a mod folder.
now if it cant find the folder it gets left in the game but this also means the stock folder gets left in the backup files in jsgme. because of this the mod has files missing from it and its corrupted and the game has missing files along with altered mod files left in place so it gets corrupted.
you can also get this thing called mod soup where so many mod files are installed on top of each other and if you uninstall them in the wrong order from how you installed them then they dont all go back to where they belong and you get the same sort of situation with the wrong files going to the wrong places.
thats why its best if you have a group of mods you always use then merge them into one mod so there is less chances for errors.
it all comes down to leftover files in the wrong places.
now text files are worse because you only need to change one line of text with an extra comma or something and jsgme will not recognize it to uninstall it.
jmardlin
03-01-09, 04:08 AM
I know I read somewhere in the forums that a late war sub conning tower has a problem with the twin 40 but I do not know how it is resolved or even which sub it was.
NEON DEON
03-01-09, 02:22 PM
I know I read somewhere in the forums that a late war sub conning tower has a problem with the twin 40 but I do not know how it is resolved or even which sub it was.
There was a recently revived post that mentioned it but no solution was given that worked. I tried a search for it. To no avail tho. Right now I am in the process of using a single 40 to see if I can get it to crash. So far the single has worked without crashing to desk top when firing. However, the twin worked thru 7 different saves before it crapped out.
NEON DEON
03-04-09, 01:16 PM
Well still no joy. The single 40 mm worked. So now I have nuked the game and all shIV folders, reloaded the game and have started from an earlier version of the mod that was in my documents. So back to testing the twin again. :D
Webster
03-04-09, 02:52 PM
Well still no joy. The single 40 mm worked. So now I have nuked the game and all shIV folders, reloaded the game and have started from an earlier version of the mod that was in my documents. So back to testing the twin again. :D
take the time to make a copy of each successive change you make so if the glitch returns you can trace it to the last thing you did.
it is a RPITA but its the only way to find that gremlin
i will amend my earlier statement about its not the mod, it is possible the gun is no longer being recognised when the later war configuration is used so make sure you take care to cover that area in your mod
NEON DEON
03-08-09, 03:50 PM
So far the new install of SH 4 has worked with my mod.
Webster mentioned that the order in which mods are deactivated is important too.
Lets say I have three mods named 1, 2, and 3. I enable them thru JSGME in that order. JSGME has a button for removing all mods. When I use that button JSGME pulls them out in reverse order of what they were loaded. 3,2, and 1. Is that the correct way to pull the mods out?
Webster
03-08-09, 04:30 PM
So far the new install of SH 4 has worked with my mod.
Webster mentioned that the order in which mods are deactivated is important too.
Lets say I have three mods named 1, 2, and 3. I enable them thru JSGME in that order. JSGME has a button for removing all mods. When I use that button JSGME pulls them out in reverse order of what they were loaded. 3,2, and 1. Is that the correct way to pull the mods out?
i dont know the answer to that one but i would guess better safe than sorry and for mods that overwrite others its best to uninstall them individually in order.
Fincuan
03-08-09, 04:41 PM
Just get the newest version of JSGME, and you can't even uninstall them in the wrong order. It forces you to do it correctly.
NEON DEON
03-11-09, 01:41 AM
On a clean install and only modding the twin 40 onto a Balao didnt work either.:down:
Fore AA crashed first shot fired and the rear fired like it did with the Sargo but over time she will probably crack up too.
Also, the twin has a man missing. The single doesn't.
Anyone have any ideas?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.