Ok im currently working on Ninja to release the source code.
For some people who are looking to add the Job title like Ninja Master this is how you do it.
Type : Client Sided
Open your client folder and open the ini folder. Find ProfessionalName.ini open this.
heh i know ... ive tryed adding the ninja to a 5017 version n failure :P its true all items appear n all skins also... but there's no dual wield + the skill effects arent properly working also.. + no startower n no heavenfan
Ok heres how to add the Ninja Promotion Guy, this might change depending on your source code. You also need to sapwn the npc. The id is 62184
In NPCSAY Region
Code:
if (CurrentNPC == 62184)
{
if (MyChar.Job < 201 && MyChar.Job > 194)
{
SendPacket(General.MyPackets.NPCSay("Hey Ninja, What would you like to do?"));
SendPacket(General.MyPackets.NPCLink("Get Promoted", 1));
SendPacket(General.MyPackets.NPCLink("Learn Skills", 2));
SendPacket(General.MyPackets.NPCLink("Im Leaving", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("Sorry, Your not a Ninja"));
SendPacket(General.MyPackets.NPCLink("I know", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
In NPCDO Region
Code:
if (CurrentNPC == 62184)
{
if (Control == 1)
{
if (MyChar.Job == 196 && MyChar.Level >= 39)
{
SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
MyChar.Job = 197;
MyChar.Save();
Drop();
}
if (MyChar.Level <= 40)
{
SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (MyChar.Job == 197 && MyChar.Level >= 69)
{
SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
MyChar.Job = 198;
MyChar.Save();
Drop();
}
if (MyChar.Level <= 70)
{
SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (MyChar.Job == 198 && MyChar.Level >= 99)
{
SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
MyChar.Job = 199;
MyChar.Save();
Drop();
}
if (MyChar.Level <= 100)
{
SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (MyChar.Job == 199 && MyChar.Level >= 109)
{
SendPacket(General.MyPackets.NPCSay("Promotion Sucessful, Sorry i must disconnect you in order to take effect."));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
MyChar.Job = 200;
MyChar.Save();
Drop();
}
if (MyChar.Level <= 110)
{
SendPacket(General.MyPackets.NPCSay("Promotion UnSucessful, Please Level harder"));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (MyChar.Job == 200)
{
SendPacket(General.MyPackets.NPCSay("Max Promotion Reached"));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
if (Control == 2)
{
SendPacket(General.MyPackets.NPCSay("No skills Made, Sorry."));
SendPacket(General.MyPackets.NPCLink("Ok.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
Looks good, but why do you need to drop the client? All the NPCs simply promote you and thats fine. Once you save the char thats it.
Well when i made this NPC i tested it and it did not change the Job Status until you disconnected. So i thought of adding the Drop command. Might just be me
You cannot have Ninja set in client as 100+ or the server will interpret is as a taoist no matter what u do to change it. Make your ninja as 50-5X how it is in the real game.
[Help]Adding Ninja Items to drop 07/30/2009 - CO2 Private Server - 3 Replies Hey guys! I need help in the CoMy source with drop of Ninja items.
How to make the monsters to drop them?
Thx for any help:)
Probs while adding Ninja to LOTF 07/18/2009 - CO2 Private Server - 20 Replies Well i added Ninja but Katanas use Boxing as Prof how can i fix this?
[HELP] Adding Ninja and the npc the promote it.... 03/03/2009 - CO2 Private Server - 4 Replies he guys i need ur help one again... im add ninja to my server but i don't know how... can plss any one help me.... Looking forward for all ur help.....
thanks a lot guys...
Adding ninja 02/17/2009 - CO2 Private Server - 1 Replies For who released a guide how to make a ninja .... can you release a patch .. :S for the surce and client ty..
Adding Ninja Items 02/14/2009 - CO2 Private Server - 19 Replies You cant wear any off these items and it will reck ur other server by armors,
Open your original Conquer, copy itemtype.dat to your 5017 client here if you use a itemtype.dat editor you will find the ninja item ids. Now open the ini file and copy Weapon.ini and armor.ini then Action3deffect.ini and 3Deffect.ini and 3dobj.ini and 3DTexture.ini also shop.dat to your 5017 client. Now you need to get the Ninja items texture and map items so copy c3 folder to your 5017 client. Now open the ani...