- Mesaj
- 862
- Çözümler
- 45
- Beğeni
- 958
- Puan
- 959
- Ticaret Puanı
- 0
Merhaba Mmo Tutkunları üyeleri .
Yenilerde tılsım sistemini ekledim. Ancak ne yaptıysam bu basit sorunu çözemedim. Oyunda tılsımı sorunsuz giyiyorum faka envanterde gözükmüyor.
Yenilerde tılsım sistemini ekledim. Ancak ne yaptıysam bu basit sorunu çözemedim. Oyunda tılsımı sorunsuz giyiyorum faka envanterde gözükmüyor.
GameType.h:
#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
const DWORD c_New_Equipment_Start = c_Equipment_Start + 21 + 2;
const DWORD c_New_Equipment_Count = 3;
const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0; // 203
const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1; // 204
const DWORD c_Equipment_Belt = c_New_Equipment_Start + 2; // 205
#ifdef ITEM_TALISMAN_EQUIPMENT
const DWORD c_Equipment_Pendant = c_New_Equipment_Start + 3; //206
#endif
#endif
PythonItemModule.cpp:
#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
PyModule_AddIntConstant(poModule, "EQUIPMENT_RING1", c_Equipment_Ring1);
PyModule_AddIntConstant(poModule, "EQUIPMENT_RING2", c_Equipment_Ring2);
PyModule_AddIntConstant(poModule, "EQUIPMENT_BELT", c_Equipment_Belt);
#ifdef ITEM_TALISMAN_EQUIPMENT
PyModule_AddIntConstant(poModule, "EQUIPMENT_PENDANT", c_Equipment_Pendant);
#endif
#endif
inventorywindow.py:
"slot" : (
{"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
{"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
{"index":EQUIPMENT_START_INDEX+5, "x":114, "y":67, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+6, "x":114, "y":35, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+7, "x":2, "y":145, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+8, "x":75, "y":145, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32},
{"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
## 새 반지1
##{"index":item.EQUIPMENT_RING1, "x":2, "y":106, "width":32, "height":32},
## 새 반지2
##{"index":item.EQUIPMENT_RING2, "x":75, "y":106, "width":32, "height":32},
## 새 벨트
{"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32},
{"index":item.EQUIPMENT_PENDANT, "x":2, "y":106, "width":32, "height":32},
),