SmartFoxServer: Sanity Check

I’m currently designing/building a 3 tier-ed architecture project that I would love to hear people’s thoughts on the technical concept.

At the Unity3D layer

  • it provides an interface to the server layer
  • displays ‘fight’ results
  • no calculations for fights or database access

At the SmartFoxServer layer (using the Zone extensions)

  • Controls logins
  • Accesses the mySQL Database to get player/fighter information
  • Does all the fighting calculations and returns the results to the Unity layer

At the mySQL layer

  • Holds player login data
  • Player data
  • Fighter data
  • Inventory Data

Is the SmartFox Zone extension the right way to handle a server? Has any one else used an architecture like this and have suggestions? Does this seem completely wrong to anyone who’s done this type of project before?

That setup is fine.

i wonder would it be the same if instead of the zone he uses a room extension?

You can only verify logins at Zone level.

sounds like the right setup. was it easy to get working? i’m trying to do this with Photon but I might look into SmartFox!