Karbust Posted May 22, 2016 at 08:12 AM Share Posted May 22, 2016 at 08:12 AM Boas pessoal Uns jogadores à uns tempos pediram me para ver se conseguia meter a anúnciar quando uma guild recusa guerra contra outra, mas como não sei fazer isso no game 2089M fiz agora com a source... Abrir o ficheiro guild_manager.cpp Procurar por : void CGuildManager::RefuseWar(DWORD guild_id1, DWORD guild_id2) Na parte: if (g2->GetMasterCharacter()) Adicionar no final: 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: Abrir o 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. Abraço Link to comment Share on other sites More sharing options...
welovepandas Posted May 22, 2016 at 08:31 AM Share Posted May 22, 2016 at 08:31 AM Obrigado pelo tutorial, decerto que irá ajudar imensa gente Link to comment Share on other sites More sharing options...
Nukayool Posted May 22, 2016 at 12:34 PM Share Posted May 22, 2016 at 12:34 PM Obrigado pelo tutorial, irei usar. Link to comment Share on other sites More sharing options...
Hinata Posted May 22, 2016 at 02:44 PM Share Posted May 22, 2016 at 02:44 PM Irá ajudar muitos, parabéns pela partilha Link to comment Share on other sites More sharing options...
[Admin] tierrilopes Posted May 22, 2016 at 08:28 PM Share Posted May 22, 2016 at 08:28 PM Obrigado pela partilha Tierri Lopes Link to comment Share on other sites More sharing options...
Karbust Posted May 22, 2016 at 08:36 PM Author Share Posted May 22, 2016 at 08:36 PM De nada Link to comment Share on other sites More sharing options...
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 accountSign in
Already have an account? Sign in here.
Sign In Now