Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialization of the ID packet failed. #2970

Open
Heisenberg691 opened this issue Nov 30, 2024 · 0 comments
Open

Serialization of the ID packet failed. #2970

Heisenberg691 opened this issue Nov 30, 2024 · 0 comments
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Heisenberg691
Copy link

Heisenberg691 commented Nov 30, 2024

What happened?

Server-side command execution with a very long string as an argument failed with the error: 'Serialization of the -1316139068 packet failed. Please report this error at https://github.com/citizenfx/fivem.'

Use case:
I’m using a server-side command with JSON-encoded data as an argument and sending the data to the client. For example, JSON-encoded data for vehicle properties, ped clothing data (drawables, decorations, props, etc.). If the string is too long, the command fails.

Client-side command works as intended.

Expected result

The command should execute successfully with a very long string as an argument.

Reproduction steps

  1. Register server side command:
RegisterCommand('packet_test',function (source,args)
    print(args[1])
end)
  1. Execute the command with a very long string as an argument.
    Example repro string: https://pastebin.com/it1gRKCV

Result:

report

Importancy

Slight inconvenience

Area(s)

FiveM, FXServer

Specific version(s)

Fivem (Beta) b3095, Windows FxServer: 11535 (latest at the moment)

Additional information

No response

@Heisenberg691 Heisenberg691 added bug triage Needs a preliminary assessment to determine the urgency and required action labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

1 participant