احصائياتى

الردود
8

المشاهدات
719
 
taha
.:: عضو نشيط ::.

    غير متواجد

المشاركات
248

+التقييم
0.09

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

الاقامة

نظام التشغيل

رقم العضوية
304
2019-12-24, 07:46 AM
المشاركة 1
2019-12-24, 07:46 AM
المشاركة 1
افتراضي تمت الإجابة حل مشكله الاسكلات بتفصل معك
مشكلة الاسكل DragonRool بتاعت المونك ومشكلة اليزون بتاعت نينجا لما بتنزل ريبورن بتفضل معاك


أفضل جواب - كتبه رفيق القلم
افتح ملف ورلد

كود:
 private void CharactersCallback(GameState client, int time) 

هضيف فيه كود ديه

كود:
#region mad but must be done Protected by CopyRights
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region rem r i d e r
            #region tr
            
if (client.Entity.Class > 15 || client.Entity.Class < 10)
            {
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(11986))
                    {
                        
client.MySpells.Remove(11986, stream);

                    }
                }

                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(11990))
                    {
                        
client.MySpells.Remove(11990, stream);

                    }
                }
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(13440))
                    {
                        
client.MySpells.Remove(13440, stream);

                    }
                }
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(11960))
                    {
                        
client.MySpells.Remove(11960, stream);

                    }
                }

            }
            
#endregion
            #region mo
            
if (client.Entity.Class > 65 || client.Entity.Class < 60)
            {
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(12550))
                    {
                        
client.MySpells.Remove(12550, stream);

                        

                        }
                }

                
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(12560))
                    {
                        
client.MySpells.Remove(12560, stream);

                    }
                }


                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(12570))
                    {
                        
client.MySpells.Remove(12570, stream);

                    }
                }
                
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(14160))
                    {
                        
client.MySpells.Remove(14160, stream);

                    }
                }

                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(10490))
                    {
                        
client.MySpells.Remove(10490, stream);

                    }
                }


                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(10425))
                    {
                        
client.MySpells.Remove(10425, stream);

                    }
                }

                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(10425))
                    {
                        
client.MySpells.Remove(10425, stream);



                        if (
client.MySpells.ClientSpells.ContainsKey(10420))
                            
client.MySpells.Remove(10420, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10421))
                            
client.MySpells.Remove(10421, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10422))
                            
client.MySpells.Remove(10422, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(1005))
                            
client.MySpells.Remove(1005, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1195))
                            
client.MySpells.Remove(1195, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10423))
                            
client.MySpells.Remove(10423, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10424))
                            
client.MySpells.Remove(10424, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10405))
                            
client.MySpells.Remove(10405, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10410))
                            
client.MySpells.Remove(10410, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10400))
                            
client.MySpells.Remove(10400, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1170))
                            
client.MySpells.Remove(1170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10415))
                            
client.MySpells.Remove(10415, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10395))
                            
client.MySpells.Remove(10395, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10381))
                            
client.MySpells.Remove(10381, stream);

                    }
                    
#endregion
                    #region nin
                    
if (client.Entity.Class > 55 || client.Entity.Class < 50)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(6011))
                            
client.MySpells.Remove(6011, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(6001))
                            
client.MySpells.Remove(6001, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6003))
                            
client.MySpells.Remove(6003, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6002))
                            
client.MySpells.Remove(6002, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6010))
                            
client.MySpells.Remove(6010, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6000))
                            
client.MySpells.Remove(6000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12070))
                            
client.MySpells.Remove(12070, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12080))
                            
client.MySpells.Remove(12080, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12090))
                            
client.MySpells.Remove(12090, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6004))
                            
client.MySpells.Remove(6004, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11170))
                            
client.MySpells.Remove(11170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11180))
                            
client.MySpells.Remove(11180, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12110))
                            
client.MySpells.Remove(12110, stream);


                    }
                    
#endregion
                    #region ar
                    
if (client.Entity.Class > 45 || client.Entity.Class < 40)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(11670))
                            
client.MySpells.Remove(11670, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14280))
                            
client.MySpells.Remove(14280, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11660))
                            
client.MySpells.Remove(11660, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11650))
                            
client.MySpells.Remove(11650, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11620))
                            
client.MySpells.Remove(11620, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11610))
                            
client.MySpells.Remove(11610, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11600))
                            
client.MySpells.Remove(11600, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11590))
                            
client.MySpells.Remove(11590, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(8000))
                            
client.MySpells.Remove(8000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(8001))
                            
client.MySpells.Remove(8001, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(8003))
                            
client.MySpells.Remove(8003, stream);




                    }
                    
#endregion
                    #region w
                    
if (client.Entity.Class > 25 || client.Entity.Class < 20)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(12700))
                            
client.MySpells.Remove(12700, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12690))
                            
client.MySpells.Remove(12690, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12680))
                            
client.MySpells.Remove(12680, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12670))
                            
client.MySpells.Remove(12670, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12660))
                            
client.MySpells.Remove(12660, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14270))
                            
client.MySpells.Remove(14270, stream);

                    }
                    
#endregion
                    #region wt
                    
if (client.Entity.Class > 135 || client.Entity.Class < 130)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(1175))
                            
client.MySpells.Remove(1175, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1005))
                            
client.MySpells.Remove(1005, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1195))
                            
client.MySpells.Remove(1195, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14320))
                            
client.MySpells.Remove(14320, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(1055))
                            
client.MySpells.Remove(1055, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(1075))
                            
client.MySpells.Remove(1075, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(14500))
                            
client.MySpells.Remove(14500, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1170))
                            
client.MySpells.Remove(1170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12390))
                            
client.MySpells.Remove(12390, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12370))
                            
client.MySpells.Remove(12370, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(30000))
                            
client.MySpells.Remove(30000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1100))
                            
client.MySpells.Remove(1100, stream);

                    }
                    
#endregion
                    #region ft
                    
if (client.Entity.Class > 145 || client.Entity.Class < 140)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(1002))
                            
client.MySpells.Remove(1002, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1180))
                            
client.MySpells.Remove(1180, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1165))
                            
client.MySpells.Remove(1165, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1160))
                            
client.MySpells.Remove(1160, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1150))
                            
client.MySpells.Remove(1150, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1120))
                            
client.MySpells.Remove(1120, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12400))
                            
client.MySpells.Remove(12400, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12380))
                            
client.MySpells.Remove(12380, stream);

                    }
                    
#endregion
                    #region pi
                    
if (client.Entity.Class > 75 || client.Entity.Class < 70)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(11030))
                            
client.MySpells.Remove(11030, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11110))
                            
client.MySpells.Remove(11110, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14710))
                            
client.MySpells.Remove(14710, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(11070))
                            
client.MySpells.Remove(11070, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(14680))
                            
client.MySpells.Remove(14680, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14720))
                            
client.MySpells.Remove(14720, stream);

                    }
                    
#endregion
                    #region DW
                    
if (client.Entity.Class > 85 || client.Entity.Class < 80)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(12300))
                            
client.MySpells.Remove(12300, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(12280))
                            
client.MySpells.Remove(12280, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(14470))
                            
client.MySpells.Remove(14470, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12120))
                            
client.MySpells.Remove(12120, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12130))
                            
client.MySpells.Remove(12130, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12140))
                            
client.MySpells.Remove(12140, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12160))
                            
client.MySpells.Remove(12160, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12170))
                            
client.MySpells.Remove(12170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12200))
                            
client.MySpells.Remove(12200, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12240))
                            
client.MySpells.Remove(12240, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12350))
                            
client.MySpells.Remove(12350, stream);


                    }
                    
#endregion
                    #region ww
                    
if (client.Entity.Class > 165 || client.Entity.Class < 160)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(12980))
                            
client.MySpells.Remove(12980, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12940))
                            
client.MySpells.Remove(12940, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12950))
                            
client.MySpells.Remove(12950, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12930))
                            
client.MySpells.Remove(12930, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12990))
                            
client.MySpells.Remove(12990, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12960))
                            
client.MySpells.Remove(12960, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13000))
                            
client.MySpells.Remove(13000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13030))
                            
client.MySpells.Remove(13030, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13020))
                            
client.MySpells.Remove(13020, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12890))
                            
client.MySpells.Remove(12890, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13090))
                            
client.MySpells.Remove(13090, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12850))
                            
client.MySpells.Remove(12850, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12840))
                            
client.MySpells.Remove(12840, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12970))
                            
client.MySpells.Remove(12970, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13080))
                            
client.MySpells.Remove(13080, stream);


                        if (
client.MySpells.ClientSpells.ContainsKey(12860))
                            
client.MySpells.Remove(12860, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12870))
                            
client.MySpells.Remove(12870, stream);

                    }
                    
#endregion
                    #region pi
                    
if (client.Entity.Class > 95 || client.Entity.Class < 90)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(15790))
                            
client.MySpells.Remove(15790, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15750))
                            
client.MySpells.Remove(15750, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15780))
                            
client.MySpells.Remove(15780, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15720))
                            
client.MySpells.Remove(15720, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15710))
                            
client.MySpells.Remove(15710, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15800))
                            
client.MySpells.Remove(15800, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15810))
                            
client.MySpells.Remove(15810, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15770))
                            
client.MySpells.Remove(15770, stream);

                    }
                }
            }
            
#endregion
            #endregion
            #region add r i d e r
            
using (var rec = new ServerSockets.RecycledPacket())
            {
                var 
stream = rec.GetStream();

                
#region tr
                
if (client.Entity.Class <= 15 && client.Entity.Class >= 10)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(11986))
                        
client.MySpells.Add(stream, 11986);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11990))
                        
client.MySpells.Add(stream, 11990);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11960))
                        
client.MySpells.Add(stream, 11960);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13440))
                        
client.MySpells.Add(stream, 13440);
                }
                
#endregion
                #region mo
                
if (client.Entity.Class <= 65 && client.Entity.Class >= 60)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12550))
                        
client.MySpells.Add(stream, 12550);


                    

                    if (!
client.MySpells.ClientSpells.ContainsKey(10400))
                        
client.MySpells.Add(stream, 10400);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12560))
                        
client.MySpells.Add(stream, 12560);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12570))
                        
client.MySpells.Add(stream, 12570);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10490))
                        
client.MySpells.Add(stream, 10490);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10425))
                        
client.MySpells.Add(stream, 10425);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10420))
                        
client.MySpells.Add(stream, 10420);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10421))
                        
client.MySpells.Add(stream, 10421);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10422))
                        
client.MySpells.Add(stream, 10422);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10423))
                        
client.MySpells.Add(stream, 10423);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10424))
                        
client.MySpells.Add(stream, 10424);

                    
// if (!client.MySpells.ClientSpells.ContainsKey(10405))
                    //    client.MySpells.Add(stream, 10405);

                    
if (!client.MySpells.ClientSpells.ContainsKey(10410))
                        
client.MySpells.Add(stream, 10410);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10415))
                        
client.MySpells.Add(stream, 10415);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10395))
                        
client.MySpells.Add(stream, 10395);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10381))
                        
client.MySpells.Add(stream, 10381);

                }
                
#endregion
                #region nin
                
if (client.Entity.Class <= 55 && client.Entity.Class >= 50)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(6011))
                        
client.MySpells.Add(stream, 6011);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6003))
                        
client.MySpells.Add(stream, 6003);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6002))
                        
client.MySpells.Add(stream, 6002);
                    if (!
client.MySpells.ClientSpells.ContainsKey(6001))
                        
client.MySpells.Add(stream, 6001);
                    if (!
client.MySpells.ClientSpells.ContainsKey(6010))
                        
client.MySpells.Add(stream, 6010);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6000))
                        
client.MySpells.Add(stream, 6000);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12070))
                        
client.MySpells.Add(stream, 12070);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12080))
                        
client.MySpells.Add(stream, 12080);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12090))
                        
client.MySpells.Add(stream, 12090);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6004))
                        
client.MySpells.Add(stream, 6004);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11170))
                        
client.MySpells.Add(stream, 11170);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11180))
                        
client.MySpells.Add(stream, 11180);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12110))
                        
client.MySpells.Add(stream, 12110);


                }
                
#endregion
                #region ar
                
if (client.Entity.Class <= 45 && client.Entity.Class >= 40)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(11670))
                        
client.MySpells.Add(stream, 11670);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11660))
                        
client.MySpells.Add(stream, 11660);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11650))
                        
client.MySpells.Add(stream, 11650);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11620))
                        
client.MySpells.Add(stream, 11620);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11610))
                        
client.MySpells.Add(stream, 11610);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11600))
                        
client.MySpells.Add(stream, 11600);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11590))
                        
client.MySpells.Add(stream, 11590);

                    if (!
client.MySpells.ClientSpells.ContainsKey(8000))
                        
client.MySpells.Add(stream, 8000);

                    if (!
client.MySpells.ClientSpells.ContainsKey(8001))
                        
client.MySpells.Add(stream, 8001);

                    if (!
client.MySpells.ClientSpells.ContainsKey(8003))
                        
client.MySpells.Add(stream, 8003);




                }
                
#endregion
                #region w
                
if (client.Entity.Class <= 25 && client.Entity.Class >= 20)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12700))
                        
client.MySpells.Add(stream, 12700);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12690))
                        
client.MySpells.Add(stream, 12690);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12680))
                        
client.MySpells.Add(stream, 12680);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12670))
                        
client.MySpells.Add(stream, 12670);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12660))
                        
client.MySpells.Add(stream, 12660);

                }
                
#endregion
                #region wt
                
if (client.Entity.Class <= 135 && client.Entity.Class >= 130)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(1175))
                        
client.MySpells.Add(stream, 1175);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1005))
                        
client.MySpells.Add(stream, 1005);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1195))
                        
client.MySpells.Add(stream, 1195);
                    if (!
client.MySpells.ClientSpells.ContainsKey(1075))
                        
client.MySpells.Add(stream, 1075);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1170))
                        
client.MySpells.Add(stream, 1170);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12390))
                        
client.MySpells.Add(stream, 12390);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12370))
                        
client.MySpells.Add(stream, 12370);

                    if (!
client.MySpells.ClientSpells.ContainsKey(30000))
                        
client.MySpells.Add(stream, 30000);
                    if (!
client.MySpells.ClientSpells.ContainsKey(1055))
                        
client.MySpells.Add(stream, 1055);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1100))
                        
client.MySpells.Add(stream, 1100);

                }
                
#endregion
                #region ft
                
if (client.Entity.Class <= 145 && client.Entity.Class >= 140)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(1002))
                        
client.MySpells.Add(stream, 1002);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1180))
                        
client.MySpells.Add(stream, 1180);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1165))
                        
client.MySpells.Add(stream, 1165);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1160))
                        
client.MySpells.Add(stream, 1160);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1150))
                        
client.MySpells.Add(stream, 1150);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1120))
                        
client.MySpells.Add(stream, 1120);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12400))
                        
client.MySpells.Add(stream, 12400);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12380))
                        
client.MySpells.Add(stream, 12380);

                }
                
#endregion
                #region pi
                
if (client.Entity.Class <= 75 && client.Entity.Class >= 70)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(11030))
                        
client.MySpells.Add(stream, 11030);
                    if (!
client.MySpells.ClientSpells.ContainsKey(11070))
                        
client.MySpells.Add(stream, 11070);
                    if (!
client.MySpells.ClientSpells.ContainsKey(11110))
                        
client.MySpells.Add(stream, 11110);

                    if (!
client.MySpells.ClientSpells.ContainsKey(14710))
                        
client.MySpells.Add(stream, 14710);

                    if (!
client.MySpells.ClientSpells.ContainsKey(14680))
                        
client.MySpells.Add(stream, 14680);

                    if (!
client.MySpells.ClientSpells.ContainsKey(14720))
                        
client.MySpells.Add(stream, 14720);

                }
                
#endregion
                #region DW
                
if (client.Entity.Class <= 85 && client.Entity.Class >= 80)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12300))
                        
client.MySpells.Add(stream, 12300);
                    if (!
client.MySpells.ClientSpells.ContainsKey(12280))
                        
client.MySpells.Add(stream, 12280);
                    if (!
client.MySpells.ClientSpells.ContainsKey(12120))
                        
client.MySpells.Add(stream, 12120);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12130))
                        
client.MySpells.Add(stream, 12130);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12140))
                        
client.MySpells.Add(stream, 12140);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12160))
                        
client.MySpells.Add(stream, 12160);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12170))
                        
client.MySpells.Add(stream, 12170);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12200))
                        
client.MySpells.Add(stream, 12200);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12240))
                        
client.MySpells.Add(stream, 12240);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12350))
                        
client.MySpells.Add(stream, 12350);


                }
                
#endregion
                #region ww
                
if (client.Entity.Class <= 165 && client.Entity.Class >= 160)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12980))
                        
client.MySpells.Add(stream, 12980);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12940))
                        
client.MySpells.Add(stream, 12940);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12950))
                        
client.MySpells.Add(stream, 12950);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12930))
                        
client.MySpells.Add(stream, 12930);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12990))
                        
client.MySpells.Add(stream, 12990);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12960))
                        
client.MySpells.Add(stream, 12960);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13000))
                        
client.MySpells.Add(stream, 13000);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13030))
                        
client.MySpells.Add(stream, 13030);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13020))
                        
client.MySpells.Add(stream, 13020);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12890))
                        
client.MySpells.Add(stream, 12890);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13090))
                        
client.MySpells.Add(stream, 13090);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12850))
                        
client.MySpells.Add(stream, 12850);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12840))
                        
client.MySpells.Add(stream, 12840);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12970))
                        
client.MySpells.Add(stream, 12970);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13080))
                        
client.MySpells.Add(stream, 13080);


                    if (!
client.MySpells.ClientSpells.ContainsKey(12860))
                        
client.MySpells.Add(stream, 12860);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12870))
                        
client.MySpells.Add(stream, 12870);

                }
                
#endregion
                #region pi
                
if (client.Entity.Class <= 95 && client.Entity.Class >= 90)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(15790))
                        
client.MySpells.Add(stream, 15790);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15750))
                        
client.MySpells.Add(stream, 15750);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15780))
                        
client.MySpells.Add(stream, 15780);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15720))
                        
client.MySpells.Add(stream, 15720);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15710))
                        
client.MySpells.Add(stream, 15710);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15800))
                        
client.MySpells.Add(stream, 15800);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15810))
                        
client.MySpells.Add(stream, 15810);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15770))
                        
client.MySpells.Add(stream, 15770);


                }
                
#endregion
            
}
            
#endregion
            #endregion
            #endregion
            #endregion
            #endregion
            #endregion
            #endregion
            #endregion 

قديم 2019-12-24, 08:23 AM
المشاركة 2
رفيق القلم
.:: عضو نشيط ::.
الإجابات المقدمة: 4
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
افتح ملف ورلد

كود:
 private void CharactersCallback(GameState client, int time) 

هضيف فيه كود ديه

كود:
#region mad but must be done Protected by CopyRights
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region mad but must be done
            #region rem r i d e r
            #region tr
            
if (client.Entity.Class > 15 || client.Entity.Class < 10)
            {
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(11986))
                    {
                        
client.MySpells.Remove(11986, stream);

                    }
                }

                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(11990))
                    {
                        
client.MySpells.Remove(11990, stream);

                    }
                }
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(13440))
                    {
                        
client.MySpells.Remove(13440, stream);

                    }
                }
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(11960))
                    {
                        
client.MySpells.Remove(11960, stream);

                    }
                }

            }
            
#endregion
            #region mo
            
if (client.Entity.Class > 65 || client.Entity.Class < 60)
            {
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(12550))
                    {
                        
client.MySpells.Remove(12550, stream);

                        

                        }
                }

                
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(12560))
                    {
                        
client.MySpells.Remove(12560, stream);

                    }
                }


                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(12570))
                    {
                        
client.MySpells.Remove(12570, stream);

                    }
                }
                
                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(14160))
                    {
                        
client.MySpells.Remove(14160, stream);

                    }
                }

                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(10490))
                    {
                        
client.MySpells.Remove(10490, stream);

                    }
                }


                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(10425))
                    {
                        
client.MySpells.Remove(10425, stream);

                    }
                }

                
using (var rec = new ServerSockets.RecycledPacket())
                {
                    var 
stream = rec.GetStream();

                    if (
client.MySpells.ClientSpells.ContainsKey(10425))
                    {
                        
client.MySpells.Remove(10425, stream);



                        if (
client.MySpells.ClientSpells.ContainsKey(10420))
                            
client.MySpells.Remove(10420, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10421))
                            
client.MySpells.Remove(10421, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10422))
                            
client.MySpells.Remove(10422, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(1005))
                            
client.MySpells.Remove(1005, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1195))
                            
client.MySpells.Remove(1195, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10423))
                            
client.MySpells.Remove(10423, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10424))
                            
client.MySpells.Remove(10424, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10405))
                            
client.MySpells.Remove(10405, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10410))
                            
client.MySpells.Remove(10410, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10400))
                            
client.MySpells.Remove(10400, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1170))
                            
client.MySpells.Remove(1170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10415))
                            
client.MySpells.Remove(10415, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10395))
                            
client.MySpells.Remove(10395, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(10381))
                            
client.MySpells.Remove(10381, stream);

                    }
                    
#endregion
                    #region nin
                    
if (client.Entity.Class > 55 || client.Entity.Class < 50)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(6011))
                            
client.MySpells.Remove(6011, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(6001))
                            
client.MySpells.Remove(6001, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6003))
                            
client.MySpells.Remove(6003, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6002))
                            
client.MySpells.Remove(6002, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6010))
                            
client.MySpells.Remove(6010, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6000))
                            
client.MySpells.Remove(6000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12070))
                            
client.MySpells.Remove(12070, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12080))
                            
client.MySpells.Remove(12080, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12090))
                            
client.MySpells.Remove(12090, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(6004))
                            
client.MySpells.Remove(6004, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11170))
                            
client.MySpells.Remove(11170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11180))
                            
client.MySpells.Remove(11180, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12110))
                            
client.MySpells.Remove(12110, stream);


                    }
                    
#endregion
                    #region ar
                    
if (client.Entity.Class > 45 || client.Entity.Class < 40)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(11670))
                            
client.MySpells.Remove(11670, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14280))
                            
client.MySpells.Remove(14280, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11660))
                            
client.MySpells.Remove(11660, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11650))
                            
client.MySpells.Remove(11650, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11620))
                            
client.MySpells.Remove(11620, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11610))
                            
client.MySpells.Remove(11610, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11600))
                            
client.MySpells.Remove(11600, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11590))
                            
client.MySpells.Remove(11590, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(8000))
                            
client.MySpells.Remove(8000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(8001))
                            
client.MySpells.Remove(8001, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(8003))
                            
client.MySpells.Remove(8003, stream);




                    }
                    
#endregion
                    #region w
                    
if (client.Entity.Class > 25 || client.Entity.Class < 20)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(12700))
                            
client.MySpells.Remove(12700, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12690))
                            
client.MySpells.Remove(12690, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12680))
                            
client.MySpells.Remove(12680, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12670))
                            
client.MySpells.Remove(12670, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12660))
                            
client.MySpells.Remove(12660, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14270))
                            
client.MySpells.Remove(14270, stream);

                    }
                    
#endregion
                    #region wt
                    
if (client.Entity.Class > 135 || client.Entity.Class < 130)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(1175))
                            
client.MySpells.Remove(1175, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1005))
                            
client.MySpells.Remove(1005, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1195))
                            
client.MySpells.Remove(1195, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14320))
                            
client.MySpells.Remove(14320, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(1055))
                            
client.MySpells.Remove(1055, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(1075))
                            
client.MySpells.Remove(1075, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(14500))
                            
client.MySpells.Remove(14500, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1170))
                            
client.MySpells.Remove(1170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12390))
                            
client.MySpells.Remove(12390, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12370))
                            
client.MySpells.Remove(12370, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(30000))
                            
client.MySpells.Remove(30000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1100))
                            
client.MySpells.Remove(1100, stream);

                    }
                    
#endregion
                    #region ft
                    
if (client.Entity.Class > 145 || client.Entity.Class < 140)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(1002))
                            
client.MySpells.Remove(1002, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1180))
                            
client.MySpells.Remove(1180, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1165))
                            
client.MySpells.Remove(1165, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1160))
                            
client.MySpells.Remove(1160, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1150))
                            
client.MySpells.Remove(1150, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(1120))
                            
client.MySpells.Remove(1120, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12400))
                            
client.MySpells.Remove(12400, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12380))
                            
client.MySpells.Remove(12380, stream);

                    }
                    
#endregion
                    #region pi
                    
if (client.Entity.Class > 75 || client.Entity.Class < 70)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(11030))
                            
client.MySpells.Remove(11030, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(11110))
                            
client.MySpells.Remove(11110, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14710))
                            
client.MySpells.Remove(14710, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(11070))
                            
client.MySpells.Remove(11070, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(14680))
                            
client.MySpells.Remove(14680, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(14720))
                            
client.MySpells.Remove(14720, stream);

                    }
                    
#endregion
                    #region DW
                    
if (client.Entity.Class > 85 || client.Entity.Class < 80)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(12300))
                            
client.MySpells.Remove(12300, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(12280))
                            
client.MySpells.Remove(12280, stream);
                        if (
client.MySpells.ClientSpells.ContainsKey(14470))
                            
client.MySpells.Remove(14470, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12120))
                            
client.MySpells.Remove(12120, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12130))
                            
client.MySpells.Remove(12130, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12140))
                            
client.MySpells.Remove(12140, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12160))
                            
client.MySpells.Remove(12160, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12170))
                            
client.MySpells.Remove(12170, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12200))
                            
client.MySpells.Remove(12200, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12240))
                            
client.MySpells.Remove(12240, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12350))
                            
client.MySpells.Remove(12350, stream);


                    }
                    
#endregion
                    #region ww
                    
if (client.Entity.Class > 165 || client.Entity.Class < 160)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(12980))
                            
client.MySpells.Remove(12980, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12940))
                            
client.MySpells.Remove(12940, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12950))
                            
client.MySpells.Remove(12950, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12930))
                            
client.MySpells.Remove(12930, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12990))
                            
client.MySpells.Remove(12990, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12960))
                            
client.MySpells.Remove(12960, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13000))
                            
client.MySpells.Remove(13000, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13030))
                            
client.MySpells.Remove(13030, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13020))
                            
client.MySpells.Remove(13020, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12890))
                            
client.MySpells.Remove(12890, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13090))
                            
client.MySpells.Remove(13090, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12850))
                            
client.MySpells.Remove(12850, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12840))
                            
client.MySpells.Remove(12840, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12970))
                            
client.MySpells.Remove(12970, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(13080))
                            
client.MySpells.Remove(13080, stream);


                        if (
client.MySpells.ClientSpells.ContainsKey(12860))
                            
client.MySpells.Remove(12860, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(12870))
                            
client.MySpells.Remove(12870, stream);

                    }
                    
#endregion
                    #region pi
                    
if (client.Entity.Class > 95 || client.Entity.Class < 90)
                    {
                        if (
client.MySpells.ClientSpells.ContainsKey(15790))
                            
client.MySpells.Remove(15790, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15750))
                            
client.MySpells.Remove(15750, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15780))
                            
client.MySpells.Remove(15780, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15720))
                            
client.MySpells.Remove(15720, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15710))
                            
client.MySpells.Remove(15710, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15800))
                            
client.MySpells.Remove(15800, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15810))
                            
client.MySpells.Remove(15810, stream);

                        if (
client.MySpells.ClientSpells.ContainsKey(15770))
                            
client.MySpells.Remove(15770, stream);

                    }
                }
            }
            
#endregion
            #endregion
            #region add r i d e r
            
using (var rec = new ServerSockets.RecycledPacket())
            {
                var 
stream = rec.GetStream();

                
#region tr
                
if (client.Entity.Class <= 15 && client.Entity.Class >= 10)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(11986))
                        
client.MySpells.Add(stream, 11986);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11990))
                        
client.MySpells.Add(stream, 11990);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11960))
                        
client.MySpells.Add(stream, 11960);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13440))
                        
client.MySpells.Add(stream, 13440);
                }
                
#endregion
                #region mo
                
if (client.Entity.Class <= 65 && client.Entity.Class >= 60)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12550))
                        
client.MySpells.Add(stream, 12550);


                    

                    if (!
client.MySpells.ClientSpells.ContainsKey(10400))
                        
client.MySpells.Add(stream, 10400);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12560))
                        
client.MySpells.Add(stream, 12560);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12570))
                        
client.MySpells.Add(stream, 12570);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10490))
                        
client.MySpells.Add(stream, 10490);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10425))
                        
client.MySpells.Add(stream, 10425);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10420))
                        
client.MySpells.Add(stream, 10420);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10421))
                        
client.MySpells.Add(stream, 10421);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10422))
                        
client.MySpells.Add(stream, 10422);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10423))
                        
client.MySpells.Add(stream, 10423);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10424))
                        
client.MySpells.Add(stream, 10424);

                    
// if (!client.MySpells.ClientSpells.ContainsKey(10405))
                    //    client.MySpells.Add(stream, 10405);

                    
if (!client.MySpells.ClientSpells.ContainsKey(10410))
                        
client.MySpells.Add(stream, 10410);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10415))
                        
client.MySpells.Add(stream, 10415);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10395))
                        
client.MySpells.Add(stream, 10395);

                    if (!
client.MySpells.ClientSpells.ContainsKey(10381))
                        
client.MySpells.Add(stream, 10381);

                }
                
#endregion
                #region nin
                
if (client.Entity.Class <= 55 && client.Entity.Class >= 50)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(6011))
                        
client.MySpells.Add(stream, 6011);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6003))
                        
client.MySpells.Add(stream, 6003);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6002))
                        
client.MySpells.Add(stream, 6002);
                    if (!
client.MySpells.ClientSpells.ContainsKey(6001))
                        
client.MySpells.Add(stream, 6001);
                    if (!
client.MySpells.ClientSpells.ContainsKey(6010))
                        
client.MySpells.Add(stream, 6010);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6000))
                        
client.MySpells.Add(stream, 6000);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12070))
                        
client.MySpells.Add(stream, 12070);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12080))
                        
client.MySpells.Add(stream, 12080);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12090))
                        
client.MySpells.Add(stream, 12090);

                    if (!
client.MySpells.ClientSpells.ContainsKey(6004))
                        
client.MySpells.Add(stream, 6004);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11170))
                        
client.MySpells.Add(stream, 11170);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11180))
                        
client.MySpells.Add(stream, 11180);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12110))
                        
client.MySpells.Add(stream, 12110);


                }
                
#endregion
                #region ar
                
if (client.Entity.Class <= 45 && client.Entity.Class >= 40)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(11670))
                        
client.MySpells.Add(stream, 11670);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11660))
                        
client.MySpells.Add(stream, 11660);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11650))
                        
client.MySpells.Add(stream, 11650);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11620))
                        
client.MySpells.Add(stream, 11620);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11610))
                        
client.MySpells.Add(stream, 11610);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11600))
                        
client.MySpells.Add(stream, 11600);

                    if (!
client.MySpells.ClientSpells.ContainsKey(11590))
                        
client.MySpells.Add(stream, 11590);

                    if (!
client.MySpells.ClientSpells.ContainsKey(8000))
                        
client.MySpells.Add(stream, 8000);

                    if (!
client.MySpells.ClientSpells.ContainsKey(8001))
                        
client.MySpells.Add(stream, 8001);

                    if (!
client.MySpells.ClientSpells.ContainsKey(8003))
                        
client.MySpells.Add(stream, 8003);




                }
                
#endregion
                #region w
                
if (client.Entity.Class <= 25 && client.Entity.Class >= 20)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12700))
                        
client.MySpells.Add(stream, 12700);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12690))
                        
client.MySpells.Add(stream, 12690);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12680))
                        
client.MySpells.Add(stream, 12680);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12670))
                        
client.MySpells.Add(stream, 12670);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12660))
                        
client.MySpells.Add(stream, 12660);

                }
                
#endregion
                #region wt
                
if (client.Entity.Class <= 135 && client.Entity.Class >= 130)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(1175))
                        
client.MySpells.Add(stream, 1175);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1005))
                        
client.MySpells.Add(stream, 1005);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1195))
                        
client.MySpells.Add(stream, 1195);
                    if (!
client.MySpells.ClientSpells.ContainsKey(1075))
                        
client.MySpells.Add(stream, 1075);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1170))
                        
client.MySpells.Add(stream, 1170);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12390))
                        
client.MySpells.Add(stream, 12390);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12370))
                        
client.MySpells.Add(stream, 12370);

                    if (!
client.MySpells.ClientSpells.ContainsKey(30000))
                        
client.MySpells.Add(stream, 30000);
                    if (!
client.MySpells.ClientSpells.ContainsKey(1055))
                        
client.MySpells.Add(stream, 1055);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1100))
                        
client.MySpells.Add(stream, 1100);

                }
                
#endregion
                #region ft
                
if (client.Entity.Class <= 145 && client.Entity.Class >= 140)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(1002))
                        
client.MySpells.Add(stream, 1002);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1180))
                        
client.MySpells.Add(stream, 1180);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1165))
                        
client.MySpells.Add(stream, 1165);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1160))
                        
client.MySpells.Add(stream, 1160);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1150))
                        
client.MySpells.Add(stream, 1150);

                    if (!
client.MySpells.ClientSpells.ContainsKey(1120))
                        
client.MySpells.Add(stream, 1120);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12400))
                        
client.MySpells.Add(stream, 12400);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12380))
                        
client.MySpells.Add(stream, 12380);

                }
                
#endregion
                #region pi
                
if (client.Entity.Class <= 75 && client.Entity.Class >= 70)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(11030))
                        
client.MySpells.Add(stream, 11030);
                    if (!
client.MySpells.ClientSpells.ContainsKey(11070))
                        
client.MySpells.Add(stream, 11070);
                    if (!
client.MySpells.ClientSpells.ContainsKey(11110))
                        
client.MySpells.Add(stream, 11110);

                    if (!
client.MySpells.ClientSpells.ContainsKey(14710))
                        
client.MySpells.Add(stream, 14710);

                    if (!
client.MySpells.ClientSpells.ContainsKey(14680))
                        
client.MySpells.Add(stream, 14680);

                    if (!
client.MySpells.ClientSpells.ContainsKey(14720))
                        
client.MySpells.Add(stream, 14720);

                }
                
#endregion
                #region DW
                
if (client.Entity.Class <= 85 && client.Entity.Class >= 80)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12300))
                        
client.MySpells.Add(stream, 12300);
                    if (!
client.MySpells.ClientSpells.ContainsKey(12280))
                        
client.MySpells.Add(stream, 12280);
                    if (!
client.MySpells.ClientSpells.ContainsKey(12120))
                        
client.MySpells.Add(stream, 12120);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12130))
                        
client.MySpells.Add(stream, 12130);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12140))
                        
client.MySpells.Add(stream, 12140);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12160))
                        
client.MySpells.Add(stream, 12160);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12170))
                        
client.MySpells.Add(stream, 12170);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12200))
                        
client.MySpells.Add(stream, 12200);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12240))
                        
client.MySpells.Add(stream, 12240);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12350))
                        
client.MySpells.Add(stream, 12350);


                }
                
#endregion
                #region ww
                
if (client.Entity.Class <= 165 && client.Entity.Class >= 160)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(12980))
                        
client.MySpells.Add(stream, 12980);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12940))
                        
client.MySpells.Add(stream, 12940);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12950))
                        
client.MySpells.Add(stream, 12950);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12930))
                        
client.MySpells.Add(stream, 12930);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12990))
                        
client.MySpells.Add(stream, 12990);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12960))
                        
client.MySpells.Add(stream, 12960);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13000))
                        
client.MySpells.Add(stream, 13000);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13030))
                        
client.MySpells.Add(stream, 13030);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13020))
                        
client.MySpells.Add(stream, 13020);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12890))
                        
client.MySpells.Add(stream, 12890);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13090))
                        
client.MySpells.Add(stream, 13090);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12850))
                        
client.MySpells.Add(stream, 12850);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12840))
                        
client.MySpells.Add(stream, 12840);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12970))
                        
client.MySpells.Add(stream, 12970);

                    if (!
client.MySpells.ClientSpells.ContainsKey(13080))
                        
client.MySpells.Add(stream, 13080);


                    if (!
client.MySpells.ClientSpells.ContainsKey(12860))
                        
client.MySpells.Add(stream, 12860);

                    if (!
client.MySpells.ClientSpells.ContainsKey(12870))
                        
client.MySpells.Add(stream, 12870);

                }
                
#endregion
                #region pi
                
if (client.Entity.Class <= 95 && client.Entity.Class >= 90)
                {
                    if (!
client.MySpells.ClientSpells.ContainsKey(15790))
                        
client.MySpells.Add(stream, 15790);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15750))
                        
client.MySpells.Add(stream, 15750);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15780))
                        
client.MySpells.Add(stream, 15780);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15720))
                        
client.MySpells.Add(stream, 15720);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15710))
                        
client.MySpells.Add(stream, 15710);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15800))
                        
client.MySpells.Add(stream, 15800);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15810))
                        
client.MySpells.Add(stream, 15810);

                    if (!
client.MySpells.ClientSpells.ContainsKey(15770))
                        
client.MySpells.Add(stream, 15770);


                }
                
#endregion
            
}
            
#endregion
            #endregion
            #endregion
            #endregion
            #endregion
            #endregion
            #endregion
            #endregion 


قديم 2019-12-24, 08:29 AM
المشاركة 3
taha
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
اضيفهم فوق ايه بالظبط او فين اضيفهم

قديم 2019-12-24, 09:07 AM
المشاركة 4
taha
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
وده لقيتوا
private void CharactersCallback(GameState client, int time)
اضيف الكود فوق ده
private void CharactersCallback(GameState client, int time)
ولا تحتوا اضيف الكود

قديم 2019-12-24, 12:43 PM
المشاركة 5
رفيق القلم
.:: عضو نشيط ::.
الإجابات المقدمة: 4
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
وده لقيتوا
private void CharactersCallback(GameState client, int time)
اضيف الكود فوق ده
private void CharactersCallback(GameState client, int time)
ولا تحتوا اضيف الكود
تحتيه

قديم 2019-12-24, 01:07 PM
المشاركة 6
taha
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
تمام اضيفهم تحتو ماشى

قديم 2019-12-24, 01:11 PM
المشاركة 7
taha
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
ضيفتهم تحت الكود ده
private void CharactersCallback(GameState client, int time)
فى كلاس World
صح ولا ايه

قديم 2019-12-24, 01:18 PM
المشاركة 8
Mawdo3jded
.:: عضو مميز ::.
الإجابات المقدمة: 13
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
ضيفتهم تحت الكود ده
private void characterscallback(gamestate client, int time)
فى كلاس world
صح ولا ايه
سورس ايه ده سورس متركس ؟

قديم 2019-12-24, 01:22 PM
المشاركة 9
taha
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
ايوه


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



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

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

المواضيع المتشابهه للموضوع: حل مشكله الاسكلات بتفصل معك
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
اختفاء الاسكلات Mostafa Shalby مشكلات السيرفيرات كونكر الشخصيه 1 2020-02-05 06:07 PM
الاسكلات تقيله وبتخود وقت حلها ايه ahmedfathy مشكلات السيرفيرات كونكر الشخصيه 2 2019-12-09 05:03 AM
الاسكلات زي مهيا zonfor مشكلات السيرفيرات كونكر الشخصيه 2 2019-09-02 03:20 PM
حل مشكله عدم تحديث Stamina الي بتضرب بيها الاسكلات Rider تطوير سيرفرات كونكر 2 2019-07-20 05:42 PM
حل مشكلة الاسكلات بعد الميلاد الثاني Hazem تطوير سيرفرات كونكر 0 2019-04-24 08:24 AM


الساعة الآن 03:53 AM