SmartFoxClient.as use the undefined currRoom.setMyPlayerId

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
Bru
Posts: 8
Joined: 13 Oct 2006, 17:36

SmartFoxClient.as use the undefined currRoom.setMyPlayerId

Post 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
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post 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
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply