Issues with the Island Example
Options
I have just started using the downloadable photon server for my pc. With it came the Island unity mmo package. It is important for me to study this as a working package but there seems to be an issue.
I added the relevant unity island package and opened it in unity. After following the TXT file about the errors found, i still seem to have a problem.
I opened the island scene and in it was the 'MMOEnginePreset'.
The script MMOEngine is all present and correct, but there are two scripts on it that have failed to load. I was hoping someone could inform me what scripts they were supposed to be so i can go ahead and fix it so i can begin looking at the code so then i can implement the MMO parts of photon into my own game.
I added the relevant unity island package and opened it in unity. After following the TXT file about the errors found, i still seem to have a problem.
I opened the island scene and in it was the 'MMOEnginePreset'.
The script MMOEngine is all present and correct, but there are two scripts on it that have failed to load. I was hoping someone could inform me what scripts they were supposed to be so i can go ahead and fix it so i can begin looking at the code so then i can implement the MMO parts of photon into my own game.
0
Comments
-
Making an assumption that the missing scripts are nothing important, i ran the scene away. I got these data log:
connected
UnityEngine.Debug:Log(Object)
MmoEngine:OnConnect(Game) (at Assets/Photon/MmoEngine.cs:265)
then
Unity: unexpected event 226
UnityEngine.Debug:Log(Object)
MmoEngine:LogError(Game, String) (at Assets/Photon/MmoEngine.cs:186)
and then
Unity: unexpected operation error Unknown operation code from operation -2 in state Connected
UnityEngine.Debug:Log(Object)
MmoEngine:LogError(Game, String) (at Assets/Photon/MmoEngine.cs:186)
I do have photon control running, LoadBalancing(MyCloud)
I'm just not sure why it isnt working. Anyone got any thoughts?0 -
A little embarrassing, started the server on default and it works...... oops0
-
How can i extend the size of the world map in the way of scripting.
I want to put in a map thats 20,000 x 20,000. How can increase the photons world reference so it matches this.
I notice the default settings for the world is:
// terrain is 2000x2000
const int BoxesVertical = 20;
const int BoxesHorizontal = 20;
const int EdgeLengthVertical = 1000;
const int EdgeLengthHorizontal = 1000;0 -
Map vertical size is BoxesVertical*EdgeLengthVertical
You need to change one or both of values so that their product is 20,000
Same for horizontal.0