Jump to content

Weles

Member
  • Posts

    25
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Weles

  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.
  11. I said, the error was lying on the uitooltip side. I had to rewrite one function (it took me about 2h), now everything works fine.
  12. @Fleon Probably you are right. Of what I saw many people in the forum had a problem with this and probably no topic was resolved. Which of the files would you recommend looking through again to find the error?
  13. @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.
  14. @TekkForCe I tried. Did not help. // Otherwise. The only change:
  15. 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 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.