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

Fix the "Debug Controller" verb #5204

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LikeLakers2
Copy link
Contributor

@LikeLakers2 LikeLakers2 commented Jan 30, 2025

About The Pull Request

The "Debug Controller" verb wasn't doing anything. You'd click on it, and nothing would happen.

Turns out, it was searching for controllers in the wrong place - controllers are considered globals, not part of /world.

This PR fixes that. Now you get this fancy box instead of nothing:

image

(As an aside - choosing the Global Variables controller causes several seconds of lag, due to the mass amount of data that needs to be rendered. Perhaps a new verb should be added specifically for going through Global Variables?)

Why It's Good For The Game

Enables coders to debug the various controllers with less need for debug printing statements.

Why It's Terrible For The Game

Enables admins with debug permission to abuse the live server even harder.

Changelog

No player-facing changes. This regards a verb that should only be used during debugging (i.e. locally).

@LikeLakers2 LikeLakers2 force-pushed the project/debug-verbs/fix-debug-controller branch from 68c0c99 to 2e24fe4 Compare February 1, 2025 03:52
@LikeLakers2
Copy link
Contributor Author

Force-pushing to see if I can get the CI to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants