harbingerofme / DebugToolkit

Debugging commands for Risk of Rain 2. Previously known as RoR2Cheats.
https://thunderstore.io/package/IHarbHD/DebugToolkit/
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

Add dump commands. Closes #102 #146

Closed SChinchi closed 1 year ago

SChinchi commented 1 year ago

Add the following commands:

dump_commands

The buff/inventory ones are useful for keeping track of who has what. The latter is also helpful to verify which characters get any NoTier items.

The stats one is mostly for wiki work, while the state one to get current stats during gameplay and/or skill cooldowns, entity state and AI values.

I wonder whether a new class should have been created instead to group all the commands, similar to Lists.cs, but that's all.

harbingerofme commented 1 year ago

Seems mostly right, but make the logs go Log.MessageNetworked(<blah>, args, LogLevel.MessageClientOnly); to ensure they end up at the right person

SChinchi commented 1 year ago

Ironically I had them initially as MessageNetworked but changed them because the commands aren't executed on the server.

Changed them as requested and also changed the related Lang.COMMANDNAME to Lang.COMMANDNAME_HELP to follow the naming convention properly.