Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

Chat packet to inform player about deny



  • Premium

Hey guys,

I'm just wondering how to inform guild inviter about guild invitation which he sent to another player. There is missing some chatpacket info about that. (YMIR did that for add friend, unfriend, group invite and forgot for guild invite)

Is there some option how to inform guild inviter about "invite deny" if target say "No" to guild invitation? I know we can use ChatPacket here, but I can't find out any way how to send that ChatPacket info to guild inviter.

There is deny function from guild.cpp:

void CGuild::InviteDeny( DWORD dwPID )
	EventMap::iterator itFind = m_GuildInviteEventMap.find( dwPID );
	if ( itFind == m_GuildInviteEventMap.end() )
		sys_log( 0, "GuildInviteDeny from not invited character(invite guild: %s, invitee PID: %d)", GetName(), dwPID );

	event_cancel( &itFind->second );
	m_GuildInviteEventMap.erase( itFind );


I will be really glad if someone find some time to solve that!

Thanks for possible answers!



I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

1 answer 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.