Skip to content

debugscript behavior needs tweaking #3498

@sacr1ficez

Description

@sacr1ficez

Describe the bug

Currently debugscript doesn't behave accordingly to it's description:

debugscript: Modes available are 0 (None), 1 (Errors), 2 (Errors + Warnings), 3 (All)

As of now it checks whether debug level of player is equal or higher than debug level of message. Do note that outputDebugString makes use of levels from 0 to 4. Moreover, client seems to miss relevant checks; by having /debugscript set to 1 all of client-side debug messages would be displayed, but it should display errors only.

Steps to reproduce

Play around with outputDebugString and /debugscript

Version

No response

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions