Urban Gaming Client/Database/Source Code Only

Page 36 of 57 FirstFirst ... 26282930313233343536373839404142434446 ... LastLast
Results 526 to 540 of 846
  1. #526
    Enthusiast manplayer is offline
    MemberRank
    Feb 2014 Join Date
    Ran World PHLocation
    32Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Anyone Noticed upon afk from the Game ("alt tab") it will close about 2 - 3 mins and how to delete that from source :(

    Please share your fix Rank on Tyranny :) (is it not working due to database ? checking all angles)


    Thanks

  2. #527
    Hunt For Source Code gantu21 is offline
    MemberRank
    Aug 2009 Join Date
    BKT.Kayu HitamLocation
    531Posts

    Re: Urban Gaming Client/Database/Source Code Only

    read backward already share source fix for rank

  3. #528
    Enthusiast manplayer is offline
    MemberRank
    Feb 2014 Join Date
    Ran World PHLocation
    32Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Is this the one ?

    Code:
        NetMsg.emFB = EMCTF_RANKING_UPDATE_FB_ADD;
        for ( int i = 0; i < m_vecSwPRankNew.size(); ++i )
        {
            TWP_RANK_INFO_MAP_ITER iter = sSchoolWAR.m_mapCtfScore.find( m_vecSwPRankNew[i].dwCharID );
            if ( iter == sSchoolWAR.m_mapCtfScore.end() )    continue;
    
            STWP_RANK_INFO&    sRankInfo = iter->second;
            
            //if ( m_vecSwPRankNew[i].nIndex != sRankInfo.nIndex || 
            //     m_vecSwPRankNew[i].wCharRanking != sRankInfo.wCharRanking )
            {
                sRankInfo.wCharRanking = m_vecSwPRankNew[i].wCharRanking;
                sRankInfo.nIndex = m_vecSwPRankNew[i].nIndex;
                //sRankInfo.dwCharID = m_vecSwPRankNew[i].dwCharID;
                //sRankInfo.dwGaeaID = m_vecSwPRankNew[i].dwGaeaID;
                //sRankInfo.dwClass = m_vecSwPRankNew[i].dwClass;
                //sRankInfo.dwDamageNum = m_vecSwPRankNew[i].dwDamageNum;
                //sRankInfo.dwHealNum = m_vecSwPRankNew[i].dwHealNum;
                //sRankInfo.wDeathNum = m_vecSwPRankNew[i].wDeathNum;
                //sRankInfo.wKillNum = m_vecSwPRankNew[i].wKillNum;
                //sRankInfo.wResuNum = m_vecSwPRankNew[i].wResuNum;
                //sRankInfo.wSchool = m_vecSwPRankNew[i].wSchool;
                //StringCchCopy ( sRankInfo.szCharName, CHAR_NAME+1, m_vecSwPRankNew[i].szCharName );
    
                if ( m_vecSwPRankNew[i].nIndex <= RANKING_TWNUM ) 
                {
                    STWP_RANK sSwPRank = sRankInfo;
                    NetMsg.sSwPRank = sSwPRank;
                    GLGaeaServer::GetInstance().SENDTOCLIENT_ONMAP( sSchoolWAR.m_dwClubMap, &NetMsg );
                }
            }    
        }
    - - - Updated - - -

    how to fix ?

  4. #529
    Enthusiast grandran is offline
    MemberRank
    Jun 2013 Join Date
    Баколод,Location
    39Posts

    Re: Urban Gaming Client/Database/Source Code Only

    How to fix this ?

    - - - Updated - - -

    Quote Originally Posted by manplayer View Post
    Anyone Noticed upon afk from the Game ("alt tab") it will close about 2 - 3 mins and how to delete that from source :(

    Please share your fix Rank on Tyranny :) (is it not working due to database ? checking all angles)


    Thanks
    how to fix this ?

  5. #530
    Member ataniso21 is offline
    MemberRank
    Dec 2015 Join Date
    ANY WHERELocation
    51Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Quote Originally Posted by Shutelo View Post
    first blood. whats new in this source?
    hi if you dont mind can you share your working CFG hehehehe sorry im noob newbie

  6. #531
    Account Upgraded | Title Enabled! aizen00 is offline
    MemberRank
    Feb 2019 Join Date
    512Posts

    Re: Urban Gaming Client/Database/Source Code Only


  7. #532
    Member ataniso21 is offline
    MemberRank
    Dec 2015 Join Date
    ANY WHERELocation
    51Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Thank you thank you very much

  8. #533
    . cus is offline
    MemberRank
    Aug 2019 Join Date
    Head. B 1FLocation
    530Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Quote Originally Posted by manplayer View Post
    Anyone Noticed upon afk from the Game ("alt tab") it will close about 2 - 3 mins and how to delete that from source :(
    GLCharacter.cpp
    find
    if ( m_bDisconnect ) DxGlobalStage::GetInstance().GetNetClient()->CloseConnect();
    add //
    //if ( m_bDisconnect ) DxGlobalStage::GetInstance().GetNetClient()->CloseConnect();

  9. #534
    Member ataniso21 is offline
    MemberRank
    Dec 2015 Join Date
    ANY WHERELocation
    51Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Cus may i ask what launcher has been used to this client?

  10. #535
    . cus is offline
    MemberRank
    Aug 2019 Join Date
    Head. B 1FLocation
    530Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Quote Originally Posted by ataniso21 View Post
    Cus may i ask what launcher has been used to this client?
    You can try to find out some launchers have been shared.
    I had my launcher, so I don't know which one you can use.

  11. #536
    Member ataniso21 is offline
    MemberRank
    Dec 2015 Join Date
    ANY WHERELocation
    51Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Quote Originally Posted by cus View Post
    You can try to find out some launchers have been shared.
    I had my launcher, so I don't know which one you can use.

    i was wondering what is the name of this launcher this update wizard

  12. #537
    Member ReunitedWorks is offline
    MemberRank
    May 2014 Join Date
    PhilippinesLocation
    85Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Quote Originally Posted by ataniso21 View Post
    i was wondering what is the name of this launcher this update wizard

    Try this http://forum.ragezone.com/f278/guide...uilder-135310/

  13. #538
    Enthusiast grandran is offline
    MemberRank
    Jun 2013 Join Date
    Баколод,Location
    39Posts

    Re: Urban Gaming Client/Database/Source Code Only

    Quote Originally Posted by edwinc3020 View Post
    School War, Tower War, School Tower War, Capture the field
    Haha, quite a mess in the source.

    according to my memory, some of the "Tower war" sub function sharing "School War" net msg.
    core function the "Tower war" got its own defines, but still little bit mess on variable naming, for example "GLTowerWars *pSW".

    it is totally safe, to remove the "School War", but u have to be very very careful to done this.
    and don't remove the sharing net msg / function, if u found any.

    - - - Updated - - -



    Yes, actually, i already share the key.

    goto GLGaeaClient.cpp
    check below message, u will find this vector "m_vecCtfRankInfoAll" is empty. and lead to no point will send to players when tyranny end.
    **********************
    Code:
    if ( m_vecCtfRankInfoAll.size() != 0 )                {                    for(int i = 0; i < m_vecCtfRankInfoAll.size(); ++i )                    {                        STWP_RANK_INFO sPlayer = m_vecCtfRankInfoAll[i];                        if ( m_Character.GetCharID() == sPlayer.dwCharID )                        {                            GLMSG::SNETPC_REQ_TYRANNY_GETREWARD NetMsg;                            NetMsg.lnValue = 50;                            NETSEND(&NetMsg);                            break;                        }                    }                }

    u might just change the vector as below, for testing purpose only. (as i mentioned before, is not safe done it like this. )

    **********************
    Code:
    if ( m_vecCtfRankAll.size() != 0 )                {                    for(int i = 0; i < m_vecCtfRankAll.size(); ++i )                    {                        STWP_RANK sPlayer = m_vecCtfRankAll[i];                        if ( m_Character.GetCharID() == sPlayer.dwCharID )                        {                            GLMSG::SNETPC_REQ_TYRANNY_GETREWARD NetMsg;                            NetMsg.lnValue = 50;                            NETSEND(&NetMsg);                            break;                        }                    }                }
    dwCharID is missing in structure "STWP_RANK", make sure u have added it & assign value to it, then above test function will work.
    how to fix this dwCharID ?

  14. #539
    Account Upgraded | Title Enabled! legionsNet is offline
    MemberRank
    Mar 2013 Join Date
    ThailandLocation
    244Posts

    big grin Re: Urban Gaming Client/Database/Source Code Only

    Quote Originally Posted by manplayer View Post
    Anyone Noticed upon afk from the Game ("alt tab") it will close about 2 - 3 mins and how to delete that from source :(

    Please share your fix Rank on Tyranny :) (is it not working due to database ? checking all angles)


    Thanks
    up

    =======
    Code:
      NetMsg.emFB = EMCTF_RANKING_UPDATE_FB_ADD;    for ( int i = 0; i < m_vecSwPRankNew.size(); ++i )
        {
            TWP_RANK_INFO_MAP_ITER iter = sSchoolWAR.m_mapCtfScore.find( m_vecSwPRankNew[i].dwCharID );
            if ( iter == sSchoolWAR.m_mapCtfScore.end() )    continue;
    
            STWP_RANK_INFO&    sRankInfo = iter->second;
            
            //if ( m_vecSwPRankNew[i].nIndex != sRankInfo.nIndex || 
            //     m_vecSwPRankNew[i].wCharRanking != sRankInfo.wCharRanking )
            {
                sRankInfo.wCharRanking = m_vecSwPRankNew[i].wCharRanking;
                sRankInfo.nIndex = m_vecSwPRankNew[i].nIndex;
                //sRankInfo.dwCharID = m_vecSwPRankNew[i].dwCharID;
                //sRankInfo.dwGaeaID = m_vecSwPRankNew[i].dwGaeaID;
                //sRankInfo.dwClass = m_vecSwPRankNew[i].dwClass;
                //sRankInfo.dwDamageNum = m_vecSwPRankNew[i].dwDamageNum;
                //sRankInfo.dwHealNum = m_vecSwPRankNew[i].dwHealNum;
                //sRankInfo.wDeathNum = m_vecSwPRankNew[i].wDeathNum;
                //sRankInfo.wKillNum = m_vecSwPRankNew[i].wKillNum;
                //sRankInfo.wResuNum = m_vecSwPRankNew[i].wResuNum;
                //sRankInfo.wSchool = m_vecSwPRankNew[i].wSchool;
                //StringCchCopy ( sRankInfo.szCharName, CHAR_NAME+1, m_vecSwPRankNew[i].szCharName );
    
                if ( m_vecSwPRankNew[i].nIndex <= RANKING_TWNUM ) 
                {
                    STWP_RANK sSwPRank = sRankInfo;
                    NetMsg.sSwPRank = sSwPRank;
                    GLGaeaServer::GetInstance().SENDTOCLIENT_ONMAP( sSchoolWAR.m_dwClubMap, &NetMsg );
                }
            }    
        }
    @manplayer did you try this one?

    ======
    Sir @edwinc3020
    can you tell the specific cpp for this? TIA!

    adjust your *.cfg config on server side

    - - - Updated - - -



    enlarge your screen resolution to see the buttons, mine is 1920*1080

    - - - Updated - - -



    try to put this code inside GLTowerWarsFieldMan::CheckWinner

    //check capture here
    int nSCORE[SW_SCHOOL_MAX] = { 0, 0, 0 };

    SCHOOLWAR_TOWER_STATUS_MAP_ITER pos = sSchoolWAR.m_mapTowerStatus.begin();
    SCHOOLWAR_TOWER_STATUS_MAP_ITER end = sSchoolWAR.m_mapTowerStatus.end();
    for ( ; pos != end; pos++ )
    {
    const SSCHOOLWAR_TOWER_STATUS& sTOWER = pos->second;
    if ( sTOWER.emHOLDER >= SW_SCHOOL_MAX ) continue;
    nSCORE[sTOWER.emHOLDER] ++;
    }

    for( int i=0; i < SW_SCHOOL_MAX; ++ i )
    {
    if ( nSCORE[i] >= 2 ) //Tyranny remark: means captured 2 tower or above = winner
    {

    //fix Tyranny Buff UI by edwin 20181028 ***** 1

    if ( nSCORE[i] == 2 )
    {
    GLMSG::SNET_TOWERWARS_DOBATTLEEND_AGT NetMsgAgentReqEnd;
    NetMsgAgentReqEnd.dwID = dwID;
    NetMsgAgentReqEnd.dwSCHOOL = i;
    NetMsgAgentReqEnd.bEnd = true;
    GLGaeaServer::GetInstance().SENDTOAGENT( &NetMsgAgentReqEnd );

    GLMSG::SNETPC_SERVER_TOWERWARS_WINNER_AG NetMsgAgentWinner;
    NetMsgAgentWinner.dwID = dwID;
    NetMsgAgentWinner.wSCHOOL = i;
    GLGaeaServer::GetInstance().SENDTOAGENT ( &NetMsgAgentWinner );
    }
    //fix Tyranny Buff UI by edwin 20181028 ***** 0
    }
    }




    - - - Updated - - -

    Anyone know where i can find and edit this?
    Urban Gaming NetworksFacebook Page: Pagina niet gevonden | Facebook Group: Facebook you have found any bugs or errors please message on our fb fan page.

  15. #540
    Novice dodongenan is offline
    MemberRank
    Aug 2019 Join Date
    1Posts

    Re: Urban Gaming Client/Database/Source Code Only

    can someone list all the known bugs in these client . thank you to those who can share



Advertisement