Jump to content

Mr.Slime

Banned
  • Posts

    198
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by Mr.Slime

  1. Hi guys.

    The game core sends different login result to the server for password wrong and user id not found.

    Just one example it's possibile to test with sending packets 9 accounts per second.

     

    Affects: Every game core

     

    Fix:

    Search for this in input_db.cpp:

    case HEADER_DG_LOGIN_NOT_EXIST:
    		LoginFailure(DESC_MANAGER:.instance().FindByHandle(m_dwHandle), "NOID");
    		break;
    
    case HEADER_DG_LOGIN_WRONG_PASSWD:
    		LoginFailure(DESC_MANAGER:.instance().FindByHandle(m_dwHandle),	"WRONGPWD");
    		break;

    and replace the WRONGPWD with NOID.

     

    So you blocked the way to detect if an account exists.

     

    Best Regards,

    Mr.Slime

    • Love 6
  2. Try this fix

    Spoiler
    
    bool CActorInstance::__IsLeftHandWeapon(DWORD type)
    {
    if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
    return true;
    else if (CItemData::WEAPON_BOW == type)
    return true;
    
    
    #ifdef ENABLE_COSTUME_WEAPON
    else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse()))
    return true;
    else if (CItemData::COSTUME_WEAPON_BOW == type)
    return true;
    #endif
    else
    return false;
    }
    
    
    bool CActorInstance::__IsRightHandWeapon(DWORD type)
    {
    if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
    return true;
    else if (CItemData::WEAPON_BOW == type)
    return false;
    #ifdef ENABLE_COSTUME_WEAPON
    else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse()))
    return true;
    else if (CItemData::COSTUME_WEAPON_BOW == type )
    return false;
    #endif
    else 
    return true;
    }
    
    
    bool CActorInstance::__IsWeaponTrace(DWORD weaponType)
    {
    switch(weaponType)
    {
    case CItemData::WEAPON_BELL:
    case CItemData::WEAPON_FAN:
    case CItemData::WEAPON_BOW:
    #ifdef ENABLE_COSTUME_WEAPON
    case CItemData::COSTUME_WEAPON_BELL:
    case CItemData::COSTUME_WEAPON_FAN:
    case CItemData::COSTUME_WEAPON_BOW:
    #endif
    return false;
    default:
    return true;
    
    
    }
    }

     

    • Love 1
×
×
  • 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.