- Mesaj
- 89
- Çözümler
- 1
- Beğeni
- 15
- Puan
- 49
- Ticaret Puanı
- 0
Yanında gezen binek sistemini ekleyebilmeyle 1 haftadır uğraşıyorum daha beceremedim
Client source build alırken Userinterface/PythonİtemModule.cpp de eklenmesi gereken kodlar şu şekilde
Benim eklemiş halim ise şu şekilde ve build işlemi yapılırken pythonitemmodule.cpp de 747 error diyor ama bi problem göremedim.

Client source build alırken Userinterface/PythonİtemModule.cpp de eklenmesi gereken kodlar şu şekilde
C++:
// aratın
PyModule_AddIntConstant(poModule, "COSTUME_SLOT_START", c_Costume_Slot_Start);
// üstüne ekleyin
PyModule_AddIntConstant(poModule, "COSTUME_TYPE_MOUNT", CItemData::COSTUME_MOUNT);
// aratın
PyModule_AddIntConstant(poModule, "COSTUME_SLOT_END", c_Costume_Slot_End);
// üstüne ekleyin
PyModule_AddIntConstant(poModule, "COSTUME_SLOT_MOUNT", c_Costume_Slot_Mount);
Benim eklemiş halim ise şu şekilde ve build işlemi yapılırken pythonitemmodule.cpp de 747 error diyor ama bi problem göremedim.
C++:
// 인벤토리 및 장비창에서의 슬롯 번호
PyModule_AddIntConstant (poModule, "COSTUME_TYPE_MOUNT", CItemData::COSTUME_MOUNT);
PyModule_AddIntConstant (poModule, "COSTUME_SLOT_START", c_Costume_Slot_Start);
PyModule_AddIntConstant (poModule, "COSTUME_SLOT_COUNT", c_Costume_Slot_Count);
PyModule_AddIntConstant (poModule, "COSTUME_SLOT_BODY", c_Costume_Slot_Body);
PyModule_AddIntConstant (poModule, "COSTUME_SLOT_HAIR", c_Costume_Slot_Hair);
PyModule_AddIntConstant (poModule, "COSTUME_SLOT_MOUNT", c_Costume_Slot_Mount);
PyModule_AddIntConstant (poModule, "COSTUME_SLOT_END", c_Costume_Slot_End);
#endif