|
المشاركات 1,372 |
+التقييم 0.67 |
تاريخ التسجيل Apr 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 30 |
#region RooM Cps
#region Rider RooM
case 9991:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey " + client.Entity.Name + " i am Demha Room Manager Please pic cps you want to play on Remember i will take 10:20% from the winner.");
dialog.Text("that mean if You Won 1m or 10m i will take 200k or 2m and give You 1.8kk or 18kk Only biggest room will give u 80m.");
dialog.Option("[1.000.000] C.P.S", 1);
dialog.Option("[10.000.000] C.P.S", 2);
dialog.Option("[50.000.000] C.P.S", 3);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 2:
{
if (client.ArenaStatistic.Status != ArenaStatistic.NotSignedUp || client.TeamArenaStatistic.Status != TeamArenaStatistic.NotSignedUp)
{
client.Send(new Message("You already joined a qualifier arena! Quit the other one and call me again.", Color.Beige, Message.Agate));
return;
}
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Entity.MapID == 9992 && (!Entitys.Entity.Dead))
alive++;
if (client.Entity.ConquerPoints >= 10000000)
{
if (alive < 2)
{
client.Entity.ConquerPoints -= 10000000;
if (client.Entity.MyClones.Count > 0)
{
foreach (var item in client.Entity.MyClones.Values)
{
Data data = new Data(true);
data.UID = item.UID;
data.ID = Network.GamePackets.Data.RemoveEntity;
item.MonsterInfo.SendScreen(data);
}
client.Entity.MyClones.Clear();
}
if (alive == 0)
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has Entered 10m Arena Room And Waiting for challenger #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
if (alive == 1)
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has accept the challenge on 10m room now it is full #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.Teleport(9992, 55, 55);
client.Entity.RemoveFlag(Update.Flags.Ride);
client.Entity.PKMode = Game.Enums.PKMode.PK;
client.Entity.SendSpawn(client, true);
}
else
{
dialog.Text("There are " + alive + " in the room please come later!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Sorry " + client.Entity.Name + "You do not have enough cps to join");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
case 3:
{
if (client.ArenaStatistic.Status != ArenaStatistic.NotSignedUp || client.TeamArenaStatistic.Status != TeamArenaStatistic.NotSignedUp)
{
client.Send(new Message("You already joined a qualifier arena! Quit the other one and call me again.", Color.Beige, Message.Agate));
return;
}
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Entity.MapID == 9993 && (!Entitys.Entity.Dead))
alive++;
if (client.Entity.ConquerPoints >= 50000000)
{
if (alive < 2)
{
client.Entity.ConquerPoints -= 50000000;
if (client.Entity.MyClones.Count > 0)
{
foreach (var item in client.Entity.MyClones.Values)
{
Data data = new Data(true);
data.UID = item.UID;
data.ID = Network.GamePackets.Data.RemoveEntity;
item.MonsterInfo.SendScreen(data);
}
client.Entity.MyClones.Clear();
}
if (alive == 0)
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has Entered 50m Arena Room And Waiting for challenger #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
if (alive == 1)
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has accept the challenge on 50m room now it is full #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.Teleport(9993, 55, 55);
client.Entity.RemoveFlag(Update.Flags.Ride);
client.Entity.PKMode = Game.Enums.PKMode.PK;
client.Entity.SendSpawn(client, true);
}
else
{
dialog.Text("There are " + alive + " in the room please come later!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Sorry " + client.Entity.Name + "You do not have enough cps to join");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
case 1:
{
if (client.ArenaStatistic.Status != ArenaStatistic.NotSignedUp || client.TeamArenaStatistic.Status != TeamArenaStatistic.NotSignedUp)
{
client.Send(new Message("You already joined a qualifier arena! Quit the other one and call me again.", Color.Beige, Message.Agate));
return;
}
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
if (Entitys.Entity.MapID == 9991 && (!Entitys.Entity.Dead))
alive++;
if (client.Entity.ConquerPoints >= 1000000)
{
if (alive < 2)
{
client.Entity.ConquerPoints -= 1000000;
if (client.Entity.MyClones.Count > 0)
{
foreach (var item in client.Entity.MyClones.Values)
{
Data data = new Data(true);
data.UID = item.UID;
data.ID = Network.GamePackets.Data.RemoveEntity;
item.MonsterInfo.SendScreen(data);
}
client.Entity.MyClones.Clear();
}
if (alive == 0)
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has Entered 1m Arena Room And Waiting for challenger #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
if (alive == 1)
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has accept the challenge on 1m room now it is full #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.Teleport(9991, 55, 55);
client.Entity.RemoveFlag(Update.Flags.Ride);
client.Entity.PKMode = Game.Enums.PKMode.PK;
client.Entity.SendSpawn(client, true);
}
else
{
dialog.Text("There are " + alive + " in the room please come later!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Sorry " + client.Entity.Name + "You do not have enough cps to join");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region out
case 9992:
case 9993:
case 9990:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.MapID == 9991)
dialog.Text("Hey there " + client.Entity.Name + " Do u want to go tc and get 1kk.");
if (client.Entity.MapID == 9992)
dialog.Text("Hey there " + client.Entity.Name + " Do u want to go tc and get 10m.");
if (client.Entity.MapID == 9993)
dialog.Text("Hey there " + client.Entity.Name + " Do u want to go tc and get 50m.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive1 = 0;
int alive2 = 0;
int alive3 = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState Entitys in Kernel.GamePool.Values)
{
if (Entitys.Entity.MapID == 9991 && (!Entitys.Entity.Dead))
alive1++;
if (Entitys.Entity.MapID == 9992 && (!Entitys.Entity.Dead))
alive2++;
if (Entitys.Entity.MapID == 9993 && (!Entitys.Entity.Dead))
alive3++;
}
if (client.Entity.MapID == 9991 && (!client.Entity.Dead))
{
client.Entity.Teleport(1002, 300, 278);
client.Entity.ConquerPoints += 1000000;
Kernel.SendWorldMessage(new Message(" " + client.Entity.Name + " Has out from 1m Room.", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
}
if (client.Entity.MapID == 9992 && (!client.Entity.Dead))
{
client.Entity.Teleport(1002, 300, 278);
client.Entity.ConquerPoints += 10000000;
Kernel.SendWorldMessage(new Message(" " + client.Entity.Name + " Has out from 10m Room .", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
}
if (client.Entity.MapID == 9993 && (!client.Entity.Dead))
{
client.Entity.Teleport(1002, 300, 278);
client.Entity.ConquerPoints += 50000000;
Kernel.SendWorldMessage(new Message(" " + client.Entity.Name + " Has out from 50m Room", System.Drawing.Color.Black, Message.Center), Program.Values);
client.Entity.SendSpawn(client, true);
}
break;
}
}
break;
}
#endregion
#endregion
public void Die(Entity killer)
#region rider
if (killer.MapID == 9991)
{
Kernel.SendWorldMessage(new Message(" Attention ! " + killer.Name + " Has Killed " + this.Name + " in room and won 1.8kk cps.", System.Drawing.Color.Black, Message.Center), Program.Values);
killer.ConquerPoints += 1800000;
this.Owner.MessageBox("You Killed By " + killer.Name + " So Sorry for that");
killer.Owner.MessageBox("You Killed " + this.Name + " and won 1.8kk Cps");
}
if (killer.MapID == 9992)
{
Kernel.SendWorldMessage(new Message(" Attention ! " + killer.Name + " Has Killed " + this.Name + " in room and won 18m cps.", System.Drawing.Color.Black, Message.Center), Program.Values);
killer.ConquerPoints += 18000000;
this.Owner.MessageBox("You Killed By " + killer.Name + " So Sorry for that");
killer.Owner.MessageBox("You Killed " + this.Name + " and won 18m Cps");
}
if (killer.MapID == 9993)
{
Kernel.SendWorldMessage(new Message(" Attention ! " + killer.Name + " Has Killed " + this.Name + " in room and won 80m cps.", System.Drawing.Color.Black, Message.Center), Program.Values);
killer.ConquerPoints += 80000000;
this.Owner.MessageBox("You Killed By " + killer.Name + " So Sorry for that");
killer.Owner.MessageBox("You Killed " + this.Name + " and won 80m Cps");
}
#endregion
if (OnDeath != null) OnDeath(this);
if (this.MapID == 9991 || this.MapID == 9992 || this.MapID == 9993)
{
killer.RemoveFlag(Network.GamePackets.Update.Flags.FlashingName);
killer.FlashingNameStamp = Time32.Now;
killer.FlashingNameTime = 0;
killer.Teleport(1002, 288, 290);
this.Teleport(1002, 300, 300);
this.BringToLife();
}
}
}
}
9991 1005 7 0
9992 1005 7 0
9993 1005 7 0
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps
9991,
9992,
9993,
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
شوية حمايات كدا كويس ليكو | MohamedModyAdel | تطوير سيرفرات كونكر | 145 | 2024-11-18 07:36 AM |
ملف اتاك جميع اسكلات كونكر فكسد مني ليكو | ahmedfathy | تطوير سيرفرات كونكر | 97 | 2024-08-25 03:58 AM |
حرب PoleDomntaion مقدمه من HassanEmprator ليكو احبايبي <3 | Hassan Emprator | تطوير سيرفرات كونكر | 9 | 2020-02-20 11:47 PM |
اضافة شوية رونز اضافه خاصه بالسورس | Tefa | تطوير سيرفرات كونكر | 12 | 2019-12-15 12:10 PM |
MostWanted War (حصرى) هديه عيد الاضحى | Ahmeed Sheeko | تطوير سيرفرات كونكر | 23 | 2019-10-23 12:34 PM |