Mr.MoZa لبيع السورسات المدفوعه جميع الاصدارات
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.


Mr.MoZa لجميع بيع السورسات واي اضافات تخص كونكر مابات + جيرمنتات + موينتات + اكسسوار جميع الحاجات للاستفسار يرجي الاتصال بنا علي رقم 01129854192 By Mr.MoZa
 
الرئيسيةاليوميةأحدث الصورس .و .جبحـثالأعضاءالمجموعاتالتسجيلدخول

 

 توب Mr/Miss Conquer

اذهب الى الأسفل 
كاتب الموضوعرسالة
Mr.MoOoZa




المساهمات : 28
تاريخ التسجيل : 20/03/2022

توب Mr/Miss Conquer Empty
مُساهمةموضوع: توب Mr/Miss Conquer   توب Mr/Miss Conquer Emptyالأحد مارس 20, 2022 3:47 am

اول حاجه هتفتح Npcs.cs
وضيف دوول


الكود:
#region Mr Conquer By.beso
                case 18222:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Hello " + client.Entity.Name + " This Is Mr Conquer join now And Get Top Mr Conquer");
                                    dialog.Option("let me join", 1);

                                    break;
                                }
                            case 1:
                                DateTime Now64 = DateTime.Now;
                                if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 03)
                                {
                                    if (Network.PacketHandler.IsBoy(client.Entity.Body))
                                    {
                                        client.Entity.Teleport(11224, 96, 113);
                                        client.Entity.PKMode = Game.Enums.PKMode.PK;
                                        client.Send(new Network.GamePackets.Data(true) { UID = client.Entity.UID, ID = Network.GamePackets.Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        dialog.Text("You Are Not boy");
                                        dialog.Option("okay", 255);
                                        dialog.Send();
                                    }
                                }
                                else
                                {

                                    dialog.Text("This is not the right time Come Later at 18:00 to 18:10 in every day");
                                    dialog.Option("okay", 255);
                                    dialog.Send();
                                }
                                break;

                        }
                        break;
                    }
                #region Winner for mr conquer by.beso
                case 18224:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim your Prize?.");
                                    dialog.Option("Yes Please", 1);
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;
                                }
                            case 1:
                                {
                                    int alive = 0;
                                    foreach (Beso.Client.GameState players in Program.Values)
                                        if (players.Entity.MapID == 11224 && (!players.Entity.Dead))
                                            alive++;
                                    client.Send(new Message("there are in map" + alive + "", System.Drawing.Color.Azure, Message.TopLeft));
                                    if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 25)
                                    {
                                        if (alive == 1)
                                        {
                                            // client.Entity.Effect = "";
                                            client.Entity.ConquerPoints += rates.mrconquer;
                                            client.Entity.killerpoints += 100;
                                            client.Entity.AddTopStatus(Update.Flags3.MrConquer, 3, DateTime.Now.AddDays(1));

                                            Kernel.SendWorldMessage(new Message("Congratulations! Player " + client.Entity.Name + " claimed the prize " + rates.mrconquer + " ConquerPoints + 100 Vip Point's for winning the Top Mr Conquer  . ", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            client.Entity.Teleport(1002, 428, 380);
                                            foreach (var clients in Program.Values)
                                            {
                                                if (clients.Entity.MapID == 11224)
                                                {
                                                    clients.Entity.Teleport(1002, 429, 378);
                                                    clients.Entity.BringToLife();
                                                    clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
                                                }
                                            }

                                        }
                                        else
                                        {
                                            dialog.Text("There are still " + alive + " players 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 11 To 25 ");
                                        dialog.Option("okay", 255);
                                        dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                #endregion
                #endregion
                #region Miss Conquer by.beso
                case 18223:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Hello " + client.Entity.Name + " This Is Miss Conquer join now And Get Top Miss Conquer");
                                    dialog.Option("let me join", 1);

                                    break;
                                }
                            case 1:
                                DateTime Now64 = DateTime.Now;
                                if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 03)
                                {
                                    if (Network.PacketHandler.IsGirl(client.Entity.Body))
                                    {
                                        client.Entity.Teleport(11225, 96, 113);
                                        client.Entity.PKMode = Game.Enums.PKMode.PK;
                                        client.Send(new Network.GamePackets.Data(true) { UID = client.Entity.UID, ID = Network.GamePackets.Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        dialog.Text("You Are Not Girl");
                                        dialog.Option("okay", 255);
                                        dialog.Send();
                                    }
                                }
                                else
                                {

                                    dialog.Text("This is not the right time Come Later at 18:00 to 18:10 in every Day");
                                    dialog.Option("okay", 255);
                                    dialog.Send();
                                }
                                break;

                        }
                        break;
                    }
                #region Winner for Miss conquer by.beso
                case 18225:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim your Prize?.");
                                    dialog.Option("Yes Please", 1);
                                    dialog.Option("I don't care.", 255);
                                    dialog.Send();
                                    break;
                                }
                            case 1:
                                {
                                    int alive = 0;
                                    foreach (Beso.Client.GameState players in Program.Values)
                                        if (players.Entity.MapID == 11225 && (!players.Entity.Dead))
                                            alive++;
                                    client.Send(new Message("there are in map" + alive + "", System.Drawing.Color.Azure, Message.TopLeft));
                                    if (DateTime.Now.Hour == 18 && DateTime.Now.Minute >= 11 && DateTime.Now.Minute <= 25)
                                    {
                                        if (alive == 1)
                                        {

                                            client.Entity.ConquerPoints += rates.mrconquer;
                                            client.Entity.killerpoints += 100;
                                            client.Entity.AddTopStatus(Update.Flags3.MsConquerHostess, 3, DateTime.Now.AddDays(1));
                                            Kernel.SendWorldMessage(new Message("Congratulations! Player " + client.Entity.Name + " claimed the prize " + rates.mrconquer + " ConquerPoints + 100 Vip Point's for winning the Top Miss Conquer  . ", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            client.Entity.Teleport(1002, 428, 380);
                                            foreach (var clients in Program.Values)
                                            {
                                                if (clients.Entity.MapID == 11225)
                                                {
                                                    clients.Entity.Teleport(1002, 429, 378);
                                                    clients.Entity.BringToLife();
                                                    clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
                                                }
                                            }

                                        }
                                        else
                                        {
                                            dialog.Text("There are still " + alive + " players 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 11 To 25 ");
                                        dialog.Option("okay", 255);
                                        dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                #endregion
                #endregion

تانى حاجه هتفتح World.cs
وضيف دول


الكود:
#region Mr/Ms Conquer By.beso
            if (client.Entity.MapID == 6000 || client.Entity.MapID == 6001 || client.Entity.MapID == 102 || client.Entity.MapID == 6002 || client.Entity.MapID == 6003 || client.Entity.MapID == 6004)
                return;
            if ((DateTime.Now.Hour == 18 && DateTime.Now.Minute == 00 && Now64.Second == 4))
            {

                client.MessageBox(" Mr/Mss Conquer War began! Would you like to join?",
                p => { p.Entity.Teleport(1002, 417, 294); }, null, 60);
            }
            #endregion

تالت حاجه هتفتح النافى كاات وافتح Maps
وضيف دوول


الكود:
11225    1507    7    0
11224    1507    7    0

رابع حاجه واخر حاجه هتفتح Npcs الى فى النافى كات
وضيف دوول


الكود:
18222    MrConquer[D]    2    35630    1002    291    189   
18223    MissConquer[D]    2    35640    1002    287    189   
18225    MissConquer[P]    2    35646    11225    86    112   
18224    MrConquer[P]    2    35636    11224    86    112
الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
توب Mr/Miss Conquer
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
Mr.MoZa لبيع السورسات المدفوعه جميع الاصدارات :: كونكر اونلاين :: تطوير سيرفرات كونكر-
انتقل الى: