antiblock
Elveron
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
Karbust

Anúncio Recusar Guerra Guild

1 post in this topic

Boas pessoal

 

O @p0w3r0ff lembrou me de algo que fiz há algum tempo e que já nem me lembrava, anunciar no chat quando uma guild recusa uma war.

 

Abrir o ficheiro guild_manager.cpp

 

Procurar por:

void CGuildManager::RefuseWar(DWORD guild_id1, DWORD guild_id2)

Na parte:

if (g2->GetMasterCharacter())

Adicionar no fim:

		char buf[256];
		snprintf(buf, sizeof(buf), LC_TEXT("A guild %s recusou war contra a guild %s."), g1->GetName(), g2->GetName());
		SendNotice(buf);

Ficando assim:

qat98Gi.png

 

No locale_string.txt adicionar isto:

"A guild %s recusou war contra a guild %s.";
"A guild %s recusou war contra a guild %s.";

Resultado final:

 

Espero que seja útil a alguém.

 

Share this post


Link to post
Share on other sites
antiblock
https://arwen2.global/

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
Sign in to follow this