Register for your free account! | Forgot your password?

You last visited: Today at 11:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Adding Ninja LOTF

Discussion on [Release] Adding Ninja LOTF within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
[Release] Adding Ninja LOTF

You can add (Ninja , New Character ) Items , Skills , NPcs ...... By following the links and info
And i can call it [All-in-one]
It isn't code or something like that .. i can help you to add ninja on LOTF (5017)
-------------------
First go to YourConquerFolder/ini/ProfessionalName.ini in it add
Quote:
50,InternNinja
51,Ninja
52,MiddleNinja
53,DarkNinja
54,MysticNinja
55,NinjaMaster
50 means Character id . The command will be /job 50 for internNinja
Now you added the character

--------------------
Then you need to add weapons . It is very easy
Links :

And

And

For examples
And you must know how to add weapons for ninja
--------------------
Now you need skills .. And i thing it's easy ..
Links :

And

And

For examples
So you need to learn ..
--------------------
*Now Promotoion Npc*
All in client.cs
Here's an example of promo npc for the new character
Here is "Archer" Promo npc
Code:
if (CurrentNPC == 6)
                            {
                                SendPacket(General.MyPackets.NPCSay("Hello, I am an archer trainer. What can i do for you?"));
                                SendPacket(General.MyPackets.NPCLink("I would like to promote myself.", 1));
                                SendPacket(General.MyPackets.NPCLink("I want to learn new skills.", 20));
                                SendPacket(General.MyPackets.NPCLink("Just passing by.", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
And
Code:
if (CurrentNPC == 6)
                            {
                                if (MyChar.Job < 46 && MyChar.Job > 39 || Control == 255)
                                {
                                    if (Control == 20)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("Ok, choose the skill you want to learn."));
                                        SendPacket(General.MyPackets.NPCLink("XP Fly: Lv 15", 24));
                                        SendPacket(General.MyPackets.NPCLink("Scatter: Lv 27", 21));
                                        SendPacket(General.MyPackets.NPCLink("Rapid Fire: Lv 40", 22));
                                        SendPacket(General.MyPackets.NPCLink("Intensify: Lv 47", 23));
                                        SendPacket(General.MyPackets.NPCLink("Arrow rain: Lv 70", 25));
                                        SendPacket(General.MyPackets.NPCLink("Fly: Lv 70", 27));
                                        SendPacket(General.MyPackets.NPCLink("Advanced fly: Lv 100", 26));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                    if (Control == 21)
                                    {
                                        if (MyChar.Level < 27)
                                        {

                                            SendPacket(General.MyPackets.NPCSay("You are lower than level 27, you can't learn it."));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                        else
                                        {
                                            MyChar.LearnSkill(8001, 0);
                                            SendPacket(General.MyPackets.NPCSay("Congratulations! You learned scatter."));
                                            SendPacket(General.MyPackets.NPCLink("Yay!", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                    }
                                    if (Control == 22)
                                    {
                                        if (MyChar.Level < 40)
                                        {

                                            SendPacket(General.MyPackets.NPCSay("You are lower than level 40, you can't learn it."));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                        else
                                        {
                                            MyChar.LearnSkill(8000, 0);
                                            SendPacket(General.MyPackets.NPCSay("Congratulations! You learned rapid fire."));
                                            SendPacket(General.MyPackets.NPCLink("Yay!", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                    }
                                    if (Control == 23)
                                    {
                                        if (MyChar.Level < 47)
                                        {

                                            SendPacket(General.MyPackets.NPCSay("You are lower than level 47, you can't learn it."));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                        else
                                        {
                                            MyChar.LearnSkill(9000, 0);
                                            SendPacket(General.MyPackets.NPCSay("Congratulations! You learned intefsify."));
                                            SendPacket(General.MyPackets.NPCLink("Yay!", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                    }
                                    if (Control == 24)
                                    {
                                        if (MyChar.Level < 15)
                                        {

                                            SendPacket(General.MyPackets.NPCSay("You are lower than level 15, you can't learn it."));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                        else
                                        {
                                            MyChar.LearnSkill(8002, 0);
                                            SendPacket(General.MyPackets.NPCSay("Congratulations! You learned XP fly."));
                                            SendPacket(General.MyPackets.NPCLink("Yay!", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                    }
                                    if (Control == 25)
                                    {
                                        if (MyChar.Level < 70)
                                        {

                                            SendPacket(General.MyPackets.NPCSay("You are lower than level 70, you can't learn it."));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                        else
                                        {
                                            MyChar.LearnSkill(8030, 0);
                                            SendPacket(General.MyPackets.NPCSay("Congratulations! You learned arrow rain."));
                                            SendPacket(General.MyPackets.NPCLink("Yay!", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                    }

                                    if (Control == 26)
                                    {
                                        if (MyChar.Level < 100)
                                        {

                                            SendPacket(General.MyPackets.NPCSay("You are lower than level 100, you can't learn it."));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                        else
                                        {
                                            MyChar.LearnSkill2(8003, 1);
                                            SendPacket(General.MyPackets.NPCSay("Congratulations! You learned advanced fly."));
                                            SendPacket(General.MyPackets.NPCLink("Yay!", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                    }
                                    if (Control == 27)
                                    {
                                        if (MyChar.Level < 70)
                                        {
                                            SendPacket(General.MyPackets.NPCSay("You are lower than level 70, you can't learn it."));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                        else
                                        {
                                            MyChar.LearnSkill(8003, 0);
                                            SendPacket(General.MyPackets.NPCSay("Congratulations! You learned fly."));
                                            SendPacket(General.MyPackets.NPCLink("Yay!", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                    }
                                }
                                else
                                {
                                    SendPacket(General.MyPackets.NPCSay("You are not an archer, you can't learn them!"));
                                    SendPacket(General.MyPackets.NPCLink("Ok.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 1)
                                {
                                    if (MyChar.Job == 40)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("To promote yourself to Archer you need to be level 15 or higher."));
                                    }
                                    if (MyChar.Job == 41)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("To promote yourself to Eagle Archer you need to be level 40 or higher."));
                                    }
                                    if (MyChar.Job == 42)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("To promote yourself to Tiger Archer you need to be level 70 or higher."));
                                    }
                                    if (MyChar.Job == 43)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("To promote yourself to Dragon Archer you need to be level 100 or higher."));
                                    }
                                    if (MyChar.Job == 44)
                                    {
                                        SendPacket(General.MyPackets.NPCSay("To promote yourself to Archer Master you need to be level 110 or higher."));
                                    }
                                    if (MyChar.Job != 45)
                                    {
                                        SendPacket(General.MyPackets.NPCLink("I want to promote.", 2));
                                        SendPacket(General.MyPackets.NPCLink("I think i am not qualified for that yet.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("You cannot promote anymore, i can't help you."));
                                        SendPacket(General.MyPackets.NPCLink("Sorry.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                                if (Control == 2)
                                {
                                    bool Promoted = false;

                                    if (MyChar.Job == 40 && MyChar.Level >= 15)
                                    {
                                        MyChar.Job = 41;
                                        Promoted = true;
                                    }
                                    else if (MyChar.Job == 41 && MyChar.Level >= 40)
                                    {
                                        MyChar.Job = 42;
                                        Promoted = true;
                                    }
                                    else if (MyChar.Job == 42 && MyChar.Level >= 70)
                                    {
                                        MyChar.Job = 43;
                                        Promoted = true;
                                    }
                                    else if (MyChar.Job == 43 && MyChar.Level >= 100)
                                    {
                                        MyChar.Job = 44;
                                        Promoted = true;
                                    }
                                    else if (MyChar.Job == 44 && MyChar.Level >= 110)
                                    {
                                        MyChar.Job = 45;
                                        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());
                                    }
                                }
                            }
Hmm .. Now you can change something to be able to make a new (Full) Character ...
If you want to fix it on Reborn NPC Search and edit it ....
--------------------
Credits Not to me
*This is an idea that all coders know it*
*Press Thanks if i helped you*
danielachraf is offline  
Thanks
15 Users
Old 04/18/2009, 19:57   #2
 
elite*gold: 0
Join Date: Apr 2009
Posts: 71
Received Thanks: 5
no offence this is not even a release.. im waiting for " zaitochi " dont know if i spelled that right.. releases it because atleast i know he will release it ><

im too lazy to do myself I ADMIT IM LAZY xD
r.0ck is offline  
Old 04/18/2009, 22:38   #3
 
Kital82's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 129
Received Thanks: 15
And how will you able ninja to use dual weapon? ...
Kital82 is offline  
Old 04/18/2009, 22:41   #4
 
Zatoichi's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 434
Received Thanks: 431
i wont be adding dual wep to my ninja's. Only the samurai has dual wep in my game. The ninja classes will have other things that make them more dangerous. I think this fits into the story line better. I'll be adding some skills to the ninjas...
Zatoichi is offline  
Old 04/19/2009, 01:19   #5
 
mejo33's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
Its not realse, its guide ^^
mejo33 is offline  
Thanks
2 Users
Old 04/19/2009, 02:34   #6
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
Quote:
Originally Posted by Kital82 View Post
And how will you able ninja to use dual weapon? ...
I stumbled upon a method when alexbigfoot was helping me out.

You can code it to say something like..

When you equip ITEMID
{
Equipleft hand and right hand
update blah blah
}
flaMe~ is offline  
Old 04/19/2009, 10:19   #7
 
Kital82's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 129
Received Thanks: 15
Quote:
Originally Posted by flaMe~ View Post
I stumbled upon a method when alexbigfoot was helping me out.

You can code it to say something like..

When you equip ITEMID
{
Equipleft hand and right hand
update blah blah
}
I think it won't work ...
The client don't show the case to use the 2nd weapons if you ar e ninja, you will see ...
Kital82 is offline  
Old 04/19/2009, 13:58   #8
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
Good point. My bad.
flaMe~ is offline  
Old 04/19/2009, 17:15   #9
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
I can fix the 2nd equip slot in the client, I just haven't found the check yet for the actual equipping into it.
tao4229 is offline  
Old 04/19/2009, 20:50   #10
 
elite*gold: 0
Join Date: Apr 2008
Posts: 7
Received Thanks: 2
can you make a video on how to do it?
killer999man is offline  
Thanks
1 User
Old 04/20/2009, 01:51   #11
 
IcedEarth's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 146
Received Thanks: 17
Maybe it's complete off topic, but here is a small preview of coding i done on adding ninja to server :P NB !! Server based on LOTF

IcedEarth is offline  
Old 04/20/2009, 02:42   #12
 
Zatoichi's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 434
Received Thanks: 431
very nice. Did you need to replace an armor, or did it slip right in? Just curious, i havent gotten to the armors yet. nice work! =D
Zatoichi is offline  
Old 04/20/2009, 03:02   #13
 
elite*gold: 0
Join Date: Dec 2008
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by IcedEarth View Post
Maybe it's complete off topic, but here is a small preview of coding i done on adding ninja to server :P NB !! Server based on LOTF

um thats funny how you must have got vip in lotf too? and you coverd up the name of the server......
TwinBladez is offline  
Old 04/20/2009, 03:37   #14
 
Zatoichi's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 434
Received Thanks: 431
good eye...
Zatoichi is offline  
Old 04/20/2009, 06:50   #15
 
elite*gold: 0
Join Date: Sep 2007
Posts: 442
Received Thanks: 21
hey thats really his server...i think he erased the name cause he dont want noobs asking him how he made it ....(like me lmao)
ha.ho.a is offline  
Reply


Similar Threads Similar Threads
[Release] Adding Ninja in TQ Binary version 5065
09/12/2009 - CO2 PServer Guides & Releases - 82 Replies
Patch Version: 5065 Description: this patch ill add ninja stuff in your CO Client Version 5065 Bugs: Can't Equip Katanas Yet Missing: Ninja Skills Version: Beta (For tests) Guide: Step 1- Extract this Files into your CO Folder Version 5065 Link Download: RapidShare: Easy Filehosting
[Release] Ninja Amulet (LOTF)
08/21/2009 - CO2 PServer Guides & Releases - 13 Replies
i used #search and didn't find a *release* for it. pete ninja had a code, but it was tested, so i just coded this and figured i'd release for all those retro coders. (like myself.) alright. in character.cs search: 723584 (if that isn't implemented in your source, search: 1060101 above either of those, add in: else if (ItemParts == "723583") //NINJA AMULET
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?
[Release] Adding form to load (LOTF)
04/15/2009 - CO2 PServer Guides & Releases - 40 Replies
I bet most of you already know how to do this, but this is just for the people that don't know how to make the form open up. First, open LOTF. Then right-click on COServerProject in the Solution Explorer. Click Add > Windows Form... Then Form1.cs should be in the Solution Explorer. Now go to View > Toolbox and you can start adding buttons and stuff.
[Help] With adding skills in lotf
09/09/2008 - CO2 Private Server - 4 Replies
How exactly would i like add skills in lotf casue i want to add some more skills. I'll release it if some one could help me on how to do it :)



All times are GMT +1. The time now is 11:15.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.