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 /
This question was closed Aug 04, 2014 at 06:28 PM by meat5000 for the following reason:

Too subjective and argumentative

avatar image
0
Question by MrAkroMenToS · Aug 04, 2014 at 06:04 PM · gameitemsolutionmmorpg

Best way to create game

Hi! I'm working on an MMORPG. I am stuck right now. What is the best way to make the item system? I was thinking about to make an external database in a file which includes something like this:

 <Item id="290" name="Sword" type="1" value1="40" value2="20"/>

Like this every time i modify some value on the server side, i have to make a change in the client. But it is more more optimized, and quicker. In this system I can make several language packs. I like this one. I just cannot manage this, I need some solution to make a coded file to store these data, and the decryption for the client side, so every time I modify something i don't have to rebuild the whole solution.

Is it ok? Or should I get the data from the server every time I make a closer look on an Item? In this way every time i watch an item, i have to get the data from the server. It may be slow.

An other idea: When I log in i ask for the items (in an mmorpg this is more than a thousand items) and i download all the data. (It may be a bad idea) Please help me!

[I do not consider myself a beginner, I can program quite well, but here is a problem what i cannot solve! Thanks for the help!]

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

  • Sort: 
avatar image
1
Best Answer

Answer by meat5000 · Aug 04, 2014 at 06:28 PM

Everyone has all the item data from installing the game, no? It doesn't seem necessary to pass all the data. You only need a reference or id for the item.

All images and models are present so even sending a thousand lines like yours above wouldn't be too bad, just I don't recommend it for a large user base.

The idea is to use the absolute minimum bandwidth and server/client transactions as you can get away with. Let the clients to the work and in cases of discrepancy, "Banker always wins".

If you walk up to another character, it isn't necessary to know the entire contents of his bag, and if you did for some reason want to know this, sectioning it in to pages or something would really help to ease the bandwidth as the information is not required all at once.

You can do this any way you like but I'd go for the general rule of essential data only and over as long a time as you can get away with.

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 MrAkroMenToS · Aug 04, 2014 at 07:37 PM 0
Share

Thanks for the help! I'd go with my first idea then. I'll store all the data in the client. I have an other question, i will make an other question for it. Convert your comment to answer, so I can mark it solved!

avatar image meat5000 ♦ · Aug 05, 2014 at 12:15 AM 0
Share

No problem. Apologies for closing it early. Its a discussion question so is better suited to the forums :)

Feel free to post it there if you like, also. Glad to help, even if but a shred.

avatar image MrAkroMenToS · Aug 05, 2014 at 07:36 AM 0
Share

Okay, I will make a forum thread! Thanks!

Follow this Question

Answers Answers and Comments

23 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

Related Questions

Torch Durabillity? 2 Answers

getting udp package info inside unity (GlovePIE) 0 Answers

Show GUITexture by picking an item. 0 Answers

how do i make an online game? 3 Answers

How To Make A Simple MMO? 3 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