Pro Pack NPC{1st Release}

12/31/2008 20:31 Fz1337#1
it lets the GMs/PHs go and do /scroll home where they can go to there base place and get a pro pack, which is fully made items so they dont have to use all those commands ==]]

Starting off go to Client.cs

Search for

Quote:
if (Splitter[1] == "tc")
{
MyChar.Teleport(1002, 431, 379);
}
and under that add

Quote:
if (Splitter[1] == "home")
{
MyChar.Teleport(1010, 61, 109);
}

then search for
Quote:
if (CurrentNPC == 7500)
above it add

Quote:
if (CurrentNPC == 911)//Give items ProPack
{
SendPacket(General.MyPackets.NPCSay("Hi, Im Fz1337, what pro pack would you like?"));
SendPacket(General.MyPackets.NPCLink("Trojan Items", 1));
SendPacket(General.MyPackets.NPCLink("Warrior Items", 2));
SendPacket(General.MyPackets.NPCLink("Fire Items", 3));
SendPacket(General.MyPackets.NPCLink("Water Items", 4));
SendPacket(General.MyPackets.NPCLink("Archer Items", 9));
SendPacket(General.MyPackets.NPCLink("Good Bye.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}

then again search for

Quote:
if (CurrentNPC == 7500)
and under it add

Quote:
if (CurrentNPC == 911)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("You sure you want to Items Trojan?"));
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-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
MyChar.AddItem("410339-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
MyChar.AddItem("120249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Neck
MyChar.AddItem("150249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Ring
MyChar.AddItem("160249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bota
MyChar.AddItem("112389-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Coronet
MyChar.AddItem("117399-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Brinco

}
if (Control == 2)
{
SendPacket(General.MyPackets.NPCSay("You sure you want to Items Warrior?"));
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-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//PhoenixArmor
MyChar.AddItem("410339-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Sparks Blade
MyChar.AddItem("900399-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Fire Shield
MyChar.AddItem("120249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Neck
MyChar.AddItem("150249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Ring
MyChar.AddItem("160249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bota
MyChar.AddItem("112919-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Helmet
MyChar.AddItem("117399-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Brinco
}
if (Control == 3)
{
SendPacket(General.MyPackets.NPCSay("You sure you want to Items Fire?"));
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-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Robe
MyChar.AddItem("421339-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//BlackSword
MyChar.AddItem("152259-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//bracelet
MyChar.AddItem("121249-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bag
MyChar.AddItem("160249-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bota
MyChar.AddItem("112949-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Cap
MyChar.AddItem("117399-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Brinco
}
if (Control == 4)
{
SendPacket(General.MyPackets.NPCSay("You sure you want to Items Water?"));
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-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Robe
MyChar.AddItem("421339-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//BlackSword
MyChar.AddItem("152259-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//bracelet
MyChar.AddItem("121249-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bag
MyChar.AddItem("160249-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Bota
MyChar.AddItem("112949-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Cap
MyChar.AddItem("117399-12-7-255-3-3", 0, (uint)General.Rand.Next(346623472));//Brinco
}
if (Control == 9)
{
SendPacket(General.MyPackets.NPCSay("You sure you want to Items archer?"));
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-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Coat
MyChar.AddItem("500329-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bow
MyChar.AddItem("120249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Neck
MyChar.AddItem("150249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Ring
MyChar.AddItem("160249-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Bota
MyChar.AddItem("112939-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Cap
MyChar.AddItem("117399-12-7-255-13-13", 0, (uint)General.Rand.Next(346623472));//Brinco

}
}

now go to localhost/phpmyadmin ( MYSQL )

and add this NPC

( i would use the exact same MapId and Coords)

[Only registered and activated users can see links. Click Here To Register...]


now do /scroll home

and talk to pro pack
12/31/2008 20:37 ~Demented~#2
umm did u copy my npc?

if you did please put my credits in ur post <.< becouse it looks exactly like my npc but u just changed some shit :d

[Only registered and activated users can see links. Click Here To Register...]
12/31/2008 20:55 Fz1337#3
all done, sorry about that i didnt know which ones i got it off =]
12/31/2008 21:18 ~Demented~#4
i see :d
01/01/2009 02:45 felipeboladao#5
u copy my npc?

if you did please put my credits in ur post...

[Only registered and activated users can see links. Click Here To Register...]
01/01/2009 13:40 sherwin9#6
Is this called a Pro Pack NPC? Because i thought all npc's were included or something. Not just 2 simple npc's and those were also copied lol.
01/01/2009 15:33 ~Demented~#7
Quote:
Originally Posted by felipeboladao View Post
u copy my npc?

if you did please put my credits in ur post...

[Only registered and activated users can see links. Click Here To Register...]
ahahha he copyed us both :D
01/01/2009 16:34 Fz1337#8
i didnt copy your npc so dont flame it, i made it my self , i got the IDEA off you but not the codes
01/01/2009 16:49 sherwin9#9
Lol, the same npc id's?? Seems like copying. The same //itemname's??? even though the real maker wrote it different... You just copied it.... Man I hate ppl lieing
01/01/2009 18:04 tao4229#10
Quote:
Originally Posted by sherwin9 View Post
Lol, the same npc id's?? Seems like copying. The same //itemname's??? even though the real maker wrote it different... You just copied it.... Man I hate ppl lieing
Quote:
Originally Posted by sherwin9 View Post
Whahaa, i don't have a lag-free server, but I do have a server with HARDLY ANY lag. It has no bugs, all fixed, no roll backs, no crashes.. and it's already running for 2 days, no errors. 24 hours each day... So I guess there won't be problems in the future... And there is no lagg, so actually this is the server, except from having no webpage, but i think i'll just use the basic lotf registration page...
Quote:
Originally Posted by sherwin9 View Post
Yeah, the server is ok, everything is fixed, so now we need ideas for the server!!!
Quote:
Originally Posted by tao4229 View Post
K. I'm having fun on your server(because of course everything is fixed).

Level 5 warrior wearing level 15 super tao armor with 90m CPs and infinite superman.

Sounds like every thing's fixed to me!
I hate liars too!
01/01/2009 20:57 _Emme_#11
ROFLMAO FUCKING PWNED! TAO FOR LIFE
01/01/2009 23:53 sherwin9#12
Oh yeah well, I make mistakes as well, but hey, new year new chances ;) (though we're already in the new year) :D, Oh yeah and btw, by that I meant the loginfreeze etc.. And other bugs that occured at the console shit with exceptions
01/08/2009 14:39 TruthCo#13
sherwin woudlnt the NPC IDS ( type ) be the same and ITEM IDS ( type again and item ) be the same unless some how your stupid enough to put different items? dont be such a jerk..btw ur server sucks =]]

nice release Fz1337
01/09/2009 12:46 sherwin9#14
Wtf who are you and what is your problem??? Ehm... someone is calling me a jerk shouldn't that be a warning??? and saying my server sucks?? Well my server does suck, but i'm working on another one so yeah... Btw how well do you know coding???
01/10/2009 00:20 TruthCo#15
pretty well actually i can make alot of things but im learning, and apparently to alot of people my server is way better then yours ha, but i shut it down today, sources till rocking :D