Announcement

Collapse
No announcement yet.

Android multiplayer wlan: Android as host device problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Did they fix the problem of it returning localhost in 4.24 or 4.25?

    Leave a comment:


  • replied
    Something for 4.24? 4.23 returns localhost during session connection

    Leave a comment:


  • replied
    Originally posted by hossamxnowiser View Post

    i cant get to links of github , i have linked my account but its not working

    any one solve hosting on android devices plz help

    thx all
    I just checked the git links are definitely still working fine. Epic hosts all of their source code there! Double you checked you linked the correct account as per the instructions here:
    https://www.unrealengine.com/ue4-on-github
    logout and log back into github?

    PS: this workaround should in theory only be required for versions before 4.12...

    Leave a comment:


  • replied
    Originally posted by aussieburger View Post
    Here's a brief step-by-step for how I got it working. PS: I'm not a C++ programmer either and while the end result of these steps is it all works via blueprints, you do need to mess around with visual studio unfortunately:
    1. link your unreal and github account as per: https://www.unrealengine.com/ue4-on-github
    2. download the zip source code of the engine: https://github.com/EpicGames/UnrealEngine/tree/4.10
    3. have Visual Studio express installed
    4. exact zip and run setup (will take ages)
    5. run GenerateProjectFiles.bat as admin
    6. open UE4.sln which will open UE4 source in Visual Studio
    7. Build windows 64 | Development Editor (will take ages)
    8. replace the two whole files from the pull request: https://github.com/EpicGames/UnrealE...ull/1820/files
    9. Build Android | Development (will take ages)
    10. Build Android | Shipping (will take ages)
    11. Now you can open your freshly built engine with the fix in place. Located: \Engine\Binaries\Win64\UE4Editor.exe (it will take absolutely ages the first time you open and do anything)


    For all that building stuff you can find documentation from Epic games on how to do it on this link: https://github.com/EpicGames/UnrealEngine/tree/4.10

    I actually used branch 4.9 however all branches should work in theory

    Annoying we need to do this - hope Epic can give feedback on putting the fix in for all!
    i cant get to links of github , i have linked my account but its not working

    any one solve hosting on android devices plz help

    thx all

    Leave a comment:


  • replied
    4.23. When Host game on S8, can join from PC. If host game on PC, cannot join from S8.

    Leave a comment:


  • replied
    It still creates the host with the local IP adress on my S8. I'm using 4.23. Is this bug still around or am I doing something wrong?

    Leave a comment:


  • replied
    Hi,

    Tried on 4.23 beta 6, still the same error 127.0.0.1
    Anyone with a workaround ?
    Last edited by LaurentLKO; 08-16-2019, 08:27 AM.

    Leave a comment:


  • replied
    Originally posted by anton.katkov View Post
    4.22.1 is out now. Has anyone tested this yet?
    I still have trouble My device hosted localhost session with ip is 127.0.0.1
    Hey all ran across this thread digging for days while facing the exact same issue in 4.21.

    So as we were testing multi-platform capabilities we kept getting 127.0.0.1 issues on the android devices. I saw this thread and then tested in 4.22.1.

    So some things broke for us in the update but I can confirm that it seems to at least connect android to android in this version. The 127.0.0.1 issue seems resolved but it does leave us with some tough decisions dealing with a full conversion as it creates unknowns late in our cycle.

    Wanted to let you all know- Good luck!

    Leave a comment:


  • replied
    Working on that as well. Trying to run either two Android phones MP, or one Android client with Win server.

    Leave a comment:


  • replied
    can someone please test it? in 4.21 the phone ip is given wrong and it doesn't join please someone test it and tell us

    Leave a comment:


  • replied
    4.22.1 is out now. Has anyone tested this yet?
    I still have trouble My device hosted localhost session with ip is 127.0.0.1

    Leave a comment:


  • replied
    So for android multiplayer working it need just to rebuild windows, android development/shipping from the source code? Is anyone know for a ue4.21 it still need rebuild? And if so what branch I need to use? Same branch as a version of unreal engine that I use?
    And what about IOS? Same steps needed?
    Last edited by PiterMyasnikov; 02-11-2019, 04:23 AM.

    Leave a comment:


  • replied
    Originally posted by BPANDREW View Post
    I've put a fair amount of time into this but I'm not successful yet

    what I've got done so far

    1) my http master server now collects ips of players wishing to join sessions being hosted on phones, it then sends that ip list to the phone
    2) the phone then starts sending tcp and udp messages to the other phones IP

    however I'm seeing its more complicated than that as that alone isnt working. I read somewhere that in the old days of star craft, players would punch open the ports by connecting from computer A to B then B to A and it would work - with Unreal Engine that alone dosn't work

    So what I got was wireshark, I need to see what exactly happens a successful connection happens.

    A problem I have yet still, is when I create tcp and udp sockets, if I'm trying to punch 7777, what do I have to do exactly to open the port.. and can I create that socket if its already being used by the engine.

    This really isnt my strong suit, I'd love for someone to help the community out and share a working NAT punch example, if I eventually figure this out I will update my current github demo to a more generic and easily learnable solution - https://github.com/bitporters/RC_TRAINER (http based game browser, +nat punch when I figure it out)
    I think when we connect one android(client - wifi on) to another android(host - hotspot on), the host expects client coming from cellular network but client is sending request from wifi network.
    If you see there is no error in creating server on android, the only broken link is searching and joining session.
    This is my theory.
    Last edited by ANURAGX; 04-01-2017, 02:54 PM.

    Leave a comment:


  • replied
    Any updates

    Originally posted by BPANDREW View Post
    I've put a fair amount of time into this but I'm not successful yet

    what I've got done so far

    1) my http master server now collects ips of players wishing to join sessions being hosted on phones, it then sends that ip list to the phone
    2) the phone then starts sending tcp and udp messages to the other phones IP

    however I'm seeing its more complicated than that as that alone isnt working. I read somewhere that in the old days of star craft, players would punch open the ports by connecting from computer A to B then B to A and it would work - with Unreal Engine that alone dosn't work

    So what I got was wireshark, I need to see what exactly happens a successful connection happens.

    A problem I have yet still, is when I create tcp and udp sockets, if I'm trying to punch 7777, what do I have to do exactly to open the port.. and can I create that socket if its already being used by the engine.

    This really isnt my strong suit, I'd love for someone to help the community out and share a working NAT punch example, if I eventually figure this out I will update my current github demo to a more generic and easily learnable solution - https://github.com/bitporters/RC_TRAINER (http based game browser, +nat punch when I figure it out)
    I am working on the same and if I figure out anything will post here.

    Even I am in need of such functionality and I really hate UE4 community or especially EPIC GAMES, they only help other developers who are quite popular on the forum or whose problem is the exact problem which epic games are facing.
    Epic games won't show any helpful attitude to those threads which are not related to them. For instance consider this thread which happens to be around 1.5 years old and none of the epic staff have shared any info on this topic.

    Leave a comment:


  • replied
    I've put a fair amount of time into this but I'm not successful yet

    what I've got done so far

    1) my http master server now collects ips of players wishing to join sessions being hosted on phones, it then sends that ip list to the phone
    2) the phone then starts sending tcp and udp messages to the other phones IP

    however I'm seeing its more complicated than that as that alone isnt working. I read somewhere that in the old days of star craft, players would punch open the ports by connecting from computer A to B then B to A and it would work - with Unreal Engine that alone dosn't work

    So what I got was wireshark, I need to see what exactly happens a successful connection happens.

    A problem I have yet still, is when I create tcp and udp sockets, if I'm trying to punch 7777, what do I have to do exactly to open the port.. and can I create that socket if its already being used by the engine.

    This really isnt my strong suit, I'd love for someone to help the community out and share a working NAT punch example, if I eventually figure this out I will update my current github demo to a more generic and easily learnable solution - https://github.com/bitporters/RC_TRAINER (http based game browser, +nat punch when I figure it out)

    Leave a comment:

Working...
X