الموضوع: كوستت دراجوونس
عرض مشاركة واحدة
احصائياتى

الردود
9

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

Hassan Emprator is on a distinguished road

    غير متواجد

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

+التقييم
0.64

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

الاقامة

نظام التشغيل

رقم العضوية
30
2019-04-24, 02:49 PM
المشاركة 1 
#1  
افتراضي كوستت دراجوونس
معانا كوسته جميله اوي من تكويدي الشر ح بتاعها اهو///// بسم الله الرحمن الرحيم
شرح للكويستة هيا عباره عن 4 تنين صغيرين بيدفعوا عن امهم
والمفروض انك تقتل ال 4 دول علشان توصل لامهم كل واحد هتقتله هينقلك لمابة تاني بعد ما توصل وتقتلها هتديك جايزه سي بي اس
يله نخش علي الااضافه
افتح MonsterTable.cs
وضيف الكود دا

كود:
public void Drop(Game.Entity killer

لو عندك خلاص
بعد ما ضيف الكود الي فوق دا هنضيف دا
فوق الكود الي فوق


كود:
#region DragonSon Quest By Hassan# 
            
if (Name == "DragonSon1"
            { 
                
_String str = new _String(true); 
                
str.UID killer.UID;//longpi4_452 
                
str.TextsCount 1
                
str.Type _String.Effect
                
str.Texts.Add("cool"); 
                
killer.Owner.SendScreen(strtrue); 
                
killer.Teleport(8886130130); 
                
killer.Owner.Send(new NpcReply(NpcReply.MessageBox"Gratz you now Killed The first Son of Dragon Keep going")); 
                foreach (
Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values
                { 
                    if (
clients.Entity.MapID == 8885
                    { 
                        
clients.Entity.Teleport(8886130130); 
                        
clients.Send(new NpcReply(NpcReply.MessageBox"You teleported to next stage")); 
                    } 
                } 
                 
            } 
            if (
Name == "DragonSon2"
            { 
                
_String str = new _String(true); 
                
str.UID killer.UID
                
str.TextsCount 1
                
str.Type _String.Effect
                
str.Texts.Add("cool"); 
                
killer.Owner.SendScreen(strtrue); 
                
killer.Teleport(8887130130); 
                
killer.Owner.Send(new NpcReply(NpcReply.MessageBox"Gratz you now Killed The second Son of Dragon Keep going")); 
                foreach (
Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values
                { 
                    if (
clients.Entity.MapID == 8886
                    { 
                        
clients.Entity.Teleport(8887130130); 
                        
clients.Send(new NpcReply(NpcReply.MessageBox"You teleported to next stage")); 
                    } 
                } 
                 
            } 
            if (
Name == "DragonSon3"
            { 
                
_String str = new _String(true); 
                
str.UID killer.UID
                
str.TextsCount 1
                
str.Type _String.Effect
                
str.Texts.Add("cool"); 
                
killer.Owner.SendScreen(strtrue); 
                
killer.Teleport(8888130130); 
                
killer.Owner.Send(new NpcReply(NpcReply.MessageBox"Gratz you now Killed The third Son of Dragon Keep going")); 
                foreach (
Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values
                { 
                    if (
clients.Entity.MapID == 8887
                    { 
                        
clients.Entity.Teleport(8888130130); 
                        
clients.Send(new NpcReply(NpcReply.MessageBox"You teleported to next stage")); 
                    } 
                } 
                 
            } 
            if (
Name == "DragonSon4"
            { 
                
_String str = new _String(true); 
                
str.UID killer.UID
                
str.TextsCount 1
                
str.Type _String.Effect
                
str.Texts.Add("cool"); 
                
killer.Owner.SendScreen(strtrue); 
                
killer.Teleport(8889130130); 
                
killer.Owner.Send(new NpcReply(NpcReply.MessageBox"Gratz you now Killed The forth Son of Dragon Keep going")); 
                foreach (
Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values
                { 
                    if (
clients.Entity.MapID == 8888
                    { 
                        
clients.Entity.Teleport(8889130130); 
                        
clients.Send(new NpcReply(NpcReply.MessageBox"You teleported to next stage")); 
                    } 
                } 
                 
            } 
            if (
Name == "DragonMother" && this.Owner.MapID == 8889
            { 
                
_String str = new _String(true); 
                
str.UID killer.UID
                
str.TextsCount 1
                
str.Type _String.Effect
                
str.Texts.Add("cool"); 
                
killer.Owner.SendScreen(strtrue);                 
                if (
killer.VIPLevel 0
                { 
                    
killer.ConquerPoints += rates.DragonSon1
                    
killer.Owner.Send(new NpcReply(NpcReply.MessageBox"Gratz you have Killed Dragons Mom and your prize " rates.DragonSon1 " cps coz you are VIP")); 
                    
Network.PacketHandler.WorldMessage(killer.Name "  has Killed TeratoDragon in DragonSon Quest and win " rates.DragonSon1 "  cps coz he is VIP"); 
                    
killer.Teleport(1002448338); 
                } 
                else 
                { 
                    
killer.ConquerPoints += rates.DragonSon2
                    
killer.Owner.Send(new NpcReply(NpcReply.MessageBox"Gratz you have Killed Dragons Mom and your prize " rates.DragonSon2 " cps")); 
                    
Network.PacketHandler.WorldMessage(killer.Name "  has Killed TeratoDragon in DragonSon Quest and win " rates.DragonSon2 " cps"); 
                    
killer.Teleport(1002448338); 
                } 
                foreach (
Conquer_Online_Server.Client.GameState clients in Kernel.GamePool.Values
                { 
                    if (
clients.Entity.MapID == 8599
                    { 
                        
clients.Entity.Teleport(1002448338); 
                        
clients.Send(new NpcReply(NpcReply.MessageBox"Come Back next Time")); 
                    } 
                } 
            } 


            
#endregion DragonSon Quest
بعد ما ضيفتهم هنروح PacketHandler.cs
ونبحث عن 
#region NPC Dialog (2031 + 2032)
وضيف جواه الاوتو انفت دا جواه

if ((((client.Map.BaseID != 0x1771) && (client.Map.BaseID != 0x1770)) && (!client.Entity.Dead && (req.OptionID == 175))) && (client.Map.BaseID != 700)) 
                            { 
                                
client.Entity.Teleport(8885130130); 
                            }  
بعد كدا هتفح Program.cs
هندور علي 
#region Team Qualifier
وهنضيف فوقه دا
#region DragonSon Pk By Hassan 
if (DateTime.Now.Minute == 15 && DateTime.Now.Second == 00

if (
DateTime.Now.Minute == 15 && DateTime.Now.Second == 00

Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"DragonSon Pk Tourment has Started! You Wana Join?"); 
npc.OptionID 175
client.Send(npc.ToArray()); 


if (
DateTime.Now.Minute == 20 && DateTime.Now.Second == 00

if (
DateTime.Now.Minute == 20 && DateTime.Now.Second == 00

Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"DragonSon Pk Tourment has Finisheded! Come Next Time"); 
npc.OptionID 176
client.Send(npc.ToArray()); 



#endregion 

كدا خلصنا السورس نيجي للنافي كات




هنروح في Maps في القاعده ونضيف وهنعمل الخمس مابات دولي


كود:
8885 1018 7 0 
8886 1018 7 0 
8887 1018 7 0 
8886 1018 7 0 
8886 1018 7 0 

بعد كدا هنفتحmonsterinfos
ونضيف دولي جواه بس مش تاخده كوبي اعمله انت بي اديك



كود:
INSERT INTO `monsterinfosVALUES ('159871''DragonSon1''0001''0950''1000000''00''50000''45000''19999''0036''0089''0000''0000''0000''0000''0001''0006''0000''1000''0500''0150''3''0003''1000000''0001''0000''0000''255''099''099''099''099''099''099''0099''0000''1002020''1002020''10361''0000''10000''00''0''0''0''0''0''0'nullnullnullnullnullnullnull); 
INSERT INTO `monsterinfosVALUES ('159872''DragonSon2''0001''0950''1000000''00''50000''45000''19999''0036''0089''0000''0000''0000''0000''0001''0006''0000''1000''0500''0150''3''0003''1000000''0001''0000''0000''255''099''099''099''099''099''099''0099''0000''1002020''1002020''10361''0000''10000''00''0''0''0''0''0''0'nullnullnullnullnullnullnull); 
INSERT INTO `monsterinfosVALUES ('159873''DragonSon3''0001''0950''1000000''00''50000''45000''19999''0036''0089''0000''0000''0000''0000''0001''0006''0000''1000''0500''0150''3''0003''1000000''0001''0000''0000''255''099''099''099''099''099''099''0099''0000''1002020''1002020''10361''0000''10000''00''0''0''0''0''0''0'nullnullnullnullnullnullnull); 
INSERT INTO `monsterinfosVALUES ('159874''DragonSon4''0001''0950''1000000''00''50000''45000''19999''0036''0089''0000''0000''0000''0000''0001''0006''0000''1000''0500''0150''3''0003''1000000''0002''0000''0000''255''099''099''099''099''099''099''0099''0000''1002020''1002020''10361''0000''10000''00''0''0''0''0''0''0'nullnullnullnullnullnullnull); 
INSERT INTO `monsterinfosVALUES ('159875''DragonMother''0001''0959''1000000''00''50000''45000''19999''0036''0089''0000''0000''0000''0000''0001''0006''0000''1000''0500''0150''3''0003''1000000''0002''0000''0000''255''099''099''099''099''099''099''0099''0000''1002020''1002020''10361''0000''10000''00''0''0''0''0''0''0'nullnullnullnullnullnullnull); 

بس كدا ياريت دعوه حوله