Jump to content

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
https://metin2.dev/topic/5329-binary-max-gold-problem/
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));
}
Link to comment
https://metin2.dev/topic/5329-binary-max-gold-problem/#findComment-33485
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.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/5329-binary-max-gold-problem/#findComment-33486
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
https://metin2.dev/topic/5329-binary-max-gold-problem/#findComment-33487
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
https://metin2.dev/topic/5329-binary-max-gold-problem/#findComment-33489
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.