Page 1 of 1

SmartFoxClient.as use the undefined currRoom.setMyPlayerId

Posted: 13 Oct 2006, 17:42
by Bru
In the SmartFoxClient.as the player id inside the room is set using the setMyPlayerId method which is incorrect. The right method is setMyPlayerIndex. It cause the getMyPlayerIndex method of a room to always return undefined.

Found in SmartFox ver 1.4 pro as2 api

Posted: 14 Oct 2006, 16:15
by Lapo
Thanks for reporting the error. The bug fix was added to the new APIs that we're going to release soon with the next server update.

cheers