Jump to content

Recommended Posts

  • Replies 18
  • Created
  • Last Reply

Top Posters In This Topic

Hi, in binary i muset change GetElk but change to? i dont know to what :D

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

change to?

please help :P

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

{

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

}

Link to comment
Share on other sites

Have

return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));

 
 
when i give gold, gold not add(only show text gold added) 
when i pickup gold, gold not add(same, only show text)
 
in navicat not add when i pickup or give gold as GM
 
when i add gold via navicat in player gold column
 
Gold in game i see
bud when i add 3kkk in game i see only 2.147.483.647 ? where is problem..
Link to comment
Share on other sites

 

Have

return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD));

 
 
when i give gold, gold not add(only show text gold added) 
when i pickup gold, gold not add(same, only show text)
 
in navicat not add when i pickup or give gold as GM
 
when i add gold via navicat in player gold column
 
Gold in game i see
bud when i add 3kkk in game i see only 2.147.483.647 ? where is problem..

 

int = 2147483648

you something not change 

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.