SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

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

Reply
 
Thread Tools Display Modes
Old 04-25-12, 03:04 AM   #1
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

Another new version! You are a machine, TDW!

I'll try my best to test it today before I go to work and post my impressions here.
Sartoris is offline   Reply With Quote
Old 04-25-12, 09:04 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sartoris View Post
Another new version! You are a machine, TDW!
No machine, just determined. Once something pisses me off (common in software) I will work tirelessly to fix it or make it do what I want it to do (exploitation). I was playing the game and the AI pissed me off royally because it was acting completely dumb. I couldn't take it anymore I'd been putting off working on the new versions of IRAI long enough. It was time to put the GR2 Editor/Viewer to the side for a little while and put my modding hat back on

Today I will look into all the problems that have been reported with Scapa Flow to see what the AI is doing/not doing. I have to update my OHII first then I'm off to Scapa
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 10:37 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

This is not good: I'm just outside Scapa Flow and I enable the in-game AI debugger so I can see what the AI is doing. I click on any ship and the game crashes There's a problem somewhere in IRAIs code and now the time consuming task of playing isolation begins

If I disable IRAI I can click on any ship and the game doesn't crash. Wonderful
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 11:55 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

This makes no sense. I disabled everything (AI code wise from IRAI) and am able to click on any ship without crashing. I slowly added one thing at a time until everything was re-enabled and I can still click on any ship without crashing This makes me suspect a rogue ship in the roster...something is wrong with one of them.

On a good note I figured out why ships come to a stop sometimes! Do you see anything wrong with this line of code:

!Ship:GetRole() == ROLE_IDLE and !Ship:GetRole() == ROLE_ERROR_BATTLESHIP and !Ship:GetRole() == ROLE_ERROR_ESCORT

This was a sinister bug!! The game wouldn't crash because of it. Here's what it should be:

Ship:GetRole() != ROLE_IDLE and Ship:GetRole() != ROLE_ERROR_BATTLESHIP and Ship:GetRole() != ROLE_ERROR_ESCORT

Now they keep looking/searching for you
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 12:13 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Well they did keep searching/looking for me except for when they got into shallow water. Once that happened they froze, won't do anything. We need to increase the water depth in scapa flow!
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 12:23 PM   #6
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
We need to increase the water depth in scapa flow!
Dont tell Sober

We did try this without any improvement - could that have been due to the other error that you posted
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 04-25-12, 12:29 PM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Were the ships close to the shore when they stopped (this will be hard to fix depth) or was it just shallow water out in the middle of the bay
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Reply

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 02:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.