-
Posts
51 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by xRdy2Kill
-
-
-
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
-
Its selfmade.
I programmed one in c#
-
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.
-
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
-
-
give me the Dump querys and i try it out
-
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);
}- 1
-
2 hours ago, .T4Ump said:
Free max yang nope..
This help nobody...
-
-
-
I tried k but dont work,too.
What did i made false in pointchange?
-
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
-
You should use other ways, here are two (I prefer the first)
PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { long long llGold = CPythonPlayer::Instance().GetStatus(POINT_GOLD); #ifdef _DEBUG Tracef("GetElk(): %lld\n", llGold); #endif return PyLong_FromLongLong(llGold); } PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { long long llGold = CPythonPlayer::Instance().GetStatus(POINT_GOLD); #ifdef _DEBUG Tracef("GetElk(): %lld\n", llGold); #endif PyObject *args = PyTuple_New(1); PyTuple_SetItem(args, 0, PyLong_FromLongLong(llGold)); Py_BuildValue("()", args); }
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.
-
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.
-
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
-
-
-
#up
Only the belt problem :/
-
I dont have another client with shoulder sash
-
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
-
I have the same error. But i use .txt as item_proto
-
-
#Push
*Sorry but need really help
Assertion failed: (index < row->size()), error
in Community Support - Questions & Answers
Posted
Push