قديم 2019-08-26, 10:47 AM
المشاركة 2
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: طلب بخصوص ترابل اتاك الفزيكل
افتح كلاس World.cs وهتبحث عن الكود دا
كود:
 private void AutoAttackCallback(GameState clientint time


لما تشوفه هتقوم مبدله كله بي دا


كود:
 }
        private 
void AutoAttackCallback(GameState clientint 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.VortexPacketclient.Entitynull);
                            }
                        }
                    }
                    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(AttackPacketclient.Entitynull);
                                    }
                                }
                                else
                                {
                                    
int decrease = -300;
                                    if (
client.Entity.OnCyclone())
                                        
decrease 700;
                                    if (
client.Entity.OnSuperman())
                                        
decrease 200;
                                    if (
Now client.Entity.AttackStamp.AddMilliseconds((1000 client.Entity.Agility decrease) * (int)(AttackType == Attack.Ranged 1)))
                                    {
                                        new 
Game.Attacking.Handle(AttackPacketclient.Entitynull);
                                    }
                                }
                            }
                        }
                    }
                }
                catch (
Exception e)
                {
                    
Program.SaveException(e);
                    
client.Entity.AttackPacket null;
                    
client.Entity.VortexPacket null;
                }
            }
        } 

بس كدا تم حلها

قديم 2019-08-26, 01:20 PM
المشاركة 3
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: طلب بخصوص ترابل اتاك الفزيكل
افتح كلاس world.cs وهتبحث عن الكود دا
كود:
 private void autoattackcallback(gamestate clientint time


لما تشوفه هتقوم مبدله كله بي دا


كود:
 }
        private 
void autoattackcallback(gamestate clientint 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.vortexpacketclient.entitynull);
                            }
                        }
                    }
                    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(attackpacketclient.entitynull);
                                    }
                                }
                                else
                                {
                                    
int decrease = -300;
                                    if (
client.entity.oncyclone())
                                        
decrease 700;
                                    if (
client.entity.onsuperman())
                                        
decrease 200;
                                    if (
now client.entity.attackstamp.addmilliseconds((1000 client.entity.agility decrease) * (int)(attacktype == attack.ranged 1)))
                                    {
                                        new 
game.attacking.handle(attackpacketclient.entitynull);
                                    }
                                }
                            }
                        }
                    }
                }
                catch (
exception e)
                {
                    
program.saveexception(e);
                    
client.entity.attackpacket null;
                    
client.entity.vortexpacket null;
                }
            }
        } 

بس كدا تم حلها
ههههههههههه مين بيسرق اكواد ناو

قديم 2019-08-26, 01:29 PM
المشاركة 4
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: طلب بخصوص ترابل اتاك الفزيكل
ههههههههههه مين بيسرق اكواد ناو

اقعد ساكت بلا اكاود ناو دي انا جايبها من سورسي ههههه بطل بقا

قديم 2019-08-26, 04:39 PM
المشاركة 5
MeGoo
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: طلب بخصوص ترابل اتاك الفزيكل
افتح كلاس world.cs وهتبحث عن الكود دا
كود:
 private void autoattackcallback(gamestate clientint time


لما تشوفه هتقوم مبدله كله بي دا


كود:
 }
        private 
void autoattackcallback(gamestate clientint 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.vortexpacketclient.entitynull);
                            }
                        }
                    }
                    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(attackpacketclient.entitynull);
                                    }
                                }
                                else
                                {
                                    
int decrease = -300;
                                    if (
client.entity.oncyclone())
                                        
decrease 700;
                                    if (
client.entity.onsuperman())
                                        
decrease 200;
                                    if (
now client.entity.attackstamp.addmilliseconds((1000 client.entity.agility decrease) * (int)(attacktype == attack.ranged 1)))
                                    {
                                        new 
game.attacking.handle(attackpacketclient.entitynull);
                                    }
                                }
                            }
                        }
                    }
                }
                catch (
exception e)
                {
                    
program.saveexception(e);
                    
client.entity.attackpacket null;
                    
client.entity.vortexpacket null;
                }
            }
        } 

بس كدا تم حلها
تسلم ايدك و جارى التجربة

قديم 2019-08-26, 04:42 PM
المشاركة 6
MeGoo
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: طلب بخصوص ترابل اتاك الفزيكل
جاب 6 ايرر

قديم 2019-08-26, 08:13 PM
المشاركة 7
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: طلب بخصوص ترابل اتاك الفزيكل
شيل ال } الي فوق الفويد عا طول


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



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

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

المواضيع المتشابهه للموضوع: طلب بخصوص ترابل اتاك الفزيكل
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
خلي اتاك سيرفرك fixed Mostafa Shalby تطوير سيرفرات كونكر 98 2024-10-20 05:46 PM
دوس اتاك محمودمحمدسالم مشكلات السيرفيرات كونكر الشخصيه 6 2020-05-05 12:46 AM
اتاك mohamedomar مشكلات السيرفيرات كونكر الشخصيه 3 2020-01-30 01:50 PM
مشكلة فى اتاك الكاس ViORX مشكلات السيرفيرات كونكر الشخصيه 17 2019-09-19 09:08 AM
طلب بخصوص ملف اتاك osama مشكلات السيرفيرات كونكر الشخصيه 9 2019-08-27 02:51 PM


الساعة الآن 04:26 PM

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