i need help for 5375 i need fxd GuildWar please

05/25/2011 07:02 lonk0#1
i need help for 5375 i need fxd GuildWar please
and i need macl monster drop DBS

and i need ClassPk 5375
05/29/2011 07:56 N.I.G.H.T.M.A.R.E#2
kkkkkk, i need too ! any hellp?
05/29/2011 09:32 S/W#3
Quote:
Originally Posted by lonk0 View Post
i need help for 5375 i need fxd GuildWar please
and i need macl monster drop DBS

and i need ClassPk 5375
You need brain:rtfm::rtfm::rtfm::rtfm::rtfm::rtfm:
05/29/2011 16:15 lord152#4
i need agien
06/28/2011 10:44 adebland#5
and my ? I need too
06/28/2011 13:28 alex4war#6
classpk :
put these in ur dialog.cs
Quote:
#region ClassPKEnvoy
case 3546:
{
if (npcRequest.OptionID == 0)
{
dialog.Text("I hold every Class PK Tournament for Trojans, Warriors, Ninjas, Taoists And Archers, So Tell me your character Class so I can Sign you up at 19:45 GMT!");
dialog.Text("Remember: Monks are not able to attend the Pk Tourny.");
dialog.Link("I'm a Trojan [Saturday]", 1);
dialog.Link("I'm a Warrior [Sunday]", 2);
dialog.Link("I'm a Ninja [Monday]", 3);
dialog.Link("I'm a WaterTaoist [Tuesday]", 4);
dialog.Link("I'm a FireTaoist [Wednesday]", 5);
dialog.Link("I'm an Archer [Thursday]", 6);
dialog.Link("Just passing by.", 255);
dialog.Avatar(0);
dialog.Send();
}
else if (npcRequest.OptionID == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
{
if (client.Entity.Class == 15 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
client.Entity.Teleport(1730, 34, 19);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("If you want to Sign Up, you must choose your Right character in the right day and come at 19:45");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else
{
dialog.Text("This is not the correct day Come later in correct day");
dialog.Link("sorry...I will come the correct day", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else if (npcRequest.OptionID == 2)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
if (client.Entity.Class == 25 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
client.Entity.Teleport(1731, 34, 19);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("If you want to Sign Up, you must choose your Right character in the right day and come at 19:45");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else
{
dialog.Text("This is not the correct day Come later in correct day");
dialog.Link("sorry...I will come the correct day", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else if (npcRequest.OptionID == 3)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
{
if (client.Entity.Class == 55 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
client.Entity.Teleport(1732, 34, 19);

dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("If you want Sign Up,you must choose your Right character in the right day and come at 19:45");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else
{
dialog.Text("This is not the correct day Come later in correct day");
dialog.Link("sorry...I will come the correct day", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else if (npcRequest.OptionID == 4)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Tuesday)
{
if (client.Entity.Class == 135 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
client.Entity.Teleport(1733, 34, 19);

dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("If you want to Sign Up, you must choose your Right character in the right day and come at 19:45");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else
{
dialog.Text("This is not the correct day Come later in correct day");
dialog.Link("sorry...I will come the correct day", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else if (npcRequest.OptionID == 5)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (client.Entity.Class == 145 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
client.Entity.Teleport(1734, 34, 19);

dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("If you want Sign Up,you must choose your Right character in the right day and come at 19:45");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else
{
dialog.Text("This is not the correct day Come later in correct day");
dialog.Link("sorry...I will come the correct day", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else if (npcRequest.OptionID == 6)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Thursday)
{
if (client.Entity.Class == 45 && (DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45))
{
client.Entity.Teleport(1735, 34, 19);

dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("If you want to Sign Up, you must choose your Right character in the right day and come at 19:45");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
else
{
dialog.Text("This is not the correct day Come later in correct day");
dialog.Link("sorry...I will come the correct day", 255);
dialog.Avatar(0);
dialog.Send();
}
}
break;
}
#endregion
top classes prize:

Quote:
#region Prize For Trojan
case 7898521:
{
if (npcRequest.OptionID == 0)
{
dialog.Text("I will claim to you your prize at 20.10!");
dialog.Link("Claim My Prize", 1);
dialog.Link("Teleport me to TwinCity", 2);
dialog.Avatar(0);
dialog.Send();

}
else if (npcRequest.OptionID == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
{
if (client.Entity.Class == 15 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
client.Entity.UpdateHalo(true, false, false, Enums.StatusEffectEn.TopTrojan);
DateTime.Now.AddDays(7);
client.Entity.ConquerPoints += 3000;
Conquer_Online_Server.Network.PacketHandler.WorldM essage("Congratulations! " + client.Entity.Name + " has won the Trojan PK Tournament!", Conquer_Online_Server.Network.GamePackets.Message. Center, System.Drawing.Color.AliceBlue);
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("You can Take it Later at 20:10!");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
}
else if (npcRequest.OptionID == 2)
{
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
if (DateTime.Now.Equals(7))
client.Entity.UpdateHalo(true, false, true, Enums.StatusEffectEn.TopTrojan);
break;
}
#endregion
#region Prize For Warrior
case 7898522:
{
if (npcRequest.OptionID == 0)
{
dialog.Text("I will claim to you your prize at 20.10!");
dialog.Link("Claim My Prize", 1);
dialog.Link("Teleport me to TwinCity", 2);
dialog.Avatar(0);
dialog.Send();

}
else if (npcRequest.OptionID == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
if (client.Entity.Class == 25 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
client.Entity.UpdateHalo(true, false, false, Enums.StatusEffectEn.TopWarrior);
DateTime.Now.AddDays(7);
client.Entity.ConquerPoints += 3000;
Conquer_Online_Server.Network.PacketHandler.WorldM essage("Congratulations! " + client.Entity.Name + " has won the Warrior PK Tournament!", Conquer_Online_Server.Network.GamePackets.Message. Center, System.Drawing.Color.AliceBlue);
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("You can Take it Later at 20:10.");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
}
else if (npcRequest.OptionID == 2)
{
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
if (DateTime.Now.Equals(7))
client.Entity.UpdateHalo(true, false, true, Enums.StatusEffectEn.TopWarrior);
break;
}
#endregion
#region Prize For Ninja
case 7898523:
{
if (npcRequest.OptionID == 0)
{
dialog.Text("I will claim to you your prize at 20.10!");
dialog.Link("Claim My Prize", 1);
dialog.Link("Teleport me to TwinCity", 2);
dialog.Avatar(0);
dialog.Send();

}
else if (npcRequest.OptionID == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday)
{
if (client.Entity.Class == 55 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
client.Entity.UpdateHalo(true, false, false, Enums.StatusEffectEn.TopNinja);
DateTime.Now.AddDays(7);
client.Entity.ConquerPoints += 3000;
Conquer_Online_Server.Network.PacketHandler.WorldM essage("Congratulations! " + client.Entity.Name + " has won the Ninja PK Tournament!", Conquer_Online_Server.Network.GamePackets.Message. Center, System.Drawing.Color.AliceBlue);
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("You can Take it Later at 20:10.");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
}
else if (npcRequest.OptionID == 2)
{
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
if (DateTime.Now.Equals(7))
client.Entity.UpdateHalo(true, false, true, Enums.StatusEffectEn.TopNinja);
break;
}
#endregion
#region Prize For WaterTaoist
case 7898524:
{
if (npcRequest.OptionID == 0)
{
dialog.Text("I will claim to you your prize at 20.10!");
dialog.Link("Claim My Prize", 1);
dialog.Link("Teleport me to TwinCity", 2);
dialog.Avatar(0);
dialog.Send();

}
else if (npcRequest.OptionID == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Tuesday)
{
if (client.Entity.Class == 135 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
client.Entity.UpdateHalo(true, false, false, Enums.StatusEffectEn.TopWaterTaoist);
DateTime.Now.AddDays(7);
client.Entity.ConquerPoints += 3000;
Conquer_Online_Server.Network.PacketHandler.WorldM essage("Congratulations! " + client.Entity.Name + " has won the WaterTaoist PK Tournament!", Conquer_Online_Server.Network.GamePackets.Message. Center, System.Drawing.Color.AliceBlue);
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("You can Take it Later at 20:10.");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
}
else if (npcRequest.OptionID == 2)
{
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
if (DateTime.Now.Equals(7))
client.Entity.UpdateHalo(true, false, true, Enums.StatusEffectEn.TopWaterTaoist);
break;
}
#endregion
#region Prize For FireTaoist
case 7898525:
{
if (npcRequest.OptionID == 0)
{
dialog.Text("I will claim to you your prize at 20.10!");
dialog.Link("Claim My Prize", 1);
dialog.Link("Teleport me to TwinCity", 2);
dialog.Avatar(0);
dialog.Send();

}
else if (npcRequest.OptionID == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday)
{
if (client.Entity.Class == 145 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
client.Entity.UpdateHalo(true, false, false, Enums.StatusEffectEn.TopFireTaoist);
DateTime.Now.AddDays(7);
client.Entity.ConquerPoints += 3000;
Conquer_Online_Server.Network.PacketHandler.WorldM essage("Congratulations! " + client.Entity.Name + " has won the FireTaoist PK Tournament!", Conquer_Online_Server.Network.GamePackets.Message. Center, System.Drawing.Color.AliceBlue);
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("You can Take it Later at 20:10.");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
}
else if (npcRequest.OptionID == 2)
{
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
if (DateTime.Now.Equals(7))
client.Entity.UpdateHalo(true, false, true, Enums.StatusEffectEn.TopFireTaoist);
break;
}
#endregion
#region Prize For Archer
case 7898526:
{
if (npcRequest.OptionID == 0)
{
dialog.Text("I will claim to you your prize at 20.10!");
dialog.Link("Claim My Prize", 1);
dialog.Link("Teleport me to TwinCity", 2);
dialog.Avatar(0);
dialog.Send();

}
else if (npcRequest.OptionID == 1)
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Thursday)
{
if (client.Entity.Class == 45 && (DateTime.Now.Hour == 20 && DateTime.Now.Minute >= 10))
{
client.Entity.UpdateHalo(true, false, false, Enums.StatusEffectEn.TopArcher);
DateTime.Now.AddDays(7);
client.Entity.ConquerPoints += 3000;
Conquer_Online_Server.Network.PacketHandler.WorldM essage("Congratulations! " + client.Entity.Name + " has won the Archer PK Tournament!", Conquer_Online_Server.Network.GamePackets.Message. Center, System.Drawing.Color.AliceBlue);
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
else
{
dialog.Text("You can Take it Later at 20:10.");
dialog.Link("I see.", 255);
dialog.Avatar(0);
dialog.Send();
}
}
}
else if (npcRequest.OptionID == 2)
{
client.Entity.Teleport(1002, 429, 378);
dialog.Text("Good luck and be careful!");
dialog.Link("Thanks.", 255);
dialog.Avatar(0);
dialog.Send();
}
if (DateTime.Now.Equals(7))
client.Entity.UpdateHalo(true, false, true, Enums.StatusEffectEn.TopArcher);
break;
}
#endregion
put this into ur entity.cs

Quote:
public void UpdateHalo(bool ToScreen, bool SendOnly, bool ToRemove, Enums.StatusEffectEn OffSet)
{
switch (EntityFlag)
{
case Game.EntityFlag.Player:
if (OffSet != Enums.StatusEffectEn.Normal)
{
if (!SendOnly && !ToRemove && !_Status.ContainsBitValue((int)OffSet))
_Status.AddBitValue((int)OffSet);
else if (!SendOnly && ToRemove && _Status.ContainsBitValue((int)OffSet))
_Status.RemoveBitValue((int)OffSet);
}
byte[] Packet = new byte[60];
Writer.WriteUInt16(52, 0, Packet);
Writer.WriteUInt16(10017, 2, Packet);
Writer.WriteUInt32(UID, 4, Packet);
Writer.WriteUInt32(1, 8, Packet);
Writer.WriteUInt32(25, 12, Packet);
_Status.Write(Packet, 16);
if (ToScreen && !ToRemove) Owner.SendScreen(Packet, false);
else if (ToScreen && ToRemove) Owner.SendScreen(Packet, true);
else Owner.Send(Packet);
break;
case Game.EntityFlag.Monster:
if (OffSet != Enums.StatusEffectEn.Normal)
{
if (!SendOnly && !ToRemove && !_Status.ContainsBitValue((int)OffSet))
_Status.AddBitValue((int)OffSet);
else if (!SendOnly && ToRemove && _Status.ContainsBitValue((int)OffSet))
_Status.RemoveBitValue((int)OffSet);
}
byte[] Packet2 = new byte[60];
Writer.WriteUInt16(52, 0, Packet2);
Writer.WriteUInt16(10017, 2, Packet2);
Writer.WriteUInt32(UID, 4, Packet2);
Writer.WriteUInt32(1, 8, Packet2);
Writer.WriteUInt32(25, 12, Packet2);
_Status.Write(Packet2, 16);
MonsterInfo.SendScreen(Packet2);
break;
}
}
Almost forgot, if you are getting the error of:
Quote:
Error 13 The name'_Status' dont exist in the actual document
then go to your Entity.cs and add this in your variables:
Quote:
public BigInteger _Status = new BigInteger();




Credits to killersub(releaser)