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 02-29-12, 04:14 AM   #256
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by 7Infanterie19 View Post
This is happening to me now as well, except the course is 335°.

I'm running v2.8. and I know it was working fine several days ago when I started using OHII along with an old version of NewUi (v6_4_0 Test 7), but without IRAI.

After getting a confirmation on the proper load order of IRAI, FX and NewUIs, I updated NewUIs to the latest version, and added IRAI to my mix. I started a new OHII campaign, but after this update to the new version of NewUI and the addition of IRAI, I'm getting this problem as well.

I started yet another campaign, thinking it might have just been a burp that needed a fresh start, and also after deciding to add the No Magic Abilities mod, but I'm still getting this problem, so I loaded up the old version of NewUI, left out IRAI, and then tried the pilot again. This time, it was fine like it was before. It starts off with a course order of 329° and gets the boat out without problems or damage.

Any ideas? Could it be something that may be conflicting with the automation in NewUIs that causes that 6 degree difference, or is it maybe something with the pilot thinking it is in a different position?

Thanks ..
Not sure what causes this
Each time it happens - the player normally fixes it by adjusting their mods.
It realy should not make any difference - but try uninstalling harbour pilot before moving or adjusting TDWs UI and the put harbour pilot back afterwards.


Quote:
p.s. Trevally, what are the possibilities of adding a Kiel outbound pilot script using the north passage?
Yes sure - how far would you want it to go Right through to the North Sea. Would you also want an inbound one.

Also what about Bergen - add inbound to that one too?
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 02-29-12, 04:15 AM   #257
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by kimuraijn View Post
@ Trevally would you consider adding a script for incoming to lorient harbor ?
Does this need one? - I will have a look
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 02-29-12, 06:24 PM   #258
7Infanterie19
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Trevally. View Post
Not sure what causes this
Each time it happens - the player normally fixes it by adjusting their mods.
It realy should not make any difference - but try uninstalling harbour pilot before moving or adjusting TDWs UI and the put harbour pilot back afterwards.
I think I've done that through the motion of disabling mods and re-enabling them because of other things I've been trying to figure out, but no change. I'll have to play around with the order like you said "by adjusting their mods". I'll see if loading it before NewUIs will help. Other than that, I'll have to just pilot the boat manually from there. And I won't know until later in the campaign if it happens at other bases.

Quote:
Originally Posted by Trevally. View Post
Yes sure - how far would you want it to go Right through to the North Sea. Would you also want an inbound one.

Also what about Bergen - add inbound to that one too?
lol .. you sound like a taxi driver - hehehe .

If possible, how about as far as where the word Skagerrak is on the map? And then an inbound from there as well if possible.

As for Bergen, why not while we're at it, but only if you have the time. I would appreciate it and I'm sure others would as well. Is there already an outbound for Bergen?

Thanks for your help! Cheers!
  Reply With Quote
Old 03-10-12, 11:33 AM   #259
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Harbout Pilot update to v2.9
see post 1

This update will add a new route for Kiel.
This will be helpful as OHIIv1.8 will take you back to Kiel to collect your new boat when you get upgraded to VIIC and C/41


Kiel Harbour Skagerrak Route

Outbound

Here you start in the bunker of Kiel Harbour and you use this one as you would any other pilot script. Pilot will navigate your boat out of the harbour and north though Skagerrak. Harbour Pilot will leave your boat as you reach the North Sea.

As with harbour pilot, you can adjust TC straight away. x256 is recommended. Messages warning you of upcoming traffic will be displayed.
Once you have reached the North Sea TC will drop to x1 and a message will be diplayed allowing you to plot your next waypoint.

Inbound

With inbound you must position your u-boat within the 100KM circle shown below.



Pilot will navigate you back Skagerrak and down to Kiel harbour for you to dock.

The waypoint resume setting for this one is set very high. This will also allow you to start the script anywhere within the route and your boat will head for the nearest set point and continue.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-10-12, 04:27 PM   #260
pedrobas
Seasoned Skipper
 
Join Date: Apr 2007
Location: Huelva, Spain
Posts: 664
Downloads: 301
Uploads: 0
Default

Many thanks, Trevally
pedrobas is offline   Reply With Quote
Old 03-12-12, 02:39 PM   #261
vlad29
XO
 
Join Date: Dec 2010
Location: Arkhangelsk
Posts: 427
Downloads: 324
Uploads: 0
Default

Hi Trevally, many thanks for update!
As for previous version of "Harbour Pilot" - I've noticed, that the pilot function could not be enabled/continued after loading the game with saved running scripts inside Kiel Channel. The first report that time was "the pilot will route You....", then in half of a minute the message 'pilot is offboard' appeared.
Is it a known bug and is it fixed in new version?
vlad29 is offline   Reply With Quote
Old 03-12-12, 03:16 PM   #262
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by vlad29 View Post
Hi Trevally, many thanks for update!
As for previous version of "Harbour Pilot" - I've noticed, that the pilot function could not be enabled/continued after loading the game with saved running scripts inside Kiel Channel. The first report that time was "the pilot will route You....", then in half of a minute the message 'pilot is offboard' appeared.
Is it a known bug and is it fixed in new version?
Hi Vlad

Thanks for the report, I did not know of this issue.
I will test this to see what is wrong - It could be that the range to your next waypoint was to far for the settings within the script.

With the canal having so many turns - I had waypoint resume set low, but I will see if it is the reason.

Can you confirm that you are using the most up to date of TDWs UI
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-12-12, 03:29 PM   #263
vlad29
XO
 
Join Date: Dec 2010
Location: Arkhangelsk
Posts: 427
Downloads: 324
Uploads: 0
Default

Quote:
Originally Posted by Trevally. View Post
Hi Vlad

Thanks for the report, I did not know of this issue.
I will test this to see what is wrong - It could be that the range to your next waypoint was to far for the settings within the script.

With the canal having so many turns - I had waypoint resume set low, but I will see if it is the reason.

Can you confirm that you are using the most up to date of TDWs UI
Yes, NewUI v.6.9.0 I've noticed the discussed issue long time ago, so I preffered not to be saved in the channel itself. As for other places on route - everything was great
vlad29 is offline   Reply With Quote
Old 03-12-12, 04:21 PM   #264
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Just tested Kiel Outbound and after a save load, waypoint resume worked.
I then tested a few times stopping and starting the script. Each time the script worked as it should.

Here is the resume well into the canal
Quote:
00004010 1116.42285156 [5852] class AutomationScriptInFile(Kiel Harbour & Canal Outbound).Start
00004011 1118.22521973 [7024] Entities.cpp (83): Process Message:
00004012 1118.22534180 [7024] Entities.cpp (114): OSI Ping
00004013 1118.22546387 [7024] Entities.cpp (123): succeeded
00004014 1123.56701660 [5852] Kiel Harbour & Canal Pilot Outbound started WaypointResume=1000.0m
00004015 1123.56933594 [5852] Kiel Pilot will take you out of the harbour and through the canal. You may adjust TC anytime and speed once clear of wharf.
00004016 1123.56945801 [5852] Kiel Harbour & Canal Pilot Outbound no precondition specified
00004017 1123.57019043 [5852] Kiel Harbour & Canal Pilot Outbound starting from waypoint 10
00004018 1123.57019043 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 10 using precision navigation
00004019 1123.57031250 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 10 using current TC level
00004020 1123.57031250 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 10 using current depth
00004021 1123.57031250 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 10 using current speed for pre-speed
00004022 1123.57031250 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 10 using current speed
00004023 1123.57043457 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 10: Distance=671.24 3/4 distance=-9999.00 1/2 distance=335.62 1/4 distance=503.43
00004024 1123.57055664 [5852] Kiel Harbour & Canal Pilot Outbound setting new heading of 258 for waypoint 10
@TDW

here is one I tried just before the one above. As you can see it wanted to go to waypoint 0 where it should have picked 9 or 10. Could this be because it was outside the set resume limit for this one of 1000m

Quote:
00003966 1071.98022461 [5852] Kiel Harbour & Canal Pilot Outbound started WaypointResume=1000.0m
00003967 1071.98254395 [5852] Kiel Pilot will take you out of the harbour and through the canal. You may adjust TC anytime and speed once clear of wharf.
00003968 1071.98266602 [5852] Kiel Harbour & Canal Pilot Outbound no precondition specified
00003969 1071.98339844 [5852] Kiel Harbour & Canal Pilot Outbound starting from waypoint 0
00003970 1071.98339844 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 0 using precision navigation
00003971 1071.98339844 [5852] TC level changed to 1
00003972 1071.98352051 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 0 setting TC to 1
00003973 1071.98352051 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 0 using current depth
00003974 1071.98364258 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 0 using current speed for pre-speed
00003975 1071.98364258 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 0 using current speed
00003976 1071.98376465 [5852] Kiel Harbour & Canal Pilot Outbound waypoint 0: Distance=16509.85 3/4 distance=4127.46 1/2 distance=8254.93 1/4 distance=12382.39
00003977 1071.98388672 [5852] Kiel Harbour & Canal Pilot Outbound setting new heading of 86 for waypoint 0
00003978 1076.18359375 [5852] Kiel Harbour & Canal Pilot Outbound stopped
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-12-12, 04:48 PM   #265
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
@TDW

here is one I tried just before the one above. As you can see it wanted to go to waypoint 0 where it should have picked 9 or 10. Could this be because it was outside the set resume limit for this one of 1000m
Could be I have an error in my code. I'll look into it
TheDarkWraith is offline   Reply With Quote
Old 03-12-12, 05:29 PM   #266
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
@TDW

here is one I tried just before the one above. As you can see it wanted to go to waypoint 0 where it should have picked 9 or 10. Could this be because it was outside the set resume limit for this one of 1000m
I think I see the error (or I should say omission) in my code. I iterate over all the waypoints and while doing so:

if dist <= self.waypointresume:

I check to see if distance between uboat's current position and waypoint is less than or equal to the waypoint resume distance. If one is found great, if one isn't problem. The if one isn't is the omission - I never check to see what is the closest waypoint - instead I say go to waypoint 0. I'll fix this
TheDarkWraith is offline   Reply With Quote
Old 03-12-12, 05:48 PM   #267
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
here is one I tried just before the one above. As you can see it wanted to go to waypoint 0 where it should have picked 9 or 10. Could this be because it was outside the set resume limit for this one of 1000m
Disable the mod first. Place this file: http://www.mediafire.com/?l96fmiy4pdxa4mt in my UIs mod \data\Scripts\Menu folder. Re-enable mod. Retest. Problem should be fixed

I haven't tested it because I'm not at my gaming computer so you'll have to let me know the results
TheDarkWraith is offline   Reply With Quote
Old 03-12-12, 08:10 PM   #268
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

feedback , applied the patch . Started a test career leaving kiel and travelled along the kiel canal for 5 klms using the kiel harbor and canal outbound script . Saved the game and exited . Reloaded the save and applied the kiel harbor and canal outbound script again . The sub wants to turn around and head back to kiel . I have noticed that if you use the outbound script by unenabling and enabling it will work (i guess the sub has to be close to a waypoint<guess) . Ok , if i enable the outbound script and the sub heads back to kiel , i then just stop the script and then enable it again . When the sub gets to a waypoint it then turns around and heads the right way outbound . Hope this helps .
THE_MASK is offline   Reply With Quote
Old 03-12-12, 08:22 PM   #269
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
feedback , applied the patch . Started a test career leaving kiel and travelled along the kiel canal for 5 klms using the kiel harbor and canal outbound script . Saved the game and exited . Reloaded the save and applied the kiel harbor and canal outbound script again . The sub wants to turn around and head back to kiel . I have noticed that if you use the outbound script by unenabling and enabling it will work (i guess the sub has to be close to a waypoint<guess) . Ok , if i enable the outbound script and the sub heads back to kiel , i then just stop the script and then enable it again . When the sub gets to a waypoint it then turns around and heads the right way outbound . Hope this helps .
What is probably happening is you are closer to a waypoint behind you and that it why it appears to be returning to Kiel. Let it ride and see what happens. You'll probably see it turn around and head back the correct way once it reaches what it determined to be the closest waypoint when you enabled the script. Let me know if this is true or not.
TheDarkWraith is offline   Reply With Quote
Old 03-12-12, 08:47 PM   #270
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,226
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by TheDarkWraith View Post
What is probably happening is you are closer to a waypoint behind you and that it why it appears to be returning to Kiel. Let it ride and see what happens. You'll probably see it turn around and head back the correct way once it reaches what it determined to be the closest waypoint when you enabled the script. Let me know if this is true or not.
True .
THE_MASK is offline   Reply With Quote
Reply


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 11:46 PM.


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