Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by ArkVoid · Nov 06, 2015 at 04:41 PM · networkingmmo

MMO And UNET

Hi first of all I'm starting with networking in Unity and I have some questions, From my experience in order to make an mmo you need to have a Server.exe with server logic and a Client.exe which will communicate with the server, but with unet It's complicated because I could only make that the first game instance that is started is the host (the server) and it confuses me because I probably wouldn't want to run the dedicated server with a game instance in the future.

-Can some one point me how can I make unet work like what I described above (Server.exe and Client.exe)?
-If it's not how it supposed to work then how can I make an mmo in which the player starts the client enters his name login and POOF he's online?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dave-Carlile · Nov 06, 2015 at 04:42 PM 1
Share

If this is confusing you, you shouldn't be attempting to make an $$anonymous$$$$anonymous$$O.

avatar image ArkVoid Dave-Carlile · Nov 07, 2015 at 10:50 AM 0
Share

well that wasn't helpful... I'm just making a test project in order to learn, and I do have experience in this field outside of unity. Now I'm trying to make a simple $$anonymous$$$$anonymous$$O and I needed someone to point me to a certain way to make it work with UNET with the Server Client pattern (not like the regular way people make which is the players can host a server) in a Unity project.

avatar image AlanGreyjoy · Jan 03, 2016 at 01:23 AM 0
Share

Yea... Dave has got it right lol.

You can make it so that the client always connects to the servers IP. Its in the Network$$anonymous$$anager.networkAddress and Network$$anonymous$$anager.networkPort

Then you just create a register and login scene and hook that upto your mysql database.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by CastleIsGreat · Dec 30, 2015 at 01:57 AM

Well, in theory, the server should just be a beefed up version of the client, with extra abilities and control. My thoughts on networking so far (they may be wrong) is this. Essentially your server is just a client that tells other clients what has happened on it, and it gets its information from RPC's and synced data from clients.

So essentially Server.exe is just Client.exe but is a different build file, with necessary server functions that can send out information to clients...

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rozenshteinboris · Jul 21, 2016 at 09:44 PM 0
Share

Its not a case of $$anonymous$$$$anonymous$$O. In $$anonymous$$$$anonymous$$O server is different. Server handles 1000s of users while client handles just 1, but with graphics

avatar image
0

Answer by g8minhquan · Dec 21, 2016 at 03:22 AM

I have the same issue with you. I imagine that running a server written within Unity with lots of graphic rendering library, physics, etc. would not be lightweight and easily scalable to serve thousands of clients at the same time. I'd suggest that you write the server application using other "pure" network libraries such as Photon Server, SmartFox Server and Socket.IO

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Best way to learn Networking in general 0 Answers

How to make a smooth transition between two servers ? (UNET, NetworkManager) 0 Answers

UNet Queries 1 Answer

Adding Clients after Log in 1 Answer

Can Photon Unity Network be used for MMO prototype? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges