Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[SHARE][SPLIT]Fake Server Status

Junior Spellweaver
Joined
Nov 27, 2023
Messages
101
Reaction score
45
So yeah this modification does not prevent player from entering your server it's just purely visual ...

gfgdf - [SHARE][SPLIT]Fake Server Status - RaGEZONE Forums


at SelectServerPageTw.cpp find
Code:
        {    //    서버 상태
            float fPercent = float(pServerInfo->nServerCurrentClient) / float(pServerInfo->nServerMaxClient);

            if( fPercent < ( GLCONST_CHAR::wSERVER_NORMAL * 0.01f ) )            m_nServerState[j] = SERVER_SMOOTH;
            else if( fPercent < ( GLCONST_CHAR::wSERVER_CONGEST * 0.01f ) )        m_nServerState[j] = SERVER_NORMAL;
            else if( fPercent < ( GLCONST_CHAR::wSERVER_NOVACANCY * 0.01f ) )    m_nServerState[j] = SERVER_CONGEST;
            else                                                                m_nServerState[j] = SERVER_NOVACANCY;
          
            D3DCOLOR dwStateColorArray[4] =
            {
                NS_UITEXTCOLOR::PALEGREEN,
                NS_UITEXTCOLOR::GOLD,
                NS_UITEXTCOLOR::RED,
                NS_UITEXTCOLOR::RED
            };

            strChannelState = ID2GAMEWORD("SERVER_STATE", m_nServerState[j]);
            dwStateColor = dwStateColorArray[m_nServerState[j]];
        }

        // 서버 이름
        m_pSelectServerChannel->AddChannel( strCombine, NS_UITEXTCOLOR::DEFAULT, strChannelState, dwStateColor, j );
    }

    m_pSelectServerChannel->SetVisibleSingle ( TRUE );

then overwrite with this

Code:
        {    //    서버 상태
            strChannelState = ID2GAMEWORD("SERVER_STATE_FAKE");
        }

        // 서버 이름
        m_pSelectServerChannel->AddChannel( strCombine, NS_UITEXTCOLOR::DEFAULT, strChannelState, NS_UITEXTCOLOR::RED, j );
    }

    m_pSelectServerChannel->SetVisibleSingle ( TRUE );


at client side find gameword.xml add this inside

Code:
<WORD Ver="1" Id="SERVER_STATE_FAKE">
<VALUE Lang="pe" Index="0">Crowded</VALUE>
</WORD>

except for Crowded you could also use the following text:
Code:
            SMOOTH
            FULL
            BUSY
            CROWDED
            NORMAL
            OVERCROWDED
            STABLE
            LIGHT
            MODERATE
            LOW
            HIGH
            AVERAGE
            RECOMMENDED
            ONLINE
            ACTIVE

this also can be combine with this modification https://forum.ragezone.com/threads/share-beautify-server-selection.1223439/
 

Attachments

You must be registered for see attachments list
Back
Top