Jump to content

Recommended Posts

Posted

Buenas! Estaba buscando fix para mis servefiles cuando encontré este que me pareció muy bueno, no se si esta posteado ya, si lo esta, pido que eliminen este post. 

Es un fix muy fácil, solo necesitaremos el source del cliente, empecemos:
 

---Vamos a InstanceBase.cpp y aquí añadimos la siguiente función:
 
void CInstanceBase::SetLevel(DWORD lvl)
{
    m_dwLevel = lvl;
}
 
---Ahora, vamos a InstanceBase.h y buscamos:
 
protected:
                   DWORD                    m_dwDuelMode;
                   DWORD                    m_dwEmoticonTime;
 
---Y agregamos esta debajo de esa:
 
public:
                   DWORD GetLevel() const { return m_dwLevel; }
                   void SetLevel(DWORD lvl);
 
--OJO: Cuida las tabs, guíate de las anteriores funciones
 
---Ya falta poco, solo falta ir a PythonPlayer.cpp y buscar esta función:
 
CInstanceBase* pkPlayer = NEW_GetMainActorPtr();
 
---Aqui encontraremos 2 lineas parecidas a estas:
 
if (pkPlayer)
pkPlayer->UpdateTextTailLevel(lValue);
 
---Cambiamos por estas o editamos hasta que estén así (Agregando el SetLevel):
 
if (pkPlayer)
            {
                pkPlayer->UpdateTextTailLevel(lValue);
                pkPlayer->SetLevel(lValue);
            }
 
_______________-------------------________________

CREDITOS: Kind regards, Mind Rapist
GRACIAS: WubService por traerlo, arreglarlo y traducir la guia

No dejo fotos porque es un fix muy simple y se puede apreciar fácilmente, al menos a mi me funciono :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.