Jump to content

WLsj24

VIP
  • Content Count

    268
  • Joined

  • Last visited

  • Days Won

    3

WLsj24 last won the day on April 23 2019

WLsj24 had the most liked content!

Community Reputation

178 Friendly

About WLsj24

  • Rank
    Noble
  • Birthday August 8

Informations

  • Gender
    Male
  • Location
    ♥ In your heart ♥

Social Networks

  • Discord
    WLsj24#6114

Recent Profile Visitors

2862 profile views
  1. Just make sure whole the files inside locale\xx\ui\windows is like the official client:
  2. Im not sure if I understand well, but I think you want something like: find_npc_by_vnum(npc_vnum) This is usually used for target, but maybe it could work for what you're trying to do
  3. Needless to say, the P3NG3R's systems are really nice. And the support is too, I had a little bug and he solved it immediately.
  4. TItemTable* pTable = ITEM_MANAGER::instance().GetTable(189); if (pTable) ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s was added to your Inventory"), pTable->szLocaleName); probably something like this
  5. But, you are sure it not giving bonus? Or just not showing them?. Can you equip the ring and put: /state ?
  6. item.cpp: int CItem::FindEquipCell(LPCHARACTER ch, int iCandidateCell) { [...] if (GetType() == ITEM_DS || GetType() == ITEM_SPECIAL_DS) { [...] } else if (GetType() == ITEM_COSTUME) { [...] } // look if you have this else if (GetType() == ITEM_RING) { if (ch->GetWear(WEAR_RING1)) return WEAR_RING2; else return WEAR_RING1; } // look if you have this else if (GetType() == ITEM_BELT) return WEAR_BELT; else if (GetWearFlag() & WEARABLE_BODY) return WEAR_BODY; [...] } Tbh i don't think it's there since that's for you to equip, but I remember that before
  7. I did not mean that void CButton::OnMouseOverIn() { if (!IsEnable()) return; Over(); PyCallClassMemberFunc(m_poHandler, "ShowToolTip", BuildEmptyTuple()); #ifdef ENABLE_DETAILS_UI PyCallClassMemberFunc(m_poHandler, "OnMouseOverIn", BuildEmptyTuple()); #endif } void CButton::OnMouseOverOut() { if (!IsEnable()) return; SetUp(); PyCallClassMemberFunc(m_poHandler, "HideToolTip", BuildEmptyTuple()); #ifdef ENABLE_DETAILS_UI PyCallClassMemberFunc(m_poHandler, "OnMouseOverOut", BuildEmptyTuple()); #endif }
  8. The tooltip in official pythons is not bug. You just need add the "OnMouseOverIn" and "OnMouseOverOut" in PythonWindow.cpp. Is not neccesary a lot of code for show it.
  9. check the tutorial in char.cpp, maybe something bad added
  10. PythonChat.cpp #include <boost/algorithm/string/replace.hpp>
  11. and this: chrmgr.RegisterEffect(chrmgr.EFFECT_AFFECT + XX, "Bip01", "d:/ymir work/ob_work/shinnings/armor/black_dragon_light/black_dragon_light_v3.mse") https://prnt.sc/s7keq6
  12. Sorry for reviving old posts, but maybe someone will find this helpful hehe. game.py ## PrivateShop def __PrivateShop_Open(self): if app.ENABLE_OFFLINE_SHOP: if app.WJ_ENABLE_TRADABLE_ICON: self.uiNewShopCreate.privateShopBuilder.BindInterface(self.interface) self.uiNewShopCreate.privateShopBuilder.SetInven(self.interface.wndInventory) self.uiNewShopCreate.privateShopBuilder.wndInventory.BindWindow(self.interface.privateShopBuilder) self.uiNewShop.Show() else: self.interface.OpenPrivateShopInputNameDialog()
  13. I think he doesn't want to buy them, just someone to help him install them.
×
×
  • 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.