Jump to content

Little problem with max gold


Recommended Posts

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
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.