Jump to content
metin2dev

safademirel

Members
  • Content count

    106
  • Joined

  • Last visited

  • Days Won

    3

safademirel last won the day on March 5

safademirel had the most liked content!

Community Reputation

64 Excellent

About safademirel

  • Rank
    Friendly

Profile Information

  • Gender
    Male

Recent Profile Visitors

1,693 profile views
  1. safademirel

    Get skill count - New Pet System

    int CNewPetActor::GetSkillCount() { int skillCount = 0; for (int i = 0; i < 3; i++) { if (m_dwskillslot[i] >= 0) ++skillCount; } return skillCount; } pSummonItem->SetForceAttribute(7, 1, GetSkillCount()); try something like that.
  2. safademirel

    [C++]Some requests

    For the first problem check this out.
  3. safademirel

    C++ Change default Stats

    Yeah, you can change it right there. 16,14, 13, 13 change like this.
  4. safademirel

    C++ Change default Stats

    constants.cpp TJobInitialPoints JobInitialPoints[JOB_MAX_NUM] find change first 4 values.
  5. safademirel

    Select Character

    Line 1050 self.toolTip.AutoAppendNewTextLine(uiScriptLocale.SELECT_PLAYTIME % (playTime), grp.GenerateColor(1.0, 1.0, 0.0, 1.0)) change like that self.toolTip.AutoAppendNewTextLine(uiScriptLocale.SELECT_PLAYTIME % (str(playTime)), grp.GenerateColor(1.0, 1.0, 0.0, 1.0))
  6. safademirel

    [C++ & PY]Non-Tradeable-Items-Effect

    uiinventory : http://puu.sh/r2WLB/8a85d4e764.txt uiprivateshopbuilder : http://puu.sh/r2WO1/f0482e310a.txt
  7. safademirel

    [C++ & PY]Non-Tradeable-Items-Effect

    try this uiprivateshopbuilder.py def OnClose(self): def Open(self, title,days): add to this methods shop.RefreshInventorySafa() if doesn't work send your uiinventory and uiprivateshopbuilder
  8. safademirel

    [C++ & PY]Non-Tradeable-Items-Effect

    def ShowWindow(self, size): def Close(self): def CommandCloseSafebox(self): add to this methods shop.RefreshInventorySafa()
  9. def BINARY_Highlight_Item(self, inven_type, inven_pos): if self.interface: self.interface.Highligt_Item(inven_type, inven_pos) try this.
  10. safademirel

    [C++ & PY]Non-Tradeable-Items-Effect

    Yeah it should work or if it didnt work try like this. PythonNetworkStreamPhaseGame.cpp case SHOP_SUBHEADER_GC_START: add __RefreshInventoryWindow(); case SHOP_SUBHEADER_GC_END change like that case SHOP_SUBHEADER_GC_END: { PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "EndShop", Py_BuildValue("()")); __RefreshInventoryWindow(); } and thats my uiinventory if ((exchange.isTrading() and item.IsAntiFlag(item.ANTIFLAG_GIVE)) or (shop.IsOpen() and not shop.IsPrivateShop() and item.IsAntiFlag(item.ITEM_ANTIFLAG_SELL)) or (uiPrivateShopBuilder.IsBuildingPrivateShop() and item.IsAntiFlag(item.ITEM_ANTIFLAG_MYSHOP))): self.wndItem.SetUnusableSlot(i) self.listUnusableSlot.append(i) elif ((not exchange.isTrading() and item.IsAntiFlag(item.ANTIFLAG_GIVE) and slotNumber in self.listUnusableSlot) or (not shop.IsOpen() and shop.IsPrivateShop() and item.IsAntiFlag(item.ITEM_ANTIFLAG_SELL) and slotNumber in self.listUnusableSlot) or ( not uiPrivateShopBuilder.IsBuildingPrivateShop() and item.IsAntiFlag(item.ITEM_ANTIFLAG_MYSHOP) and slotNumber in self.listUnusableSlot )): self.wndItem.SetUsableSlot(i) self.listUnusableSlot.remove(i)
  11. safademirel

    [C++ & PY]Non-Tradeable-Items-Effect

    def OnClose(self): and def Open(self, title): self.RefreshInventorySafa() change this to shop.RefreshInventorySafa() You added it wrong
  12. safademirel

    [C++ & PY]Non-Tradeable-Items-Effect

    can you show me your uiPrivateShopBuilder.py
  13. safademirel

    [C++ & PY]Non-Tradeable-Items-Effect

    PythonShop.cpp search PyObject * shopGetTabCount(PyObject * poSelf, PyObject * poArgs) { return Py_BuildValue("i", CPythonShop::instance().GetTabCount()); } add PyObject * shopRefreshSafa(PyObject * poSelf, PyObject * poArgs) { CPythonNetworkStream::Instance().__RefreshInventoryWindow(); return Py_BuildNone(); } search { "GetTabCoinType", shopGetTabCoinType, METH_VARARGS }, add { "RefreshInventorySafa", shopRefreshSafa, METH_VARARGS }, PythonNetworkStream.h change __RefreshInventoryWindow() and REFRESH_WINDOW_TYPE to public uiprivateshopbuilder.py find def Open(self, title,days): add shop.RefreshInventorySafa() find def OnClose(self): add shop.RefreshInventorySafa()
  14. my skype is  chigeas here no big for root

  15. safademirel

    [Paid] C++

    http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/3179066-release-c-anti-exp-ring.html
×