Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › onPlayerLeft event

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18701

    Sachintha Udara

    Hi All,

    when I call multiplayer.leaveGame() method, playerLeft event trigger multiple times, also triggered in leaved user side? why is it ?

    Best Sachintha

    #18718

    Alex
    Felgo Team

    Hi,

    thank you for reporting this, it will be fixed with the next update.

    Cheers,
    Alex

    #19576

    Sachintha Udara

    Hi Alex,

    Seems like this bug fixed. But, now playerLeft event`s player userId is negative value.. this is not correct.

    Cheers,

    Sachintha

    #19579

    Günther
    Felgo Team

    Hi,

    as stated in the documentation for VPlayMultiplayer::playerLeft(var player):

    The player parameter holds the MultiplayerUser who has left the game. The userId of the player who left is available with player.oldUserId.

    Did you correctly use player.oldUserId to get the id?

    Best,
    Günther

    #19583

    Sachintha Udara

    Hi,

    This is my wrong, Thank you..

    Best,

    Sachintha

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded