Jump to content

Problem with maximum level


Recommended Posts

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

18 minut temu, iBeast napisał:

Have you made the point with constants.cpp properly?

There is also possibility that you use instead of constants.cpp "database way"... Do you have something as exp_table in your common database?

 

Hope I helped.
iBeast

I don't have exp_table in my database.

This is my constants.cpp, i made max 200 level.

https://pastebin.com/tcn6Jhh9

 

Link to comment
Share on other sites

2 minutes ago, Zeph said:

Nothing, syssers they are clean.

Try to add in constants.cpp after level 99 exp values and higher "u". (In all consts.)


Like that way:

[...]

	743730000,	//	90
	1041222000,
	1145344200,
	1259878620,
	1385866482,
	1524453130,
	1676898443,
	1844588288,
	2029047116,
	2050000000,	//	99레벨 일 때 필요경험치 (100레벨이 되기 위한)
	2150000000u,	//	100
	2210000000u,
	2250000000u,
	2280000000u,
	2310000000u,
	2330000000u,	//	105
	2350000000u,
	2370000000u,
	2390000000u,
	2400000000u,
	2410000000u,	//	110

[...]

iBeast

Link to comment
Share on other sites

22 minuty temu, iBeast napisał:

Try to add in constants.cpp after level 99 exp values and higher "u". (In all consts.)


Like that way:


[...]

	743730000,	//	90
	1041222000,
	1145344200,
	1259878620,
	1385866482,
	1524453130,
	1676898443,
	1844588288,
	2029047116,
	2050000000,	//	99레벨 일 때 필요경험치 (100레벨이 되기 위한)
	2150000000u,	//	100
	2210000000u,
	2250000000u,
	2280000000u,
	2310000000u,
	2330000000u,	//	105
	2350000000u,
	2370000000u,
	2390000000u,
	2400000000u,
	2410000000u,	//	110

[...]

iBeast

Don't work, i have negative exp an 100 lv.

  • Sad 1
Link to comment
Share on other sites

10 minut temu, iBeast napisał:

You can not offer higher value or any?
Can you offer e.x.: 10000 experience points?

When i try add 100 or 1000 points to guild, chat gives me this information.

	case GUILD_SUBHEADER_CG_OFFER:
            {
                DWORD offer = *reinterpret_cast<const DWORD*>(c_pData);
	                if (pGuild->GetLevel() >= GUILD_MAX_LEVEL && LC_IsHongKong() == false)
                {
                    ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> ±ćµĺ°ˇ ŔĚąĚ ĂÖ°í ·ąş§ŔÔ´Ď´Ů."));
                }
                else
                {
                    offer /= 100;
                    offer *= 100;
	                    if (pGuild->OfferExp(ch, offer))
                    {
                        ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> %uŔÇ °ćÇčġ¸¦ ĹőŔÚÇĎż´˝Ŕ´Ď´Ů."), offer);
                    }
                    else
                    {
                       THIS--------- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> °ćÇčġ ĹőŔÚżˇ ˝ÇĆĐÇĎż´˝Ŕ´Ď´Ů."));
                    }
                }
            }
            return SubPacketLen;
	

Link to comment
Share on other sites

2 minutes ago, Zeph said:

When i try add 100 or 1000 points to guild, chat gives me this information.

 


	case GUILD_SUBHEADER_CG_OFFER:
            {
                DWORD offer = *reinterpret_cast<const DWORD*>(c_pData);
	                if (pGuild->GetLevel() >= GUILD_MAX_LEVEL && LC_IsHongKong() == false)
                {
                    ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> ±ćµĺ°ˇ ŔĚąĚ ĂÖ°í ·ąş§ŔÔ´Ď´Ů."));
                }
                else
                {
                    offer /= 100;
                    offer *= 100;
	                    if (pGuild->OfferExp(ch, offer))
                    {
                        ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> %uŔÇ °ćÇčġ¸¦ ĹőŔÚÇĎż´˝Ŕ´Ď´Ů."), offer);
                    }
                    else
                    {
                       THIS--------- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> °ćÇčġ ĹőŔÚżˇ ˝ÇĆĐÇĎż´˝Ŕ´Ď´Ů."));
                    }
                }
            }
            return SubPacketLen;
	

 

Contact me on skype mt2.ibeast.

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.