-
Proficient Member
Players Online number doesn't change please help!
Players Online number doesn't change please help! In my website on in server it shows 2 players online when there isn't noone online or even if tehre are more players in game number still doesn't change how do i fix this xd?
-
-
Apprentice
Re: Players Online number doesn't change please help!
mmatchserver.cpp
look for : int nNatePlayer = 0;
replace whole thing with :
#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
-
Proficient Member
Re: Players Online number doesn't change please help!
I don't do source code edits any other way?
-
Gunz League owner
Re: Players Online number doesn't change please help!
No, it's the only way to make it work. Sorry, bud, you're out of luck. But hey, why don't you try getting a copy of Visual Studio 2003 and learning the basics? It really isn't that hard, I promise! Based on your response, it's not like you'd be doing much more than replacing lines of code anyway.