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 programmrzinc · Mar 27, 2013 at 05:19 PM · networkingservermysql

Unity and a Server

I am trying to create a game, and i have the networking all worked out. The thing i want to add is User credentials, and progress saving. How do I go about that, because I do not have a server, ( or the funds to buy hosting) . I am thinking of a way to use an FTP site, like sta.sh or dropbox or something that is free and easy to interface to. Thanks

Comment
Add comment · Show 2
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 iwaldrop · Mar 27, 2013 at 07:46 PM 0
Share

I assume you're using Peer-to-peer networking because you mention there is no dedicated server.

Why can't you save the state locally? Hosting with Dropbox (or any other service) is problematic because it assumes that the user already has, or is willing to create, an account. Saving to the cloud for a peer-to-peer game (even an authoritative server style solution) seems unnecessary to me.

avatar image programmrzinc · Mar 28, 2013 at 12:21 PM 0
Share

I am using Photon as my networking solution. The .unity3d file is hosted onto dropbox, but I have no way of saving a file to the dropBox w/o user credentials. I just want to save a file with username, email, password, rank, kills, deaths, in something like a .csv file.

1 Reply

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

Answer by Yokimato · Mar 28, 2013 at 12:30 PM

I'm doing a project with the Photon cloud, and I've found that calling an API that I host myself as a great solution. The API I made is just a mongodb (though you could go with any db you felt comfortable with) backed with Microsoft's new WebAPI projects, part of MVC 4. From the game side, I'm just making HTTP requests. Works beautifully for checking login credentials and storing saved characters.

Comment
Add comment · Show 11 · 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 programmrzinc · Mar 28, 2013 at 12:35 PM 0
Share

How can I implement that with my project, using Dropbox, of FTP or webs.com account/

avatar image Yokimato · Mar 28, 2013 at 03:00 PM 1
Share

The point that I'm trying to make is that you don't. Storing files in dropbox would be a disaster. Use a database--that's what they're for. $$anonymous$$y suggestion was to make yourself a simple API that interacts with your database so that you can call it from your game.

avatar image Yokimato · Mar 28, 2013 at 03:02 PM 1
Share

also...unless I'm missing something, the webs.com thing is a site to make websites.... I'm struggling to understand it's role.

avatar image programmrzinc · Mar 28, 2013 at 03:10 PM 0
Share

What I am saying is, Where do I store the Database?

webs.com supports file upload.

avatar image Yokimato · Mar 28, 2013 at 03:41 PM 1
Share

Sorry, but you'll have to learn how to communicate with a database. Conceptually, interacting with a db is trivial compared to making a game. Look at $$anonymous$$ongoDb, or SQLLite--these are quick, easy technologies to get running locally. It's up to you to learn and use them.

Show more comments

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

12 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

Related Questions

Unity networking tutorial? 6 Answers

A node in a childnode? 1 Answer

is there a way so that i dont have to buy a game server for my multiplayer game? 3 Answers

Running Unity 'headless' on server - Same license? 1 Answer

Unity Master Server - Good to use? 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