Opening a Godot project with Rivet in Windows opens 2 empty terminal windows

I am very new to Rivet (saw this a couple years ago, decided to finally try it), and am confused if this is expected behavior. When opening up my godot project with the Rivet plugin installed, two WIndows terminals also open, running pg_ctl.exe and deno.exe from Appdata/Roaming. Nothing is displayed in these terminals and they don't take input. Is this to be expected?
15 Replies
Pillber
PillberOP•12mo ago
I guess in a similar vein, is there any status indicator for progress in the setup steps? I pressed the first setup button and it says it is running, but I have no indication of what it is currently doing, and it has been running for a while. I'm gonna give it a lot of time just to be safe, but an expected time for how long some of the steps/output of what it is currently doing would be nice As an update: I let the config and sdk install run for about 30 minutes before I had to move on, and there was no indication of it was finished or not. Couldn't move on to the next step either. Gonna try and let it run overnight and see what happens. Currently, from my limited understanding and simple debug prints, the backend_sdk_update() signal is never being called from rivet_global.gd which is stalling the install process. I assume that the signal is called from somewhere else, but I can't find where that happens so can't trace any further (nor can I find any other places to find logging of any kind). I found a rivet_sdk folder from the plugin-godot repo. Could that be what I'm missing? Could I just copy that folder to my project? Musings from a lonely dev... I used the example sdk from the examples folder in the plugin-godot repo to see what would happen. It gets deleted on project reload, but I noticed a new error message in the Modules tab at the bottom of godot. It says the following (slightly edited to fit in discord limits and to remove personal data):
Auto-started by Rivet plugin.
[stderr] Waiting another process is currently modifying this project
[stderr] Editor http://127.0.0.1:24022
...
[stderr] [UNCAUGHT] Error: The system cannot move the file to a different disk drive. (os error 17): rename 'C:\Users\[username]\AppData\Roaming\rivet\projects\spacefight_sim_12_23005e9569731df3\backend\dev\sdk\godot' -> 'D:\godot\games\spacefight-sim-12\addons\rivet_sdk'
...
[stderr] Failed. Found 1 error.
Auto-started by Rivet plugin.
[stderr] Waiting another process is currently modifying this project
[stderr] Editor http://127.0.0.1:24022
...
[stderr] [UNCAUGHT] Error: The system cannot move the file to a different disk drive. (os error 17): rename 'C:\Users\[username]\AppData\Roaming\rivet\projects\spacefight_sim_12_23005e9569731df3\backend\dev\sdk\godot' -> 'D:\godot\games\spacefight-sim-12\addons\rivet_sdk'
...
[stderr] Failed. Found 1 error.
So it looks like it can't make the sdk if your godot project is in a different partition from the Roaming folder on Windows. Interesting... In fact, it seems to be the same as https://discord.com/channels/822914074136018994/1293065222541545473/1293065222541545473 ! It also seems that there are further steps that run that can only be run if the godot project is in the C: drive. That seems like important information to make known, as it took me a day to figure this out (so far, might still be issues but I'm feeling hopeful 😁 )
Nathan
Nathan•12mo ago
hey @Pillber! we've been having a lot of issues with Windows in the latest version, i'm sorry about that. we're working hard to get a simpler & more flexible version rolled out in a couple weeks.
Pillber
PillberOP•12mo ago
Awesome, good to hear! Would you say its better to try and learn what I can now and upgrade when the new plugin comes out, or should I just wait until the new plugin. Similarly, will the updated plugin come with more documentation? Most of the documentation on the website seems to be broken at the moment.
Nathan
Nathan•12mo ago
docs are rough right now. most of the current documentation lives under the /modules or in the quickstart (eg https://rivet.gg/modules/lobbies) the new plugin will have clearer docs, we'll be looking for feedback when it's out
Scott
Scott•12mo ago
There's nothing there in https://rivet.gg/modules/lobbies, showing "Not Found". Can you tell me what's going on?
Nicholas
Nicholas•12mo ago
Open Game Backend
Lobbies - Open Game Backend
Lobby & player management. Create & join lobbies instantly.
Nicholas
Nicholas•12mo ago
We will update it on the Rivet site , we just wanted to launch asap before the new year
Scott
Scott•12mo ago
Got it. The documentation provides a comprehensive set of APIs, but it doesn’t explain much about the parameters. For anyone just starting to use the modules, the following link is helpful for understanding: https://github.com/OpenGameBackend/OpenGameBackend/tree/main/modules/lobbies
GitHub
OpenGameBackend/modules/lobbies at main ¡ OpenGameBackend/OpenGameB...
🧩 The only backend your game needs. Powered by Rivet. - OpenGameBackend/OpenGameBackend
Nicholas
Nicholas•12mo ago
In terms of parameters, what do you mean?
Scott
Scott•12mo ago
While some variables are self-explanatory by name, others are not. For example, the "tags" parameter in the lobby dictionary wasn’t clear to me until I read this: https://github.com/OpenGameBackend/OpenGameBackend/tree/main/modules/lobbies. To enable tags, I learned that the taggable property needs to be set to true, which isn’t explained in the documentation.
GitHub
OpenGameBackend/modules/lobbies at main ¡ OpenGameBackend/OpenGameB...
🧩 The only backend your game needs. Powered by Rivet. - OpenGameBackend/OpenGameBackend
No description
Scott
Scott•12mo ago
I’m trying to address the following issues, but it seems challenging and time-consuming with the current documentation. Additionally, the only example provided for Version 2 is quite basic and doesn’t help with these specific questions. 1) Map and Skill-Based Matchmaking How can I implement matchmaking for specific maps while ensuring players are matched based on similar experience levels? I attempted to use the tags parameter in Rivet.lobbies.find_or_create(), but it didn’t work as expected. 2) Preventing Rematches For maps with low player counts (often just two players), how can I prevent the same players from being matched together repeatedly? Does Rivet handle this automatically? 3) Automatic Region Selection In Version 1, there was automatic region selection based on the client’s location, but this feature seems to have been removed in Version 2. Is there still a way to automatically select the optimal region for clients? 4) Disconnection Handling For PvP games, when a player disconnects, how can I ensure that only that specific player can reconnect to the match? Does Rivet provide built-in functionality for this? After reviewing the lobbies module github documentation, it seems that 1 and 3 might be solvable. I’ll try to work through all the issues and will get back to you if I’m unable to resolve them.
Muphet
Muphet•10mo ago
looks like this issue persist. enabling godot plugin constantly opens and closes terminal which interrupts everything
Nathan
Nathan•10mo ago
We're still working on getting our game engine integrations back up to date, I apologize for issues
Kalado
Kalado•7mo ago
Is there a rough ETA for up-2-date godot integration?
Nicholas
Nicholas•7mo ago
@Kalado we are not going to do a direct integration with Godot anymore in the foreseeable future. Rivet still works for games, but not as easy as an integration: https://rivet.gg/docs/solutions/game-servers
Rivet
Multiplayer Game Servers - Rivet
Rivet provides a robust platform for deploying, scaling, and managing game servers globally.

Did you find this page helpful?