Bem vindo ao Project Brasil Smile
Registre se e venha tirar suas dúvidas
e ajudar os menos experiente com seu conhecimento e astucia Smile

Participe do fórum, é rápido e fácil

Bem vindo ao Project Brasil Smile
Registre se e venha tirar suas dúvidas
e ajudar os menos experiente com seu conhecimento e astucia Smile
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Você não está conectado. Conecte-se ou registre-se

Top Guild War Npc 5375

3 participantes

Ir para baixo  Mensagem [Página 1 de 1]

1Top Guild War Npc 5375 Empty Top Guild War Npc 5375 Ter Jun 19, 2012 4:25 pm

tiroleivi

tiroleivi
Moderador
Moderador

Galera aquii está o npc de pegar o Top Deputy e o Top Guild Leader da GW , Abra a source na pasta "NpcDialogs" abrão o arquivo : "Dialogs.cs" e colem o seguinte código:

#region TOP GUILD WAR
case 217256:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text(" our guild has won the guild war and i need the top ?can i els take my reward ?");
dialog.Option("Yes.i need TopGuildLeader", 1);
dialog.Option("Yes.i need TopDeputyLeader", 2);
dialog.Option("No.", 255);
dialog.Send();
break;


}
case 1:
{

if (!GuildWar.IsWar)
{

if (client.Guild != null && client.AsMember.Rank == Conquer_Online_Server.Game.Enums.GuildMemberRank.GuildLeader)
{
for (int c = 0; c <= 10; c++)
{
if (client.Inventory.Contains((uint)(729969 + c), 1))
if (!client.AddSpell(LearnableSpell(0x400)))

DateTime.Now.AddDays(7);

client.Entity.AddFlag(Update.Flags.TopGuildLeader);
Conquer_Online_Server.Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + " has won the Guildwar and the GL recive the top and 100k cps!");
client.Entity.AddFlag(Update.Flags.TopGuildLeader);
dialog.Send();


return;

}
dialog.Text("You cannot claim experience if you don't have a rune.");
dialog.Option("Ahh.", 255);
dialog.Send();


break;
}
}
else
{
dialog.Text("You don't meet the requierments.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
break;






}
case 2:
{

if (!GuildWar.IsWar)
{
{

if (client.Guild != null && client.AsMember.Rank == Conquer_Online_Server.Game.Enums.GuildMemberRank.DeputyLeader)
{
for (int c = 0; c <= 10; c++)
{
if (client.Inventory.Contains((uint)(729969 + c), 1))
if (!client.AddSpell(LearnableSpell(0x800)))

DateTime.Now.AddDays(7);

client.Entity.AddFlag(Update.Flags.TopDeputyLeader);
Conquer_Online_Server.Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + " guild has won the guild war and the DL has recive the top!");
client.Entity.AddFlag(Update.Flags.TopDeputyLeader);

}





return;

}
dialog.Text("You cannot claim experience if you don't have a rune.");
dialog.Option("Ahh.", 255);
dialog.Send();


break;
}

}
break;
}
#endregion

http://dark-styller.no-ip.biz:8090/

2Top Guild War Npc 5375 Empty Re: Top Guild War Npc 5375 Ter Jun 19, 2012 5:05 pm

Master14

Master14
S.Moderador
S.Moderador

boa mnw

3Top Guild War Npc 5375 Empty Re: Top Guild War Npc 5375 Qua Out 03, 2012 7:00 pm

destroyes

destroyes
Membro Especial
Membro Especial

ñ sei aonde coloca meu servidor e 5525 << pega nessa souce???

http://conquerace.wix.com/br

Conteúdo patrocinado



Ir para o topo  Mensagem [Página 1 de 1]

Permissões neste sub-fórum
Não podes responder a tópicos