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"

What differences are there between Null multiplayer and Steam multiplayer?

Hello, again!

We create multiplayer game prototype, that works with OnlineSubsystemNull. All works fine. But now we need to rewrite multiplayer to use Steam.

I'm already integrate steamworks( with appid=480 ) and steam overlay shown in application. But now connecting with command "open IP" crashes program somewhere in engineloop. Yeah, i'm not sure that host created properly.

I'm sure that we need some additional steps and some changes in code to get all work. After searching in Rama questions i'm found "open steam.#//" that requries some UserID.

Than there are two questions:

  1. How to create host using Steam?

  2. How to connect to created host using Steam?

Any code examples ?

Thanks! :)

Product Version: Not Selected
more ▼

asked May 21 '14 at 06:16 AM in C++ Programming

avatar image

173 13 12 23

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

1 answer: sort voted first

Solved. There are 3 changes, that needed to run server and connect to it using Steam.

  1. Write additional argument in Server Travel URL : "MapName?listen?steamsockets" ( Found in old UE3 docs and Rama tutorials (thanks!) I'm not sure about it... But better to be careful. )

  2. Change Client Travel URL. Instead "open IP" form use "open Steam.SteamUID". Where SteamUID - Server unique ID.

  3. You can get SteamUID from GetWorld()->GetNetDriver()->LowLevelGetNetworkNumber(). On server of course.

That's all.

P.S. Also you must forward 3(!) port on router instead 1: 7777, 7778, 27015. Or whatever ports you wrote in config. Be careful!

more ▼

answered May 23 '14 at 06:58 AM

avatar image

173 13 12 23

(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