| 
                     | 
                
            
        
			 أفضل جواب - كتبه Hassan Emprator
		 | 
	
| 
			سيرش عا كود: 
	
		
		بدله كله بي كود: 
	
		
		 | 
	
		
	 
        private void AutoAttackCallback(GameState client, int time) 
   
	
		
		
		
		
	 
 private void AutoAttackCallback(GameState client, int time)
        {
            if (!Valid(client)) return;
            Time32 Now = new Time32(time);
            if (client.Entity.AttackPacket != null || client.Entity.VortexAttackStamp != null)
            {
                try
                {
                    if (client.Entity.ContainsFlag((ulong)Update.Flags.ShurikenVortex))
                    {
                        if (client.Entity.VortexPacket != null && client.Entity.VortexPacket.ToArray() != null)
                        {
                            if (Now > client.Entity.VortexAttackStamp.AddMilliseconds(1400))
                            {
                                client.Entity.VortexAttackStamp = Now;
                                new Game.Attacking.Handle(client.Entity.VortexPacket, client.Entity, null);
                            }
                        }
                    }
                    else
                    {
                        client.Entity.VortexPacket = null;
                        var AttackPacket = client.Entity.AttackPacket;
                        if (AttackPacket != null && AttackPacket.ToArray() != null)
                        {
                            uint AttackType = AttackPacket.AttackType;
                            if (AttackType == Attack.Magic || AttackType == Attack.Melee || AttackType == Attack.Ranged)
                            {
                                if (AttackType == Attack.Magic)
                                {
                                    if (Now > client.Entity.AttackStamp.AddSeconds(1))
                                    {
                                        if (AttackPacket.Damage != 12160 &&
                                            AttackPacket.Damage != 12170 &&
                                            AttackPacket.Damage != 12120 &&
                                            AttackPacket.Damage != 12130 &&
                                            AttackPacket.Damage != 12140 &&
                                            AttackPacket.Damage != 12320 &&
                                            AttackPacket.Damage != 12330 &&
                                            AttackPacket.Damage != 12340 &&
                                            AttackPacket.Damage != 12210)
                                            new Game.Attacking.Handle(AttackPacket, client.Entity, null);
                                    }
                                }
                                else
                                {
                                    int decrease = -300;
                                    if (client.Entity.OnCyclone())
                                        decrease = 200;
                                    if (client.Entity.OnSuperman())
                                        decrease = 200;
                                    if (Now > client.Entity.AttackStamp.AddMilliseconds((1 - client.Entity.Agility - decrease) * (int)(AttackType == Attack.Ranged ? 1 : 1)))
                                    {
                                        new Game.Attacking.Handle(AttackPacket, client.Entity, null);
                                    }
                                }
                            }
                        }
                    }
                }
                catch (Exception e)
                {
                    Program.SaveException(e);
                    client.Entity.AttackPacket = null;
                    client.Entity.VortexPacket = null;
                }
            }
        } 
   
	
		
		
		| الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
| أدوات الموضوع | |
                
  | 
        
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة | 
| حل المشكله دى ياشباب بسرعه | walid88 | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2020-05-06 09:07 AM | 
| ممكن الحل بسرعة | fariswaleed | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-05-01 02:15 AM | 
| ارجوا الحل فى اسرع وقت ممكن | koko1 | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2020-04-20 09:22 PM | 
| ممكن الحل سرع يا رجاله | Mr3bdallahPro | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2020-02-25 05:18 AM | 
| حل لي المشكله دي ياشباب | HBESA | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-19 03:00 PM |