[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
For example:
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:
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.
Alles anzeigen
Pots:Now cannot be used when MP/HP is already full.
Alles anzeigen
Ladyluck:With this code you can do the lottery unlimited times.
Alles anzeigen
Nearly Perfect Expball Calculations.
Alles anzeigen
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
For example:
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:
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.
Quellcode
- #region ExpBall
- case 723700://This is for the expball 10 Times a day. This code makes it so you can use it as many times as you want. Replace your old expball code with this one.
- {
- if (Level < 137)
- {
- IncreaseExp(ExpBallExp, false);
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2000, "You are already the highest level.");
- }
- break;
- }
- #endregion
Pots:Now cannot be used when MP/HP is already full.
Quellcode
- #region MP Pots//Replace your entire potion code with mine.
- case 1001000:
- {
- if (CurMP <= MaxMP)
- {
- CurMP += 70;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You MP is currently full.");
- }
- break;
- }
- case 1001010:
- {
- if (CurMP <= MaxMP)
- {
- CurMP += 200;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You MP is currently full.");
- }
- break;
- }
- case 1001020:
- {
- if (CurMP <= MaxMP)
- {
- CurMP += 450;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You MP is currently full.");
- }
- break;
- }
- case 1001030:
- {
- if (CurMP <= MaxMP)
- {
- CurMP += 1000;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You MP is currently full.");
- }
- break;
- }
- case 1001040:
- {
- if (CurMP <= MaxMP)
- {
- CurMP += 2000;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You MP is currently full.");
- }
- }
- break;
- case 1002030:
- {
- if (CurMP <= MaxMP)
- {
- CurMP += 3000;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You MP is currently full.");
- }
- break;
- }
- case 1002040:
- {
- if (CurMP <= MaxMP)
- {
- CurMP += 4500;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You MP is currently full.");
- }
- break;
- }
- #endregion
- #region HP Pots
- case 1000000:
- {
- if (CurHP <= MaxHP)
- {
- CurHP += 70;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- case 1000010:
- {
- if (CurHP <= MaxHP)
- {
- CurHP += 150;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- case 1000020:
- {
- if (CurHP <= MaxHP)
- {
- CurHP += 250;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- case 1000030:
- {
- if (CurHP <= MaxHP)
- {
- CurHP += 500;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- case 1002000:
- {
- if (CurHP <= MaxHP)
- {
- CurHP += 800;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- case 1002010:
- {
- if (CurHP <= MaxHP)
- {
- CurHP += 1200;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- case 1002020:
- {
- if (CurHP <= MaxHP)
- {
- CurHP += 2000;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- case 1002050:
- {
- if (CurHP <= MaxHP)
- {
- CurHP +=3000;
- RemoveItem(I);
- }
- else
- {
- MyClient.LocalMessage(2005, "You HP is currently full.");
- }
- break;
- }
- #endregion
Ladyluck:With this code you can do the lottery unlimited times.
Quellcode
- case 923:
- {
- if (Control == 0)
- {
- GC.AddSend(Packets.NPCSay(("Welcome to the Lottery Center! There are meny LuckyBoxes which have innumerable treasure such as super gems,two-socket gears, up to 500,000,000 silvers etc. in them. If you are level 70 or above, you are allowed to enter the Lottery Center as much as you want.")));
- GC.AddSend(Packets.NPCSay(("And I charge you only 27 CPs for each admission.Come on, Try your luck right now!")));
- GC.AddSend(Packets.NPCLink("Wow, good deal!", 1));
- GC.AddSend(Packets.NPCLink("May I know the rules first?", 2));
- GC.AddSend(Packets.NPCLink("No Thanks!", 255));
- GC.AddSend(Packets.NPCSetFace(N.Avatar));
- GC.AddSend(Packets.NPCFinish());
- }
- else if (Control == 1)
- {
- if (GC.MyChar.Lottery)
- {
- GC.MyChar.Teleport(700, 40, 50);
- return;
- }
- if (GC.MyChar.Level >= 70)
- {
- if (GC.MyChar.Inventory.Count < 40)
- {
- if (GC.MyChar.CPs >= 27)
- {
- GC.MyChar.Teleport(700, 40, 50);
- GC.MyChar.CPs -= 27;
- GC.MyChar.Lottery = true;
- }
- else
- {
- GC.AddSend(Packets.NPCSay("I'm sorry you do not have the required CPs."));
- GC.AddSend(Packets.NPCLink("Okay, I will be back when I have 27 CPs.", 255));
- GC.AddSend(Packets.NPCSetFace(N.Avatar));
- GC.AddSend(Packets.NPCFinish());
- }
- }
- else
- {
- GC.AddSend(Packets.NPCSay("Please make some room in your item box first."));
- GC.AddSend(Packets.NPCLink("Okay...", 255));
- GC.AddSend(Packets.NPCSetFace(N.Avatar));
- GC.AddSend(Packets.NPCFinish());
- }
- }
- else
- {
- GC.AddSend(Packets.NPCSay("I'm sorry you do not have the required Level 70."));
- GC.AddSend(Packets.NPCLink("Okay...", 255));
- GC.AddSend(Packets.NPCSetFace(N.Avatar));
- GC.AddSend(Packets.NPCFinish());
- }
- }
- if (Control == 2)
- {
- GC.AddSend(Packets.NPCSay("You will be teleported to Lottery Center where there are many LuckyBoxes after you pay me 27 CPs. You may choose one box to try your luck at your will."));
- GC.AddSend(Packets.NPCSay("Remeber you have only one chance to open a LuckyBox every time. If you want to open another box, you have to leave the room to re-enrol in Market."));
- GC.AddSend(Packets.NPCLink("Okay...", 255));
- GC.AddSend(Packets.NPCSetFace(N.Avatar));
- GC.AddSend(Packets.NPCFinish());
- }
- break;
- }
Nearly Perfect Expball Calculations.
Quellcode
- public uint ExpBallExp
- {
- get
- {
- if (Level < 30)
- return (uint)(15000 + Level * 430);
- else if (Level < 50)
- return (uint)(40000 + Level * 430);
- else if (Level < 80)
- return (uint)(30000 + Level * 500);
- else if (Level < 80)
- return (uint)(30000 + Level * 600);
- else if (Level < 100)
- return (uint)(30000 + Level * 700);
- else if (Level < 110)
- return (uint)(30000 + Level * 900);
- else if (Level < 120)
- return (uint)(30000 + Level * 1100);
- else if (Level < 125)
- return (uint)(30000 + Level * 1500);
- else if (Level < 130)
- return (uint)(30000 + Level * 1000);
- else
- return (uint)(30000 + Level * 1000);
- }
- }