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

Results 1 to 12 of 12
  1. #1
    Enthusiast Etroplus is offline
    MemberRank
    Dec 2011 Join Date
    32Posts

    [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
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    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
    Enthusiast Etroplus is offline
    MemberRank
    Dec 2011 Join Date
    32Posts

    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 adz28 is offline
    MemberRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

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

    Check for the process name O_O?

  5. #5
    Enthusiast Etroplus is offline
    MemberRank
    Dec 2011 Join Date
    32Posts

    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 adz28 is offline
    MemberRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    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
    Enthusiast Etroplus is offline
    MemberRank
    Dec 2011 Join Date
    32Posts

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

    anyone?

  8. #8
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    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 qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    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! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    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
    Mako is insane. ThePhailure772 is offline
    MemberRank
    Sep 2007 Join Date
    1,115Posts

    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
    Enthusiast Etroplus is offline
    MemberRank
    Dec 2011 Join Date
    32Posts

    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



Advertisement