x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Steam API and Unreal Dedicated Server

We´ve created a server gameplay module for our server side gamemodes and succesfully built a dedicated server running that without any problem. But how can we setup Steam API to work with our dedicated server? There´s nothing about it in the Unreal documentation and we don´t know what is the best approach to do that. If we start our dedicated server with a log window and our steam client closed, the dedicated server throws a warning:

alt text

If we start the Steam Client, then there's no warning on the server log window.

The question is: Why?

Dedicated servers are not supposed to work that way. Dedicated servers using Steam API should register within Steam master server without using the Steam client. So, we're supposed to integrate that Steam API functionality by ourselves? Or maybe we're doing it wrong.. We got Steam API up and running with our client, but we don't know how to work with it in the dedicated server as there's not any information about it in the docs.

Also, why is it giving the possibility of running with -NOSTEAM cmdline? We don't want people to be able to use the dedicated server without Steam.

I hope you guys can give me us an answer, thank you very much!

Product Version: Not Selected
Tags:
more ▼

asked Feb 07 '15 at 03:37 AM in C++ Programming

avatar image

Sveitar
1k 8 24 28

avatar image Byte1 Feb 09 '15 at 04:25 PM

So, if you just run the server without Steam being open, it throws the error etc?

It shouldn't be doing that, if everything is flagged right, according to

 const bool bIsServer = IsRunningDedicatedServer();
         
 // Don't initialize the Steam Client API if we are launching as a server
 bool bClientInitSuccess = !bIsServer ? InitSteamworksClient(bRelaunchInSteam, RelaunchAppId) : true;

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Sadly this is NOT supported, despite appearing to "sort of" work under some circumstances and even being able to get it running, you will not be able to find your session in the session list.

more ▼

answered Dec 22 '15 at 12:47 AM

avatar image

Chaoss
6 8 13 19

avatar image SOuNDSNC Nov 01 '18 at 06:37 PM

This is not correct.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question