Page 1 of 1
Spawnproblem in the fps Tutorial
Posted: 16 Jun 2011, 14:47
by Zerano
I do not know whats wrong sometimes all is okay, i can login and walk around. But sometimes i get this Error and i do not know where the problem is. Maybe you can help me with a tip where i have to look.

[/img]
Posted: 17 Jun 2011, 14:19
by ThomasLund
Could possibly be a client that tries to reconnect from a disconnection (where the server still has the connection open - it stays open for a little while).
If you e.g. press stop in the editor and very fast afterwards press play again - the system might try to re-use a connection - and the extension doesnt handle that situation.
Best guess
/Thomas
Posted: 19 Jun 2011, 15:09
by Zerano
I found the mistake. it was so stupid

I changed the spawnpoint in the sfs fps demo but forgot to change the amount in the array
Code: Select all
private static Transform[] getSpawnPoints() {
Transform[] spawnPoints = new Transform[3]; //<---- wrong
spawnPoints[0] = new Transform(642, 165, 1700, 0, 0, 0);
return spawnPoints;
}
Code: Select all
private static Transform[] getSpawnPoints() {
Transform[] spawnPoints = new Transform[1];
spawnPoints[0] = new Transform(642, 165, 1700, 0, 0, 0);
return spawnPoints;
}
Posted: 20 Jun 2011, 08:23
by ThomasLund
Ahhh
