Jump to content

BINARY MAX GOLD PROBLEM


Recommended Posts

I Can Change PythonPlayerModule.cpp ;

 

//PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
//{
//return Py_BuildValue("i", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
//}


PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
{
return Py_BuildValue("LL", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
}

uicommon.py ;

 

money = 0
if text and text.isdigit():
try:
money = LongLong(text)
except ValueError:
money = 500000000000

But This Error :

 

https://metin2.download/picture/wr4t20tmBNuvOc68w6UC5KY70qeIIqA9/.jpg

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 

try 

 

PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
{
return Py_BuildValue("ll", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
 
return PyLong_FromLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));
}

 

 

https://metin2.download/picture/0tQxtLcr58a67bjF51CgJQAmUY5GFpPP/.jpg

 

Not Fix.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

 

try 

 

PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
{
return Py_BuildValue("ll", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
 
return PyLong_FromLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));
}

 

 

https://metin2.download/picture/0tQxtLcr58a67bjF51CgJQAmUY5GFpPP/.jpg

 

Not Fix.

 

try

PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)

{

return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD));

}

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

 

 

try 

 

PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)
{
return Py_BuildValue("ll", CPythonPlayer::Instance().GetStatus(POINT_GOLD));
 
return PyLong_FromLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));
}

 

 

https://metin2.download/picture/0tQxtLcr58a67bjF51CgJQAmUY5GFpPP/.jpg

 

Not Fix.

 

try

PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs)

{

return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD));

}

 

https://metin2.download/picture/PIgl65nOOD3FYYdsI4mmR88x4x1k0kCl/.jpg

 

Not Fix.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.