منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   حل مشكلة الاصطفة لما تنزل ريبورن بتفضل ليفل عالى (https://code.vpscairo.com/showthread.php?t=142)

محمد ياسر 2019-04-23 03:31 PM

حل مشكلة الاصطفة لما تنزل ريبورن بتفضل ليفل عالى
 


هندخل على ملف
ConquerItemInformation.cs
ابحث عن
كود PHP:

public uint CalculateDownlevel() 

بدله كله بده
كود PHP:

public uint CalculateDownlevel() 
        { 
            if (
BaseInformation.ID 1000 == 614
            { 
                return (
uint)(614000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 616
            { 
                return (
uint)(616010 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 620)//Hossu   
            

                return (
uint)(620019 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 152)//Hossu   
            

                return (
uint)(152080 BaseInformation.ID 10); 
            }  
            if (
BaseInformation.ID 1000 == 150
            { 
                return (
uint)(150000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 136
            { 
                return (
uint)(136010 BaseInformation.ID 10); 
            } 

             
            if (
BaseInformation.ID 1000 == 135
            { 
                return (
uint)(135000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 143
            { 
                return (
uint)(143000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 130
            { 
                return (
uint)(130050 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 118
            { 
                return (
uint)(118040 BaseInformation.ID 10); 
            } 
            var 
grades GradeInformations[this.BaseInformation.Description]; 
            if (
grades == null) return BaseInformation.ID
            if (
grades[BaseInformation.GradeKey 1] == null
                return 
BaseInformation.ID
            else 
                return (
uint)((grades[BaseInformation.GradeKey 1].ID 10) * 10 BaseInformation.ID 10); 
        } 
        public 
uint LowestID(byte Level
        { 
            if (
BaseInformation.ID 1000 == 614
            { 
                return (
uint)(614000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 616
            { 
                return (
uint)(616010 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 620)//Hossu   
            

                return (
uint)(620019 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 152)//Hossu   
            

                return (
uint)(152080 BaseInformation.ID 10); 
            }  
            if (
BaseInformation.ID 1000 == 150
            { 
                return (
uint)(150000 BaseInformation.ID 10); 
            } 
             
            if (
BaseInformation.ID 1000 == 136
            { 
                return (
uint)(136010 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 112
            { 
                return (
uint)(112000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 135
            { 
                return (
uint)(135000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 143
            { 
                return (
uint)(143000 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 130
            { 
                return (
uint)(130050 BaseInformation.ID 10); 
            } 
            if (
BaseInformation.ID 1000 == 118
            { 
                return (
uint)(118040 BaseInformation.ID 10); 
            } 
            var 
grades GradeInformations[this.BaseInformation.Description]; 
            if (
grades == null) return BaseInformation.ID
            for (
byte gr 0gr grades.Countgr++) 
                if (
grades[gr].Level == Level
                    return (
uint)((grades[gr 1].ID 10) * 10 BaseInformation.ID 10); 
            return 
grades[0].ID
        } 
    } 

بعد كده
تفتح ملف باكت هاندل
هضيف دول ففيه
كود PHP:

            if (ID >= 112000 && ID <= 112309
            { return 
true; } 
            else { return 
false; } 
        } 
        public static 
bool NightmareVest(uint ID
        { 
            if (
ID >= 135000 && ID <= 135306
            { return 
true; } 
            else { return 
false; } 
        } 
public static 
bool IsImperialBacksword(uint ID
        { 
            if (
ID >= 620019 && ID <= 620439
            { return 
true; } 
            else { return 
false; } 
        } 
        public static 
bool XumiCap(uint ID
        { 
            if (
ID >= 143000 && ID <= 143309
            { return 
true; } 
            else { return 
false; } 
        } 


Users 2019-09-26 10:25 PM

رد: حل مشكلة الاصطفة لما تنزل ريبورن بتفضل ليفل عالى
 
عاااش


الساعة الآن 03:35 PM

مرحبا بكم في منتدي اكواد لتطوير الالعاب