Jump to content

iRemain

Member
  • Posts

    48
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

iRemain last won the day on February 12 2015

iRemain had the most liked content!

About iRemain

Informations

  • Gender
    Male

Recent Profile Visitors

1098 profile views

iRemain's Achievements

Contributor

Contributor (5/16)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

17

Reputation

  1. first of all add in locale_inc.h #define ENABLE_MOUNT_COSTUME_SYSTEM #define ENABLE_ACCE_COSTUME_SYSTEM PythonItemModule.cpp #ifdef ENABLE_COSTUME_SYSTEM PyModule_AddIntConstant(poModule, "ITEM_TYPE_COSTUME", CItemData::ITEM_TYPE_COSTUME); // Item Sub Type PyModule_AddIntConstant(poModule, "COSTUME_TYPE_BODY", CItemData::COSTUME_BODY); PyModule_AddIntConstant(poModule, "COSTUME_TYPE_HAIR", CItemData::COSTUME_HAIR); PyModule_AddIntConstant(poModule, "COSTUME_TYPE_MOUNT", CItemData::COSTUME_ACCE); // you're type // 인벤토리 및 장비창에서의 슬롯 번호 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_MOUNT_SLOT_START", c_Costume_Mount_Slot_Start); PyModule_AddIntConstant(poModule, "COSTUME_MOUNT_SLOT_COUNT", c_Costume_Mount_Slot_Count); PyModule_AddIntConstant(poModule, "COSTUME_SLOT_MOUNT", c_Costume_Mount_Slot_Shoulder); PyModule_AddIntConstant(poModule, "COSTUME_MOUNT_SLOT_END", c_Costume_Mount_Slot_End); PyModule_AddIntConstant(poModule, "COSTUME_SLOT_END", c_Costume_Slot_End); #endif #ifdef ENABLE_NEW_EQUIPMENT_SYSTEM PyModule_AddIntConstant(poModule, "BELT_INVENTORY_SLOT_START", c_Belt_Inventory_Slot_Start); PyModule_AddIntConstant(poModule, "BELT_INVENTORY_SLOT_COUNT", c_Belt_Inventory_Slot_Count); PyModule_AddIntConstant(poModule, "BELT_INVENTORY_SLOT_END", c_Belt_Inventory_Slot_End); #endif PythonApplicationModule: #ifdef ENABLE_ACCE_COSTUME_SYSTEM PyModule_AddIntConstant(poModule, "ENABLE_ACCE_COSTUME_SYSTEM", 1); #else PyModule_AddIntConstant(poModule, "ENABLE_ACCE_COSTUME_SYSTEM", 0); #endif #ifdef ENABLE_MOUNT_COSTUME_SYSTEM PyModule_AddIntConstant(poModule, "ENABLE_MOUNT_COSTUME_SYSTEM", 1); #else PyModule_AddIntConstant(poModule, "ENABLE_MOUNT_COSTUME_SYSTEM", 0); #endif
  2. ​ Look at the other posts ... ​ error2: .\PythonCharacterModule.cpp(180) : error C2084: function 'PyObject *chrDeleteInstanceByFade(PyObject *,PyObject *)' already has a body .\PythonCharacterModule.cpp(112) : see previous definition of 'chrDeleteInstanceByFade' you have doublicated this function : PyObject *chrDeleteInstanceByFade(PyObject *,PyObject *)' shearch in PythonCharacterModule.cpp line 112
  3. ​same, no errors regarding the sash ... I tried everything, don't know why it dosen't even work in selectcharacter
  4. ActorInstanceData.cpp void CActorInstance::SetHair(DWORD eHair) { m_eHair = eHair; CRaceData * pRaceData; if (!CRaceManager::Instance().GetRaceDataPointer(m_eRace, &pRaceData)) return; CRaceData::SHair* pkHair = pRaceData->FindHair(eHair); if (pkHair) { if (!pkHair->m_stModelFileName.empty()) { CGraphicThing * pkHairThing = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(pkHair->m_stModelFileName.c_str()); RegisterModelThing(CRaceData::PART_HAIR, pkHairThing); SetModelInstance(CRaceData::PART_HAIR, CRaceData::PART_HAIR, 0, CRaceData::PART_MAIN); } const std::vector<CRaceData::SSkin>& c_rkVct_kSkin = pkHair->m_kVct_kSkin; std::vector<CRaceData::SSkin>::const_iterator i; for (i = c_rkVct_kSkin.begin(); i != c_rkVct_kSkin.end(); ++i) { const CRaceData::SSkin& c_rkSkinItem = *i; CResource * pkRes = CResourceManager::Instance().GetResourcePointer(c_rkSkinItem.m_stDstFileName.c_str()); if (pkRes) SetMaterialImagePointer(CRaceData::PART_HAIR, c_rkSkinItem.m_stSrcFileName.c_str(), static_cast<CGraphicImage*>(pkRes)); } } } void CActorInstance::SetWing(DWORD eWing) { m_eWing = eWing; CRaceData * pRaceData; if (!CRaceManager::Instance().GetRaceDataPointer(m_eRace, &pRaceData)) return; CRaceData::SWing* pkWing = pRaceData->FindWing(eWing); if (pkWing) { if (!pkWing->m_stModelFileName.empty()) { CGraphicThing * pkWingThing = (CGraphicThing *)CResourceManager::Instance().GetResourcePointer(pkWing->m_stModelFileName.c_str()); RegisterModelThing(CRaceData::PART_WING, pkWingThing); SetModelInstance(CRaceData::PART_WING, CRaceData::PART_WING, 0, CRaceData::PART_MAIN); } const std::vector<CRaceData::SSkin>& c_rkVct_kSkin = pkWing->m_kVct_kSkin; std::vector<CRaceData::SSkin>::const_iterator i; for (i = c_rkVct_kSkin.begin(); i != c_rkVct_kSkin.end(); ++i) { const CRaceData::SSkin& c_rkSkinItem = *i; CResource * pkRes = CResourceManager::Instance().GetResourcePointer(c_rkSkinItem.m_stDstFileName.c_str()); if (pkRes) SetMaterialImagePointer(CRaceData::PART_WING, c_rkSkinItem.m_stSrcFileName.c_str(), static_cast<CGraphicImage*>(pkRes)); } } } RaceData.cpp CRaceData::SHair* CRaceData::FindHair(UINT eHair) { std::map<DWORD, SHair>::iterator f=m_kMap_dwHairKey_kHair.find(eHair); if (m_kMap_dwHairKey_kHair.end()==f) { if (eHair != 0) TraceError("Hair number %d is not exist.",eHair); return NULL; } return &f->second; } void CRaceData::SetHairSkin(UINT eHair, UINT ePart, const char * c_szModelFileName, const char* c_szSrcFileName, const char* c_szDstFileName) { SSkin kSkin; kSkin.m_ePart=ePart; kSkin.m_stSrcFileName=c_szSrcFileName; kSkin.m_stDstFileName=c_szDstFileName; CFileNameHelper::ChangeDosPath(kSkin.m_stSrcFileName); m_kMap_dwHairKey_kHair[eHair].m_kVct_kSkin.push_back(kSkin); m_kMap_dwHairKey_kHair[eHair].m_stModelFileName = c_szModelFileName; } CRaceData::SWing* CRaceData::FindWing(UINT eWing) { std::map<DWORD, SWing>::iterator f=m_kMap_dwWingKey_kWing.find(eWing); if (m_kMap_dwWingKey_kWing.end()==f) return NULL; return &f->second; } void CRaceData::SetWingSkin(UINT eWing, UINT ePart, const char * c_szModelFileName, const char* c_szSrcFileName, const char* c_szDstFileName) { SSkin kSkin; kSkin.m_ePart=ePart; kSkin.m_stSrcFileName=c_szSrcFileName; kSkin.m_stDstFileName=c_szDstFileName; CFileNameHelper::ChangeDosPath(kSkin.m_stSrcFileName); m_kMap_dwWingKey_kWing[eWing].m_kVct_kSkin.push_back(kSkin); m_kMap_dwWingKey_kWing[eWing].m_stModelFileName = c_szModelFileName; } RaceData.h SHair* FindHair(UINT eHair); SShape* FindShape(UINT eShape); SWing* FindWing(UINT eWing); I made this tut 3 times and I don't know what I missed ...
  5. only this : 0615 01:50:00534 :: Hair number 2548 is not exist. 0615 01:50:00535 :: Hair number 2548 is not exist. 0615 01:50:00535 :: Hair number 2548 is not exist. 0615 01:50:00553 :: Hair number 2548 is not exist. 0615 01:51:46439 :: Hair number 64001 is not exist. 0615 01:51:48193 :: Hair number 64001 is not exist. 0615 01:51:49565 :: Hair number 64001 is not exist. 0615 01:51:50242 :: Hair number 64001 is not exist. 0615 01:51:52090 :: Hair number 64001 is not exist.
  6. item_proto client/server 85001 ITEM_USE USE_SPECIAL 1 ANTI_DROP | ANTI_GIVE | ANTI_MYSHOP QUEST_USE_MULTIPLE | LOG NONE NONE 0 0 0 0 0 LIMIT_NONE 0 LIMIT_NONE 0 APPLY_NONE 0 APPLY_NONE 0 APPLY_NONE 0 0 0 0 0 0 0 100 0 0 playersettingmodule: chrmgr.RegisterAttachingBoneName(chr.PART_WING, "equip_right_hand") what I did wrong this time?
  7. ​ #ifdef ENABLE_COSTUME_SYSTEM const DWORD c_Costume_Slot_Start = c_Equipment_Start + 19; // [ÁÖÀÇ] ¼ýÀÚ(19) ÇϵåÄÚµù ÁÖÀÇ. ÇöÀç ¼­¹ö¿¡¼­ ÄÚ½ºÃõ ½½·ÔÀº 19ºÎÅÍÀÓ. ¼­¹ö common/length.h ÆÄÀÏÀÇ EWearPositions ¿­°ÅÇü Âü°í. const DWORD c_Costume_Slot_Body = c_Costume_Slot_Start + 0; const DWORD c_Costume_Slot_Hair = c_Costume_Slot_Start + 1; const DWORD c_Costume_Slot_Count = 2; const DWORD c_Costume_Slot_End = c_Costume_Slot_Start + c_Costume_Slot_Count; #endif #ifdef ENABLE_MOUNT_COSTUME_SYSTEM const DWORD c_Costume_Mount_Slot_Start = c_Equipment_Start + 24; const DWORD c_Costume_Mount_Slot_Shoulder = c_Costume_Slot_Start + 0; const DWORD c_Costume_Mount_Slot_Count = 1; const DWORD c_Costume_Mount_Slot_End = c_Costume_Mount_Slot_Start + c_Costume_Mount_Slot_Count; #endif I have it ...
  8. ​You have forgot to edit the PlayerItemModule.cpp ​you mean PythonItemModule.cpp but I have: #ifdef ENABLE_COSTUME_SYSTEM PyModule_AddIntConstant(poModule, "ITEM_TYPE_COSTUME", CItemData::ITEM_TYPE_COSTUME); // Item Sub Type PyModule_AddIntConstant(poModule, "COSTUME_TYPE_BODY", CItemData::COSTUME_BODY); PyModule_AddIntConstant(poModule, "COSTUME_TYPE_HAIR", CItemData::COSTUME_HAIR); PyModule_AddIntConstant(poModule, "COSTUME_TYPE_MOUNT", CItemData::USE_SPECIAL); // 인벤토리 및 장비창에서의 슬롯 번호 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_MOUNT_SLOT_START", c_Costume_Mount_Slot_Start); PyModule_AddIntConstant(poModule, "COSTUME_MOUNT_SLOT_COUNT", c_Costume_Mount_Slot_Count); PyModule_AddIntConstant(poModule, "COSTUME_SLOT_MOUNT", c_Costume_Mount_Slot_Shoulder); PyModule_AddIntConstant(poModule, "COSTUME_MOUNT_SLOT_END", c_Costume_Mount_Slot_End); PyModule_AddIntConstant(poModule, "COSTUME_SLOT_END", c_Costume_Slot_End); #endif #ifdef ENABLE_NEW_EQUIPMENT_SYSTEM PyModule_AddIntConstant(poModule, "BELT_INVENTORY_SLOT_START", c_Belt_Inventory_Slot_Start); PyModule_AddIntConstant(poModule, "BELT_INVENTORY_SLOT_COUNT", c_Belt_Inventory_Slot_Count); PyModule_AddIntConstant(poModule, "BELT_INVENTORY_SLOT_END", c_Belt_Inventory_Slot_End); #endif and if I delete from locale_inc.cpp : #define ENABLE_MOUNT_COSTUME_SYSTEM #define ENABLE_ACCE_COSTUME_SYSTEM and this: from PythonApplicationModule: #ifdef ENABLE_ACCE_COSTUME_SYSTEM PyModule_AddIntConstant(poModule, "ENABLE_ACCE_COSTUME_SYSTEM", 1); #else PyModule_AddIntConstant(poModule, "ENABLE_ACCE_COSTUME_SYSTEM", 0); #endif #ifdef ENABLE_MOUNT_COSTUME_SYSTEM PyModule_AddIntConstant(poModule, "ENABLE_MOUNT_COSTUME_SYSTEM", 1); #else PyModule_AddIntConstant(poModule, "ENABLE_MOUNT_COSTUME_SYSTEM", 0); #endif it gives me this error : >.PythonItemModule.cpp(632) : error C2065: 'c_Costume_Mount_Slot_Start' : undeclared identifier 1>.PythonItemModule.cpp(633) : error C2065: 'c_Costume_Mount_Slot_Count' : undeclared identifier 1>.PythonItemModule.cpp(634) : error C2065: 'c_Costume_Mount_Slot_Shoulder' : undeclared identifier 1>.PythonItemModule.cpp(635) : error C2065: 'c_Costume_Mount_Slot_End' : undeclared identifier
  9. 0611 19:08:46442 :: Failed to load script file : UIScript/CostumeWindow.py 0611 19:08:46472 :: ui.py(line:2778) LoadScriptFile system.py(line:192) execfile system.py(line:163) Run UIScript/CostumeWindow.py(line:8) ? LoadScriptFile!!!!!!!!!!!!!! - exceptions.AttributeError:'module' object has no attribute 'ENABLE_MOUNT_COSTUME_SYSTEM' 0611 19:08:46472 :: ============================================================================================================ 0611 19:08:46472 :: Abort!!!! 0611 19:08:46473 :: uiInventory.py(line:68) __LoadWindow ui.py(line:2795) LoadScriptFile exception.py(line:36) Abort CostumeWindow.LoadWindow.LoadObject - exceptions.SystemExit: 0611 19:08:46473 :: ============================================================================================================ 0611 19:08:46473 :: Abort!!!! 1.why? :-? 2.Do I have to do this in locale_inc.h? #define LOCALE_SERVICE_EUROPE #define ENABLE_COSTUME_SYSTEM #define ENABLE_MOUNT_COSTUME_SYSTEM #define ENABLE_ENERGY_SYSTEM #define ENABLE_DRAGON_SOUL_SYSTEM #define ENABLE_NEW_EQUIPMENT_SYSTEM
  10. one problem : 16>cryptlib-5.6.1MT.lib(integer.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 16>NetworkActorManager.obj : error LNK2001: unresolved external symbol "public: void __thiscall CInstanceBase::ChangeWing(unsigned long)" (?ChangeWing@CInstanceBase@@QAEXK@Z)
  11. this is the error: 16>LINK : fatal error LNK1104: cannot open file '..eterpackdistributeeterpack.lib' 1>------ Build started: Project: UserInterface, Configuration: Release Win32 ------ 1>LINK : fatal error LNK1181: cannot open input file 'E:Metin2Client-sideclient_source_cleanvs_filesEterPackReleaseEterPack.lib' ========== Build: 0 succeeded, 1 failed, 15 up-to-date, 0 skipped ==========
  12. it works to rebuld, but when I build the hole project still the same error
  13. yah, good job m8 ... if I was blind ... but why I get that error :-? ?
×
×
  • 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.