Jump to content

characters from another kingdom in the same guild


Recommended Posts

hi everyone, I'm working on a full pvp project.. does anyone know how to do it, or where to look in the source, to allow characters from other kingdoms to join the guild? I did some tests via db. when I have a war between guilds those who are in the same guild if they are from different kingdoms can kill each other.. is there a way to ensure that when they are at war those from the opposite kingdom are friends?

 

sorry for my english.. I used google translate. Thank you

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • Active+ Member

Not tested.

Spoiler
//Inside guild.cpp search for:
	else if ( pchInvitee->GetEmpire() != pchInviter->GetEmpire() ) 
	{
		pchInviter->ChatPacket(CHAT_TYPE_INFO, "332");
		return;
	}

//remove or comment it.

 

 

WIth best regards, Doose.

  • Good 1
Link to comment
Share on other sites

16 hours ago, Doose said:

Not tested.

  Reveal hidden contents
//Inside guild.cpp search for:
	else if ( pchInvitee->GetEmpire() != pchInviter->GetEmpire() ) 
	{
		pchInviter->ChatPacket(CHAT_TYPE_INFO, "332");
		return;
	}

//remove or comment it.

 

 

WIth best regards, Doose.

Thanks, the invitation to the Guild works

spacer.png

 

Do you know how to ensure that those who are in the same guild but are from different kingdoms are truly friends and cannot kill each other? they can only kill each other with a "duel"

Thank you

Link to comment
Share on other sites

  • Active+ Member
11 hours ago, rotad69 said:

Thanks, the invitation to the Guild works

spacer.png

 

Do you know how to ensure that those who are in the same guild but are from different kingdoms are truly friends and cannot kill each other? they can only kill each other with a "duel"

Thank you

By changing kingdom.

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
×
×
  • 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.