Jump to content

Weles

Inactive Member
  • Posts

    25
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Weles

  1. 22 godziny temu, Minton napisał:

    Yes, it does.

    This is the answer to the question. If you will have such a problem again open SSH and enter "top" and look at% "mysqld" usage. It is very possible that someone deliberately clogged the database. This is by no means complicated if your site does not meet several key safeguards - by loading the ranking/downloading port status/;oading the list of players/logging in to the site you can even clog the database.

    • Love 1
  2. Dnia 6.10.2018 o 21:30, tester12 napisał:

    vanilla, have you any idea for block speed hack move?

    Probably u must delete this function with PythonCharacterModule.cpp (It is not used by the client but allows for speeding)

    { "SetMoveSpeed",                    chrSetMoveSpeed,                    METH_VARARGS },
  3. The solution to your problem is easier than you think.

    Find:

    	                    if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
    #ifdef __CHANGELOOK_SYSTEM__
                            DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum();
                            m_pOwner->SetPart(PART_WEAPON, dwRes);
    #else
                            m_pOwner->SetPart(PART_WEAPON, GetVnum());
    #endif
    	

    Change:

    	                    if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
    #ifdef __CHANGELOOK_SYSTEM__
                        {
                            DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum();
                            m_pOwner->SetPart(PART_WEAPON, dwRes);
                        }
    #else
                            m_pOwner->SetPart(PART_WEAPON, GetVnum());
    #endif
    	

    And your problem will disappear ;)

  4. /// UserInterface -> Packet.h ///

    Search: SE_EQUIP_RAMADAN_RING,
    Add below: SE_EQUIP_WELES_RING1,
    

    /// UserInterface -> InstanceBase.h ///

    Search: EFFECT_RAMADAN_RING_EQUIP,
    Add below: EFFECT_WELES_RING1_EQUIP,
    

    /// UserInterface -> PythonCharacterManagerModule.cpp ///

    Search: PyModule_AddIntConstant(poModule, "EFFECT_RAMADAN_RING_EQUIP",            CInstanceBase::EFFECT_RAMADAN_RING_EQUIP);
    Add below: PyModule_AddIntConstant(poModule, "EFFECT_WELES_RING1_EQUIP",            CInstanceBase::EFFECT_WELES_RING1_EQUIP);
    

    /// UserInterface -> PythonNetworkStreamPhaseGameItem.cpp ///

    Search:
    
            case SE_EQUIP_RAMADAN_RING:
                effect = CInstanceBase::EFFECT_RAMADAN_RING_EQUIP;
                break;
    
    Add below:
    
            case SE_EQUIP_WELES_RING1:
                effect = CInstanceBase::EFFECT_WELES_RING1_EQUIP;
                break;
    

    /// game/src -> char_item.cpp ///

    Search:
    
            if (true == CItemVnumHelper::IsRamadanMoonRing(dwVnum))
            {
                this->EffectPacket(SE_EQUIP_RAMADAN_RING);
            }
    	
    Add below:
            else if (true == CItemVnumHelper::IsWELESRing1(dwVnum))
            {
                this->EffectPacket(SE_EQUIP_WELES_RING1);
            }
    

    /// game/src -> item.cpp ///

    Search:
        if (true == CItemVnumHelper::IsRamadanMoonRing(GetVnum()) || true == CItemVnumHelper::IsHalloweenCandy(GetVnum())
            || true == CItemVnumHelper::IsHappinessRing(GetVnum()) || true == CItemVnumHelper::IsLovePendant(GetVnum()))
    
    Add to the function: || true == CItemVnumHelper::IsWELESRing1(GetVnum())
    
    Example:
    
        if (true == CItemVnumHelper::IsRamadanMoonRing(GetVnum()) || true == CItemVnumHelper::IsHalloweenCandy(GetVnum())
            || true == CItemVnumHelper::IsHappinessRing(GetVnum()) || true == CItemVnumHelper::IsLovePendant(GetVnum())
            || true == CItemVnumHelper::IsWELESRing1(GetVnum()))
    

    /// common -> leght.h ///

    Search: SE_EQUIP_RAMADAN_RING,
    Add below: SE_EQUIP_WELES_RING1,
    

    /// common -> VnumHelper.h ///

    Search: static    const bool    IsRamadanMoonRing(DWORD vnum)        { return 71135 == vnum; }
    Add below: static    const bool    IsWELESRing1(DWORD vnum)        { return YOUR_ID == vnum; }
    

    /// root -> playersettingsmodule.py ///

    Search: chrmgr.RegisterCacheEffect(chrmgr.EFFECT_RAMADAN_RING_EQUIP, "", "d:/ymir work/effect/etc/buff/buff_item1.mse")
    Add below: chrmgr.RegisterCacheEffect(chrmgr.EFFECT_WELES_RING1_EQUIP, "", "d:/ymir work/effect/etc/buff/your_effect.mse")
    

    /// item_proto ///

    Type: 16
    Subtype: 0
    WearFlags: 128
    

    • Love 2
  5. 1220 15:57:14586 :: 'SafeboxWindow' object has no attribute 'BindInterface'
    1220 15:57:40490 :: 'Interface' object has no attribute 'wndGameButton'
    1220 15:57:40875 :: 'NoneType' object has no attribute 'SetMapName'
    1220 15:57:40880 :: 'NoneType' object has no attribute 'RefreshQuickSlot'

    These are your mistakes. I have no idea what you did.

  6. @ManiacRobert

    I do not use the original dump_proto. I have other program. If not, it would not work at all. There is no problem with the costume of weapons. The only mistake is the bad showing of the bonus value in the eqpiament. Using item the character receives the same bonuses as shown in the absorption window. I think this problem lies somewhere on the uitooltip side because half of it was fixed after changing the code from TekkForCe.

  7. System: Shoulder Sash System
    With: update_12_09_sash_system

    1. Showing bonuses while absorbing - works
    2. Absorption - Works
    3. Pulled item shows bonuses before absorption
    4. The item gives bonuses after absorption
    5. Error? Showing bonuses before absorption after absorption in the inventory
     

    this_is_bug.gif


    The main question: Do you have a fix for this problem?

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