Jump to content
  • 0

Little problem with max gold


avertuss

Question

Hi. I have little problem: 

http://scr.hu/409p/ao3qp

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


if text and text.isdigit():
			try:
				money = ull(text)
			except ValueError:
				money = 9999999999

unsigned long long CHARACTER::GetAllowedGold() const


unsigned long long			gold;

// Money related
		unsigned long long				GetGold() const		{ return m_points.gold;	}
		void			SetGold(unsigned long long gold)	{ m_points.gold = gold;	}
		bool			DropGold(INT gold);
		unsigned long long				GetAllowedGold() const;
		void			GiveGold(INT iAmount);	// 파티가 있으면 파티 분배, 로그 등의 처리
		// End of Money


http://scr.hu/409p/ypzfm

I don't have to choose unsigned long long i mysql. Where is wrong? 

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.