Beiträge von Hepatitis C

    Zitat von Nydn;61879

    [FONT="Arial"][COLOR="Teal"][SIZE="2"]Thanks for that nice Thread,
    i will try it ^^
    [/SIZE][/COLOR][/FONT]


    [FONT="Fixedsys"][COLOR="DarkOrchid"]
    Thanks, need any help and I'll be glad to assist![/COLOR][/FONT]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]Go to compose.cs and search for[/COLOR][/FONT]

    Code
    if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 8)

    [FONT="Fixedsys"][COLOR="DarkOrchid"]
    Replace that entire void with this:[/COLOR][/FONT]


    [COLOR="DarkOrchid"][FONT="Fixedsys"]Then go to database.cs and search for[/FONT][/COLOR]

    Code
    public static ushort[] ComposePts = new ushort[12] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000 };

    [COLOR="DarkOrchid"][FONT="Fixedsys"]
    And replace that with[/FONT][/COLOR]

    Code
    public static ushort[] ComposePts = new ushort[13] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000, 29160 };


    [COLOR="DarkOrchid"][FONT="Fixedsys"]There you go.
    Fixed composition.[/FONT][/COLOR]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]I made this thread for people who have problems with the 5165 source that just recently became public.
    First here's how's you set it up.
    Download it from here.
    And the client from here.
    Open the folder, for me its Fixed Source.
    Place the folder OldCODB in your C:/ drive.
    Then you open OldCODB.

    Then in OldCODB open up config.ini.

    Edit config.ini to your settings.
    Then go to your sources debug folder, for me its Fixed Source\rikardo updated\bin\Debug and double click NewestCOServer.exe.
    And when the Cmd prompt opens up type in

    PHP
    /newacc username password [PM]


    For example:

    PHP
    /newacc test 123 [PM]



    Then login with that account and you're good to go.
    If you have any problems with the 5165 source post them here. I will try my hardest to help with these problems and if anyone knows any solutions to problems post them here as well.


    EDIT:There is a certain way to do that /item command in case you don't know.
    It's like this:

    PHP
    /item ConquestArmor super 12 7 255 13 13


    The item name needs to be spelled entirely correct.
    Meaning capital letters and all.
    The quality needs to be right after but lowercased.
    Hope this helps.[/COLOR][/FONT]
    Problems:Expball:Unlimited Times a day.


    Pots:Now cannot be used when MP/HP is already full.


    Ladyluck:With this code you can do the lottery unlimited times.


    Nearly Perfect Expball Calculations.

    [FONT="Fixedsys"][COLOR="DarkOrchid"]Here is my Proficiency God. It doesn't work like the real one in Conquer.
    It's no matter what level the weapon's proficiency is at, you pay 20 Exp Balls to make it level 20.
    Well here it is.[/COLOR][/FONT]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]Press Thanks if this helps.[/COLOR][/FONT]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]I went and tested these calculations for expballs for the 5165 source.
    I'll release them here.
    Keep in mind that these are not perfect.
    They are almost perfect.
    Enjoy.[/COLOR][/FONT]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]I hear a lot of people saying how quiz show does not work.
    Well I decided to go through the source and find out what the problem is.
    It's really simple so here it is.
    You're going to go to Database.cs and search for[/COLOR][/FONT]

    Code
    public static void LoadQuestions()


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Under that you should see this[/COLOR][/FONT]


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Replace it with this.[/COLOR][/FONT]


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Hope this helps.[/COLOR][/FONT]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]
    This is for 5165!
    Go to Mob.cs and search for this.[/COLOR][/FONT]

    Code
    else if (MyMath.ChanceSuccess(DropRates.CPBag))


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Under that void put this.[/COLOR][/FONT]

    Code
    if (MyMath.ChanceSuccess(DropRates.CPs))
                        {
                            if (Char != null)
                            {
                                Char.CPs += CPS AMOUNT YOU WANT;
                            }
                        }

    [FONT="Fixedsys"][COLOR="DarkOrchid"]Then go to DropRates.cs and search for:[/COLOR][/FONT]

    Code
    Silver = 2


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Under that put: [/COLOR][/FONT]

    Code
    CPs = 2

    [FONT="Fixedsys"][COLOR="DarkOrchid"]Then in that same .cs search for: [/COLOR][/FONT]

    Code
    Silver = iNi.ReadDouble("Rates", "Silver");


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Under that put [/COLOR][/FONT]

    Code
    CPs = iNi.ReadDouble("Rates", "CPs");

    [FONT="Fixedsys"][COLOR="DarkOrchid"]Then go to OldCODB and at the very bottom put CPs=DropRate of your choice.
    Then thats it.
    Press thanks if it helped.[/COLOR][/FONT]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]I know most of you know how to "fix" this already but I figure I'll post a "fix" for it.
    First go to Charcater.cs and search for this.[/COLOR][/FONT]

    Code
    if(!MyClient.GM)
                                foreach (Character C in World.H_Chars.Values)
                                {
                                    if (C.Alive && C != this)
                                    {
                                        if (MyMath.PointDistance(Loc.X, Loc.Y, C.Loc.X, C.Loc.Y) <= Dist)
                                            if (C.PKAble(PKMode, this) && !SU.PlayerTargets.Contains(C) && !World.NoPKMaps.Contains(Loc.Map))
                                                SU.PlayerTargets.Add(C, SU.GetDamage(C));
                                    }
                                }


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that entire code.
    Next go to Attack.cs.
    Search for [/COLOR][/FONT]

    Code
    if (PossChar != null)
                            if (GC.GM)
                                return;


    [FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that.
    Now gm's should be able to pk.
    Hope this helps.[/COLOR][/FONT]

    [FONT="Fixedsys"][COLOR="DarkOrchid"]Okay well in the 5165 source, GM's and PM's cannot trade.
    Well yeah the fix for it is small but since alot of people were asking me about it I am going to release my trading code.
    Replace your entire Trade.cs with this code.
    [/color][/font]


    [FONT="Fixedsys"][COLOR="DarkOrchid"]
    Press thanks if it helped.[/COLOR][/FONT]