Forums

OverviewFelgo 2 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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support