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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-05-11, 05:30 AM   #1
0rpheus
Grey Wolf
 
Join Date: Jul 2011
Location: UK
Posts: 857
Downloads: 87
Uploads: 3
Default Orbitgamefacade.cpp Problem

This is a repost from the FX Update thread as it needs it's own topic. Please read carefully, this will need modders help (hence posting it here) as it's a complicated issue and possible one connected to Ubisoft's servers. Here's where it started:

I ran dbg view this afternoon (didn't take long before I got one) and the lines immediately preceding a CTD are:

00001284 604.12487793 [792] ..\..\..\..\..\launcher\libcontrollers\src\launche r\controllers\OrbitGameFacade.cpp(297) : Game disconnected.
00001285 604.12585449 [1924] SH_ServerOrbitProtocol.cpp (111): Failed to read packet from client.

Which is exactly the same as this guy:
http://www.subsim.com/radioroom/show....php?p=1711455

and this guy:
http://www.subsim.com/radioroom/show....php?p=1706017

and this guy:
http://www.subsim.com/radioroom/show...162462&page=74

who also says that :http://www.subsim.com/radioroom/show...postcount=1109
Quote:
Uninstalled all mods, reinstalled only Magnum opus 0.1 and the patch.

Found the cause...

Installing FX_Update_0_0_16_2_ByTheDarkWraith brings the bug back.

...and if it helps any - the ship what is causing the crash was some small french "escort ship".

With a bit of Google-fu and research this comes up:

From AC Brotherhood: http://forums.steampowered.com/forum...1&postcount=23

And Settlers 7 (4th post): http://forums.ubi.com/eve/forums/a/t...8/m/1591010829

and finally this post from subsim: http://174.123.69.202/~subsimc/radio...postcount=7197

In the final one, orbitgamefacade.cpp is connecting to the Ubi Servers to sync savegames, while the other two are both issues connecting to ubi servers:

Quote:
Originally Posted by subsim
[616] ..\..\..\..\..\launcher\libcontrollers\src\launche r\controllers\OrbitGameFacade.cpp(593) : Savegame Read Request. MD5 of Data: 012b9d0f96888320c44b08bf11ce41b4 number of bytes: 16384
So what we've got is a connection problem, do you think? The client (I assume the game launcher) is trying to send a packet of data to the ubi servers - and as it's not getting through, it's killing the game? I have my settings set not to sync saves, which I thought was meant to prevent problems like this - but I still get the message at game start regardless. Do you guys get that message too?

Further thought brings me back to this message:

Quote:
00001281 599.81140137 [1924] Entities.cpp (83): Process Message:
00001282 599.81146240 [1924] Entities.cpp (114): OSI Ping
00001283 599.81152344 [1924] Entities.cpp (123): succeeded
This crops up a lot and from the 'Entities' tag I assume this is something to do with ships near the sub, or something along those lines? Now I've noticed that sometimes autosaves are triggered in game when in proximity to ships, presumably when game states change from hunter to hunted (going from my very limited understanding here) or stuff like that. If this 'Entities' code is generating a state change that triggers an autosave (and in my log it's at TC16 when it happens, not sure if that's a factor or not), and that save tries to connect to the server for verification and fails... and then we get:

Quote:
00001281 599.81140137 [1924] Entities.cpp (83): Process Message:
00001282 599.81146240 [1924] Entities.cpp (114): OSI Ping
00001283 599.81152344 [1924] Entities.cpp (123): succeeded
00001284 604.12487793 [792] ..\..\..\..\..\launcher\libcontrollers\src\launche r\controllers\OrbitGameFacade.cpp(297) : Game disconnected.
00001285 604.12585449 [1924] SH_ServerOrbitProtocol.cpp (111): Failed to read packet from client.
Course this is all speculation and I really know jack about this kinda thing... what do you guys think? Also, orbitcpp is c++; http://orbitcpp.sourceforge.net/

So, questions, assuming this is some kind of connection error:

What is triggering the connection? A ship? State change? Why this ship/state and no others? And can we stop it from happening?
Do you still get the 'syncing savegames' window at game menu start when syncing is switched to off in the launcher?
This mysterious 'French Escort Ship' - is it that one ship causing CTD for everyone? Can someone look at French escorts to see if there's anything out of place?

This needs modders attention or at least someone who knows a little about connections/C++/Sh5 internal processes and objects. This seems to be quite a frequent cause of CTD through several Ubi games and if we can figure it out it'll make a lot of captains happy!

Last edited by 0rpheus; 08-05-11 at 07:07 AM.
0rpheus is offline   Reply With Quote
 


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 01:39 AM.


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