Crash Offsets
-
Unfortunately I’ve been unable to reliably replicate this one and haven’t been able to get the game to crash in the same area again! I’ve made a note so it should flag up the next time it occurs while I’m testing. If I can reliably get it crashing I’ll try running it with my client hooks w/ the debugger attached, and if that fails, with OllyDbg
-
I have tried to keep myself out of Freelancer for a time, but I found a way to start story missions in a live server though some weird tricks, I couldnt help myself to finish this thing, in that time I have documented some crash offsets that might be useful
(If anyone wants to see how I did this, I put the source code in the Moddb website in the download link, “Freelancer Co-Op Campaign Mode”, my code is very bad but StartStory() function explains how it is done)
content.dll+1aa9f _SendMessage (Server uses this to communicate with every function) crashes due to following reason; if anyone calls Story mission "Act_State = SUCCEED" server will call DestroyInstance for every story instances are running, it will crash the server if there are more than 1 in action this can be temporarily fixed by altering the function, which prevents DestroyInstance erase Story instances (it will only stop the last instance which Co-Op mod does for 0x1 iClientID) (BIG NOTE: this offset effects even random missions, restart the server as soon as "missions" ends) (Another big note: Act_State = SUCCEED" function itself needs to be changed, in order to have everyone their own instances and make them successfuly finish)
content.dll+49c95 settimer assignment error, unstable instance for unknown reasons
content.dll+89651 reputation based error (happened when SP Story reputation functions are enabled in MP)
content.dll+2d541 story manager tried to submit an order/reputation to a NPC that does not exist documented this bug at SpawnShip within initState = ACTIVE trigger
content.dll+55796 Client crashed during MP base cutscene when server shut down (crash in DestroyInstance)
content.dll+25cc9 Story trigger, Act_LockDock error?, possible nullpointer base? it might be related to other story triggers too(Previous OPjump does initilaize every trigger of story manager)
Content.dll+2FE8F AI logic error, as far as I can tell, 3 different functions use this area, one of them controls their orders as they spawn and the other one upon destruction
Common.dll+6c282 Group formation leader error, unknown
Freelancer.exe+13d55a Client tried to dock to a solar that does not exist from its perspective, either done through SwitchOut or following a formation leader that is docking
Freelancer.exe+1469F6 Client tried to sends its targetting information to the server, but failed (tried to target during SystemSwitchOut)
Freelancer.exe+001aad50 Based on pure speculation, Client tried to switch chars during server froze and it crashed
UNKNOWN/UNKNOWN Observed multiple times, if a Story mission called a [Trigger] but has no Cnd_ condition line
Server.dll+f988 Client and Server failed to sync jump destination system, causes crash in Singleplayer
-
IrateRedKite Administrators Historic Supporter Wiki Contributorreplied to Venemon on global:last_edited_by,
@Venemon Can’t stay away huh? Thanks for the contributions, I’ve added these to the crash offsets page.
-
IrateRedKite Administrators Historic Supporter Wiki Contributorreplied to josbyte on global:last_edited_by,
@josbyte Added to the wiki, thanks for the addition
-
Glad to help. another one i just had with random missions
1aa9f
It is already on the list as something related to server stuff, but this also happpens when, for example in my case, you are missing m13.ini file on a open sp. This offset has a bunch of causes but in general it is “Freelancer function that has the task to control the player status on missions had a problem , could be that it doesn’t know if the next mission is a story mission or keep the player doing random missions, or it mistakenly thinks the player is on a story mission when it isn’t”
You guys can word that better than me, hope it helps.
-
@josbyte I’ve amended both of these offsets in the wiki.
8381a
was actually already present as I had this when we had a file generator write ‘nan’ into the price field, so it’s any sort of invalid value here. Have updated it to make it clear that 0 isn’t an option for prices! -
IrateRedKite Administrators Historic Supporter Wiki Contributorreplied to josbyte global:last_edited_by,
@josbyte I’ll add this to the wiki, but which dll file is the crash occurring in? My guess would be common.dll or freelancer.exe but I don’t have the time to replicate the crash at the moment
-
Nombre de aplicación con errores: Freelancer.exe, versión: 1.0.1223.11, marca de tiempo: 0x3e401b79
Nombre del módulo con errores: unknown, versión: 0.0.0.0, marca de tiempo: 0x00000000
Código de excepción: 0xc0000005
Desplazamiento con errores: 0x2a397241
Id. de proceso con errores: 0x3FE4Right! sorry, tho it says unknown, maybe it is just fl.exe itself
-
Curious, I’ll hold off on adding this and see if I can’t replicate the crash on a pure vanilla install and get a faulting module this afternoon. At what point does the crash occur, presumably when attempting to spawn the NPC?