Server Crash with known cause - Server Setters

For a good bug report you should probably include:

  1. Client (production/canary) and FXServer version:
  • Server - FXServer-master SERVER v1.0.0.5848 win32
  • Client - Any
  1. What you expected to happen:
  • The Server not Crashing
  1. What actually happens:
  • The Server is Crashing
  1. Category of bug (eg. client, server, weapons, peds, native)
  • The bug is server side, using server setters
  1. Reproducible steps, preferably with example script(s):
  • Wait until the server has 800 players and then spawn a vehicle or an object using the natives CreateObjectNoOffset, CreateVehicleServerSetter and CreatePed

Here is the full dump file - DUMP

If there are any questions left unanswered feel free to ask!

With further investigation, I can tall that the server crashes when this function starts returning 0

I can also tell that the server crashes here:

And looking at the stack trace I can tell that this is called from here:

1 Like

Might be a good idea to upload your crash dump compressed with something like 7zip

Hi! Sure dump.zip - Google Drive

I’ve updated the artifacts to the most recent version and instead of the server crashing, players are crashing. (Only when using thoose natives)

Here is the CRASH

1 Like

Looks like you are supplying an incorrect type to CreateVehicleServerSetter. In this instance, “boat” to a model whose VehicleType is not a boat.

3 Likes

It should still not crash, because of this, but throw an error.

1 Like

No one has a solution after all this time with the CreateVehicleServerSetter causing the server to crash?