افتراضي حل ثغره ال BattlePower نهائى ايجي نت

الموضوع في 'منتدى سورسات كونكر تهيس' بواسطة hamocool, بتاريخ ‏18 نوفمبر 2015.

  1. hamocool

    hamocool Member

    نزل حلول قبل كدا كتير ,
    نزل الى هو محدش يقدر يطلع عن 385,
    ما ممكن واحد ايرل يكون 384 سهله عادى ,
    ونزل حلول تانى بس ده الحل الصح نخش فى الموضوع ,
    خش على
    World.cs
    تحت القوس حط دول
    كود PHP:
     #region BP Check By Egynt 
                //Egynt MrHamo 

                
    if (client.Entity.NobilityRank == NobilityRank.King && client.Entity.BattlePower 405
                { 
                    
    ////////////////////////////////// 
                    
    ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length]; 
                    
    client.Inventory.Objects.CopyTo(inventory0); 

                    foreach (
    ConquerItem item in inventory
                    { 
                        
    client.Inventory.Remove(itemConquer_Online_Server.Game.Enums.ItemUse.Remove); 
                    } 
                    
    //////////////////////////////////// 
                    
    client.Equipment.Remove(1); 
                    
    client.Equipment.Remove(2); 
                    
    client.Equipment.Remove(3); 
                    
    client.Equipment.Remove(4); 
                    
    client.Equipment.Remove(5); 
                    
    client.Equipment.Remove(6); 
                    
    client.Equipment.Remove(7); 
                    
    client.Equipment.Remove(8); 
                    
    client.Equipment.Remove(9); 
                    
    client.Equipment.Remove(10); 
                    
    client.Equipment.Remove(11); 
                    
    client.Equipment.Remove(12); 
                    
    client.Equipment.Remove(18); 
                    
    client.Disconnect(); 
                } 
                if (
    client.Entity.NobilityRank == NobilityRank.Prince && client.Entity.BattlePower 402
                { 
                    
    ////////////////////////////////// 
                    
    ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length]; 
                    
    client.Inventory.Objects.CopyTo(inventory0); 

                    foreach (
    ConquerItem item in inventory
                    { 
                        
    client.Inventory.Remove(itemConquer_Online_Server.Game.Enums.ItemUse.Remove); 
                    } 
                    
    //////////////////////////////////// 
                    
    client.Equipment.Remove(1); 
                    
    client.Equipment.Remove(2); 
                    
    client.Equipment.Remove(3); 
                    
    client.Equipment.Remove(4); 
                    
    client.Equipment.Remove(5); 
                    
    client.Equipment.Remove(6); 
                    
    client.Equipment.Remove(7); 
                    
    client.Equipment.Remove(8); 
                    
    client.Equipment.Remove(9); 
                    
    client.Equipment.Remove(10); 
                    
    client.Equipment.Remove(11); 
                    
    client.Equipment.Remove(12); 
                    
    client.Equipment.Remove(18); 
                    
    client.Disconnect(); 
                } 
                if (
    client.Entity.NobilityRank == NobilityRank.Duke && client.Entity.BattlePower 400
                { 
                    
    ////////////////////////////////// 
                    
    ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length]; 
                    
    client.Inventory.Objects.CopyTo(inventory0); 

                    foreach (
    ConquerItem item in inventory
                    { 
                        
    client.Inventory.Remove(itemConquer_Online_Server.Game.Enums.ItemUse.Remove); 
                    } 
                    
    //////////////////////////////////// 
                    
    client.Equipment.Remove(1); 
                    
    client.Equipment.Remove(2); 
                    
    client.Equipment.Remove(3); 
                    
    client.Equipment.Remove(4); 
                    
    client.Equipment.Remove(5); 
                    
    client.Equipment.Remove(6); 
                    
    client.Equipment.Remove(7); 
                    
    client.Equipment.Remove(8); 
                    
    client.Equipment.Remove(9); 
                    
    client.Equipment.Remove(10); 
                    
    client.Equipment.Remove(11); 
                    
    client.Equipment.Remove(12); 
                    
    client.Equipment.Remove(18); 
                    
    client.Disconnect(); 
                } 
                if (
    client.Entity.NobilityRank == NobilityRank.Earl && client.Entity.BattlePower 398
                { 
                    
    ////////////////////////////////// 
                    
    ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length]; 
                    
    client.Inventory.Objects.CopyTo(inventory0); 

                    foreach (
    ConquerItem item in inventory
                    { 
                        
    client.Inventory.Remove(itemConquer_Online_Server.Game.Enums.ItemUse.Remove); 
                    } 
                    
    //////////////////////////////////// 
                    
    client.Equipment.Remove(1); 
                    
    client.Equipment.Remove(2); 
                    
    client.Equipment.Remove(3); 
                    
    client.Equipment.Remove(4); 
                    
    client.Equipment.Remove(5); 
                    
    client.Equipment.Remove(6); 
                    
    client.Equipment.Remove(7); 
                    
    client.Equipment.Remove(8); 
                    
    client.Equipment.Remove(9); 
                    
    client.Equipment.Remove(10); 
                    
    client.Equipment.Remove(11); 
                    
    client.Equipment.Remove(12); 
                    
    client.Equipment.Remove(18); 
                    
    client.Disconnect(); 
                } 
                if (
    client.Entity.NobilityRank == NobilityRank.Knight && client.Entity.BattlePower 394
                { 
                    
    ////////////////////////////////// 
                    
    ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length]; 
                    
    client.Inventory.Objects.CopyTo(inventory0); 

                    foreach (
    ConquerItem item in inventory
                    { 
                        
    client.Inventory.Remove(itemConquer_Online_Server.Game.Enums.ItemUse.Remove); 
                    } 
                    
    //////////////////////////////////// 
                    
    client.Equipment.Remove(1); 
                    
    client.Equipment.Remove(2); 
                    
    client.Equipment.Remove(3); 
                    
    client.Equipment.Remove(4); 
                    
    client.Equipment.Remove(5); 
                    
    client.Equipment.Remove(6); 
                    
    client.Equipment.Remove(7); 
                    
    client.Equipment.Remove(8); 
                    
    client.Equipment.Remove(9); 
                    
    client.Equipment.Remove(10); 
                    
    client.Equipment.Remove(11); 
                    
    client.Equipment.Remove(12); 
                    
    client.Equipment.Remove(18); 
                    
    client.Disconnect(); 
                } 
                if (
    client.Entity.NobilityRank == NobilityRank.Serf && client.Entity.BattlePower 393
                { 
                    
    ////////////////////////////////// 
                    
    ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length]; 
                    
    client.Inventory.Objects.CopyTo(inventory0); 

                    foreach (
    ConquerItem item in inventory
                    { 
                        
    client.Inventory.Remove(itemConquer_Online_Server.Game.Enums.ItemUse.Remove); 
                    } 
                    
    //////////////////////////////////// 
                    
    client.Equipment.Remove(1); 
                    
    client.Equipment.Remove(2); 
                    
    client.Equipment.Remove(3); 
                    
    client.Equipment.Remove(4); 
                    
    client.Equipment.Remove(5); 
                    
    client.Equipment.Remove(6); 
                    
    client.Equipment.Remove(7); 
                    
    client.Equipment.Remove(8); 
                    
    client.Equipment.Remove(9); 
                    
    client.Equipment.Remove(10); 
                    
    client.Equipment.Remove(11); 
                    
    client.Equipment.Remove(12); 
                    
    client.Equipment.Remove(18); 
                    
    client.Disconnect(); 
                } 

                
    #endregion  

     
  2. MohameD

    MohameD .:: C.E.O ::. طاقم الإدارة

    رد: افتراضي حل ثغره ال BattlePower نهائى ايجي نت

    مية مية