Jump to content

xRdy2Kill

Inactive Member
  • Posts

    51
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by xRdy2Kill

  1. Hey dev´s, i got this error " Assertion failed: (index < row->size()), function AsStringByIndex, file CsvReader.cpp, line 395 ". I took the Costume weapon and the offline shop system in my game/db but i dont know where the error is. I controlled my item_protos ans its all clean. Hope anyone can help
  2. Hey Guys, I have a problem, i compiled my binary and i got the error C2665 Error 5 error C2665: 'std :: forward ": None of the 2 overloads all types of arguments could be converted. and this is my code in PythonShop.cpp void CPythonShop::SetOfflineShopItemData(DWORD dwIndex, const TShopItemData & c_rShopItemData) { BYTE tabIdx = dwIndex / OFFLINE_SHOP_HOST_ITEM_MAX_NUM; DWORD dwSlotPos = dwIndex % OFFLINE_SHOP_HOST_ITEM_MAX_NUM; SetOfflineShopItemData(tabIdx, dwSlotPos, c_rShopItemData); } void CPythonShop::SetOfflineShopItemData(BYTE tabIdx, DWORD dwSlotPos, const TShopItemData & c_rShopItemData) { if (tabIdx >= SHOP_TAB_COUNT_MAX || dwSlotPos >= OFFLINE_SHOP_HOST_ITEM_MAX_NUM) { TraceError("Out of Index. tabIdx(%d) must be less than %d. dwSlotPos(%d) must be less than %d", tabIdx, SHOP_TAB_COUNT_MAX, dwSlotPos, OFFLINE_SHOP_HOST_ITEM_MAX_NUM); return; } m_aOfflineShoptabs[tabIdx].items[dwSlotPos] = c_rShopItemData; } BOOL CPythonShop::GetOfflineShopItemData(DWORD dwIndex, const TShopItemData ** c_ppItemData) { BYTE tabIdx = dwIndex / OFFLINE_SHOP_HOST_ITEM_MAX_NUM; DWORD dwSlotPos = dwIndex % OFFLINE_SHOP_HOST_ITEM_MAX_NUM; return GetOfflineShopItemData(tabIdx, dwSlotPos, c_ppItemData); } BOOL CPythonShop::GetOfflineShopItemData(BYTE tabIdx, DWORD dwSlotPos, const TShopItemData ** c_ppItemData) { if (tabIdx >= SHOP_TAB_COUNT_MAX || dwSlotPos >= OFFLINE_SHOP_HOST_ITEM_MAX_NUM) { TraceError("Out of Index. tabIdx(%d) must be less than %d. dwSlotPos(%d) must be less than %d", tabIdx, SHOP_TAB_COUNT_MAX, dwSlotPos, OFFLINE_SHOP_HOST_ITEM_MAX_NUM); return FALSE; } *c_ppItemData = &m_aOfflineShoptabs[tabIdx].items[dwSlotPos]; return TRUE; } hope anyone can help EDIT: Only a compiler error. Fixxed.
  3. 0403 17:24:47400 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\project\metin2\main\assets\npc\lion\lion.psd Resource Pointer doesn´t support .psd (Photoshop) files. Save it again as .png Mfg
  4. I think it´s this function. InstanceBase.cpp change this: void CInstanceBase::ChangeAcce(DWORD eAcce) { if (IsPC() == false) return; SetAcce(eAcce); RefreshState(CRaceMotionData::NAME_WAIT, true); } to this void CInstanceBase::ChangeAcce(DWORD eAcce) { if (IsPC() == false) return; SetAcce(eAcce); //RefreshState(CRaceMotionData::NAME_WAIT, true); }
  5. I tried k but dont work,too. What did i made false in pointchange?
  6. BUMP I tryed long long and unsigned long long as return type. Both dont work when my yang increase over 2kkk it changes to 0 yang, and in navicate and after relog the yang have the real value. I edited all what is nacessary for max yang. I hope anyone can tell me what the problem is. Best regards
  7. thanks it works, but when the value changes (buy,sell whatever) binary shows a high amount... when i relog then the yang is the real value.
  8. Thanks for your answer I solved this, but i have only a little problem and the yang display in my inventory displays a false amount. I tried LL, ULL and L in pythonplayermodule.cpp in binary. L works but when i have more as 2,1kkk it changes to 0 yang.
  9. Hey Guy´s I have a problem with max yang. I edit all cpp´s and edit all int to long long. But when i try to log in, i get this syserr: 1111 16:08:59335 :: Acce number 1005 is not exist. 1111 16:08:59335 :: Acce number 1005 is not exist. 1111 16:08:12900 :: Phase Select does not handle this header (header: 4, last: 17, 4) 1111 16:08:12933 :: Phase Select does not handle this header (header: 25, last: 4, 25) i dont know why my acce number not exist. hope anyone can help best regards
  10. I dont have another client with shoulder sash
  11. did you change the money in uicommon? i mean this. money = 0 if text and text.isdigit(): try: money = long(text) except ValueError: #money = 2110000000 money = 19999999999 // This is the money of your shop
  12. I have the same error. But i use .txt as item_proto
×
×
  • 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.