عرض مشاركة واحدة
احصائياتى

الردود
2

المشاهدات
1965
 
Hassan Emprator

Hassan Emprator is on a distinguished road

    غير متواجد

المشاركات
1,372

+التقييم
0.63

تاريخ التسجيل
Apr 2019

الاقامة

نظام التشغيل

رقم العضوية
30
2020-02-29, 01:28 PM
المشاركة 1 
#1  
افتراضي كويستت TeamWar مقدمه لي MohamedAymen

الكويستت عاملها عشانه عشان هوا طالبها بس هعملهاله برضو وفكرتها ان الحرب بتبقا لي تيمات بس محدش يقدر يخش في غير انو يكون في تيم


يله نبدا
االنبي سي وي الجايزه بتاعتهم


كود:
#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(13);
                                                    if (
Nr == 1Teammate.Entity.Teleport(22334555);
                                                    if (
Nr == 2Teammate.Entity.Teleport(22335055);
                                                    if (
Nr == 3Teammate.Entity.Teleport(22335550);
                                                    
client.Entity.RemoveFlag(Update.Flags.Ride);
                                                    
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("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.TopFireTaoist2DateTime.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.BlackMessage.Center), Program.Values);
                                            
client.Entity.SendSpawn(clienttrue);
                                            
client.Entity.Teleport(1002300278);
                                            
EntityTable.SaveEntity(client);
                                            foreach (var 
clients in Program.Values)
                                            {
                                                if (
clients.Entity.MapID == 2233)
                                                {
                                                    
clients.Entity.Teleport(1002300278);
                                                    
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.BlackMrHassan.Network.GamePackets.Message.FirstRightCorner), Program.Values);
                }

            }
        } 

سيرش عا



كود:
        public static readonly System.Collections.Generic.List<ushortPKFreeMaps 

ضيف


كود:
            2233

وسيرش عا


كود:
        public static readonly System.Collections.Generic.List<ulongNotReady 

ضيف


كود:
            2233

وسيرش عا


كود:
        public static readonly System.Collections.Generic.List<ushortNoRev 

ضيف


كود:
            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.WhiteMessage.TopLeft), Program.Values);
                foreach (var 
client in Program.Values)
                    
client.MessageBox("TeamWar began Would you like to join?",
                     
=> { p.Entity.Teleport(36908263); }, null20);
            }
            
#endregion 

المابه هتضيفا في maps في القاعده هااا


كود:
2233    700    7    0 

هيا اه الكويستت في كل سورسات تقريبا بتاعت صموئيل بس اي انا نزلتها عشان هوا طلبها بس