Jump to content

Weles

Inactive Member
  • Posts

    25
  • Joined

  • Last visited

  • Feedback

    0%

About Weles

Informations

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Weles's Achievements

Explorer

Explorer (4/16)

  • First Post
  • Collaborator
  • Conversation Starter
  • One Month Later
  • One Year In

Recent Badges

8

Reputation

  1. 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.
  2. The problem with this page is loading everything at once, not the gradual loading that you could get with example ajax, jQuery.
  3. Probably u must delete this function with PythonCharacterModule.cpp (It is not used by the client but allows for speeding) { "SetMoveSpeed", chrSetMoveSpeed, METH_VARARGS },
  4. No no, item proto any id and wearflag always this same (128)
  5. @amosth Hey you need to do the tutorial again just changing the name, e.g. "IsWELESRing1" to "IsWELESRing2"
  6. 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
  7. Hi, if I have activated autopotion after switching to the mount it turns off, but the effect of launching (in the inventory) stays - does not heal. I tried to fix it with every way I knew, it did not help. This happens only with autopotion sp. Any ideas? I have a mount system for a costume slot.
  8. U must change one funcion in uitooltip. U must change one funcion in uitooltip.
  9. /// 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
  10. 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.
×
×
  • 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.