Jump to content

Welcome to M2Tec

The global development community for Metin2

Knowledge is Freedom

Feel free to share your ideas, your knowledge in our community, your community.

Follow the Rules

Respect the rules of the community, the users and their administrative team. Let's be friends!

ĸαlιвor

Premium
  • Content Count

    95
  • Posts on chatbox

    14
  • Joined

  • Last visited

  • Days Won

    35

ĸαlιвor last won the day on May 25

ĸαlιвor had the most liked content!

Community Reputation

1164 Excellent

3 Followers

About ĸαlιвor

  • Rank
    Professional

Recent Profile Visitors

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

  1. ĸαlιвor

    Dragon Mount

    Download
  2. ĸαlιвor

    Hamster Mount

    Download
  3. ĸαlιвor

    guide Icon on item +0-+9

    Hallöchen, Heute zeige ich euch wie ihr das System "Icon on item +0-+9" verbaut. System RLS: [Hidden Content] ################################# eterPythonLib/PythonSlotWindow.h ################################# suchen: CGraphicImageInstance * pInstance; darunter: CGraphicImageInstance * pInstanceLevel; ============================================================================= suchen: void Destroy(); darunter: void SetSlotLevelImage(DWORD dwIndex, CGraphicImage * levelImage); ################################# eterPythonLib/PythonSlotWindow.cpp ################################# suchen: Slot.pFinishCoolTimeEffect = NULL; darunter: Slot.pInstanceLevel = NULL; ============================================================================= suchen: void CSlotWindow::SetSlotCount(DWORD dwIndex, DWORD dwCount) darunter: void CSlotWindow::SetSlotLevelImage(DWORD dwIndex, CGraphicImage * levelImage) { TSlot * pSlot; if (!GetSlotPointer(dwIndex, &pSlot) || !levelImage) return; assert(NULL == pSlot->pInstanceLevel); pSlot->pInstanceLevel = CGraphicImageInstance::New(); pSlot->pInstanceLevel->SetDiffuseColor(1.0, 1.0, 1.0, 1.0); pSlot->pInstanceLevel->SetImagePointer(levelImage); } ============================================================================= suchen: pSlot->dwCenterSlotNumber = 0xffffffff; darunter: if (pSlot->pInstanceLevel) { CGraphicImageInstance::Delete(pSlot->pInstanceLevel); pSlot->pInstanceLevel = NULL; } ============================================================================= suchen: if (rSlot.bActive) darüber: if (rSlot.pInstanceLevel) { rSlot.pInstanceLevel->SetPosition(m_rect.left + rSlot.ixPosition, (m_rect.top + rSlot.iyPosition + rSlot.byyPlacedItemSize*ITEM_HEIGHT) - 32); rSlot.pInstanceLevel->Render(); } ###################################### eterPythonLib/PythonWindowManagerModule.cpp ###################################### suchen: void initwndMgr() darüber: PyObject * wndMgrSetSlotImage(PyObject * poSelf, PyObject * poArgs) { UI::CWindow * pWin; if (!PyTuple_GetWindow(poArgs, 0, &pWin)) return Py_BuildException(); int iSlotIndex; if (!PyTuple_GetInteger(poArgs, 1, &iSlotIndex)) return Py_BuildException(); char * szImagePath; if (!PyTuple_GetString(poArgs, 2, &szImagePath)) return Py_BuildException(); if (!pWin->IsType(UI::CSlotWindow::Type())) return Py_BuildException(); UI::CSlotWindow * pSlotWin = (UI::CSlotWindow *)pWin; CGraphicImage * pImage = (CGraphicImage *)CResourceManager::Instance().GetResourcePointer(szImagePath); if (!pImage) return Py_BuildException(); pSlotWin->SetSlotLevelImage(iSlotIndex, pImage); return Py_BuildNone(); } ============================================================================= suchen: { "ShowOverInWindowName", wndMgrShowOverInWindowName, METH_VARARGS }, darunter: { "SetSlotLevelImage", wndMgrSetSlotImage, METH_VARARGS }, ################ root/ui.py ################ suchen: wndMgr.SetSlotCount(self.hWnd, renderingSlotNumber, ItemCount) darunter: itemName=item.GetItemName().strip() itemNameP=item.GetItemName().rfind('+') if itemNameP>0 and len(itemName)>itemNameP+1: level=itemName[itemNameP+1:] if level.isdigit(): wndMgr.SetSlotLevelImage(self.hWnd, renderingSlotNumber, ("icon/level/%d.tga"%int(level))) Der Ordner "level" muss in Pfad ("icon/") gelegt werden. Gruß, ĸαlιвor
  4. ĸαlιвor

    guide [M2]Backups erstellen

    Download
  5. ĸαlιвor

    Moka - Armor

    pc pc2 Download
  6. ĸαlιвor

    [2018] Summer Weapon

    Download
  7. ĸαlιвor

    [M2]New Mount

    Download
  8. ĸαlιвor

    Aeldra - HP

    Download
  9. ĸαlιвor

    [M2]New-Mob

    Download
  10. ĸαlιвor

    [M2]Herz-Metin

    Download
  11. ĸαlιвor

    files Venaria2 - Files/Client

    #Thread updated.
  12. ĸαlιвor

    python // Entfernt

    Bild vom Interface:
  13. ĸαlιвor

    [M2Tec] Install Server (Root)

    Download
  14. ĸαlιвor

    question LibIL.so.1 not working

    check the libs [Hidden Content] && updated freebsd?
×