Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Free Multiplayer register/login system!

Discussion in 'Multiplayer' started by Wikened, Jun 18, 2012.

  1. Wikened

    Wikened

    Joined:
    Oct 31, 2011
    Posts:
    271
    Hey guys here a free project I was making as part of my advanced MMO tutorial on my youtube. I have decided to release the whole project so enjoy it!

    http://www.mediafire.com/?02jtuzykyb8pqb7

    I have a tutorial series for this package and I show how it works and demo it:
    Watch for 3:29 onwards: http://www.youtube.com/watch?v=RK6o9wMsV0I

    Alright so already I've got 42 downloads which is good :)

    But I feel I should explain it more.

    How does it work?
    It uses Unity's Networking so you can go over 32 connection at one time. But you can still create a area servers. It uses RPC calls to send data back and forth.

    How does it save data?
    The server automatically creates a xml file in a database folder with all the players information. Upon request it searches for the file and loads and gathers information from it like what item is in inventory slot 2.

    Does it work out of the box?
    Yes it does. It even has working builds of the client and the server for you to test straight away!

    Is it easy to modify to suite my needs?
    It is. The server uses one core.cs script with all the code onto that so it is easy to understand how everything works. The clients use 1 x TitleScreen.cs script which handles the Login and registration of the player on the client side. The code is also relatively comment.

    To edit the account structures for the xml file there is a struct script with all the variables on their. It is very easy to change and edit.

    Can I use it in my project?
    Of course!

    Can I use it in a project I'm intending to sell?
    Yes you can, but I would like some credit :)

    Please donate $5: Donate
     
    Last edited: Jun 21, 2012
  2. Wikened

    Wikened

    Joined:
    Oct 31, 2011
    Posts:
    271
    bump. New information!
     
  3. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,202
    I'm new to networking, so would this work good for a first person shooter? Is it authenticative?
     
  4. lionfart

    lionfart

    Joined:
    Mar 8, 2012
    Posts:
    10
    thanks for this wikened it s awesome :D
     
  5. Wikened

    Wikened

    Joined:
    Oct 31, 2011
    Posts:
    271
    Well what this project does is it allows you do quickly add account creation along with a Login system.

    I have a tutorial series for this package and I show how it works and demo it:
    Watch for 3:29 onwards: http://www.youtube.com/watch?v=RK6o9wMsV0I
     
  6. Tekniko

    Tekniko

    Joined:
    Jun 15, 2012
    Posts:
    50
    Thanks for sharing this with us. Are there any plans for a MMO based script?
     
  7. Wikened

    Wikened

    Joined:
    Oct 31, 2011
    Posts:
    271
    I'm afraid not because I'm currently trying to develop my own MMO as a learning project. Although you can use these script to start learn how it works :)
     
  8. UnlimitedEdition

    UnlimitedEdition

    Joined:
    Feb 27, 2012
    Posts:
    287
    I'm definitely checking this out in a month or two when I've gotten to a good point.
     
  9. Wikened

    Wikened

    Joined:
    Oct 31, 2011
    Posts:
    271
    Thanks :)
     
  10. Boss

    Boss

    Joined:
    Jun 27, 2012
    Posts:
    133
    Thanks!
     
  11. Fallenrat

    Fallenrat

    Joined:
    Jun 11, 2012
    Posts:
    41
    Downloaded, in the use later folder
     
  12. charlesvi

    charlesvi

    Joined:
    Jul 4, 2012
    Posts:
    8
    Media fire link is broke. please re upload?
     
  13. pezz

    pezz

    Joined:
    Apr 29, 2011
    Posts:
    606
    Bump!
     
  14. quincunx

    quincunx

    Joined:
    Apr 22, 2012
    Posts:
    15
    ^ Bump!
     
  15. SomeGuy22

    SomeGuy22

    Joined:
    Jun 3, 2011
    Posts:
    722
    ^ Bump! ;)
     
  16. EdgarCarrera

    EdgarCarrera

    Joined:
    Apr 21, 2014
    Posts:
    255
    can reupload'?
     
  17. Hertzole

    Hertzole

    Joined:
    Jul 27, 2013
    Posts:
    421
    This would be really useful for my game! Can you please re-upload this or can anyone who downloaded it share it?
     
  18. Erisat

    Erisat

    Joined:
    Jan 31, 2013
    Posts:
    88
    http://wiki.unity3d.com/index.php?title=Save_and_Load_from_XML
    looks like the link has been broken for a while so thats why i pointed that out, i use that same script for my login system. (i saw through a link in his signature thats what he also uses). take that and add a client with a gui where players can type in name/pass and create, send those to the server, save an xml file containing info. then on client when loggin in send name/pass to server, load the xml compare data, do whatever next.
     
  19. MeowIRL

    MeowIRL

    Joined:
    Feb 14, 2015
    Posts:
    2
    If you want to download go to his video on youtube and use the link in the description worked for me!