Jump to content

ClientScriptLog send to Server


raynner

Recommended Posts

  • Scripting Moderators
12 minutes ago, raynner said:

Hello friends

I would like to know if it is possible to transfer the log files "debugscript" client side to store somehow on the server thank you.

Never used this before, but looks like it should do the job. Use with triggerServerEvent.

https://wiki.multitheftauto.com/wiki/OnClientDebugMessage

Link to comment

I'd suggest to not collect debug log for every client, as that will very quickly fill up with irrelevant logs as well as duplicates per every client if an error comes up for all players for example. It would be best to either limit it to collecting debug log from a very small sample of people, or keep on every client a buffer of the last x lines of debug, and send it over if they make a bug/glitch report or something.

  • Like 3
Link to comment
On 7/15/2019 at 11:36 AM, MrTasty said:

I'd suggest to not collect debug log for every client, as that will very quickly fill up with irrelevant logs as well as duplicates per every client if an error comes up for all players for example. It would be best to either limit it to collecting debug log from a very small sample of people, or keep on every client a buffer of the last x lines of debug, and send it over if they make a bug/glitch report or something.

no matter this for a beta face for a short time not permanently 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...