01.03.2009, 13:05
Hi,
I try to make a system where you will spawn at the place where you had a timeout. I save the players timeout position in a file. When he connects and the file exists, it will be loaded and he spawns, then the server sets his Player Pos. But my problem is, that sometimes, the player spawns in Blueberry. I think that the file don't get loaded soimetimes, but i'm not sure. I work on this some weeks now fix the bug. But i don't find any wrong in the code.....
http://pastebin.ca/1350212
I try to make a system where you will spawn at the place where you had a timeout. I save the players timeout position in a file. When he connects and the file exists, it will be loaded and he spawns, then the server sets his Player Pos. But my problem is, that sometimes, the player spawns in Blueberry. I think that the file don't get loaded soimetimes, but i'm not sure. I work on this some weeks now fix the bug. But i don't find any wrong in the code.....
http://pastebin.ca/1350212