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 /
avatar image
3
Question by aeronav1 · Jul 09, 2017 at 10:25 PM · networkingmultiplayermultiplayer-networkingsave data

What approach do I need for persistent multiplayer game?

There is an amazing example to what I am trying to do, a game i once played on Facebook called Battle Pirates, basically if you click somewhere on the map to send your ship to that location and close your facebook browser, the ship will still travel there and stop there , so next time you open the game on facebook the ship is right there so is anything you did to your base or other ships.

So basically your base and your ships are still there visible to other players who want to attack even when you are not playing the game, you get an email notification saying that XXX player has attacked you .

I read about and seen demos about unet, but I have not actually begun doing basic multiplayer stuff in unet, before I start with unet, I wanted to know if it's supports what I am looking for or I need something else to use?

Thank you

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by shrey150 · Jul 10, 2017 at 02:10 AM

Unet would not be what you're looking for. Unity Multiplayer uses a room system, meaning that you would have to keep a room open perpetually for this to work. Additionally, you would need one huge room for all the interactions between all players, and UNet currently doesn't support a Massively Multiplayer approach like this. Either you'd have to use your own web server implementation or Photon Networking, which I believe has support for MMO style games.

Comment
Add comment · Show 3 · 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 aeronav1 · Jul 10, 2017 at 03:19 AM 0
Share

do you know of any ideas or tutorial somewhere for implementing my own server for this purpose?, It's just the Unity part that is hard, not the web server part.

Thanks

avatar image shrey150 aeronav1 · Jul 10, 2017 at 08:28 AM 1
Share

It looks like SmartFoxServer 2X is what you need to build a $$anonymous$$$$anonymous$$O-style game like what you described. It supports Unity and looks like it supports a lot of features necessary for an $$anonymous$$$$anonymous$$O. You get up to 100 concurrent users in the free version, which should be enough to start.

http://www.smartfoxserver.com/products/sfs2x

Under the Resources tab, you can find the documentation and forums for help.

Best of luck!

avatar image aeronav1 shrey150 · Jul 10, 2017 at 06:57 PM 0
Share

Thanks, i'll try smartFox

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

121 People are following this question.

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

Related Questions

Unity networking tutorial? 6 Answers

What do I need to implement web-server for multiplayer without Unity services? 2 Answers

Questions about Multiplayer and Networking? 1 Answer

PC Android LAN Network Connection 1 Answer

How to write a multiplayer game that uses a dedicated server? 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