Skip to content

Commit

Permalink
OSCQuery Default Off
Browse files Browse the repository at this point in the history
Some functionality of OSCQuery is not really ideal. Going to leave it off by default as it may cause more harm than good for non advanced users.
  • Loading branch information
ZenithVal committed Sep 15, 2023
1 parent 22ef9a6 commit a945d0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Configs/ConfigManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void Reset() {
File.Delete("app.pass");
File.WriteAllText(CONFIG_FILE, TomletMain.TomlStringFrom(new MainConfig {

oscQuery = true,
oscQuery = false,
ipAddress = "127.0.0.1",
listener_port = 9001,
write_port = 9000,
Expand Down
6 changes: 1 addition & 5 deletions VRChatConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ public static void Start() {
try {
listener_port = Extensions.GetAvailableUdpPort();

//TODO: Query VRChat for the write port.
//write_port =


//This works but it just gets EVERYTHING. Pain.
//This works but OSCQuery currently sends EVERYTHING. It's not ideal.
_oscQueryService = new OSCQueryServiceBuilder()
.WithServiceName("OSCLock")
.WithUdpPort(listener_port)
Expand Down

0 comments on commit a945d0f

Please sign in to comment.