Skip to content

Troubleshooting

DataNext edited this page Apr 29, 2025 · 5 revisions

Issues

If you have an issue, do whatever you need to fix it.
Idk, open an issue, or clone the repo, find a fix for your problem and the open a pull request.
Please don't, i lost my mind doing this library

FAQ

Sonar doesn't seems to update when i call a method?

The reason ? The UI of GG is broken.
Believe me, Sonar updated internally. To update the UI, you can close and reopen GG.
Still don't believe me ? Put on some music, set the Media volume to 0%, and then set the Media volume to 100% via code.
Yeah i know, this is annoying, but you will need to work with this since sonar is bad.
Actually sonar is so shit that's the reason why they don't open a public api meticulously made. And then guys like me try to make something usable by everyone but with lots of defects, because a lot of things makes fucking no sense in their api. And so, we need to assume that your users will have sonar running in background.

How do I manually access the API?

First, you'll need the ip address and port of the api server.
Simply do

Console.WriteLine(SonarRetriever.Instance.WebServerAddress());

Then you can use the associated api route pinned under each categories.
e.g. : http://localhost:xxxxx/mode will show you the current sonar mode in a json format

Clone this wiki locally