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

الردود
1

المشاهدات
2093
 
Mero

Mero is on a distinguished road

    غير متواجد

المشاركات
151

+التقييم
0.07

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

الاقامة

نظام التشغيل

رقم العضوية
11
2019-04-19, 12:21 AM
المشاركة 1 
#1  
Post كوتسة لى الجلد ليدر وى الدبتى ليدر


بتكلم انبيسي علي حسب الرنك بتاع الجيلد بتاعك لو جيلد ليدر هيدخلك مابة الجيلد ليدر
لو دبوتي نفس النظام
الجايزه بتاخد توب الجيلد ليدر لي يوم واحد
وبردو نفس النظام لي الدبوتي وسيبئس
وبتيجي الكويست ديه كل يوم
الساعه 10:00 لغاية 10:05
والجايزه من 10:05 لي 10:20
وعشان تخش لازم ليفل 130 وتكون سكند



نخش علي الاضفات

Npcs.cs


كود:
#region TeamXor 
               #region New Qust 
                
case 4555
                    { 
                        switch (
npcRequest.OptionID
                        { 
                            case 
0
                                { 
                                    
dialog.Text("Hello Sir Do You Want  To Join the Qust"); 
                                    
dialog.Option("Yes I Want"2); 
                                    
dialog.Option("More Information Please"3); 
                                    
dialog.Option("No Thx"255); 
                                    
dialog.Send(); 
                                    break; 
                                } 
                            case 
2
                                { 
                                    if (
DateTime.Now.Hour == 22 && DateTime.Now.Minute <= && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.GuildLeader && client.Entity.Level >= 140 && client.Entity.Reborn >= 2
                                    { 
                                        
client.Entity.Teleport(14205141); 
                                    }  
                                    else 
                                    { 
                                        if (
DateTime.Now.Hour == 22 && DateTime.Now.Minute <= && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.DeputyLeader && client.Entity.Level >= 140 && client.Entity.Reborn >= 2
                                        { 
                                            
client.Entity.Teleport(14215141); 
                                        } 
                                        else 
                                    { 
                                        
client.MessageBox("You Must Be level 130 , seconed and deputy leader or Guild Leader"); 
                                    } 

                                    } 
                                    break; 
                                } 
                            case 
3
                                { 
                                    
dialog.Text("If You Win the War You Will Get Top G.L for 1 day"); 
                                    
dialog.Option("Of Course i will join now"255); 
                                    
dialog.Send(); 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
                
#endregion 
                #region Prize D.L 
                
case 4556
                    {  
                        switch (
npcRequest.OptionID
                        { 
                            case 
0
                                { 
                                    
dialog.Text("Hello Sir Do You Want To Claim You Prize"); 
                                    
dialog.Option("Yes"2); 
                                    
dialog.Option("Not Now"255); 
                                    
dialog.Send(); 
                                    break; 
                                } 
                            case 
2
                                { 
                                    if (
DateTime.Now.Hour == 22 && DateTime.Now.Minute >= && DateTime.Now.Minute <= 20 && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.DeputyLeader 
                                    { 
                                    
int alive 0
                                foreach (
HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values
                                if (
players.Entity.MapID == 1421 && (!players.Entity.Dead)) 
                                        
alive++; 
                                { 
                                    if (
alive == 1
                                    { 
                                        
client.Entity.ConquerPoints += 5000000
                                        
client.Entity.AddTopStatus(Update.Flags.TopDeputyLeaderDateTime.Now.AddDays(1)); 
                                        
client.Entity.Teleport(1002300278); 
                                    } 
                                } 
                                    } 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
#endregion 
                #region Prize G.L 
                
case 4557
                    { 
                        switch (
npcRequest.OptionID
                        { 
                            case 
0
                                { 
                                    
dialog.Text("Hello Sir Do You Want To Claim You Prize"); 
                                    
dialog.Option("Yes"2); 
                                    
dialog.Option("Not Now"255); 
                                    
dialog.Send(); 
                                    break; 
                                } 
                            case 
2
                                { 
                                    if (
DateTime.Now.Hour == 22 && DateTime.Now.Minute >= && DateTime.Now.Minute <= 20 && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.GuildLeader
                                    { 
                                        
int alive 0
                                        foreach (
HarryPotter.Client.GameState players in HarryPotter.Kernel.GamePool.Values
                                            if (
players.Entity.MapID == 1420 && (!players.Entity.Dead)) 
                                                
alive++; 
                                        { 
                                            if (
alive == 1
                                            { 
                                                
client.Entity.ConquerPoints += 5000000
                                                
client.Entity.AddTopStatus(Update.Flags.TopGuildLeaderDateTime.Now.AddDays(1)); 
                                                
client.Entity.Teleport(1002300278); 
                                            } 
                                        } 
                                    } 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
                
#endregion 
#endregion 

دول في maps في النفى كات




كود:
1420    1801    14    0 
1421    1801    14    0 

الانبيسهات ضفوها انتو

المابة بقي عشان محدش يقفل الاكونت واول لما الواد ياخد البرايز يروح فاتح واخدها هو كمان

هتفتح PacketHandler.cs

وتبحث عن


كود:
if (client.Map.BaseID == 1844 || client.Entity.MapID == 1950 

تضيف فوقه على طول الكود دا




كود:
if (client.Map.BaseID == 1420 || client.Entity.MapID == 1801
                    
client.Entity.Teleport(1002300278); 
                if (
client.Map.BaseID == 1421 || client.Entity.MapID == 1801
                    
client.Entity.Teleport(1002300278);