How to fix the Number of Players from Server ?

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

    How to fix the Number of Players from Server ?

    How to fix the Number of Players from Server ?

    I am using Modified Source (CTF + Anti-Lead + DamageCounter + Fixes)


    The number of players from login doesn't change even there are players in a server.
    Like it stay on 0/1000 = 0 players, but there are players in the server.


    PLEASE HELP. TY.


  2. #2
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: How to fix the Number of Players from Server ?

    You build KOR_Release_Pusblish ?

    In MMatchServer.cpp find and change look like this :
    Code:
    #ifdef LOCALE_KOREA		
    		int nNatePlayer = 0;
    
    		for(MMatchObjectList::iterator iter = m_Objects.begin(); iter != m_Objects.end(); iter++) 
    		{
    			MMatchObject* pObj = (MMatchObject*)iter->second;
    			if( pObj->GetAccountInfo()->m_nCCode == 30 ) { nNatePlayer++; }
    		}
    
    //		bResult = m_MatchDBMgr.UpdateServerStatus(MGetServerConfig()->GetServerID(), nCurPlayer, nNatePlayer);//Gun edit DB error
    //#else
    		bResult = m_MatchDBMgr.UpdateServerStatus(MGetServerConfig()->GetServerID(), nCurPlayer);
    #endif
    but not at all, i don't know exactly you error but please check in you server log to more infomation.

  3. #3
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: How to fix the Number of Players from Server ?

    Quote Originally Posted by cheaterastic View Post
    How to fix the Number of Players from Server ?

    I am using Modified Source (CTF + Anti-Lead + DamageCounter + Fixes)


    The number of players from login doesn't change even there are players in a server.
    Like it stay on 0/1000 = 0 players, but there are players in the server.


    PLEASE HELP. TY.
    as long as I know staff's are excluded if I am not wrong.

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

    Re: How to fix the Number of Players from Server ?

    Quote Originally Posted by Gun[Lengend] View Post
    You build KOR_Release_Pusblish ?

    In MMatchServer.cpp find and change look like this :
    Code:
    #ifdef LOCALE_KOREA		
    		int nNatePlayer = 0;
    
    		for(MMatchObjectList::iterator iter = m_Objects.begin(); iter != m_Objects.end(); iter++) 
    		{
    			MMatchObject* pObj = (MMatchObject*)iter->second;
    			if( pObj->GetAccountInfo()->m_nCCode == 30 ) { nNatePlayer++; }
    		}
    
    //		bResult = m_MatchDBMgr.UpdateServerStatus(MGetServerConfig()->GetServerID(), nCurPlayer, nNatePlayer);//Gun edit DB error
    //#else
    		bResult = m_MatchDBMgr.UpdateServerStatus(MGetServerConfig()->GetServerID(), nCurPlayer);
    #endif
    but not at all, i don't know exactly you error but please check in you server log to more infomation.
    THANK YOU, BUT EVEN I EDIT THAT LINES, keep studying and edits, Still it got the ServerStatus Table CurrPlayer Column (amount), also from Login InGame, it doesn't change.

    PLEASE ANYONE CAN HELP?
    Last edited by cheaterastic; 19-11-12 at 07:00 AM.

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

    Re: How to fix the Number of Players from Server ?

    PLEASE ANY ONE CAN HELP ME HERE?

    I AM USING Gregon's Newest Released.

  6. #6
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: How to fix the Number of Players from Server ?

    PLEASE ANY ONE CAN HELP ME HERE?<br />
    <br />
    I AM USING Gregon's Newest Released.
    Works for me. There is sonething wrong with your db writings.

    Sent from my GT-I9070 using Tapatalk 2



Advertisement