Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

non-authoritative or peer to peer question from an 'old-bee'

Discussion in 'Multiplayer' started by BubbaRichard, Aug 6, 2017.

  1. BubbaRichard

    BubbaRichard

    Joined:
    Jul 1, 2012
    Posts:
    51
    I'm not new to programming and I'm not new to Unity but I am new to Authoritative Multiplayer and I really just don't need it. The current project that I am sandboxing has players coming together about every 15-20 minutes for about 5 minutes, they than separate and while they may 'see' each other they cannot cheat each other. Nor can they 'cheat' each other when they come together. Back in the olden days, I would have given everybody, each other's IP address and basically sent messages when each player made their move. I'm looking for a similar way to do this. Also we are working this game for multiple platforms and have already been setting it up on Windows and Xbox and the Mac is right next to my right foot waiting for it's deployment so which documentation am I looking for here?
    Regards,
    BubbaRichard
     
  2. BubbaRichard

    BubbaRichard

    Joined:
    Jul 1, 2012
    Posts:
    51
    Wow, no one?
     
  3. Leoo

    Leoo

    Joined:
    May 13, 2013
    Posts:
    96
    @BubbaRichard Hey!,

    Yes indeed you can create that type of functionality easily with the LLAPI , even with the HLAPI.

    Check these out.
    https://docs.unity3d.com/Manual/UnityWebRequest-LLAPI.html


    On the other hand , If you are used or wanting to use something more like a bare-bone message system you can create your own using C# TCP capabilities .

    https://www.youtube.com/watch?v=MW91_l2dnnU&ab_channel=HardlyDifficult

    https://www.codeproject.com/Articles/1415/Introduction-to-TCP-client-server-in-C
     
    BubbaRichard likes this.