Register for your free account! | Forgot your password?

You last visited: Today at 06:23

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

Advertisement



Santa NPC

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
Question Santa NPC

Hey this Santa NPC gives full +12 items, how can I change it to give +6s instead?
blade911 is offline  
Old 08/09/2009, 17:58   #2
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
Code:
if (CurrentNPC == 790)
                            {
                                if (Control == 1)
                                {
                                    SendPacket(General.MyPackets.NPCSay("You sure you want Trojan Items?"));
                                    SendPacket(General.MyPackets.NPCLink("Yes please.", 5));
                                    SendPacket(General.MyPackets.NPCLink("Not,Good Bye.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 5)
                                {
                                    MyChar.AddItem("135999-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//ConquestArmor
                                    MyChar.AddItem("410339-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
                                    MyChar.AddItem("410339-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
                                    MyChar.AddItem("120249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Neck
                                    MyChar.AddItem("150249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Ring
                                    MyChar.AddItem("160249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bota
                                    MyChar.AddItem("112389-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Coronet
                                    MyChar.AddItem("117399-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Brinco

                                }
                                if (Control == 2)
                                {
                                    SendPacket(General.MyPackets.NPCSay("You sure you want to Warrior Items?"));
                                    SendPacket(General.MyPackets.NPCLink("Yes please.", 6));
                                    SendPacket(General.MyPackets.NPCLink("Not,Good Bye.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 6)
                                {
                                    MyChar.AddItem("136999-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//PhoenixArmor
                                    MyChar.AddItem("410339-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
                                    MyChar.AddItem("900399-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Fire Shield
                                    MyChar.AddItem("120249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Neck
                                    MyChar.AddItem("150249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Ring
                                    MyChar.AddItem("160249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bota
                                    MyChar.AddItem("112919-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Helmet
                                    MyChar.AddItem("117399-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Brinco
                                }
                                if (Control == 3)
                                {
                                    SendPacket(General.MyPackets.NPCSay("You sure you want to Fire Items?"));
                                    SendPacket(General.MyPackets.NPCLink("Yes please.", 7));
                                    SendPacket(General.MyPackets.NPCLink("Not,Good Bye.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 7)
                                {
                                    MyChar.AddItem("139999-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Robe
                                    MyChar.AddItem("421339-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//BlackSword
                                    MyChar.AddItem("152259-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//bracelet
                                    MyChar.AddItem("121249-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bag
                                    MyChar.AddItem("160249-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bota
                                    MyChar.AddItem("112949-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Cap
                                    MyChar.AddItem("117399-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Brinco
                                }
                                if (Control == 4)
                                {
                                    SendPacket(General.MyPackets.NPCSay("You sure you want to Water Items?"));
                                    SendPacket(General.MyPackets.NPCLink("Yes please.", 8));
                                    SendPacket(General.MyPackets.NPCLink("Not,Good Bye.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 8)
                                {
                                    MyChar.AddItem("139999-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Robe
                                    MyChar.AddItem("421339-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//BlackSword
                                    MyChar.AddItem("152259-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//bracelet
                                    MyChar.AddItem("121249-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bag
                                    MyChar.AddItem("160249-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bota
                                    MyChar.AddItem("112949-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Cap
                                    MyChar.AddItem("117399-6-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Brinco
                                }
                                if (Control == 9)
                                {
                                    SendPacket(General.MyPackets.NPCSay("You sure you want to Archer Items?"));
                                    SendPacket(General.MyPackets.NPCLink("Yes please.", 10));
                                    SendPacket(General.MyPackets.NPCLink("Not,Good Bye.", 255));
                                    SendPacket(General.MyPackets.NPCSetFace(30));
                                    SendPacket(General.MyPackets.NPCFinish());
                                }
                                if (Control == 10)
                                {
                                    MyChar.AddItem("138999-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Coat
                                    MyChar.AddItem("500329-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bow
                                    MyChar.AddItem("120249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Neck
                                    MyChar.AddItem("150249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Ring
                                    MyChar.AddItem("160249-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bota
                                    MyChar.AddItem("112939-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Cap
                                    MyChar.AddItem("117399-6-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Brinco

                                }
                            }
raidenx123 is offline  
Thanks
1 User
Old 08/09/2009, 18:00   #3
 
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
Replace all of what I had with this?
blade911 is offline  
Old 08/09/2009, 18:01   #4
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
Only the Controls.
raidenx123 is offline  
Thanks
1 User
Old 08/09/2009, 18:16   #5
 
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
Okay thanks.
blade911 is offline  
Old 08/09/2009, 21:18   #6
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
If you wanted to do this by yourself change:
Code:
MyChar.AddItem("135999-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//ConquestArmor
MyChar.AddItem("410339-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
To:
Code:
MyChar.AddItem("135999-[B]6[/B]-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//ConquestArmor
MyChar.AddItem("410339-[B]6[/B]-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
raidenx123 is offline  
Old 08/09/2009, 21:35   #7
 
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
Quote:
Originally Posted by raidenx123 View Post
If you wanted to do this by yourself change:
Code:
MyChar.AddItem("135999-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//ConquestArmor
MyChar.AddItem("410339-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
To:
Code:
MyChar.AddItem("135999-[B]6[/B]-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//ConquestArmor
MyChar.AddItem("410339-[B]6[/B]-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
Yeh, that's what I did but the NPC still gives +12 idk why.
blade911 is offline  
Old 08/09/2009, 21:36   #8
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 441
Did you build the solution or Debug it?
raidenx123 is offline  
Old 08/09/2009, 23:51   #9
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
F5,debug
danielachraf is offline  
Reply


Similar Threads Similar Threads
Santa hat
11/26/2009 - CO2 Weapon, Armor, Effects & Interface edits - 0 Replies
Can anyone tell me the DDS file for the christmas cap? thanks :)
[Release]Santa TQ
07/03/2009 - CO2 PServer Guides & Releases - 3 Replies
Hey ppl new release of my nice releases :P Santa and he will give u super free items lvl 70 have fun with it http://img12.imageshack.us/img12/5636/2375636.jpg http://img399.imageshack.us/img399/6660/2358259.j pg http://img40.imageshack.us/img40/904/2368115.jpg
Santa?ID?
12/22/2008 - Lineage 2 - 0 Replies
Knows any one the l2w ID of Santa's Helper and can share it with us??
TRADE ITEMS + ALL SANTA FOR SANTA SET MALE BLUE
02/23/2008 - Silkroad Online - 4 Replies
HI I GOT HACKED I DONT HAVE ANY MONEY... I REALLY WANT TO HAVE SANTA SET... I TRADE SANTA MUFFLER MALE BLUE+SANTA HAT MALE BLUE+SANTA GLOVES MALE BLUE+ CHEST ARMOR MALE D5 SOS+ HANDS ARMOR MALE D4 SOS+ LEGS ARMOR MALE D4 SOS+ CASQUE LV45+2 5 BLUES+ STR TAB D8+SET ARMOR MALE D3 SOS (NOT SHOULDERS)+ EARINGS CHINA 54+3+ SET D1 SOS+1,3MIL (CHEST SOM) PM ME PLZ Note: I WANT SANTA SET MALE BLUE NOT RED THX Char:CyBer_ Server:Aege i dont know if this is forbidden but if it is i will remove...
Santa .MRS?
07/14/2006 - GunZ - 0 Replies
Hey, long time ago I had a IGunZ Premium hack, it had the girls santa suit which was really cool!! I was wondering if anyone had it still, it's a .mrs ... If you do please post!!



All times are GMT +1. The time now is 06:24.


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.