احصائياتى

الردود
1

المشاهدات
630
 
Hazem
.:: المدير العام::.

    غير متواجد

المشاركات
2,315

+التقييم
0.84

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

الاقامة
Egypt

نظام التشغيل
windows 7

رقم العضوية
1
2019-06-21, 10:49 AM
المشاركة 1
2019-06-21, 10:49 AM
المشاركة 1
افتراضي كوستة No Die

شرح الكويستة يا جدعان
انت بتدخل الكويستة عادى لما تموت حد بيطير واتخد بوينتات لما تموت حد ولازم تموت 20 واحد عشان تكسب الكويستة

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

كود:
#region NoDie
                
case 50155:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
client.Entity.Update(_String.Effect, "break_start", true);
                                    
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join No Die PKWar?.");
                                    
dialog.Text("you can SignUp during xx:10 to xx:15 and first 8 Players will get 20 Points.");
                                    
dialog.Text("faster than any player else will be in the No Die and obtain Rewards GoodLuck!");
                                    
dialog.Option("Yes Please", 1);
                                    
dialog.Option("I don't care.", 255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
DateTime.Now.Minute >= 10 && DateTime.Now.Minute <= 15)
                                    {
                                        
client.Entity.Teleport(5928, 50, 50);
                                    }
                                    else
                                    {
                                        
dialog.Text("NoDie Pk War is held during xx:10 to  xx:15 you have 5 min to signup ");
                                        
dialog.Option("I don't care.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion
                #region Nodie PkWinner
                
case 50166:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hey there " + client.Entity.Name + " Would you like to Claim No Die PKWar Prize?.");
                                    
dialog.Text("You Should Have 20 DiePoints .");
                                    
//dialog.Text("faster than any player else will be in the Top8Champions and obtain Rewards GoodLuck!");
                                    
dialog.Option("Yes Please", 1);
                                    
dialog.Option("Twin City", 3);
                                    
dialog.Option("I don't care.", 255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
3:
                                {
                                    
client.Entity.Teleport(1002, 391, 371);
                                    
client.Entity.RemoveFlag(Update.Flags.Ride);
                                    break;

                                }
                            case 
1:
                                {
                                    if (
DateTime.Now.Minute >= 15 && DateTime.Now.Minute < 20)
                                    {
                                        if (
client.Nodie >= 20)
                                        {
                                           
                                            
client.Entity.ConquerPoints += 200000;
                                            
Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Has Got Reward For 200.000 No Die Quest Becouse Collect 20 point");
                                            
                                            
client.Entity.Teleport(1002, 391, 371);
                                          

                                        }
                                        else
                                        {
                                            
dialog.Text("Sorry you dont have 20  Die Points yet come again later ");
                                            
dialog.Option("sorry.", 255);
                                            
dialog.Send();
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("sorry you can only claim prize btw xx:15 to xx:20 ");
                                        
dialog.Option("I don't care.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

وافتح
GameClient او GameState
ابحث عن


كود:
public int TopDlClaim = 0; 

ضيف دا تحتها

كود:
public uint Nodie = 0; 

وافتح
Entity.cs

ابحث عن

كود:
#region Oras Arena 

وضيف دا فيها

كود:
         if (killer.MapID == 5928)
            {
                if (
killer.MapID == 5928)
                {
                    
AddFlag(0x8000000);
                    
AddFlag(Network.GamePackets.Update.Flags2.IceBlock);

                    
FlyTime = 20;
                    
FlyStamp = Time32.Now;
                    
FreezeTime = 20;
                    
FreezeStamp = Time32.Now;
                    
GameClient owner = killer.Owner;
                   
owner.Nodie++;
                    
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Well Done : You Kill got 1 No Die Point  You Have Now " + killer.Owner.Nodie + " Die Points!");
                    
npc.OptionID = 255;
                    
killer.Owner.Send(npc.ToArray());
                    
//HeshamYuriServer.Game.ConquerStructures.Society.NoDie.AddScore(, Owner.UID)
                    
Hitpoints = MaxHitpoints;
                    
//Hitpoints = Math.Min(Hitpoints, MaxHitpoints);
                    
return;
                }
            } 

ابحث برضو فى نفس الملف عن

كود:
public bool MagicDefenderOwner = false; 

ضيف دا تحتها

كود:
 public byte FlyTime;
        public 
Time32 FreezeStamp;
        public 
byte FreezeTime; 

وافتح
World.cs
ابحث عن

كود:
#region Monthly PK 

اقفلها من السالب وحط دا فوقها

كود:
         #region NoDie By HeshamYuri
            
if ((Now64.Minute == 10) && (Now64.Second == 01))
            {
                
Kernel.SendWorldMessage(new Message("NoDie Has began!", Color.White, Message.TopLeft), Program.GamePool);
                foreach (var 
client in Program.GamePool)
                    
client.MessageBox("NoDie began! Would you like to join?",
                        
p => { p.Entity.Teleport(1002, 459, 352); }, null, 60);
            }
            
#endregion 

كدا تمام
نخش على النافى كات

افتح NPC

وضيف دول فيها

كود:
50155    0    0    NoDie    2    2895    -1    1002    459    350    0    0    0    0    0    0    0    0    0    0    0    0        0    0    0    0    0    
50166    0    0    NoDie E    2    28830    
-1    5928    52    74    0    0    0    0    0    0    0    0    0    0    0    0        0    0    0    0    0 

وافتح Maps

وضيف المابة دى

كود:
5928    700    7    0 

عشان محدش يسافر فى المابة ولا يركب الحصان والكلام دا

افتح
Constants.cs

ابحث عن

كود:
public static readonly System.Collections.Generic.List<ulong> PKFreeMaps2 = new System.Collections.Generic.List<ulong 

ضيف دا فيها


كود:
5928, 

وابحث برضو عن

كود:
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps = new System.Collections.Generic.List<ushort 

ضيف برضو دا

كود:
5928, 

بس كدا تمام




قديم 2019-06-25, 05:44 PM
المشاركة 2
MohamedModyAdel
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: كوستة No Die
جميل


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع

المواضيع المتشابهه للموضوع: كوستة No Die
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
سيستم كوستة وحوش يوميه كوستت Code Winner M.H.B[X-Coder]X تطوير سيرفرات كونكر 19 2020-10-01 03:22 AM
كوستة Golden Secret Hazem تطوير سيرفرات كونكر 4 2020-09-27 02:07 PM
حرب جديدة lose cps Mero تطوير سيرفرات كونكر 5 2020-09-15 04:02 AM
كوستت دراجوونس Hassan Emprator تطوير سيرفرات كونكر 8 2020-03-21 09:42 PM
كوستة SwordWar Hazem تطوير سيرفرات كونكر 3 2019-06-25 11:54 AM


الساعة الآن 05:38 AM