antiblock
Cyphriun
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
  • 0
Karbust

Anúncio War

Question

Boas

 

Gostava de saber se aqui alguém sabe como colocar a anunciar uma war mal esta é declarada e também apresentar se esta foi recusada...

 

Quem souber que me diga sff

 

Obrigado

 

Abraço

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Ainda não testei mas tenta isto:

game ->guild_war.cpp

  • Adiciona no inicio :
#include "cmd.h"
  • Procura:
bool CGuild::DeclareWar(DWORD dwOppGID, BYTE type, BYTE state)
  • Adiciona isto depois de GuildWarPacket(dwOppGID, type, state);
itertype(m_EnemyGuild) it = m_EnemyGuild.find(dwOppGID);
SendNotice(LC_TEXT("A guild %s declarou guerra a %s.",GetName(),it->GetName()));
  • Procura:
void CGuild::RefuseWar(DWORD dwOppGID)
  • Adiciona isto depois de GuildWarPacket(dwOppGID, type, GUILD_WAR_END);
SendNotice(LC_TEXT("A guild %s recusou a guerra com %s.",GetName(),it->GetName()));
  • Compila e testa

Share this post


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

Não uso source... Ainda estou no 2089M, e já havia isto antes da source, deve haver alguma quest ou assim...

 

Mas obrigado na mesma...

Share this post


Link to post
Share on other sites

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