Jump to content

c++ long long int does not name


Go to solution Solved by M.Sorin,

Recommended Posts

  • Solution

In char.h search for:

DWORD GetNextExp() const;

THEN replace the original code with this

long long        GetNextExp();

Done here..!

 

Now open char.cpp and search for

DWORD CHARACTER::GetNextExp() const
DWORD CHARACTER::GetNextExp() const
{
    if (PLAYER_EXP_TABLE_MAX < GetLevel())
        return 2500000000U;
    else
        return exp_table[GetLevel()];
}

then replace the whole function with this

long long CHARACTER::GetNextExp()
{
    if (PLAYER_EXP_TABLE_MAX < GetLevel())
        return 420000000000LLU;
    else
        return exp_table[GetLevel()];
}

It works fine for me on a 32-bit virtual machine.

 

  • Love 1
Link to comment
Share on other sites

  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.