Double Avatars?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Aiidenb
Posts: 263
Joined: 16 Aug 2010, 22:08
Location: England
Contact:

Double Avatars?

Post by Aiidenb »

Hello! xD

When i login.. I go to a different room.. Then it apears with two of my avatar. When i type to speak.. the other avatar talks.. and when you dress up (by my inventory) it dresses the other avatar up.

Someone help?

Thanks, Aiiden. :D
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

that happens because you somehow duplicated the avatar movieclip. You need to check your onJoinRoom function, as you say that it happens when joins another room
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Aiidenb
Posts: 263
Joined: 16 Aug 2010, 22:08
Location: England
Contact:

Post by Aiidenb »

rjgtav wrote:that happens because you somehow duplicated the avatar movieclip. You need to check your onJoinRoom function, as you say that it happens when joins another room
Say i'm avatar #1..
The other one is #2

When i click #1 moves, but #2 doesnt..

My onJoinRoom function is all fine. :L
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

what do u mean? i dont understand. So you have 2 avatars in the game that represent the player? can you explain a little bit more?
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
reecedogcp78
Posts: 71
Joined: 12 Dec 2010, 18:16

Post by reecedogcp78 »

Have u cloned the avatarMC or something? Just a guess also check ur code :)
~Reecedog,

Experienced blogger with 100 thousand hits gathered.

New to SFS But also very good with it :)
Aiidenb
Posts: 263
Joined: 16 Aug 2010, 22:08
Location: England
Contact:

Post by Aiidenb »

Sorry for wasting your time, i found the problem, the (MovieClip thing of the AvatarMC, wasent on the AvatarMC layer..) :S

loool, Thanks Anyway! xD
Post Reply