Well, this time post to see if someone has the files
for the ninja. No files of the vest and katanas and
all that. I'm looking for the files will just create a pj
and choose the profession.
If anyone knows where they are or where they are, because I gave him half
Back to the forum and found nothing more than the same, and katanas
garments.
Sorry if my english is bad xD... I use a translate.
//Credits go to f0am
if (CurrentNPC == 2009) // Wind Sage
{
if (MyChar.Job >= 50 && MyChar.Job <= 55)
{
SendPacket(General.MyPackets.NPCSay("Hello, I am the Ninja Trainer. What can i do for you?"));
SendPacket(General.MyPackets.NPCLink("I would like to promote.", 1));
SendPacket(General.MyPackets.NPCLink("I want to learn new skills.", 3));
SendPacket(General.MyPackets.NPCLink("Just passing by.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You are not a Ninja, Go away!"));
SendPacket(General.MyPackets.NPCLink("Sorry!!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
and..
Code:
if (CurrentNPC == 2009) // Wind Sage
{
if (Control == 1)
{
if (MyChar.Job == 50)
{
SendPacket(General.MyPackets.NPCSay("To promote yourself to Ninja you need to be level 15 or higher."));
}
if (MyChar.Job == 51)
{
SendPacket(General.MyPackets.NPCSay("To promote yourself to Middle Ninja you need to be level 40 or higher."));
}
if (MyChar.Job == 52)
{
SendPacket(General.MyPackets.NPCSay("To promote yourself to Dark Ninja you need to be level 70 or higher."));
}
if (MyChar.Job == 53)
{
SendPacket(General.MyPackets.NPCSay("To promote yourself to Mystic Ninja you need to be level 100 or higher."));
}
if (MyChar.Job == 54)
{
SendPacket(General.MyPackets.NPCSay("To promote yourself to Ninja Master you need to be level 110 or higher."));
}
if (MyChar.Job != 55)
{
SendPacket(General.MyPackets.NPCLink("I want to promote.", 2));
SendPacket(General.MyPackets.NPCLink("I dont think I'm qualified for that yet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You are at the highest promotion rank. I can not help you anymore."));
SendPacket(General.MyPackets.NPCLink("Sorry.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 2)
{
bool Promoted = false;
if (MyChar.Job == 50 && MyChar.Level >= 15)
{
MyChar.Job = 51;
Promoted = true;
}
else if (MyChar.Job == 51 && MyChar.Level >= 40)
{
MyChar.Job = 52;
Promoted = true;
}
else if (MyChar.Job == 52 && MyChar.Level >= 70)
{
MyChar.Job = 53;
Promoted = true;
}
else if (MyChar.Job == 53 && MyChar.Level >= 100)
{
MyChar.Job = 54;
Promoted = true;
}
else if (MyChar.Job == 54 && MyChar.Level >= 110)
{
MyChar.Job = 55;
Promoted = true;
}
if (Promoted)
{
SendPacket(General.MyPackets.NPCSay("Congratulations! You have promoted yourself."));
SendPacket(General.MyPackets.NPCLink("Yay!.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
SendPacket(General.MyPackets.Vital(MyChar.UID, 7, MyChar.Job));
}
else
{
SendPacket(General.MyPackets.NPCSay("You can't promote yet."));
SendPacket(General.MyPackets.NPCLink("Damn.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 3)
{
// Learn Skills
}
}
If you don't want it the exact way TQ was it, only just to promote, you can do something like this:
Note: This code works for promotion of all job's except for taoist, since the ID there are 100 - 145
Quote:
public static byte PromoteReq(Character char)
{
int x = char.Job % 10;
if (x == 0) return 15;
else if (x == 1) return 40;
else if (x == 2) return 70;
else if (x == 3) return 110;
else return 120;
}
Quote:
if (Option == 0)
{
Text("Hello, I can promote you. Do you wish to be promoted?");
Option("Yes please",1);
Option("Just passing by..",255);
}
if (Option == 1)
{
if (Char.Level >= PromoteReq(Char))
{
Char.Job++;
Text("You have been promoted!");
Option("Thanks!",255);
}
}
Just another way to do it, I'm trying to introduce you all to use a little more math in the codes, it really pays off.
new server ::Eagles-Co:: |Non-hamachi|ninja fixed|tops class| 12/18/2009 - CO2 PServer Archive - 3 Replies ::Eagles-co:: now online Non-Hamachi
client 5165 online 20/24
have site and chat and reg page
visit the site here
the server have fixed all problem
have steed 100% work
ninja 100% work
skills all class 100% work
1nd reb 100% work
2nd reb 100% work
Ninja Class! 12/16/2008 - Conquer Online 2 - 18 Replies does anyone know when the new class (ninja) gonna be out?
The New Dynasty's Ninja Character Class! 07/10/2008 - Conquer Online 2 - 14 Replies I wonder if this would be a better class than the others. . .:confused:
http://co.91.com/content/2008-07-03/2008070302373 8899.shtml
V3N0M or old proxy source/class files? 11/21/2007 - Conquer Online 2 - 40 Replies *Talks Noob*
I am need for to be getting t3h sourc3 c0d3s for a proxy. QOProxy, nProxy, Lakes Proxy w/e. Ideally it would be venom's class file :p
*Talks Pro*
Hey Guys, Just wondering if anybody out there has the up-to-date java class files or the original source files for the proxys. As mentioned before i would prefer the latest V3N0M one. Queen told me to check it out but hasnt replied agian yet ;)
Thanks y'all :D