Giter VIP home page Giter VIP logo

mmorpgkit-dynamicclientserverconfig's Introduction

MMORPGKIT DynamicClientServerConfig Addon

A custom addon for the MMORPGKIT which uses StreamingAssets to store the server-connection details on client/player side in a CSV text file just like server does. Allows you to change the server list quickly and easily without needing to rebuild the client.

Screenshot

Advantages:

  1. Uses StreamingAssets
  2. Easier modification of server-connection-list details without rebuilding client, specially useful if need to switch server between dev/production
  3. Manage multiple server configs and enable/disable which one to use by renaming it
  4. The Server List is in CSV, to add more servers just add new entry on a new line
  5. Super Helpful for use in CI/CD or need to deploy multiple versions of server/client but could not because with auto-deployment to multiple platforms, you would need to change server details for client Now, you can just add steps in your CD pipeline to rename or delete other configs
  6. Can use hostname or IP
  7. Supports all standalone platforms, ios, android and even WebGL
  8. Falls back to whatever Server List you have setup in your Scene if cannot find the serverConfig CSV file or fails to read it

How to use:

  1. The addon is plug and play, just drop it in your project.
  2. The addon automatically creates the StreamingAssets folder at root of your project's Assets Folder. This StreamingAssets folder contains example CSV file for serverList, please edit it to include your server list. This StreamingAssets folder is included with your builds automatically.
  3. Edit MMOClientInstance.cs to change MmoNetworkSetting[] networkSettings from private to internal scope
  4. Whatever serverList you set in the StreamingAssets folder in your project's Assets folder is included with your buidls (overwriting the build's previous serverList), but you can still edit and change the serverList from your build's StreamingAssets folder as required.

image

mmorpgkit-dynamicclientserverconfig's People

Contributors

shubhank008 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.