Code Monkey home page Code Monkey logo

chinesechessvr's Issues

Best Region Issue

Here is the problem:I unlocked the China Server for Chinese players to get a good game experience,but I also don't wanna lose other region's players.Is there a solution for that?
And here is my code for enable China Server:

  1. Change NameServerHost to "ns-cn.exitgames.com" in :Assets\Photon Unity Networking\Plugins\PhotonNetwork\NetworkingPeer.cs,is this means to lose other region?
  2. I added cn to enum CloudRegionCode and CloudRegionFlag in the path:Assets\Photon Unity Networking\Plugins\PhotonNetwork\Enums.cs ,this is fine for connect to China Server.
  3. As I don't wanna lose other region I changed Hostings to Best Region in the PhotonServerSettings.
    That's it.If you're not in China you can test your region connect for me,that's would be very kind of you!And I'm waiting for a solution for my problem,thanks a lot.

And the China Server did not support PUNVoice yet? I got this :PUNVoice: OperationResponse 230: ReturnCode: 32767 (ApplicationNotFound). Parameters: {} Server: NameServer Address: ns-cn.exitgames.com:5058 error when I try to reach PUNVoice on China Server!

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.