عرض مشاركة واحدة
قديم 2020-02-25, 12:37 AM
المشاركة 4
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: عاوز اضيف ان بي سي يدخلني لتوبات
اتفضل عدل برحتك


كود:
                #region All Queste Day
                // case 141198:
                
case 141199:
                    {
                        
dialog.Avatar(67);
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    {
                                        
dialog.Text("Hey there > " client.Entity.Name " < No Questes for now -_-");
                                        
dialog.Option("Ok Thanks."255);
                                        
// client.Entity.Update(_String.Effect, "ErLongTengFei", true);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 2)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top WarriorTop PKWar?.");
                                        
dialog.Option("Yea Teleport me Please WarriorTop!!"100);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= && DateTime.Now.Minute <= 8)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join ToP ArcherTop PKWar?.");
                                        
dialog.Option("Yea Teleport me Please ArcherTop!!"101);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 14)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top NinjaTop PKWar?.");
                                        
dialog.Option("Yea Teleport me Please NinjaTop!!"102);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 20)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join TopMonk Pk?.");
                                        
dialog.Option("Yea Teleport me Please TopMonk!!"103);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 26)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join TopTrojan PK PKWar?.");
                                        
dialog.Option("Yea Teleport me Please TopTrojan!!"104);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 32)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top LastMan PKWar?.");
                                        
dialog.Option("Yea Teleport me Please LastMan!!"105);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 38)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top PiratLord ?.");
                                        
dialog.Option("Yea Teleport me Please PiratLord!!"106);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 44)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top KungFuKing PKWar?.");
                                        
dialog.Option("Yea Teleport me Please KungFuKing!!"107);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 50)
                                    {
                                        
dialog.Text("Hello " client.Entity.Name "I Can Let You Join The Cps War.");
                                        
dialog.Text("Start Every Hours At (××:48) The End (××:51) Your Make 5 Muints SinglUp.");
                                        
dialog.Text("If You Need To Join Cps War a " 20000 " CPs Cps In Your Inventory If You Killed Any Entity U Will Drop " 15000000 " From Him Also If U Died U will Lose " 10000000 " Cps");
                                        
dialog.Option("Yea Teleport me Please CpsWar!!"108);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 56)
                                    {
                                        
dialog.Text("Hey there > " client.Entity.Name " <  Would you like to join Windwalker~PK ?.");
                                        
dialog.Option("Yea Teleport me Please Windwalker~PK!!"109);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
100:
                                {
                                    if (
DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 2)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25365050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top WarriorTop Pk War is held during xx:00 to xx:3 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
101:
                                {
                                    if (
DateTime.Now.Minute >= && DateTime.Now.Minute <= 8)
                                    {
                                        
client.Entity.Teleport(8541108122);
                                    }
                                    else
                                    {
                                        
dialog.Text("[ ArcherTop PK] War is held during [xx:06] To [xx:09] in every Hour");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
102:
                                {
                                    if (
DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 14)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25295751);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top NinjaTop Pk War is held during xx:12 to xx:15 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
103:
                                {
                                    if (
DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 20)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25285050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top  MonkTop Pk War is held during xx:18 to xx:21 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
104:
                                {
                                    if (
DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 26)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25385050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top Trojan Pk War is held during xx:24 to xx:27 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
105:
                                {
                                    if (
DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 32)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        
//  if (Nr == 1) client.Entity.Teleport(2537, 50, 50);
                                        
if (Nr == 1client.Entity.Teleport(22225050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top TaoistMoon Pk War is held during xx:30 to xx:33 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
106:
                                {
                                    if (
DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 38)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25275050);
                                        
// if (Nr == 1) client.Entity.Teleport(5928, 50, 50);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top PiratLord Pk War is held during xx:36 to xx:39 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
107:
                                {
                                    if (
DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 44)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(3215050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top KungFuKing Pk War is held during xx:6 to xx:9 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
108:
                                {
                                    if (
DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 50)
                                    {
                                        if (
client.Entity.ConquerPoints >= 10000000)
                                        {
                                            
client.Entity.Teleport(65653935);
                                            if (
client.Entity.MyClones.Count 0)
                                            {
                                                var 
clones client.Entity.MyClones.Values.ToArray();
                                                for (
int i 0clones.Lengthi++)
                                                {
                                                    var 
item clones[i];
                                                    if (
item == null)
                                                        continue;
                                                    
Data data = new Data(true);
                                                    
data.UID item.UID;
                                                    
data.ID Network.GamePackets.Data.RemoveEntity;
                                                    
client.Entity.Owner.SendScreen(data);
                                                    
client.Entity.MyClones[item.UID] = null;
                                                }
                                                
client.Entity.MyClones.Clear();
                                            }
                                        }
                                        else
                                        {
                                            
dialog.Text("Sorry Your Dont Make " 10000000 " CPs");
                                            
dialog.Option("Thanks."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry i Can Let You join The Event Now Come again Later On (××:48) Off (××:51).");
                                        
dialog.Option("Thanks."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                        break;
                                    }
                                    
//break;
                                
}
                            case 
109:
                                {
                                    if (
DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 56)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        
client.Entity.Teleport(95755050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Hey there > " client.Entity.Name "Would you like to join Windwalker~PK ?.");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion