Premium phayara 424 Posted January 16, 2015 Premium Share Posted January 16, 2015 (edited) Hi! please help me. https://metin2.download/picture/P38rKTgd5U5Y24X7Ii5NYD3F8VsNSH8V/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium ragem0re 155 Posted January 16, 2015 Premium Share Posted January 16, 2015 (edited) Hi! please help me. https://metin2.download/picture/P38rKTgd5U5Y24X7Ii5NYD3F8VsNSH8V/.png Change long long int GetAllowedGold() to long long GetAllowedGold() and also long long int GetGold() to long long GetGold() Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium phayara 424 Posted January 16, 2015 Premium Share Posted January 16, 2015 files? Link to comment Share on other sites More sharing options...
Premium ragem0re 155 Posted January 16, 2015 Premium Share Posted January 16, 2015 files? Search for GetGold() and GetAllowedGold() in "char.h" 1 Link to comment Share on other sites More sharing options...
Traktorzysta 17 Posted February 3, 2015 Share Posted February 3, 2015 Where add this: ULL = unsigned long long in pythonplayermodule Link to comment Share on other sites More sharing options...
avertuss 48 Posted February 5, 2015 Share Posted February 5, 2015 (edited) Nvm Edited February 5, 2015 by avertuss Link to comment Share on other sites More sharing options...
jma96 1 Posted February 10, 2015 Share Posted February 10, 2015 (edited) Hi, what do you mean with this: And in PythonPlayerModule.cpp Use ULL . I use this in pythonplayermodule: PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } But have this problem: I changed packet_points to longlong too. The gold in db is good. Thanks ^^ Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 10, 2015 Share Posted February 10, 2015 (edited) Hi, what do you mean with this: And in PythonPlayerModule.cpp Use ULL . I use this in pythonplayermodule: PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } But have this problem: I changed packet_points to longlong too. The gold in db is good. Thanks ^^ i have same problem.. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
jma96 1 Posted February 11, 2015 Share Posted February 11, 2015 (edited) Hi, what do you mean with this: And in PythonPlayerModule.cpp Use ULL . I use this in pythonplayermodule: PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } But have this problem: I changed packet_points to longlong too. The gold in db is good. Thanks ^^ UP =S Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
jma96 1 Posted February 11, 2015 Share Posted February 11, 2015 Help pls. ^^ Link to comment Share on other sites More sharing options...
Traktorzysta 17 Posted February 17, 2015 Share Posted February 17, 2015 (edited) Hi, what do you mean with this: And in PythonPlayerModule.cpp Use ULL . I use this in pythonplayermodule: PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } But have this problem: I changed packet_points to longlong too. The gold in db is good. Thanks ^^ UP =S up Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Traktorzysta 17 Posted February 19, 2015 Share Posted February 19, 2015 (edited) Hi, what do you mean with this: And in PythonPlayerModule.cpp Use ULL . I use this in pythonplayermodule: PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return PyLong_FromUnsignedLongLong(CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } But have this problem: I changed packet_points to longlong too. The gold in db is good. Thanks ^^ UP =S up up Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted February 19, 2015 Share Posted February 19, 2015 (edited) PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } K is worked... My gold is "long long" Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 19, 2015 Share Posted February 19, 2015 (edited) PyObject * playerGetElk(PyObject* poSelf, PyObject* poArgs) { return Py_BuildValue("K", CPythonPlayer::Instance().GetStatus(POINT_GOLD)); } K is worked... My gold is "long long" Worked? you have in navicat 223.372.036.854.775.806 yang? Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted February 19, 2015 Share Posted February 19, 2015 (edited) Yes, 9.223.372.036.854.775.806 Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 19, 2015 Share Posted February 19, 2015 (edited) Yes, 9.223.372.036.854.775.806 you have ingame 10.000.010.006 and ind navi 10.000.010.004 Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted February 19, 2015 Share Posted February 19, 2015 (edited) Yes, 9.223.372.036.854.775.806 you have ingame 10.000.010.006 and ind navi 10.000.010.004 the database has not been updated Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 19, 2015 Share Posted February 19, 2015 Hmm, you have all long long? and in length GOLD_MAX ? i have GOLD_MAX = 2000000000LL Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 19, 2015 Share Posted February 19, 2015 (edited) have too K but dont work.. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted February 19, 2015 Share Posted February 19, 2015 My edig yang_max.... const long long yang_max or const long long gold_max Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 19, 2015 Share Posted February 19, 2015 where? Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted February 19, 2015 Share Posted February 19, 2015 length.h Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 19, 2015 Share Posted February 19, 2015 wtf? this GOLD_MAX = 2000000000LL change to const long long gold_max ? Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted February 19, 2015 Share Posted February 19, 2015 const long long GOLD_MAX = 2000000000LL Link to comment Share on other sites More sharing options...
fenixplayscz 16 Posted February 19, 2015 Share Posted February 19, 2015 Dont work, error "Expect an identifier" 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