Jump to content

Recommended Posts

Hello,

 

I have a problem on my compiled game, when I try offer exp to my guild it's fail.

		case GUILD_SUBHEADER_CG_OFFER:
			{
				DWORD offer = *reinterpret_cast<const DWORD*>(c_pData);

				if (pGuild->GetLevel() >= GUILD_MAX_LEVEL)
				{
					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
					{
						ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±æµå> °æÇèÄ¡ ÅõÀÚ¿¡ ½ÇÆĞÇÏ¿´½À´Ï´Ù."));
					}
				}
			}
			return SubPacketLen;

When I try offer exp I get this

ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±æµå> °æÇèÄ¡ ÅõÀÚ¿¡ ½ÇÆĞÇÏ¿´½À´Ï´Ù."));

No sysser in game or db.

Link to comment
https://metin2.dev/topic/3923-guild-exp-offer/
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<길드> 경험치 투자에 실패하였습니다."));

(use google to get a translation it can be help full to you)

well the condition if (pGuild->OfferExp(ch, offer)) seems not to be fulfilled so it pass to else wich gives you that text

 

Link to comment
https://metin2.dev/topic/3923-guild-exp-offer/#findComment-25383
Share on other sites

ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<길드> 경험치 투자에 실패하였습니다."));

(use google to get a translation it can be help full to you)

well the condition if (pGuild->OfferExp(ch, offer)) seems not to be fulfilled so it pass to else wich gives you that text

 

 

I did not touch to guild.cpp It's same as mainline

Link to comment
https://metin2.dev/topic/3923-guild-exp-offer/#findComment-25385
Share on other sites

On 11/22/2014 at 6:59 PM, Night said:

i know that you did not there are not many ppl who would want to touch such a sub_packet

could you tell exactly what you are trying to do (ingame) for ex. the exp value and etc...

 

.gif

Link to comment
https://metin2.dev/topic/3923-guild-exp-offer/#findComment-25399
Share on other sites

  • 6 years later...

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.