View Single Post
Old 09-08-15, 12:21 PM   #233
MaMa
Bosun
 
Join Date: Jun 2010
Location: Italy
Posts: 69
Downloads: 108
Uploads: 0
Default

Hi to everyone... my first post here after years of membership in this great community !

After more than a year i got back to SH5 last week and i found for the first time the problem discussed in this thread...

After some investigation i found the cause of the problem... not the solution as i'm not a programmer but i think that's a little step worth mentioning. Beside this, the problem is not related to any MOD at all, my tests were done with the vanilla game, starting from the tutorial and from saved game campaigns... :

the campaign updates are managed by an application (called OSI) installed in the UPlay folder. This application starts with the main game and everytime a game is started from the beginning or loaded from a saved game it loads some commands dedicated to the update of the campaign and the tonnage bar as well... it seems not dependent from UPlay being online or offline nor from savegames being synchronized or not with UPlay main server (my thoughts are that Ubisoft moved those files in the UPlay folder and started using this application since the SH5 server isn't working anymore. In the previous versions of UPlay they weren't available...i'm not sure of this however).

Using the Debug viewer (found in a MOD, the UI mod from TDW if i'm not mistaken) i scanned OSI actions and after a lot of trials i found the difference between the game operating regularly and when it start bugged. It's all related to these strings :

- This one is the bugged one :

00000277 964.91510010 [3024] SH_OSI.cpp (50): SH5 online OSI Started
00000278 964.91522217 [3024] SH_OSI.cpp (68): Ready for Messages
00000279 964.91851807 [3024] orbit\helpers\DistLogBackend.cpp (51): No logbal_host specified. Distlogging disabled
00000280 965.06890869 [3024] SH_ServerOrbitProtocol.cpp (89): Got incomming connection to orbit spawn.
00000291 1172.60546875 [3024] Entities.cpp (83): Process Message:
00000292 1172.60559082 [3024] Entities.cpp (91): Init OSI user profile
00000293 1172.60571289 [3024] Entities.cpp (123): succeeded
00000294 1172.60595703 [3024] Entities.cpp (83): Process Message:
00000295 1172.60607910 [3024] Entities.cpp (94): Init OSI campaign objective
00000296 1172.60620117 [3024] Entities.cpp (123): succeeded
00000297 1196.14514160 [3024] Entities.cpp (83): Process Message:
00000298 1196.14562988 [3024] Entities.cpp (114): OSI Ping
00000299 1196.14599609 [3024] Entities.cpp (123): succeeded

As you can see there's only one string related to the user profile, nothing more...

- Here it is the correct procedure. When i found those strings loaded everything was running well, tonnage bar updated correctly and campaign also updated regularly :

00000053 63.32303238 [3604] SH_OSI.cpp (50): SH5 online OSI Started
00000054 63.32321167 [3604] SH_OSI.cpp (68): Ready for Messages
00000055 63.32634735 [3604] orbit\helpers\DistLogBackend.cpp (51): No logbal_host specified. Distlogging disabled
00000056 63.34624481 [3604] SH_ServerOrbitProtocol.cpp (89): Got incomming connection to orbit spawn.
00000066 138.39007568 [3604] Entities.cpp (83): Process Message:
00000067 138.39050293 [3604] Entities.cpp (114): OSI Ping
00000068 138.39071655 [3604] Entities.cpp (123): succeeded
00000069 139.62884521 [2880] Start Campaign Screen
00000070 318.50369263 [3604] Entities.cpp (83): Process Message:
00000071 318.50411987 [3604] Entities.cpp (91): Init OSI user profile
00000072 318.50466919 [3604] Entities.cpp (123): succeeded
00000073 318.50473022 [3604] Entities.cpp (83): Process Message:
00000074 318.50494385 [3604] Entities.cpp (94): Init OSI campaign objective
00000075 318.50500488 [3604] Entities.cpp (123): succeeded
00000076 318.50534058 [3604] Entities.cpp (83): Process Message:
00000077 318.50540161 [3604] Entities.cpp (97): Init OSI map zones
00000078 318.50546265 [3604] Entities.cpp (123): succeeded
00000079 318.50588989 [3604] Entities.cpp (83): Process Message:
00000080 318.50662231 [3604] Entities.cpp (100): Init OSI campaign named entities
00000081 318.50668335 [3604] Entities.cpp (123): succeeded
00000082 318.50701904 [3604] Entities.cpp (83): Process Message:
00000083 318.50711060 [3604] Entities.cpp (114): OSI Ping
00000084 318.50717163 [3604] Entities.cpp (123): succeeded
00000085 319.99963379 [3604] Entities.cpp (83): Process Message:
00000086 319.99969482 [3604] Entities.cpp (109): OSI Eval campaign objectives
00000087 319.99996948 [3604] Entities.cpp (123): succeeded
00000088 335.96643066 [3604] Entities.cpp (83): Process Message:
00000089 335.96673584 [3604] Entities.cpp (114): OSI Ping
00000090 335.96685791 [3604] Entities.cpp (123): succeeded

In Yellow you can find the strings related to the campaign updating and the tonnage bar filling. Each time an event occurs, such sinking a ship, the application elaborate the string "OSI Eval campaign objectives" and update everything...

As stated before, i'm not a programmer, so i don't know if anything is possible on solving this issue... the Ubisoft support admitted that there is no more people available on supporting this game thus leaving me without answers...

I just wanted to share those informations with everyone, maybe someone may find them useful... in fact, by looking at those strings in the debug viewer running, it's possible to understand immediately if the game is running fine or not, if not you just need to reload the game or to restart it (if it was the beginning of a campaign game) until those strings are displayed on the viewer (beware that more often the game starts bugged than not... ).

Sorry for the long post... hope it helps...
MaMa is offline   Reply With Quote