Ok so what this npc does is checks to see if the person who is trying to talk to the npc is the guild leader and if that guild leader won guild war and if it isnt the guild leader of the winning guild then it does not say anything at all
Here it is
Code:
#region Gw Winner npc
case 6701:
{
if (Control == 0)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.AddSend(Packets.NPCSay("Hello obviously since i am talking to you, you must be the Guild Leader of the winning Guild!"));
GC.AddSend(Packets.NPCSay("Congratulations on Winning now i am sure you are looking for your reward,Well here you go"));
GC.AddSend(Packets.NPCLink("Thanks!", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 1)
{
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Claimed 3000cps from GuildWar");
}
}
#endregion
He forgot the break; part he also ddint add the text control part he only added the control part
Code:
#region Gw Winner npc
case 6701:
{
if (Control == 0)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.AddSend(Packets.NPCSay("Hello obviously since i am talking to you, you must be the Guild Leader of the winning Guild!"));
GC.AddSend(Packets.NPCSay("Congratulations on Winning now i am sure you are looking for your reward,Well here you go"));
GC.AddSend(Packets.NPCLink("Yes iam give me my reward", 1));
GC.AddSend(Packets.NPCLink("Thanks!", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Claimed 3000cps from GuildWar");
}
}
break;
}
#endregion
He forgot the break; part he also ddint add the text control part he only added the control part
Code:
#region Gw Winner npc
case 6701:
{
if (Control == 0)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.AddSend(Packets.NPCSay("Hello obviously since i am talking to you, you must be the Guild Leader of the winning Guild!"));
GC.AddSend(Packets.NPCSay("Congratulations on Winning now i am sure you are looking for your reward,Well here you go"));
GC.AddSend(Packets.NPCLink("Yes iam give me my reward", 1));
GC.AddSend(Packets.NPCLink("Thanks!", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control == 1)
{
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Claimed 3000cps from GuildWar");
}
}
break;
}
#endregion
i edited it, i will try to edit it further more cause players can abuse it maybe after he clicks controll 1 ill prob make the Npc teleport some where else nor when you win Guild war make a NPc pop up idk..
Code:
#region Gw Winner npc
case 8888:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hello if you win guild war you can recive good prizes!"));
GC.AddSend(Packets.NPCSay("i can give you 3,00 Cps for wining"));
GC.AddSend(Packets.NPCLink("My guild won give me my reward please", 1));
GC.AddSend(Packets.NPCLink("Thats cool", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Claimed 3000cps from GuildWar");
}
else
{
GC.AddSend(Packets.NPCLink("Your Guild ddint win Guild war", 1));
GC.AddSend(Packets.NPCLink("WAHT!?.. we suck", 255));
}
}
break;
}
#endregion
i edited it, i will try to edit it further more cause players can abuse it maybe after he clicks controll 1 ill prob make the Npc teleport some where else nor when you win Guild war make a NPc pop up idk..
Code:
#region Gw Winner npc
case 8888:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hello if you win guild war you can recive good prizes!"));
GC.AddSend(Packets.NPCSay("i can give you 3,00 Cps for wining"));
GC.AddSend(Packets.NPCLink("My guild won give me my reward please", 1));
GC.AddSend(Packets.NPCLink("Thats cool", 255));
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 1)
{
if (GC.MyChar.MyGuild == Features.GuildWars.LastWinner && (GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader))
{
GC.MyChar.CPs += 3000;
GC.Message(2005, GC.MyChar.Name + "Claimed 3000cps from GuildWar");
}
else
{
GC.AddSend(Packets.NPCLink("Your Guild ddint win Guild war", 1));
GC.AddSend(Packets.NPCLink("WAHT!?.. we suck", 255));
}
}
break;
}
#endregion
It works now but it's still effed up. Just test it. I tested without having a guild lmao.
Winner on Arena? 06/06/2010 - Atlantica Online - 1 Replies is there a way to know who's gonna win at the arena?
some tools maybe? or its just pure observing ability?
cause i got several advice from someone and the bid always win.
Pkt bug There is no winner 09/04/2009 - EO PServer Hosting - 1 Replies hello everyone, i need help again, this is about the Pk Tournament, after everyone is killed and there is one last player left he/she cant leave the tournament, there is only an nps saying if you want to go to cronus, there isa no awarder, now this would tell everything, it would be a problem in the cq_npc but no, the awarder appears sometimes when you try to claim cthe price if just teleports you to cronus, i was looking in cq_action, but nothing. if you've have this problem and have fixed it...
Patch 5018: The Guild Winner Will Gain 3000CPs! 03/17/2008 - Conquer Online 2 - 3 Replies Patch 5018: The Guild Winner Will Gain 3000CPs! (Pre-download Is Available Now) - ConquerRPG Forum
So thats what 15 dbs? TQ getting a tiny bit less greedy?
btw new client in patch 5018.