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

كود:
 private void CharactersCallback(GameState clientint 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(11986stream);

                    }
                }

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

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

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

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

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

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

                    }
                }

            }
            
#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(12550stream);

                        

                        }
                }

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

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

                    }
                }


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

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

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

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

                    }
                }

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

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

                    }
                }


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

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

                    }
                }

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

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



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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




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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

                    }
                }
            }
            
#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(stream11986);

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

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

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


                    

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                    if (!
client.MySpells.ClientSpells.ContainsKey(6002))
                        
client.MySpells.Add(stream6002);
                    if (!
client.MySpells.ClientSpells.ContainsKey(6001))
                        
client.MySpells.Add(stream6001);
                    if (!
client.MySpells.ClientSpells.ContainsKey(6010))
                        
client.MySpells.Add(stream6010);

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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




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

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

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

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

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

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

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

                    if (!
client.MySpells.ClientSpells.ContainsKey(1195))
                        
client.MySpells.Add(stream1195);
                    if (!
client.MySpells.ClientSpells.ContainsKey(1075))
                        
client.MySpells.Add(stream1075);

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

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

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

                    if (!
client.MySpells.ClientSpells.ContainsKey(30000))
                        
client.MySpells.Add(stream30000);
                    if (!
client.MySpells.ClientSpells.ContainsKey(1055))
                        
client.MySpells.Add(stream1055);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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


                }
                
#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
رفيق القلم
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
وده لقيتوا
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
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: حل مشكله الاسكلات بتفصل معك
ضيفتهم تحت الكود ده
private void characterscallback(gamestate client, int time)
فى كلاس world
صح ولا ايه
سورس ايه ده سورس متركس ؟

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


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



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

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

المواضيع المتشابهه للموضوع: حل مشكله الاسكلات بتفصل معك
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
حل مشكله عدم تحديث Stamina الي بتضرب بيها الاسكلات Tefa تطوير سيرفرات كونكر 3 2023-07-27 12:31 AM
مشكله نجوم الاسكلات disco0o مشكلات السيرفيرات كونكر الشخصيه 8 2021-07-28 06:51 PM
مشكلة في الاسكلات ElSaher مشكلات السيرفيرات كونكر الشخصيه 9 2020-04-27 01:59 PM
حل مشكلة الاسكلات الي بتجيلك بعد ريبورن+الاسكلات مش بتختفي + الاكونت بيهنج[Proto] Tefa تطوير سيرفرات كونكر 7 2020-04-19 03:25 PM
مشكله الاسكلات Mr. Co مشكلات السيرفيرات كونكر الشخصيه 10 2020-03-18 06:10 AM


الساعة الآن 07:10 PM

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.