Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by eddyvanleuten · Jan 18, 2014 at 09:38 PM · tower defensesmartfoxtraffic

MMO Tower Defence, Network Traffic

I want to make MMO Tower Defence game with Smartfox as network asset. Because I want to implement a ranking system, the server needs to handle the game logic and database management. My question is how can I minimize traffic in a tower defence game. I have a lobby where people can create games, and people can join. Lets they 10 players are in this game. Every tower shoot etc.. needs to be authorized and send to every client in this game. When many players playing this game, the traffic will be very high (because of many towers u can build). How can I solve this problem? Or am i thinking wrong?

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
0
Best Answer

Answer by xt-xylophone · Jan 20, 2014 at 02:37 AM

Can towers be manually controlled or do they operate on their own? If can be controlled it gets much more complicated, if they just go on their own then its a bit easier.

Just have to so that when a player creates a tower, they don't own the network view any more, the server does. The server will do all the shooting logic of the tower and it will relay that to all the players. Though it must remember its 'owner' so that it can give kill accreditation if you need that.

In tower defences the players are pretty much watching the game and their only input is placement of towers of special abilities they use.

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 VildNinja · Jan 20, 2014 at 02:52 AM 1
Share

with some synchronization, the tower wouldn't have to send anything over the network, assu$$anonymous$$g its behavior is 100% predictable. then the client and server would be able to run the games simultaniosly, only requiring network whenever the player performs an action.

avatar image xt-xylophone · Jan 20, 2014 at 03:59 AM 0
Share

True. A hacker may be able to do something about it though

avatar image eddyvanleuten · Jan 20, 2014 at 03:20 PM 1
Share

Thanks thats the tipps I needed. So Client and Server do both the logic and Syncronization will keep the client updated. And only Syncronization Information and Player actions will be send over the network.

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

21 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

Related Questions

Why does smartfox work with unity basic and webplayer? 1 Answer

error keeps looping (smartfox connection) even after I stop testing my game 1 Answer

SmartFox Objects?? 0 Answers

Making character respond to traffic light 2 Answers

Enemy Health Bar problem Unity 2D. 1 Answer


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