We need Clan War possibility to rejoin..

Results 1 to 5 of 5
  1. #1
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    We need Clan War possibility to rejoin..

    Guys, anyone would like to share a source/codes for clan war rejoining?

    If the clan war team to team are unbalance, clan member can join or rejoin to the clan war.
    If the clan war is balance, they will be unable to join.

    ANY ONE CAN SHARE.. PLEASE!! LET'S STAY THE GUNZ ALIVE THAN OTHER PRIVATE SERVER IS ALIVE..


  2. #2
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: We need Clan War possibility to rejoin..

    didnt realy look in to this but found this:

    search for:
    bool MMatchObject::CheckEnableAction(MMO_ACTION nAction)
    {
    comment out:
    if (IsLadderChallenging()) return false;
    i did not test this. but this make you folow the person even if he's in a clan war but then evry1 can join clanwar
    so best way is to make it look if the same person are in the same clan. and or if the match is 2vs2 4vs4 or watever that some1 disconnected.

    so search for :
    void MMatchServer::OnStageFollow(const MUID& uidPlayer, const char* pszTargetName)
    {
    add this somewere in there
    if(pTargetObj->GetCharInfo()->m_ClanInfo.GetClanID == pPlayerObj->GetCharInfo()->m_ClanInfo.GetClanID)
    StageJoin(uidPlayer, pTargetObj->GetStageUID());
    this will check if player is in same clan but you still need to fix a function to see if the player is in a clan game or in a normal game.

    like i said before i did not test this this is just wat i found out when i saw this topic.
    because im workin on a other project so busy with that and still fixing allot of bugs in my own gunz source.

  3. #3
    Member LyonalKing is offline
    MemberRank
    Feb 2013 Join Date
    59Posts

    Re: We need Clan War possibility to rejoin..

    @Mocro , where to put This ???? What cpp ?

  4. #4
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    Re: We need Clan War possibility to rejoin..

    Quote Originally Posted by Mocro View Post
    didnt realy look in to this but found this:

    search for:


    comment out:


    i did not test this. but this make you folow the person even if he's in a clan war but then evry1 can join clanwar
    so best way is to make it look if the same person are in the same clan. and or if the match is 2vs2 4vs4 or watever that some1 disconnected.

    so search for :

    add this somewere in there

    this will check if player is in same clan but you still need to fix a function to see if the player is in a clan game or in a normal game.

    like i said before i did not test this this is just wat i found out when i saw this topic.
    because im workin on a other project so busy with that and still fixing allot of bugs in my own gunz source.
    Thanks. But I already tried that scripts.
    Yeah It work, but then after the game is finished, the player will be freeze on the room and can't go to lobby.

  5. #5
    I'm retired, I'm already jorklenis2 is online now
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    883Posts

    Re: We need Clan War possibility to rejoin..

    Code:
    Source\MMatchServer_Stage.cpp(1027) : error C2475: 'MMatchCharClanInfo::GetClanID' : forming a pointer-to-member requires explicit use of the address-of operator ('&') and a qualified name
    Source\MMatchServer_Stage.cpp(1027) : error C2475: 'MMatchCharClanInfo::GetClanID' : forming a pointer-to-member requires explicit use of the address-of operator ('&') and a qualified name
    Source\MMatchServer_Stage.cpp(1027) : error C2475: 'MMatchCharClanInfo::GetClanID' : forming a pointer-to-member requires explicit use of the address-of operator ('&') and a qualified name
    Source\MMatchServer_Stage.cpp(1027) : error C2475: 'MMatchCharClanInfo::GetClanID' : forming a pointer-to-member requires explicit use of the address-of operator ('&') and a qualified name



Advertisement