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"

Is it possible to create a dedicated server in unreal engine 4.13.2 for an Android game ?'

Hi everyone,

I am trying to create a game for Android, where multiple players connect each other over internet and play together. therefore the server cannot be on any client and hence requiring a dedicated server.

I have looked into this in many forms and the only way specified in these is that we download a source file form Github.

First let me tell that i am not so good at c++ scripting, more of a blueprint guy here.

So my question here is weather creating a dedicated server now possible in ue 4.13 for mobile games ?

Product Version: UE 4.13
Tags:
more ▼

asked Nov 17 '16 at 06:21 PM in Using UE4

avatar image

khadar
20 3 5 7

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

2 answers: sort voted first

this is my video tutorial on how to build a standalone dedicated server in unreal engine - I do this for my android game - so yes its 100% possible https://www.youtube.com/watch?v=3j72KCPUdog&list=PLALACwdM1brNg_FlthxyVIe7ixFIML0wR&index=6&t=2s

more ▼

answered Nov 21 '16 at 10:30 AM

avatar image

BPANDREW
995 22 26 125

avatar image khadar Nov 24 '16 at 06:56 PM

Hi, Thanks for your reply.

I have followed all steps and i was able to successfully build the dedicated server. but the connection is only being established if your on the same network i mean only local connections are taking place with the local ip.

What do i need to do if i require to connect the dedicated server from internet from my friends place or somewhere outside?

Please excuse me if my terminologies are not right. i am not so good at networking.

Thanks man.

avatar image BPANDREW Nov 24 '16 at 07:53 PM

you are going to want to open tcp/udp port 7777 on both your router and your computer - also your router needs to forward those ports to your server

you can also integrate steam, that kind of helps take care of this problem for you

also if you don't mind - please accept my answer, I'd really like to earn a badge on the forum

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

Mobile devices in network are no different then desktop or even server and most code of UE4 works on mobile, so yes you can connect from mobile to desktop and dedicated server and if im not mistaken you can even host game in mobile. Main difference here is that not all onlinesubsystem is avable on all platforms (for example there no Steam on Android), but with raw connections i don't know why you even asking this question ofcorse it gonna work;p

more ▼

answered Nov 17 '16 at 08:09 PM

avatar image

Shadowriver
35.9k 929 169 1105

avatar image khadar Nov 19 '16 at 07:06 PM

Thank you for your immediate response.

i have already created a game, where one mobile hosts the game acting as server and the other joins as a listener and it works fine but this works only over lan, wifi or by creating Hotspot on your device and sharing the IP. However my attempt here now is to create a dedicated server so that mobile clients can join this server from their respective places over the Internet.

The Ideology is a little complex to my basic understanding of networking hence i am a little stuck. Could you please help me out in this, Can you please suggest me any tutorials or documentations that could help me achieve building a dedicated server based game for mobile.

Thanks in advance

avatar image khadar Nov 19 '16 at 07:07 PM

Thank you for your immediate response.

i have already created a game, where one mobile hosts the game acting as server and the other joins as a listener and it works fine but this works only over lan, wifi or by creating Hotspot on your device and sharing the IP. However my attempt here now is to create a dedicated server so that mobile clients can join this server from their respective places over the Internet.

The Ideology is a little complex to my basic understanding of networking hence i am a little stuck. Could you please help me out in this, Can you please suggest me any tutorials or documentations that could help me achieve building a dedicated server based game for mobile.

Thanks in advance

(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