Hassan Emprator
2020-02-29, 01:28 PM
الكويستت عاملها عشانه عشان هوا طالبها بس هعملهاله برضو وفكرتها ان الحرب بتبقا لي تيمات بس محدش يقدر يخش في غير انو يكون في تيم
يله نبدا
االنبي سي وي الجايزه بتاعتهم
#region TeamOfWar [10]
#region Team Of War [10]
case 66655:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Do you Want To Go To Team Of War Event!! ");
dialog.Option("Yes I want to Join.", 1);
dialog.Option("No Thanks Man.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute < 14)
{
if (client.Team != null && client.Team.TeamLeader)
{
foreach (Client.GameState Teammate in client.Team.Teammates)
{
if (Teammate != null)
{
Random R = new Random();
int Nr = R.Next(1, 3);
if (Nr == 1) Teammate.Entity.Teleport(2233, 45, 55);
if (Nr == 2) Teammate.Entity.Teleport(2233, 50, 55);
if (Nr == 3) Teammate.Entity.Teleport(2233, 55, 50);
client.Entity.RemoveFlag(Update.Flags.Ride);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Pleas Open the Team Or sign up in the any team other. ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
}
else
{
dialog.Text("Sorry You Dont Leader Team. ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Sign Up to War Of Team Event Every Hours in Time xx:10 To xx:14 . ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize Team Of War [10]
case 3010557:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " You neeD Claim your Prize Team Of War?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
Daily.CheackAlive19();
var Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 15)
{
if (Daily.howmanyinmap19 == 1)
{
client.Entity.AddTopStatus(Update.Flags.TopFireTao ist, 2, DateTime.Now.AddMinutes(59));
client.Entity.ConquerPoints += 2000000;
client.Entity.BoundCps += 10;
Kernel.SendWorldMessage(new Message(" Congratulations " + client.Entity.Name + " You Win [2.000.000] ConquerPoints & [10] CpsBound you Earned War Team Of War.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 300, 278);
EntityTable.SaveEntity(client);
foreach (var clients in Program.Values)
{
if (clients.Entity.MapID == 2233)
{
clients.Entity.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + Daily.howmanyinmap19 + " Entitys in the map kill it First To Claim Prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:15 To xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
وابحث عن
public class Daily
ضيف فيه
public static void CheackAlive19()
{
howmanyinmap19 = 0;
foreach (Client.GameState client in Program.Values)
{
if (client.Entity.MapID == 2233 && client.Entity.Hitpoints >= 1)
{
howmanyinmap19 += 1;
MrHassan.Kernel.SendWorldMessage(new MrHassan.Network.GamePackets.Message("Entitys Alive in TeamOfWar Now: " + howmanyinmap19 + " ", System.Drawing.Color.Black, MrHassan.Network.GamePackets.Message.FirstRightCor ner), Program.Values);
}
}
}
سيرش عا
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps
ضيف
2233,
وسيرش عا
public static readonly System.Collections.Generic.List<ulong> NotReady
ضيف
2233,
وسيرش عا
public static readonly System.Collections.Generic.List<ushort> NoRev
ضيف
2233,
سيرش ع ا
private void WorldTournaments(int time)
ضيف
#region TeamOFWar [10]
if (DateTime.Now.Minute == 10 && DateTime.Now.Second == 01)
{
Kernel.SendWorldMessage(new Message("TeamWar Was began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("TeamWar began Would you like to join?",
p => { p.Entity.Teleport(3690, 82, 63); }, null, 20);
}
#endregion
المابه هتضيفا في maps في القاعده هااا
2233 700 7 0
هيا اه الكويستت في كل سورسات تقريبا بتاعت صموئيل بس اي انا نزلتها عشان هوا طلبها بس :o
يله نبدا
االنبي سي وي الجايزه بتاعتهم
#region TeamOfWar [10]
#region Team Of War [10]
case 66655:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Do you Want To Go To Team Of War Event!! ");
dialog.Option("Yes I want to Join.", 1);
dialog.Option("No Thanks Man.", 255);
dialog.Send();
break;
}
case 1:
{
if (DateTime.Now.Minute >= 10 && DateTime.Now.Minute < 14)
{
if (client.Team != null && client.Team.TeamLeader)
{
foreach (Client.GameState Teammate in client.Team.Teammates)
{
if (Teammate != null)
{
Random R = new Random();
int Nr = R.Next(1, 3);
if (Nr == 1) Teammate.Entity.Teleport(2233, 45, 55);
if (Nr == 2) Teammate.Entity.Teleport(2233, 50, 55);
if (Nr == 3) Teammate.Entity.Teleport(2233, 55, 50);
client.Entity.RemoveFlag(Update.Flags.Ride);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Pleas Open the Team Or sign up in the any team other. ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
}
else
{
dialog.Text("Sorry You Dont Leader Team. ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Sign Up to War Of Team Event Every Hours in Time xx:10 To xx:14 . ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Prize Team Of War [10]
case 3010557:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " You neeD Claim your Prize Team Of War?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
Daily.CheackAlive19();
var Now64 = DateTime.Now;
if (DateTime.Now.Minute >= 15)
{
if (Daily.howmanyinmap19 == 1)
{
client.Entity.AddTopStatus(Update.Flags.TopFireTao ist, 2, DateTime.Now.AddMinutes(59));
client.Entity.ConquerPoints += 2000000;
client.Entity.BoundCps += 10;
Kernel.SendWorldMessage(new Message(" Congratulations " + client.Entity.Name + " You Win [2.000.000] ConquerPoints & [10] CpsBound you Earned War Team Of War.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 300, 278);
EntityTable.SaveEntity(client);
foreach (var clients in Program.Values)
{
if (clients.Entity.MapID == 2233)
{
clients.Entity.Teleport(1002, 300, 278);
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Entity Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + Daily.howmanyinmap19 + " Entitys in the map kill it First To Claim Prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Entity.Name + "You can only claim the prize when the time on or after xx:15 To xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
وابحث عن
public class Daily
ضيف فيه
public static void CheackAlive19()
{
howmanyinmap19 = 0;
foreach (Client.GameState client in Program.Values)
{
if (client.Entity.MapID == 2233 && client.Entity.Hitpoints >= 1)
{
howmanyinmap19 += 1;
MrHassan.Kernel.SendWorldMessage(new MrHassan.Network.GamePackets.Message("Entitys Alive in TeamOfWar Now: " + howmanyinmap19 + " ", System.Drawing.Color.Black, MrHassan.Network.GamePackets.Message.FirstRightCor ner), Program.Values);
}
}
}
سيرش عا
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps
ضيف
2233,
وسيرش عا
public static readonly System.Collections.Generic.List<ulong> NotReady
ضيف
2233,
وسيرش عا
public static readonly System.Collections.Generic.List<ushort> NoRev
ضيف
2233,
سيرش ع ا
private void WorldTournaments(int time)
ضيف
#region TeamOFWar [10]
if (DateTime.Now.Minute == 10 && DateTime.Now.Second == 01)
{
Kernel.SendWorldMessage(new Message("TeamWar Was began ", Color.White, Message.TopLeft), Program.Values);
foreach (var client in Program.Values)
client.MessageBox("TeamWar began Would you like to join?",
p => { p.Entity.Teleport(3690, 82, 63); }, null, 20);
}
#endregion
المابه هتضيفا في maps في القاعده هااا
2233 700 7 0
هيا اه الكويستت في كل سورسات تقريبا بتاعت صموئيل بس اي انا نزلتها عشان هوا طلبها بس :o