احصائياتى

الردود
0

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

    غير متواجد

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

+التقييم
0.84

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

الاقامة
Egypt

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

رقم العضوية
1
2019-05-07, 12:45 PM
المشاركة 1
2019-05-07, 12:45 PM
المشاركة 1
افتراضي كوسته الارانب

كوسته تيم اكسور
كويستة التانية من موضوع الطلبات
كويستة حلوة و غريبة و جديدة

الشرح:هيجيك اوتو انفنت هتكلم الان بي سي الساعة 13:00
هيحولك لوحش من اصل 6 وحوش جديدة و قديمة
و هيعمل الهلث بتاعك 70 الف و يوديك مابة
متقدرش تستخدم اي سكلة طول ما انت متحول
التحول هيقعد 13 دقيقة
يعني مش هتقدر تضرب غير ضربة عادية
يعني اجري ورا الناس و اضربهم :hunter:
تمام نخش في الاضافة
خش على Nps
و ضيف دول

كود:

 
#region new mobs q
                
case 4131:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join the Monsters War?.");
                                    
dialog.Option("Yes i will be A Monster", 1);
                                    
dialog.Option("I don't care.", 255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
DateTime.Now.Hour == 13 && DateTime.Now.Minute >= 00 && DateTime.Now.Minute < 9)
                                    {
                                        
Random R = new Random();
                                        
int Nr = R.Next(1, 2);
                                        if (
Nr == 1) client.Entity.Teleport(10551, 57, 44);
                                        if (
Nr == 2) client.Entity.Teleport(10551, 58, 44);

                                        
int disguise = Kernel.Random.Next(Database.DataHolder.Disguises2.Length);
                                        
ushort selected = Database.DataHolder.Disguises[disguise];
                                        
bool wasTransformated = client.Entity.Transformed;
                                        if (
wasTransformated)
                                        {
                                            
client.Entity.Hitpoints = client.Entity.MaxHitpoints;
                                            
client.Entity.TransformationID = 0;
                                            
client.Entity.TransformationStamp = Time32.Now;
                                        }
                                        
ushort transformation = selected;
                                        
client.Entity.TransformationID = transformation;
                                        
client.Entity.TransformationStamp = Time32.Now;
                                        
client.Entity.TransformationTime = 780;
                                        
SpellUse spellUse = new SpellUse(true);
                                        
spellUse.Attacker = client.Entity.UID;
                                        
spellUse.SpellID = 1360;
                                        
spellUse.SpellLevel = 4;
                                        
spellUse.X = client.Entity.X;
                                        
spellUse.Y = client.Entity.Y;
                                        
spellUse.AddTarget(client.Entity.UID, (uint)0, null);
                                        
client.Send(spellUse);
                                        
client.Entity.TransformationMaxHP = 70000;
                                        
double maxHP = client.Entity.MaxHitpoints;
                                        
double HP = client.Entity.Hitpoints;
                                        
double point = HP / maxHP;
                                        
client.Entity.Hitpoints = (uint)(client.Entity.TransformationMaxHP * point);
                                        
client.Entity.Update(Update.MaxHitpoints, client.Entity.TransformationMaxHP, false);
                                        
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "You Are A Monster New Fight with Other Monsters To Get Glory  ");
                                        
npc.OptionID = 255;
                                        
client.Send(npc.ToArray());
                                    }
                                    else
                                    {
                                        
dialog.Text("Monsters War is held during  at 13:9 ");
                                        
dialog.Option("I don't care.", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion
               #region Winner of mobs 
                
case 21995: 
                    { 
                        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: 
                                { 
                                    
                                    if (
DateTime.Now.Hour == 13 && DateTime.Now.Minute >= 10 && DateTime.Now.Minute < 20) 
                                    { 
                                        
                                         
Conquer_Online_Server.Game.ConquerStructures.Daily.CheackSpouse(); 
                                    if (
Conquer_Online_Server.Game.ConquerStructures.Daily.howmanyinmap3 == 1) 
                                    { 
                                            
client.Entity.ConquerPoints += 1000000; 
                                            
Conquer_Online_Server.Kernel.SendWorldMessage(new Message("Congratulations! The Monster " + client.Entity.Name + " claimed the prize 1kk Frome Monsters war.", System.Drawing.Color.Black, Message.Center), Program.GamePool); 

                                            
// oras  
                                            
client.Entity.SendSpawn(client, true); 
                                            
client.Entity.Teleport(1002, 301, 278); 

                                        } 
                                        else 
                                        { 
                                            
dialog.Text("There are still " +  Daily.howmanyinmap3 + " 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 13:10"); 
                                        
dialog.Option("okay", 255); 
                                        
dialog.Send(); 
                                        break; 
                                    } 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
                
#endregion 

و خش على World
و دور على


كود:

#region Last man 

و ضيف فوقو

كود:

 
#region new mobs 
            
if (Now64.Second <= 3 && Now64.Hour == 13 && Now64.Minute == 00) 
            { 
                
Kernel.SendWorldMessage(new Network.GamePackets.Message("Monsters War has begun! Go to Challenge Other Players !", System.Drawing.Color.White, Network.GamePackets.Message.Center), Program.GamePool); 
                
client.MessageBox("Monsters War has begun! Would you like to join? [Prize: 1kk CPs]", 
                      (
p) => { p.Entity.Teleport(1002, 335, 267); }, null, 60); 
            } 
            
#endregion 

خش على Daily.cs
و دور على


كود:

public static void CheackAlive2() 

حط فوقو

كود:

 
public static void CheackAlive7() 
        { 
            
howmanyinmap2 = 0; 
            foreach (
Client.GameClient client in Program.GamePool) 
            { 
                if (
client.Entity.MapID == 10551 && client.Entity.Hitpoints >= 1) 
                { 
                    
howmanyinmap2 += 1; 
                    
Conquer_Online_Server.Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("Players Alive in Monsters War: " + howmanyinmap2 + " ", System.Drawing.Color.Black, Conquer_Online_Server.Network.GamePackets.Message.FirstRightCorner), Program.GamePool); 
                } 

            } 
        } 

تمام خش على
Database
و افتح DataHolder.cs
و دور على


كود:

public static ushort[] Disguises = new ushort[] { 111, 224, 117, 152, 113, 833, 116, 245, 112, 222, 114, 221, 115, 220 }; 

و حط تحتو


كود:

public static ushort[] Disguises2 = new ushort[] { 111, 127, 979, 976, 977, 983 }; 

دلوقتي افتح
Constants.cs
و دور على


كود:

public static readonly System.Collections.Generic.List<ushort> PKFreeMaps = new System.Collections.Generic.List<ushort>()
        { 

و حط تحت اول قوس


كود:

 10551
, 

طيب دلوقتي خش على PacketHandler.cs
و دور على


كود:

#region LifeFruit 

اقفلو من السالب و بدلو بدا

كود:

#region LifeFruit
                
case 723726:
                    {
                        if (
client.Entity.MapID == 10551)
                            break; 
                        
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
                        
client.Entity.Hitpoints = client.Entity.MaxHitpoints;
                        
client.Entity.Mana = client.Entity.MaxMana;
                        break;
                    }
                
#endregion 

خلي بالك دور على
#region LifeFruit
الي تحتها مكتوب
case 723726:
و دور على


كود:

#region Medicine 

و اقفلو من السالب و بدلو بدا

كود:

#region Medicine
                
case 1000000:
                case 
1000010:
                case 
1000020:
                case 
1000030:
                case 
1002000:
                case 
1002010:
                case 
1002020:
                case 
1002050:
                case 
725065:
                    {
                        if (
client.Entity.MapID == 10551)
                            break;  
                        if (
client.Entity.NoDrugsTime > 0)
                        {
                            if (
Time32.Now > client.Entity.NoDrugsStamp.AddSeconds(client.Entity.NoDrugsTime))
                            {
                                
client.Entity.NoDrugsTime = 0;
                            }
                            else
                            {
                                return;
                            }
                        }
                        if (
client.Entity.Hitpoints == client.Entity.MaxHitpoints)
                            return;
                        
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
                        
client.Entity.Hitpoints = Math.Min(client.Entity.Hitpoints + infos.BaseInformation.ItemHP, client.Entity.MaxHitpoints);
                        break;
                    }
                case 
1001000:
                case 
1001010:
                case 
1001020:
                case 
1001030:
                case 
1001040:
                case 
1002030:
                case 
1002040:
                case 
725066:
                    {
                        if (
client.Entity.MapID == 10551)
                            break;  
                        if (
client.Entity.NoDrugsTime > 0)
                        {
                            if (
Time32.Now > client.Entity.NoDrugsStamp.AddSeconds(client.Entity.NoDrugsTime))
                            {
                                
client.Entity.NoDrugsTime = 0;
                            }
                            else
                            {
                                return;
                            }
                        }
                        if (
client.Entity.Mana == client.Entity.MaxMana)
                            return;
                        
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
                        
client.Entity.Mana = (ushort)Math.Min(client.Entity.Mana + infos.BaseInformation.ItemMP, client.Entity.MaxMana);
                        break;
                    }
                
#endregion 

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



كود:

INSERT INTO 
`maps` VALUES ('10550', '10550', '0007', '0000');
INSERT INTO `maps` VALUES ('10551', '10550', '0007', '0000');
INSERT INTO `npcs` VALUES ('4131', '0', '0', 'new mobs q', '0002', '1340', '-1', '1002', '0335', '0264', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '0', '0', '', '0000', '00', '00', '0000', '00', null);
INSERT INTO `npcs` VALUES ('21995', '0', '0', 'new mobs win', '0002', '1340', '-1', '10551', '0056', '0037', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '0', '0', '', '0000', '00', '00', '0000', '00', null); 






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



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

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

المواضيع المتشابهه للموضوع: كوسته الارانب
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
كوسته حرب التيمات Hazem تطوير سيرفرات كونكر 1 2020-09-15 04:21 AM
كوسته الكلاسات Hazem تطوير سيرفرات كونكر 2 2020-02-15 08:25 PM
طلب كوسته Amr Khalid مشكلات السيرفيرات كونكر الشخصيه 1 2019-11-26 08:52 AM
صنع كوسته بتيم Hazem تطوير سيرفرات كونكر 1 2019-09-14 01:05 PM
كندل كويست ( كوسته) Hazem تطوير سيرفرات كونكر 1 2019-06-25 10:43 PM


الساعة الآن 04:37 AM