Register for your free account! | Forgot your password?

You last visited: Today at 01:28

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


Santa NPC

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
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 437
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
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 437
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
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 437
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
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 437
Did you build the solution or Debug it?
raidenx123 is offline  
Old 08/09/2009, 23:51   #9
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
F5,debug


danielachraf is offline  
Reply



« Hey | Novo Server Versão 5065 »

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.jpg 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 - SRO Main - Discussions / Questions - 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 01:28.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.