Jump to content

safademirel

Member
  • Posts

    104
  • Joined

  • Last visited

  • Feedback

    0%

About safademirel

Informations

  • Gender
    Male

Recent Profile Visitors

2705 profile views

safademirel's Achievements

Collaborator

Collaborator (7/16)

  • Very Popular Rare
  • Conversation Starter
  • First Post
  • Collaborator
  • Week One Done

Recent Badges

274

Reputation

  1. 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. Yeah, you can change it right there. 16,14, 13, 13 change like this.
  3. constants.cpp TJobInitialPoints JobInitialPoints[JOB_MAX_NUM] find change first 4 values.
  4. 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))
  5. uiinventory : [Hidden Content] uiprivateshopbuilder : [Hidden Content]
  6. 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
  7. def ShowWindow(self, size): def Close(self): def CommandCloseSafebox(self): add to this methods shop.RefreshInventorySafa()
  8. def BINARY_Highlight_Item(self, inven_type, inven_pos): if self.interface: self.interface.Highligt_Item(inven_type, inven_pos) try this.
  9. 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)
  10. def OnClose(self): and def Open(self, title): self.RefreshInventorySafa() change this to shop.RefreshInventorySafa() You added it wrong
  11. 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()
  12. http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/3179066-release-c-anti-exp-ring.html
  13. int pc_get_ip(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); if(!ch) return 0; lua_pushstring(L, ch->GetDesc()->GetHostName()); return 1; } quest iptest begin state start begin when kill begin local vid = npc.get_vid() local old_pc = pc.select(vid) if old_pc != 0 then local e_ip = pc.get_ip() local e_name = pc.get_name() pc.select(old_pc) local m_ip = pc.get_ip() local m_name = pc.get_name() if e_ip == m_ip then syschat("same ip") syschat(""..e_name.." : "..e_ip.."") syschat(""..m_name.." : "..m_ip.."") else syschat("not same ip") end end end end end Try this one.
×
×
  • 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.