StunlockStudios / vrising-dedicated-server-instructions

V Rising Dedicated Server Instructions
474 stars 45 forks source link

Same issue with Steamworks.RulesFailedToRespond:Invoke() #65

Open NervousNinja opened 2 years ago

NervousNinja commented 2 years ago

Hey all, I too am trying to get the dedicated server to work. I followed all the standard instructions on standing up the Server, and downloaded the SteamCMD to be safe. Opened up the recommended ports, and still cannot seem to get either the EXE or the "example" BAT to do anything. Seems to lock up on the "Steamworks.RulesFailedToRespond:Invoke()" issue. Or when I run the provided example BAT nothing shows up in the Server list... Thoughts on the best fix? Thanks all.

mattamd commented 2 years ago

I was able to fix this issue by going into the VRisingServer.exe and toggling it to Run as Administrator (not the batch file, but the actual .exe called by the start server batch file). When you kick off the .bat file now to start the server you should see a second window for the VRisingServer.exe as well. Assuming you've got the correct ports forwarded on your router and allowed through Windows Firewall (9876, 9877, 27015) this should show up right in the server browser.

If you're not familiar with the process, just right click on the VRisingServer.exe and go to Properties > Compatibility and then about 3/4 down on the window, check the box for "run this program as an administrator".

NervousNinja commented 2 years ago

ports forwarded

Thanks you MattAMD, and that did get me some progress. I did set the file to run as a Admin, and per your comment, it now does open up a second window of the "server starting" I believe. That said, I do not see an scrolling text in the second box of it actually deploying anything. Just remains Black. Is that the same for you? Regardless, I then going into V-Rising (the Game), and I am still not showing up as a option in the Server list. I also tried a Direct-Connect with my IP, but it times out.

I can confirm that I have opened the right Ports in Firewall, and have turning on Port-Forwarding on the Router. Any other thoughts for something that could be stopping me from showing up? Thanks for the aid.

mattamd commented 2 years ago

Did you make the incoming firewall changes to your Windows Firewall as well? You'll need to allow those ports to come in using TCP/UDP for both steamcmd.exe and VRisingServer.exe

This is how I have mine set up.

image

You can quickly test to see if it's Windows Firewall blocking it by going it to the profile settings for your current connection and changing the rule to Allow (temporarily of course). This is just a quick way to figure out if it's your Windows Firewall causing the issue. You should change this back after you figure out the issue.

image

Now fire up the server and use the Steam servers list straight from the client. image

Then go to the favorites tab and Add Server at the bottom right. Enter your IP and port 9877. It should show up within a few seconds. Add it to favorites and it's a quick way to check if the server is online while you troubleshoot. The in game server browser has A LOT of servers so it doesn't always show up there right away.

image

As I mentioned before, you want to make sure you tighten everything back up when you're done if it's all working.

NervousNinja commented 2 years ago

Thanks again Matt AMD for the continued help and very clear instruction. Did everything you recommended above and still no dice... Going to share to screen shots and let me know if you have any thoughts.

First, if I run the ".bat" file to open everything, I get the two windows you describe, by the second one never seems to do anything. Just stays blank (Below). Does yours do the same?

image


Second, if I run the ".exe" instead, I get the following Error out, and it closes itself. I am guessing that is the crux of the problem, but uncertain what it is trying to point at... Thoughts?

image