SOLVED onFatalError 22

Thank you, it worked perfectly, so i presume it's a "server side" problem.
Can you tell me what elements you have outside tracks and cars ?
Here is my content when unselecting Loc, Veh and mods ...

Capture.JPG

Just to check if i miss something.
 
@DanRZ The Trace File from the first Post, is it from you as the Client or from the Dedicated Server?
If it was from you, could you upload a Trace File from the Server, from when it crashes?
Maybe we can see something in it.
 
@DanRZ In the Mod Manager from the Server, when you mark the Server Mod, do you get any Errors shown in the right Bottom Field (where the green Arrow is)?
Unbenannt-1.jpg
 
I checked at some point and got no error.
Everything looks fine when i created the mod, and add the track and car.
And i can connect to it, drive and then after 10~20 seconds, server stops and i get "connection lost".
For the few seconds, everything is fine, track is loaded and car too, and i can drive normally without anything looking wrong or missing.

I just realized maybe there is some interaction with my plugins, i load a few of them : liveracers, stockcarrules, shared memory, ...

I will try removing all of them and see if it works better. Last chance ...
 
I'm happy, i think i found the cause but it was my own fault :oops:

I use a "modified" WelcomePlugin that checks the description of cars
to use /setmass based on it ( BOP management ).

Every car has a description like :
  • Description="Vanwall Racing 2022 #6"
But BTCC 90s are like :
  • Description="#002 NISSAN PRIMERA BTCC"
My plugin was looking for a # in the right of the string to removes #xxx.
That's what surely caused a crash of the plugin.
I'm still investigating but it looks like it's the problem.
I need to secure my code when searching for the "#xxx" to remove.

And by the way, onFatalError 22 is probably a signal that some plugin exited "abruptly" and causing the application to stop normally without any minidump or else.

Thanks for all the help, by searching what was different in my server, i finally got it.
It was definitely on server side and on my own side.

;)


Edit : Problem solved, i adapted my code to check # and blanks positions better and problem is gone ...
 
Last edited:
Back
Top