Jump to content

Recommended Posts

I have problem with maximum level in source.

I made it from this guide:

https://metin2dev.org/board/index.php?/topic/7718-cexpand-maximum-level/&page=4&tab=comments#comment-107270

But, i have a little problems:

I have negative exp above 99 level.

I can't offer exp to guild

SS:

Przechwytywanie.thumb.PNG.836f511cba829ce0194ec0b4772af6d0.PNG

Link to comment
https://metin2.dev/topic/19724-problem-with-maximum-level/
Share on other sites

  • 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
https://metin2.dev/topic/19724-problem-with-maximum-level/#findComment-107283
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
https://metin2.dev/topic/19724-problem-with-maximum-level/#findComment-107286
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
https://metin2.dev/topic/19724-problem-with-maximum-level/#findComment-107291
Share on other sites

2 minutes ago, Zeph said:

@iBeast

I fixed the problem, i add above 99 2100000000 in all const and this is working, but still i can't offer exp to guild, maybe you know what is going on?

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

Link to comment
https://metin2.dev/topic/19724-problem-with-maximum-level/#findComment-107294
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
https://metin2.dev/topic/19724-problem-with-maximum-level/#findComment-107295
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
https://metin2.dev/topic/19724-problem-with-maximum-level/#findComment-107296
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.