Register for your free account! | Forgot your password?

You last visited: Today at 12:11

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

Advertisement



Help On 5165 NPC

Discussion on Help On 5165 NPC within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2011
Posts: 25
Received Thanks: 3
Arrow Help On 5165 NPC

How i make a npc that gave to that player a gift only once and gift is bound?
neverhere is offline  
Old 03/05/2011, 09:07   #2
 
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
Here You Are
PHP Code:
#region ConquerSx FreeItems1
                            
case 300006:
                                {
                                    if (
Control == 0)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Welcome i will give you free stuff"));
                                        
GC.AddSend(Packets.NPCLink("Yes I Want"1));
                                        
GC.AddSend(Packets.NPCLink("Put Them In Your Butt"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (
Control == 1)
                                    {
                                        
GC.AddSend(Packets.NPCSay("I can gift you with some gear of specified profesion"));
                                        
GC.AddSend(Packets.NPCLink("FireTao L70 pack"2));
                                        
GC.AddSend(Packets.NPCLink("Fruits"3));
                                        
GC.AddSend(Packets.NPCLink("Warrior L70 pack"4));
                                        
GC.AddSend(Packets.NPCLink("Trojan L70 pack"5));
                                        
GC.AddSend(Packets.NPCLink("Archer L70 pack"6));
                                        
GC.AddSend(Packets.NPCLink("Ninja L70 pack"7));
                                        
GC.AddSend(Packets.NPCLink("Weps pack L70"8));
                                        
GC.AddSend(Packets.NPCLink("No, thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(15));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    else if (
GC.MyChar.Level <= 69)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Welcome to the Conquer-Sx, we sell special items here that you cant find anywere else!! But ur not have lvl 70 yet!"));
                                        
GC.AddSend(Packets.NPCLink("Damn."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    if (
Control == 2)
                                    {


                                        
GC.MyChar.AddItem(130113); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1521296); //brac
                                        
GC.MyChar.AddItem(1211296); //Bag
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }
                                    if (
Control == 3)
                                    {
                                        
GC.MyChar.AddItem(723725); //fuit
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    if (
Control == 4)
                                    {
                                        
GC.MyChar.AddItem(1310696); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 5)
                                    {
                                        
GC.MyChar.AddItem(1300696); //Robe
                                        
GC.MyChar.AddItem(1300696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 6)
                                    {
                                        
GC.MyChar.AddItem(1330496); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 7)
                                    {
                                        
GC.MyChar.AddItem(1350696); //Robe
                                        
GC.MyChar.AddItem(1120696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }
                                    else if (
Control == 8)
                                    {
                                        
GC.MyChar.AddItem(4211396); //BS
                                        
GC.MyChar.AddItem(4201396); //S
                                        
GC.MyChar.AddItem(4101396); //B
                                        
GC.MyChar.AddItem(4801396); //C
                                        
GC.MyChar.AddItem(5611396); //W
                                        
GC.MyChar.AddItem(5601396); //SP
                                        
GC.MyChar.AddItem(6011396); //k
                                        
GC.MyChar.AddItem(5001296); //Bo
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }

                                    break;
                                }
                            
#endregion 

And To Explain Better
Quote:
GC.MyChar.AddItem(201009, 6); //Fan
The Violet Number is the n+ (here it's +6)
, Orange Number Is The Item Id In Items.txt , here it' a Super heaven fan +6


Now Go To OldCODB> NPCs.txt

and Add
Quote:
300006 4566 2 0 1002 450 350
Violet Number Is The Map Id
1002=twin city
1036=market

red numbers is the location written at the top of the window of Conquer (XXX,YYY)


And For (Bound) Items, They Have Their Own Ids, so find how to add Bound Items and Replace The Orange numbers Below, i guess it's like creating a new item with (Bound) in the last of hes name, and then go some where & put that this item's Id in Unable To Trade, and You're Done

Example
Quote:
XXXXX IronHelmet(Bound) 21 0 15 0 0 0 0 0 0 0 150 0 0 0 3 0 0 0 0 3899 3899 0 0 0 0 0 0 0 0 1 1000 0 0 0 0 Warrior`sHelmet This~Item~Is~Unable~To~Trade 5
and then you put A C# Code THat Makes This Item Really Unable o Trade

Sorry Idk how, but ask good Coders you'll Find How
Pro4Never2 is offline  
Old 03/05/2011, 09:12   #3
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
Quote:
Originally Posted by Pro4Never2 View Post
Here You Are
PHP Code:
#region ConquerSx FreeItems1
                            
case 300006:
                                {
                                    if (
Control == 0)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Welcome i will give you free stuff"));
                                        
GC.AddSend(Packets.NPCLink("Yes I Want"1));
                                        
GC.AddSend(Packets.NPCLink("Put Them In Your Butt"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (
Control == 1)
                                    {
                                        
GC.AddSend(Packets.NPCSay("I can gift you with some gear of specified profesion"));
                                        
GC.AddSend(Packets.NPCLink("FireTao L70 pack"2));
                                        
GC.AddSend(Packets.NPCLink("Fruits"3));
                                        
GC.AddSend(Packets.NPCLink("Warrior L70 pack"4));
                                        
GC.AddSend(Packets.NPCLink("Trojan L70 pack"5));
                                        
GC.AddSend(Packets.NPCLink("Archer L70 pack"6));
                                        
GC.AddSend(Packets.NPCLink("Ninja L70 pack"7));
                                        
GC.AddSend(Packets.NPCLink("Weps pack L70"8));
                                        
GC.AddSend(Packets.NPCLink("No, thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(15));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    else if (
GC.MyChar.Level <= 69)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Welcome to the Conquer-Sx, we sell special items here that you cant find anywere else!! But ur not have lvl 70 yet!"));
                                        
GC.AddSend(Packets.NPCLink("Damn."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    if (
Control == 2)
                                    {


                                        
GC.MyChar.AddItem(130113); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1521296); //brac
                                        
GC.MyChar.AddItem(1211296); //Bag
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }
                                    if (
Control == 3)
                                    {
                                        
GC.MyChar.AddItem(723725); //fuit
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    if (
Control == 4)
                                    {
                                        
GC.MyChar.AddItem(1310696); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 5)
                                    {
                                        
GC.MyChar.AddItem(1300696); //Robe
                                        
GC.MyChar.AddItem(1300696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 6)
                                    {
                                        
GC.MyChar.AddItem(1330496); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 7)
                                    {
                                        
GC.MyChar.AddItem(1350696); //Robe
                                        
GC.MyChar.AddItem(1120696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }
                                    else if (
Control == 8)
                                    {
                                        
GC.MyChar.AddItem(4211396); //BS
                                        
GC.MyChar.AddItem(4201396); //S
                                        
GC.MyChar.AddItem(4101396); //B
                                        
GC.MyChar.AddItem(4801396); //C
                                        
GC.MyChar.AddItem(5611396); //W
                                        
GC.MyChar.AddItem(5601396); //SP
                                        
GC.MyChar.AddItem(6011396); //k
                                        
GC.MyChar.AddItem(5001296); //Bo
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }

                                    break;
                                }
                            
#endregion 

And To Explain Better
The Violet Number is the n+ (here it's +6)
, Orange Number Is The Item Id In Items.txt , here it' a Super heaven fan +6


Now Go To OldCODB> NPCs.txt

and Add
Violet Number Is The Map Id
1002=twin city
1036=market

red numbers is the location written at the top of the window of Conquer (XXX,YYY)


And For (Bound) Items, They Have Their Own Ids, so find how to add Bound Items and Replace The Orange numbers Below
In a moment I thought that You Learnt How to make NPCs, But Then Again, Conquer-sx NPC
Iron~Man is offline  
Old 03/05/2011, 09:23   #4
 
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
at least i tryied to help ^^, in a month ago, i was only requesting & requesting, and yeah i can make one, but why i do and i already have it

PS: I like your Avatar Picture lmao
Pro4Never2 is offline  
Old 03/05/2011, 21:11   #5
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 992
Received Thanks: 1,110
to have the bound items working you gota have the right item packet which called AddItem in your source (I guess).

Quote:
Packet
UID
ID
Dura
MaxDura
1
Position
Talis'Progress
RBeffect
1soc
2soc
Plus
Bless
Free// if the item is a free item the byte must = 1 and the client well handle it else its = 0
etc
etc
damn i dont feel like typing now so i guess thats enough to understand

Edit..

allright lets see

To have the player taking the item just one time you go to the character.cs and search for void character or you can look for a bool that called mining or Lottery
right under that place this

Quote:
public int FreeItemIsTaken = 0;
and than go to the npc that you made and right before you add the item to the player inventory do something like
Quote:
if (Player.FreeItemIsTaken == 0)
{
GC.MyChar.FreeItemIsTaken = 1;
Add the item
NPC Code here like there you go w/e
}
else {Get lost or w/e}
and than to save that add a new field to your characters table and name it whatever you want and its value is INT
and than go to your Savechar void

and look at it keep looking at it are you looking at it lol yeah but you gota understand how it works so you can save what you did lol Orrr you can create a small cmd command to save that .
IE.
Quote:
if the field Name = FreeItem
cmd.Insert("FreeItem", Player.FreeItemIsTaken)

and at the load you Can go to the loadchar void and do something like
Player.FreeItemIsTaken = CMD.ReadUint("FreeItem");
shit ok im done that was just a 1 way you can get it done but for sure there is alot more ways to do it
DONT ..copy paste what i typed here cus its not gonna work .
Good Luck
{ Angelius } is offline  
Old 03/06/2011, 04:52   #6
 
elite*gold: 0
Join Date: Feb 2011
Posts: 25
Received Thanks: 3
Quote:
Originally Posted by Pro4Never2 View Post
Here You Are
PHP Code:
#region ConquerSx FreeItems1
                            
case 300006:
                                {
                                    if (
Control == 0)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Welcome i will give you free stuff"));
                                        
GC.AddSend(Packets.NPCLink("Yes I Want"1));
                                        
GC.AddSend(Packets.NPCLink("Put Them In Your Butt"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (
Control == 1)
                                    {
                                        
GC.AddSend(Packets.NPCSay("I can gift you with some gear of specified profesion"));
                                        
GC.AddSend(Packets.NPCLink("FireTao L70 pack"2));
                                        
GC.AddSend(Packets.NPCLink("Fruits"3));
                                        
GC.AddSend(Packets.NPCLink("Warrior L70 pack"4));
                                        
GC.AddSend(Packets.NPCLink("Trojan L70 pack"5));
                                        
GC.AddSend(Packets.NPCLink("Archer L70 pack"6));
                                        
GC.AddSend(Packets.NPCLink("Ninja L70 pack"7));
                                        
GC.AddSend(Packets.NPCLink("Weps pack L70"8));
                                        
GC.AddSend(Packets.NPCLink("No, thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(15));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    else if (
GC.MyChar.Level <= 69)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Welcome to the Conquer-Sx, we sell special items here that you cant find anywere else!! But ur not have lvl 70 yet!"));
                                        
GC.AddSend(Packets.NPCLink("Damn."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    if (
Control == 2)
                                    {


                                        
GC.MyChar.AddItem(130113); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1521296); //brac
                                        
GC.MyChar.AddItem(1211296); //Bag
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }
                                    if (
Control == 3)
                                    {
                                        
GC.MyChar.AddItem(723725); //fuit
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }

                                    if (
Control == 4)
                                    {
                                        
GC.MyChar.AddItem(1310696); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 5)
                                    {
                                        
GC.MyChar.AddItem(1300696); //Robe
                                        
GC.MyChar.AddItem(1300696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 6)
                                    {
                                        
GC.MyChar.AddItem(1330496); //Robe
                                        
GC.MyChar.AddItem(1170696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (
Control == 7)
                                    {
                                        
GC.MyChar.AddItem(1350696); //Robe
                                        
GC.MyChar.AddItem(1120696); //Earring
                                        
GC.MyChar.AddItem(1201296); //Neck
                                        
GC.MyChar.AddItem(1501396); //Ring
                                        
GC.MyChar.AddItem(1601396); //boots
                                        
GC.MyChar.AddItem(2020096); //Star
                                        
GC.MyChar.AddItem(2010096); //Fan
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }
                                    else if (
Control == 8)
                                    {
                                        
GC.MyChar.AddItem(4211396); //BS
                                        
GC.MyChar.AddItem(4201396); //S
                                        
GC.MyChar.AddItem(4101396); //B
                                        
GC.MyChar.AddItem(4801396); //C
                                        
GC.MyChar.AddItem(5611396); //W
                                        
GC.MyChar.AddItem(5601396); //SP
                                        
GC.MyChar.AddItem(6011396); //k
                                        
GC.MyChar.AddItem(5001296); //Bo
                                        
GC.AddSend(Packets.NPCSay("Here you are."));
                                        
GC.AddSend(Packets.NPCLink("Thanks."255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());

                                    }

                                    break;
                                }
                            
#endregion 

And To Explain Better
The Violet Number is the n+ (here it's +6)
, Orange Number Is The Item Id In Items.txt , here it' a Super heaven fan +6


Now Go To OldCODB> NPCs.txt

and Add
Violet Number Is The Map Id
1002=twin city
1036=market

red numbers is the location written at the top of the window of Conquer (XXX,YYY)

I know this part lol. i'm asking how u only can claim that gift or prize once.
Example
Quote:
NPC ask player : You want free gift?
Player: Yes.
Add those item to his inv.
Next time he want to claim again, the NPC say : You already claim the prize.
neverhere is offline  
Reply


Similar Threads Similar Threads
Hi I need 5165 source act like Real Co 5165
09/15/2010 - CO2 Private Server - 4 Replies
I need a A source 5165 that all skills is available specially rb char like nin-nin-nin counterKill and nin-war-nin reflect and more, and also the attack rates should be fair not like +8 set can 1 hit +12 set, and also maybe the client, I need to study to make it in 5200+ source. I love to trade it with my cofarmer account VIP i have use it for 5 days only. PM or contact me in skype :marlyandedsel
[5165] NPC help
04/24/2010 - CO2 Private Server - 8 Replies
I've tried following a guide http://www.elitepvpers.com/forum/co2-pserver-guides -releases/492901-release-how-code-decent-npc-npcs- txt-entry.html The NPC shows up on the map but doesn't say anything that im trying to get it to say, can someone help me out? Trying to get it to sell MoonBoxs so i can stop haveing to changeing the Jobs for those testing stuff out for me on my server. NPCDialog NPCs.txt
[HELP] 5165
01/27/2010 - CO2 Private Server - 1 Replies
Hey guys, im having trouble putting my server up, it gives me this error when i try launch it, i dont know why, but someone help me please! http://yfrog.com/0j12150334p http://yfrog.com/0j12150334p
5165 DMG
01/25/2010 - CO2 Private Server - 3 Replies
For all ppl the damage calculation in source 5165 is corect but is not finished .. to be more exactliy are 2 things that re missing from real co u all forget that 1st reborn get at lvl 70 ,30% more natural defence 2nd reborn get at lvl 70 ,30% more natural defence based on this u ppl can make chek if attaker is rb or nonrb and damage taker is rb or nonrb, dmg calculation or if not u can change the dmg take in attack.cs and skill.cs calculation and it will not make the diference it will...
[Help] 5165
12/15/2009 - CO2 Private Server - 5 Replies
Fixed



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


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.