Official 5165 Thread

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • Official 5165 Thread

      [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-Quellcode

      1. /newacc username password [PM]

      For example:

      PHP-Quellcode

      1. /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-Quellcode

      1. /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.

      Quellcode

      1. #region ExpBall
      2. 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.
      3. {
      4. if (Level < 137)
      5. {
      6. IncreaseExp(ExpBallExp, false);
      7. RemoveItem(I);
      8. }
      9. else
      10. {
      11. MyClient.LocalMessage(2000, "You are already the highest level.");
      12. }
      13. break;
      14. }
      15. #endregion
      Alles anzeigen

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

      Quellcode

      1. #region MP Pots//Replace your entire potion code with mine.
      2. case 1001000:
      3. {
      4. if (CurMP <= MaxMP)
      5. {
      6. CurMP += 70;
      7. RemoveItem(I);
      8. }
      9. else
      10. {
      11. MyClient.LocalMessage(2005, "You MP is currently full.");
      12. }
      13. break;
      14. }
      15. case 1001010:
      16. {
      17. if (CurMP <= MaxMP)
      18. {
      19. CurMP += 200;
      20. RemoveItem(I);
      21. }
      22. else
      23. {
      24. MyClient.LocalMessage(2005, "You MP is currently full.");
      25. }
      26. break;
      27. }
      28. case 1001020:
      29. {
      30. if (CurMP <= MaxMP)
      31. {
      32. CurMP += 450;
      33. RemoveItem(I);
      34. }
      35. else
      36. {
      37. MyClient.LocalMessage(2005, "You MP is currently full.");
      38. }
      39. break;
      40. }
      41. case 1001030:
      42. {
      43. if (CurMP <= MaxMP)
      44. {
      45. CurMP += 1000;
      46. RemoveItem(I);
      47. }
      48. else
      49. {
      50. MyClient.LocalMessage(2005, "You MP is currently full.");
      51. }
      52. break;
      53. }
      54. case 1001040:
      55. {
      56. if (CurMP <= MaxMP)
      57. {
      58. CurMP += 2000;
      59. RemoveItem(I);
      60. }
      61. else
      62. {
      63. MyClient.LocalMessage(2005, "You MP is currently full.");
      64. }
      65. }
      66. break;
      67. case 1002030:
      68. {
      69. if (CurMP <= MaxMP)
      70. {
      71. CurMP += 3000;
      72. RemoveItem(I);
      73. }
      74. else
      75. {
      76. MyClient.LocalMessage(2005, "You MP is currently full.");
      77. }
      78. break;
      79. }
      80. case 1002040:
      81. {
      82. if (CurMP <= MaxMP)
      83. {
      84. CurMP += 4500;
      85. RemoveItem(I);
      86. }
      87. else
      88. {
      89. MyClient.LocalMessage(2005, "You MP is currently full.");
      90. }
      91. break;
      92. }
      93. #endregion
      94. #region HP Pots
      95. case 1000000:
      96. {
      97. if (CurHP <= MaxHP)
      98. {
      99. CurHP += 70;
      100. RemoveItem(I);
      101. }
      102. else
      103. {
      104. MyClient.LocalMessage(2005, "You HP is currently full.");
      105. }
      106. break;
      107. }
      108. case 1000010:
      109. {
      110. if (CurHP <= MaxHP)
      111. {
      112. CurHP += 150;
      113. RemoveItem(I);
      114. }
      115. else
      116. {
      117. MyClient.LocalMessage(2005, "You HP is currently full.");
      118. }
      119. break;
      120. }
      121. case 1000020:
      122. {
      123. if (CurHP <= MaxHP)
      124. {
      125. CurHP += 250;
      126. RemoveItem(I);
      127. }
      128. else
      129. {
      130. MyClient.LocalMessage(2005, "You HP is currently full.");
      131. }
      132. break;
      133. }
      134. case 1000030:
      135. {
      136. if (CurHP <= MaxHP)
      137. {
      138. CurHP += 500;
      139. RemoveItem(I);
      140. }
      141. else
      142. {
      143. MyClient.LocalMessage(2005, "You HP is currently full.");
      144. }
      145. break;
      146. }
      147. case 1002000:
      148. {
      149. if (CurHP <= MaxHP)
      150. {
      151. CurHP += 800;
      152. RemoveItem(I);
      153. }
      154. else
      155. {
      156. MyClient.LocalMessage(2005, "You HP is currently full.");
      157. }
      158. break;
      159. }
      160. case 1002010:
      161. {
      162. if (CurHP <= MaxHP)
      163. {
      164. CurHP += 1200;
      165. RemoveItem(I);
      166. }
      167. else
      168. {
      169. MyClient.LocalMessage(2005, "You HP is currently full.");
      170. }
      171. break;
      172. }
      173. case 1002020:
      174. {
      175. if (CurHP <= MaxHP)
      176. {
      177. CurHP += 2000;
      178. RemoveItem(I);
      179. }
      180. else
      181. {
      182. MyClient.LocalMessage(2005, "You HP is currently full.");
      183. }
      184. break;
      185. }
      186. case 1002050:
      187. {
      188. if (CurHP <= MaxHP)
      189. {
      190. CurHP +=3000;
      191. RemoveItem(I);
      192. }
      193. else
      194. {
      195. MyClient.LocalMessage(2005, "You HP is currently full.");
      196. }
      197. break;
      198. }
      199. #endregion
      Alles anzeigen

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

      Quellcode

      1. case 923:
      2. {
      3. if (Control == 0)
      4. {
      5. 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.")));
      6. GC.AddSend(Packets.NPCSay(("And I charge you only 27 CPs for each admission.Come on, Try your luck right now!")));
      7. GC.AddSend(Packets.NPCLink("Wow, good deal!", 1));
      8. GC.AddSend(Packets.NPCLink("May I know the rules first?", 2));
      9. GC.AddSend(Packets.NPCLink("No Thanks!", 255));
      10. GC.AddSend(Packets.NPCSetFace(N.Avatar));
      11. GC.AddSend(Packets.NPCFinish());
      12. }
      13. else if (Control == 1)
      14. {
      15. if (GC.MyChar.Lottery)
      16. {
      17. GC.MyChar.Teleport(700, 40, 50);
      18. return;
      19. }
      20. if (GC.MyChar.Level >= 70)
      21. {
      22. if (GC.MyChar.Inventory.Count < 40)
      23. {
      24. if (GC.MyChar.CPs >= 27)
      25. {
      26. GC.MyChar.Teleport(700, 40, 50);
      27. GC.MyChar.CPs -= 27;
      28. GC.MyChar.Lottery = true;
      29. }
      30. else
      31. {
      32. GC.AddSend(Packets.NPCSay("I'm sorry you do not have the required CPs."));
      33. GC.AddSend(Packets.NPCLink("Okay, I will be back when I have 27 CPs.", 255));
      34. GC.AddSend(Packets.NPCSetFace(N.Avatar));
      35. GC.AddSend(Packets.NPCFinish());
      36. }
      37. }
      38. else
      39. {
      40. GC.AddSend(Packets.NPCSay("Please make some room in your item box first."));
      41. GC.AddSend(Packets.NPCLink("Okay...", 255));
      42. GC.AddSend(Packets.NPCSetFace(N.Avatar));
      43. GC.AddSend(Packets.NPCFinish());
      44. }
      45. }
      46. else
      47. {
      48. GC.AddSend(Packets.NPCSay("I'm sorry you do not have the required Level 70."));
      49. GC.AddSend(Packets.NPCLink("Okay...", 255));
      50. GC.AddSend(Packets.NPCSetFace(N.Avatar));
      51. GC.AddSend(Packets.NPCFinish());
      52. }
      53. }
      54. if (Control == 2)
      55. {
      56. 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."));
      57. 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."));
      58. GC.AddSend(Packets.NPCLink("Okay...", 255));
      59. GC.AddSend(Packets.NPCSetFace(N.Avatar));
      60. GC.AddSend(Packets.NPCFinish());
      61. }
      62. break;
      63. }
      Alles anzeigen

      Nearly Perfect Expball Calculations.

      Quellcode

      1. public uint ExpBallExp
      2. {
      3. get
      4. {
      5. if (Level < 30)
      6. return (uint)(15000 + Level * 430);
      7. else if (Level < 50)
      8. return (uint)(40000 + Level * 430);
      9. else if (Level < 80)
      10. return (uint)(30000 + Level * 500);
      11. else if (Level < 80)
      12. return (uint)(30000 + Level * 600);
      13. else if (Level < 100)
      14. return (uint)(30000 + Level * 700);
      15. else if (Level < 110)
      16. return (uint)(30000 + Level * 900);
      17. else if (Level < 120)
      18. return (uint)(30000 + Level * 1100);
      19. else if (Level < 125)
      20. return (uint)(30000 + Level * 1500);
      21. else if (Level < 130)
      22. return (uint)(30000 + Level * 1000);
      23. else
      24. return (uint)(30000 + Level * 1000);
      25. }
      26. }
      Alles anzeigen
    • Werbung zur Unterstützung des Forums ( Bitte AddBlocker deaktivieren )

    • Hepatitis C;64393 schrieb:

      [FONT="Fixedsys"][COLOR="DarkOrchid"]
      Sorry, I'm not going to post my source.
      I worked very hard on it.[/COLOR][/FONT]


      :=B: Please please, send me for Private, I really like this I promet no give its to anyone, I am good in Photoshop editing Thing of CO, If you want, I can made a very good Skin, Only tell me about of what you want, I made RedBlackDragon Skin, I post it in EPVPERS!
    • BALTA00;64395 schrieb:

      :=B: Please please, send me for Private, I really like this I promet no give its to anyone, I am good in Photoshop editing Thing of CO, If you want, I can made a very good Skin, Only tell me about of what you want, I made RedBlackDragon Skin, I post it in EPVPERS!

      [FONT="Fixedsys"][COLOR="DarkOrchid"]
      Sorry I am not going to give you my source.
      It's my hard work.[/COLOR][/FONT]
    • Hepatitis C;64396 schrieb:

      [FONT="Fixedsys"][COLOR="DarkOrchid"]
      Sorry I am not going to give you my source.
      It's my hard work.[/COLOR][/FONT]


      OK, I will try fix this myself, ahh I want ask some thing

      Why when I am leveling Toxic fog, this got automatic to level 4?

      I want player leveling this, no fast! can you help me to fix this?
    • Hey hepatitis XDXD i just want you to add or make useful this info. I was writing in ur thread at elitepvp that server wont run on my comp and i have made it working so what did i make? 1st of all i had to change system language for English(USA) after that server runs and for me and my friends it works just with port:80 coz when we was installing appserver it tooks this port not 8080 maybe its coz i am from Europe XD so i think it can help others to make it working ;p just trying to help

      Also i am very thankful for ur fixes XD i will use some of em xD hope u will release something new soon:P:P i can suggest you an eg. event,new class i think u just wont share ur hard work but can u tell us a path to creating that egzamples ;p

      And a question for u why did u moved from elitepvprs ? ;p
    • Ilci;66130 schrieb:

      Hey hepatitis XDXD i just want you to add or make useful this info. I was writing in ur thread at elitepvp that server wont run on my comp and i have made it working so what did i make? 1st of all i had to change system language for English(USA) after that server runs and for me and my friends it works just with port:80 coz when we was installing appserver it tooks this port not 8080 maybe its coz i am from Europe XD so i think it can help others to make it working ;p just trying to help

      Also i am very thankful for ur fixes XD i will use some of em xD hope u will release something new soon:P:P i can suggest you an eg. event,new class i think u just wont share ur hard work but can u tell us a path to creating that egzamples ;p

      And a question for u why did u moved from elitepvprs ? ;p


      I'm still at elitepvpers.
      But I post here now too.