xRdy2Kill 65 Posted November 11, 2015 Share Posted November 11, 2015 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 Link to comment Share on other sites More sharing options...
Traktorzysta 17 Posted November 11, 2015 Share Posted November 11, 2015 You change int to long long where you can not do.. Link to comment Share on other sites More sharing options...
xRdy2Kill 65 Posted November 12, 2015 Author Share Posted November 12, 2015 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. Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19751 Posted November 12, 2015 Honorable Member Share Posted November 12, 2015 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); } 1 Link to comment Share on other sites More sharing options...
xRdy2Kill 65 Posted November 13, 2015 Author Share Posted November 13, 2015 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. Link to comment Share on other sites More sharing options...
xRdy2Kill 65 Posted November 14, 2015 Author Share Posted November 14, 2015 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 Link to comment Share on other sites More sharing options...
AlexxD 125 Posted November 14, 2015 Share Posted November 14, 2015 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 If you have python27 you can try "K" value, not "ULL" or "LL", or PyLong_AsLongLong or etc. Or you don't chance PointChange function. 1 "Don't be a scammer. Don't be a hacker. Don't be a motherfucker. Karma is a bitch" Link to comment Share on other sites More sharing options...
xRdy2Kill 65 Posted November 14, 2015 Author Share Posted November 14, 2015 I tried k but dont work,too. What did i made false in pointchange? Link to comment Share on other sites More sharing options...
xRdy2Kill 65 Posted November 15, 2015 Author Share Posted November 15, 2015 BUMP Link to comment Share on other sites More sharing options...
xRdy2Kill 65 Posted November 18, 2015 Author Share Posted November 18, 2015 Bump Link to comment Share on other sites More sharing options...
Premium TAUMP 854 Posted November 18, 2015 Premium Share Posted November 18, 2015 Free max yang nope.. Link to comment Share on other sites More sharing options...
xRdy2Kill 65 Posted November 18, 2015 Author Share Posted November 18, 2015 2 hours ago, .T4Ump said: Free max yang nope.. This help nobody... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now