Welcome to the RaGEZONE - MMORPG development forums.

[Coders]How i can check if the game started or not

This is a discussion on [Coders]How i can check if the game started or not within the Gunz Online forums, part of the MMO and MMORPG Developments category; Which function can I use in the waiting room to check if the game started or not? Any idea?...

Results 1 to 12 of 12
  1. #1
    Member
    Rank
    Member
    Join Date
    Dec 2011
    Posts
    32
    Liked
    10

    [Coders]How i can check if the game started or not

    Which function can I use in the waiting room to check if the game started or not?
    Any idea?

  2. #2
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Feb 2012
    Posts
    765
    Liked
    79

    Re: [Coders]How i can check if the game started or not

    yea, when the button says Ready the game hasnt started, when the button says Enter than it has started

  3. #3
    Member
    Rank
    Member
    Join Date
    Dec 2011
    Posts
    32
    Liked
    10

    Re: [Coders]How i can check if the game started or not

    Quote Originally Posted by Duluxe View Post
    yea, when the button says Ready the game hasnt started, when the button says Enter than it has started
    ... i wanna know gunz fuction name

  4. #4
    Ecchi addicted
    Rank
    Member +
    Join Date
    Nov 2008
    Location
    Ikebukuro
    Posts
    500
    Liked
    91
    Steam ID: xerxef

    Re: [Coders]How i can check if the game started or not

    Check for the process name O_O?

  5. #5
    Member
    Rank
    Member
    Join Date
    Dec 2011
    Posts
    32
    Liked
    10

    Re: [Coders]How i can check if the game started or not

    Quote Originally Posted by adz28 View Post
    Check for the process name O_O?
    ?

    i wanna check if a stage started or not?

  6. #6
    Ecchi addicted
    Rank
    Member +
    Join Date
    Nov 2008
    Location
    Ikebukuro
    Posts
    500
    Liked
    91
    Steam ID: xerxef

    Re: [Coders]How i can check if the game started or not

    Quote Originally Posted by Etroplus View Post
    ?

    i wanna check if a stage started or not?
    Aw, ignore me, didn't read the part that says "waiting room" sry >.>.

  7. #7
    Member
    Rank
    Member
    Join Date
    Dec 2011
    Posts
    32
    Liked
    10

    Re: [Coders]How i can check if the game started or not

    anyone?

  8. #8
    Hi, I'm Omar!
    Rank
    WTF? Overkill!
    Join Date
    Jan 2011
    Location
    Here
    Posts
    1,794
    Liked
    734

    Re: [Coders]How i can check if the game started or not

    You want to check for the player or the stage in general?

    Well, I don't really have time to look it up.
    But if you found nothing in the end, send a packet to room leader and make him send back an okay packet and do the necessary checks,

  9. #9
    Good Guy George
    Rank
    Member +
    Join Date
    Apr 2009
    Location
    Desert
    Posts
    1,305
    Liked
    397

    Re: [Coders]How i can check if the game started or not

    Quote Originally Posted by Vusion View Post
    You want to check for the player or the stage in general?

    Well, I don't really have time to look it up.
    But if you found nothing in the end, send a packet to room leader and make him send back an okay packet and do the necessary checks,
    Packets packets?? It's already built in man.

  10. #10
    Hi, I'm Omar!
    Rank
    WTF? Overkill!
    Join Date
    Jan 2011
    Location
    Here
    Posts
    1,794
    Liked
    734

    Re: [Coders]How i can check if the game started or not

    Quote Originally Posted by qet123 View Post
    Packets packets?? It's already built in man.
    You did not read my reply, then do not quote me.

    I said I didn't give enough fucks to open the source, now go away.

  11. #11
    Addicted to Bacon
    Rank
    Member +
    Join Date
    Sep 2007
    Posts
    1,098
    Liked
    488

    Re: [Coders]How i can check if the game started or not

    Code:
    if (ZGetGameClient()->GetStageUID() != MUID(0,0)) { /* In Stage */ }
    if (ZGetGame() != NULL && ZGetGame()->m_pMyCharacter != NULL) { /* In Game */ }
    hf

  12. #12
    Member
    Rank
    Member
    Join Date
    Dec 2011
    Posts
    32
    Liked
    10

    Re: [Coders]How i can check if the game started or not

    Quote Originally Posted by ThePhailure772 View Post
    Code:
    if (ZGetGameClient()->GetStageUID() != MUID(0,0)) { /* In Stage */ }
    if (ZGetGame() != NULL && ZGetGame()->m_pMyCharacter != NULL) { /* In Game */ }
    hf
    the best

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •