قديم 2019-07-20, 09:57 PM
المشاركة 2
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مطلوب شرح حماية اللعبة من الهاك
لو انت بي لودر ميجو عا النت هيشغلو هاك لو انت شاري بتاع ميجو المدفوع مش هتلاقي الهاك واي هاك تعرفه هتكتبه في السورس كدا الهاك اتمنع حاول تتشري لودر ميجو الاصلي

قديم 2019-07-20, 10:46 PM
المشاركة 3
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مطلوب شرح حماية اللعبة من الهاك
للاسف مفيش لودر كامل 100% حتي كونكر اونلاين فيها هاك

ايه نوع الهاك الي بيشتغل عندك عشان نشوفله حل ؟

قديم 2019-07-20, 11:56 PM
المشاركة 4
ahmedfathy
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: مطلوب شرح حماية اللعبة من الهاك
للاسف مفيش لودر كامل 100% حتي كونكر اونلاين فيها هاك

ايه نوع الهاك الي بيشتغل عندك عشان نشوفله حل ؟
شكرآ علي ردك وانت راجل محترم الاتو كليكر بيشتغل علي لودر ميجوا والكليكر ومش لقي حل

قديم 2019-07-21, 05:48 AM
المشاركة 5
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مطلوب شرح حماية اللعبة من الهاك
حبيبي العفو

في حل مش فعال بس اهو يقضي الغرض
بسم الله و الصلاة و السلام علي رسول الله
هتيجي عند الاسكله الي عايز تشيل منها الاوتو كلكر

ف الشرح هنشتغل ع اسكلة النينجا


كود:
#region SuperTwofoldBlade
                                
case 12080:
                                    {
                                        if (
CanUseSpell(spellattacker.Owner))
                                        {
                                            
//var dis = spell.Distance;
                                            //if (Kernel.GetDistance(attacker.X, attacker.Y, X, Y) <= dis)
                                            
if (Kernel.GetDistance(attacker.Xattacker.YXY) <= spell.Distance)
                                            {
                                                
PrepareSpell(spellattacker.Owner);

                                                
SpellUse suse = new SpellUse(true);
                                                
suse.Attacker attacker.UID;
                                                
suse.SpellID spell.ID;
                                                
suse.SpellLevel spell.Level;
                                                
suse.X;
                                                
suse.Y;
                                                
//suse.SpellLevelHu = client_Spell.UseSpell;
                                                
Game.Attacking.InLineAlgorithm ila = new KhaledMohamed.Game.Attacking.InLineAlgorithm(attacker.X,
                              
Xattacker.YY, (byte)spell.RangeInLineAlgorithm.Algorithm.DDA);
                                                
bool aaAttack false;
                                                var Array = 
attacker.Owner.Screen.Objects;
                                                foreach (
Interfaces.IMapObject _obj in Array)
                                                {
                                                    if (
_obj.MapObjType == MapObjectType.Monster)
                                                    {
                                                        
attacked _obj as Entity;
                                                        if (
Kernel.GetDistance(attacker.Xattacker.Yattacked.Xattacked.Y) <= 7)
                                                        {
                                                            if (
attacked.UID == Target)
                                                            {
                                                                if (
CanAttack(attackerattackedspellattack.AttackType == Attack.Melee))
                                                                {
                                                                    
aaAttack true;
                                                                    var 
damage Game.Attacking.Calculate.Melee(attackerattackedref attackclient_Spell.LevelHu2);
                                                                    
damage = (uint)(damage 1.4);
                                                                    
ReceiveAttack(attackerattackedattackref damagespell);

                                                                    
suse.AddTarget(attackeddamageattack);
                                                                }
                                                            }
                                                            else if (
ila.InLine(attacked.Xattacked.Y))
                                                            {
                                                                if (
CanAttack(attackerattackedspellattack.AttackType == Attack.Melee))
                                                                {
                                                                    
aaAttack true;
                                                                    var 
damage Game.Attacking.Calculate.Melee(attackerattackedspellref attackclient_Spell.LevelHu2);
                                                                    
damage = (uint)(damage 0.1);
                                                                    
ReceiveAttack(attackerattackedattackref damagespell);

                                                                    
suse.AddTarget(attackeddamageattack);
                                                                }
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.MapObjType == MapObjectType.Entity)
                                                    {
                                                        
attacked _obj as Entity;
                                                        if (
Kernel.GetDistance(attacker.Xattacker.Yattacked.Xattacked.Y) <= 7)
                                                        {
                                                            if (
attacked.UID == Target)
                                                            {
                                                                if (
CanAttack(attackerattackedspellattack.AttackType == Attack.Melee))
                                                                {
                                                                    
aaAttack true;
                                                                    var 
damage Game.Attacking.Calculate.Ranged(attackerattackedref attackclient_Spell.LevelHu2);
                                                                    
damage = (uint)(damage 80 100);
                                                                    
ReceiveAttack(attackerattackedattackref damagespell);

                                                                    
suse.AddTarget(attackeddamageattack);
                                                                }
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.MapObjType == MapObjectType.SobNpc)
                                                    {
                                                        
attackedsob _obj as SobNpcSpawn;
                                                        if (
attackedsob.UID == Target)
                                                        {
                                                            if (
CanAttack(attackerattackedsobspell))
                                                            {
                                                                
aaAttack true;
                                                                
// if (!moveIn.InRange(attackedsob.X, attackedsob.Y, 4, ranger))
                                                                //  continue;
                                                                
var damage Game.Attacking.Calculate.Melee(attackerattackedsobref attack);
                                                                
damage = (uint)(damage 2.4);
                                                                
ReceiveAttack(attackerattackedsobattackdamagespell);
                                                                
suse.AddTarget(attackedsobdamageattack);
                                                            }
                                                        }
                                                    }
                                                }
                                                if (
aaAttack)
                                                    
attacker.Owner.SendScreen(susetrue);
                                                
//attacker.RadiantStamp = DateTime.Now;
                                            
}

                                        }
                                        break;
                                    }


                                
#endregion 

و دي بعد الاضافه
كود:
#region SuperTwofoldBlade
case 12080:
{
if (
Time32.Now >= attacker.SpellStamp.AddMilliseconds(500))
{
if (
CanUseSpell(spellattacker.Owner))
{
ushort XxYx;
if (
attacked != null)
{
Xx attacked.X;
Yx attacked.Y;
}
else
{
Xx attackedsob.X;
Yx attackedsob.Y;
}
if (
Kernel.GetDistance(attacker.Xattacker.YXxYx) <= spell.Distance)
{
if (
attackedsob == null)
if (
attacked.ContainsFlag(Update.Flags.Fly))
return;
if (
attacker.ContainsFlag(Update.Flags.Fly))
return;
PrepareSpell(spellattacker.Owner);

SpellUse suse = new SpellUse(true);
suse.Attacker attacker.UID;
suse.SpellID spell.ID;
suse.SpellLevel spell.Level;
suse.X;
suse.Y;
bool send false;

if (
attackedsob == null)
{
if (
CanAttack(attackerattackedspellattack.AttackType == Attack.Melee))
{
attack.Effect1 Attack.AttackEffects1.None;
uint damage Game.Attacking.Calculate.Melee(attackerattackedref attack);

if (
attacker.NobilityRank == HemaProject.Game.ConquerStructures.NobilityRank.King)
{
damage = (uint)(damage 0.9);
}
if (
attacker.NobilityRank == HemaProject.Game.ConquerStructures.NobilityRank.Prince)
{
damage = (uint)(damage 0.8);
}
if (
attacker.NobilityRank == HemaProject.Game.ConquerStructures.NobilityRank.Duke)
{
damage = (uint)(damage 0.7);
}
if (
attacker.NobilityRank == HemaProject.Game.ConquerStructures.NobilityRank.Earl)
{
damage = (uint)(damage 0.6);
}

suse.Effect1 attack.Effect1;
ReceiveAttack(attackerattackedattackref damagespell);

suse.AddTarget(attackeddamageattack);
send true;

if (
attacker.Owner.Spells.ContainsKey(0) && !attacked.Dead)
{
var 
attacker.Owner.Spells[0];
var 
spellz Database.SpellTable.SpellInformations[s.ID][s.Level];
if (
spellz != null)
{
if (
Kernel.Rate(spellz.Percent))
{
SpellUse ssuse = new SpellUse(true);
ssuse.Attacker attacker.UID;
ssuse.SpellID spellz.ID;

ssuse.SpellLevel spellz.Level;
damage Game.Attacking.Calculate.Melee(attackerattackedref attack);
ssuse.AddTarget(attacked, new SpellUse.DamageClass().Damage damageattack);
ReceiveAttack(attackerattackedattackref damagespell);
attacker.Owner.SendScreen(ssusetrue);
}
}
}
}
}
else
{
if (
CanAttack(attackerattackedsobspell))
{
attack.Effect1 Attack.AttackEffects1.None;
uint damage Game.Attacking.Calculate.Melee(attackerattackedsobref attack);
damage = (uint)(damage 180 100);
ReceiveAttack(attackerattackedsobattackdamagespell);
suse.Effect1 attack.Effect1;

suse.AddTarget(attackedsobdamageattack);
send true;
}
}
if (
send)
attacker.Owner.SendScreen(susetrue);
attacker.SpellStamp Time32.Now;
}
else
{
attacker.AttackPacket null;
}
}
}
break;
}

#endregion 

طب احنا ضفنا ايه
بعد فتحة القوس الي بعد الاسكله
case xxxx
{
هتضيف
كود:
 if (Time32.Now >= attacker.SpellStamp.AddMilliseconds(500))
                                        { 

بعد كده تنزل تحت لحد

if (aaAttack)
attacker.Owner.SendScreen(suse, true);
هتلافيها تحت خالص في اخر كود الاسكله
اول كلمه مش لازم تلاقيها نفس الشكل تاني كلمه لازم تلاقيها نفس الشكل المهم تحتها حط

كود:
 attacker.SpellStamp Time32.Now

تحت خالص بقا في اخر الاسكله هتلاقي
break;
}
فوق كلمة بريك حط قفلة قوس
}
بس كده
مبروك عليك الاسكله مش هتضرب غير بعد المده دي و ده هيقلل الكلكر

قديم 2019-07-21, 11:13 AM
المشاركة 6
Users
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مطلوب شرح حماية اللعبة من الهاك
حبيبي العفو

في حل مش فعال بس اهو يقضي الغرض
بسم الله و الصلاة و السلام علي رسول الله
هتيجي عند الاسكله الي عايز تشيل منها الاوتو كلكر

ف الشرح هنشتغل ع اسكلة النينجا


كود:
#region supertwofoldblade
                                
case 12080:
                                    {
                                        if (
canusespell(spellattacker.owner))
                                        {
                                            
//var dis = spell.distance;
                                            //if (kernel.getdistance(attacker.x, attacker.y, x, y) <= dis)
                                            
if (kernel.getdistance(attacker.xattacker.yxy) <= spell.distance)
                                            {
                                                
preparespell(spellattacker.owner);

                                                
spelluse suse = new spelluse(true);
                                                
suse.attacker attacker.uid;
                                                
suse.spellid spell.id;
                                                
suse.spelllevel spell.level;
                                                
suse.x;
                                                
suse.y;
                                                
//suse.spelllevelhu = client_spell.usespell;
                                                
game.attacking.inlinealgorithm ila = new khaledmohamed.game.attacking.inlinealgorithm(attacker.x,
                              
xattacker.yy, (byte)spell.rangeinlinealgorithm.algorithm.dda);
                                                
bool aaattack false;
                                                var array = 
attacker.owner.screen.objects;
                                                foreach (
interfaces.imapobject _obj in array)
                                                {
                                                    if (
_obj.mapobjtype == mapobjecttype.monster)
                                                    {
                                                        
attacked _obj as entity;
                                                        if (
kernel.getdistance(attacker.xattacker.yattacked.xattacked.y) <= 7)
                                                        {
                                                            if (
attacked.uid == target)
                                                            {
                                                                if (
canattack(attackerattackedspellattack.attacktype == attack.melee))
                                                                {
                                                                    
aaattack true;
                                                                    var 
damage game.attacking.calculate.melee(attackerattackedref attackclient_spell.levelhu2);
                                                                    
damage = (uint)(damage 1.4);
                                                                    
receiveattack(attackerattackedattackref damagespell);

                                                                    
suse.addtarget(attackeddamageattack);
                                                                }
                                                            }
                                                            else if (
ila.inline(attacked.xattacked.y))
                                                            {
                                                                if (
canattack(attackerattackedspellattack.attacktype == attack.melee))
                                                                {
                                                                    
aaattack true;
                                                                    var 
damage game.attacking.calculate.melee(attackerattackedspellref attackclient_spell.levelhu2);
                                                                    
damage = (uint)(damage 0.1);
                                                                    
receiveattack(attackerattackedattackref damagespell);

                                                                    
suse.addtarget(attackeddamageattack);
                                                                }
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.mapobjtype == mapobjecttype.entity)
                                                    {
                                                        
attacked _obj as entity;
                                                        if (
kernel.getdistance(attacker.xattacker.yattacked.xattacked.y) <= 7)
                                                        {
                                                            if (
attacked.uid == target)
                                                            {
                                                                if (
canattack(attackerattackedspellattack.attacktype == attack.melee))
                                                                {
                                                                    
aaattack true;
                                                                    var 
damage game.attacking.calculate.ranged(attackerattackedref attackclient_spell.levelhu2);
                                                                    
damage = (uint)(damage 80 100);
                                                                    
receiveattack(attackerattackedattackref damagespell);

                                                                    
suse.addtarget(attackeddamageattack);
                                                                }
                                                            }
                                                        }
                                                    }
                                                    else if (
_obj.mapobjtype == mapobjecttype.sobnpc)
                                                    {
                                                        
attackedsob _obj as sobnpcspawn;
                                                        if (
attackedsob.uid == target)
                                                        {
                                                            if (
canattack(attackerattackedsobspell))
                                                            {
                                                                
aaattack true;
                                                                
// if (!movein.inrange(attackedsob.x, attackedsob.y, 4, ranger))
                                                                //  continue;
                                                                
var damage game.attacking.calculate.melee(attackerattackedsobref attack);
                                                                
damage = (uint)(damage 2.4);
                                                                
receiveattack(attackerattackedsobattackdamagespell);
                                                                
suse.addtarget(attackedsobdamageattack);
                                                            }
                                                        }
                                                    }
                                                }
                                                if (
aaattack)
                                                    
attacker.owner.sendscreen(susetrue);
                                                
//attacker.radiantstamp = datetime.now;
                                            
}

                                        }
                                        break;
                                    }


                                
#endregion 

و دي بعد الاضافه
كود:
#region supertwofoldblade
case 12080:
{
if (
time32.now >= attacker.spellstamp.addmilliseconds(500))
{
if (
canusespell(spellattacker.owner))
{
ushort xxyx;
if (
attacked != null)
{
xx attacked.x;
yx attacked.y;
}
else
{
xx attackedsob.x;
yx attackedsob.y;
}
if (
kernel.getdistance(attacker.xattacker.yxxyx) <= spell.distance)
{
if (
attackedsob == null)
if (
attacked.containsflag(update.flags.fly))
return;
if (
attacker.containsflag(update.flags.fly))
return;
preparespell(spellattacker.owner);

spelluse suse = new spelluse(true);
suse.attacker attacker.uid;
suse.spellid spell.id;
suse.spelllevel spell.level;
suse.x;
suse.y;
bool send false;

if (
attackedsob == null)
{
if (
canattack(attackerattackedspellattack.attacktype == attack.melee))
{
attack.effect1 attack.attackeffects1.none;
uint damage game.attacking.calculate.melee(attackerattackedref attack);

if (
attacker.nobilityrank == hemaproject.game.conquerstructures.nobilityrank.king)
{
damage = (uint)(damage 0.9);
}
if (
attacker.nobilityrank == hemaproject.game.conquerstructures.nobilityrank.prince)
{
damage = (uint)(damage 0.8);
}
if (
attacker.nobilityrank == hemaproject.game.conquerstructures.nobilityrank.duke)
{
damage = (uint)(damage 0.7);
}
if (
attacker.nobilityrank == hemaproject.game.conquerstructures.nobilityrank.earl)
{
damage = (uint)(damage 0.6);
}

suse.effect1 attack.effect1;
receiveattack(attackerattackedattackref damagespell);

suse.addtarget(attackeddamageattack);
send true;

if (
attacker.owner.spells.containskey(0) && !attacked.dead)
{
var 
attacker.owner.spells[0];
var 
spellz database.spelltable.spellinformations[s.id][s.level];
if (
spellz != null)
{
if (
kernel.rate(spellz.percent))
{
spelluse ssuse = new spelluse(true);
ssuse.attacker attacker.uid;
ssuse.spellid spellz.id;

ssuse.spelllevel spellz.level;
damage game.attacking.calculate.melee(attackerattackedref attack);
ssuse.addtarget(attacked, new spelluse.damageclass().damage damageattack);
receiveattack(attackerattackedattackref damagespell);
attacker.owner.sendscreen(ssusetrue);
}
}
}
}
}
else
{
if (
canattack(attackerattackedsobspell))
{
attack.effect1 attack.attackeffects1.none;
uint damage game.attacking.calculate.melee(attackerattackedsobref attack);
damage = (uint)(damage 180 100);
receiveattack(attackerattackedsobattackdamagespell);
suse.effect1 attack.effect1;

suse.addtarget(attackedsobdamageattack);
send true;
}
}
if (
send)
attacker.owner.sendscreen(susetrue);
attacker.spellstamp time32.now;
}
else
{
attacker.attackpacket null;
}
}
}
break;
}

#endregion 

طب احنا ضفنا ايه
بعد فتحة القوس الي بعد الاسكله
case xxxx
{
هتضيف
كود:
 if (time32.now >= attacker.spellstamp.addmilliseconds(500))
                                        { 

بعد كده تنزل تحت لحد

if (aaattack)
attacker.owner.sendscreen(suse, true);
هتلافيها تحت خالص في اخر كود الاسكله
اول كلمه مش لازم تلاقيها نفس الشكل تاني كلمه لازم تلاقيها نفس الشكل المهم تحتها حط

كود:
 attacker.spellstamp time32.now

تحت خالص بقا في اخر الاسكله هتلاقي
break;
}
فوق كلمة بريك حط قفلة قوس
}
بس كده
مبروك عليك الاسكله مش هتضرب غير بعد المده دي و ده هيقلل الكلكر
فعلا الاكواد دى تمام انا ضايفها اى سورسى الجديد

قديم 2019-07-21, 03:04 PM
المشاركة 7
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مطلوب شرح حماية اللعبة من الهاك
فعلا الاكواد دى تمام انا ضايفها اى سورسى الجديد
عاش بالتوفيق ان شاء الله


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



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

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

المواضيع المتشابهه للموضوع: مطلوب شرح حماية اللعبة من الهاك
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
مطلوب حل مشكلة الهاك في السيرفر ahmedfathy مشكلات السيرفيرات كونكر الشخصيه 2 2019-10-06 01:03 AM
حمايه صغيوره من برامج الهاك Tefa تطوير سيرفرات كونكر 13 2019-10-03 06:47 PM
طلب انا واقف دلؤتي علي حماية من الهاك ومفيش حد نزل حل ahmedfathy مشكلات السيرفيرات كونكر الشخصيه 5 2019-08-06 02:30 PM
مطلوب حماية السورس من الهكر ولا اضافة من فسم التطوير شغاله ahmedfathy مشكلات السيرفيرات كونكر الشخصيه 1 2019-07-27 08:56 PM


الساعة الآن 01:24 PM

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