custom login extension

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

appels
Posts: 464
Joined: 28 Jul 2010, 02:12
Contact:

custom login extension

Postby appels » 27 Sep 2010, 12:08

Hi,

When i use my custom login extension, do i also have to assign user ID's manualy ?
It looks like there is a difference between the ID's when i use it.
Without custom login extension enabled my player gets spawned 1 time.
With the extension, it gets spawed 2 times.
I do a check when i spawn my local player to see if it already exists in the scene and not to spawn it if it exists. But it allways gets spawned.
So the ID's are different.
As soon as i change the login type to the build in default, this doesn't happen anymore.

user.GetId() client.myUserId are different
Thanks.

Return to “.Net / Unity3D API”

Who is online

Users browsing this forum: No registered users and 1 guest