wisp-gg / frontend

The frontend for WISP Game Panel
https://wisp.gg
MIT License
42 stars 15 forks source link

Rust Query Not Working #407

Closed ThePlay3r closed 1 year ago

ThePlay3r commented 1 year ago

Describe the bug

After Rust update, which requires the game and query port to be different, the Wisp's query doesn't work correctly - it tries to query using the game server port, which no longer works.

Expected Behavior

Wisp should query Rust servers using the Rust's query port, not the game port.

Actual Behavior

Wisp queries Rust servers using game port, resulting in the query failing.

Steps to Reproduce

  1. Create Rust server
  2. See that the queried port is wrong
  3. See that players/maxplayers and other query details are unknown.

Browser Details

Firefox 113.0b8 (64-bit)

Operating System

Windows 11

Optional additional information

No response

Software-Noob commented 1 year ago

This has been fixed in the next daemon update. It'll utilize QUERY_PORT env variable from the server when present, which so far has been the standard for all eggs that have a separate query port. Default eggs will be updated in the near future to accommodate this change and others.