mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-24 12:26:20 +02:00
The console answered every command missing from ReSkate's own list itself, as unknown, so a plugin's command (ptest) never reached the plugins on the game thread. Now only ReSkate's local commands run there; anything else is queued, and the game thread tries the plugins first and answers unknown as before when none has it. Checked in game: ptest all, 45 passed, 0 failed.
Test plugins
Two plugins that check ReSkate's plugin host (Extension/Plugins). To try one in game, copy its
folder into the game's Mods folder and open the console.
- reskate-test calls every plugin API and says what worked.
ptest allruns every check,ptest <module>one module, andptest listnames them. It prints only the failures and a summary line. Each API ReSkate adds gets a module inplugin/checks/. It's also the example to copy when making a plugin. - reskate-hostile attacks the sandbox on purpose, one attack per command.
hostile listnames them with what should happen. An attack that gets it stopped is expected:plugin on reskate-hostilestarts it again for the next one. Any line starting withESCAPEDis a hole in the sandbox.
Both also run without the game, in dingosdk_plugin_tests (DINGOSDK_BUILD_PLUGIN_TESTS).