if (CurrentNPC == 4008)
{
if (Status == 8)
{
SendPacket(General.MyPackets.NPCSay("Hello i give you Full sets of +12 -15 2 soc super gems. Which class do you want."));
SendPacket(General.MyPackets.NPCLink("Trojan.", 1));
SendPacket(General.MyPackets.NPCLink("Warrior.", 2));
SendPacket(General.MyPackets.NPCLink("Archer.", 3));
SendPacket(General.MyPackets.NPCLink("Taoist.", 4));
SendPacket(General.MyPackets.NPCLink("I dont need any, bye.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You ain't no GM"));
SendPacket(General.MyPackets.NPCLink("oh ok, bye", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
ok you have a few problems there you are doing the else for the controls so it wont read it at all....do the else for the status and if i was you i would do the else at the beginning for the main dialog so like... here...
Code:
if (CurrentNPC == 4008)
{
if (Status == 8)
{
SendPacket(General.MyPackets.NPCSay("Hello i give you Full sets of +12 -15 2 soc super gems. Which class do you want."));
SendPacket(General.MyPackets.NPCLink("Trojan.", 1));
SendPacket(General.MyPackets.NPCLink("Warrior.", 2));
SendPacket(General.MyPackets.NPCLink("Archer.", 3));
SendPacket(General.MyPackets.NPCLink("Taoist.", 4));
SendPacket(General.MyPackets.NPCLink("I dont need any, bye.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You ain't no PM!"));
SendPacket(General.MyPackets.NPCLink("SORRY!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
and that way you can take out all the if status == 8 and else or just fix the elses
ok you have a few problems there you are doing the else for the controls so it wont read it at all....do the else for the status and if i was you i would do the else at the beginning for the main dialog so like... here...
Code:
if (CurrentNPC == 4008)
{
if (Status == 8)
{
SendPacket(General.MyPackets.NPCSay("Hello i give you Full sets of +12 -15 2 soc super gems. Which class do you want."));
SendPacket(General.MyPackets.NPCLink("Trojan.", 1));
SendPacket(General.MyPackets.NPCLink("Warrior.", 2));
SendPacket(General.MyPackets.NPCLink("Archer.", 3));
SendPacket(General.MyPackets.NPCLink("Taoist.", 4));
SendPacket(General.MyPackets.NPCLink("I dont need any, bye.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
else
{
SendPacket(General.MyPackets.NPCSay("You ain't no PM!"));
SendPacket(General.MyPackets.NPCLink("SORRY!", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}
and that way you can take out all the if status == 8 and else or just fix the elses
Thanks,i only added the else and status when i was posting it =] i'll fix it
@2coolforu2 thanks =D
@pete could u help me with making it so u can only get one set of items once, because i made a similiar npc to this for normal players, and rite now they can get them over and over again
Thanks,i only added the else and status when i was posting it =] i'll fix it
@2coolforu2 thanks =D
@pete could u help me with making it so u can only get one set of items once, because i made a similiar npc to this for normal players, and rite now they can get them over and over again
[Release]Some Stuff 5165 o.o 12/29/2010 - CO2 PServer Guides & Releases - 16 Replies Hello Epvp ima release some stuff for the 5165 source :D
Here is some NPCs that is needed
9888 6330 2 67 1002 388 383
9881 6220 2 67 1006 38 34
5517 5830 1 67 1006 19 29
9883 3200 8 67 1006 19 27
[Release] Stuff I have found 08/23/2009 - S4 League Hacks, Bots, Cheats & Exploits - 22 Replies Might be something, might be nothing...
Come monday probably nothing for sure...
Should be Run, Jump, fumbi (buggy), SP (buggy), and master control (seems ok)
I have absolutely no idea if these will work or not... I wanted to test on both my computers, but can't because vista is being a fag >.>
if anyone wants to try these I'm grateful
if they do what they are suppose that is even better...
[Release] CoEmuv2 .. Stuff 08/03/2009 - CO2 PServer Guides & Releases - 5 Replies First Plz release all you can for coemu such as any items npcs skills what ever if it is not alredy released release it plz it will save us all lots of time.. and becaz no one seem no no how to dye armor black and stuff from a npc im Releaseign how and plz if someone can release to me the npc for socing items dont remember his name and Magic Artisan and the guy for upgrading item level and quality with mets a db's.. plz^^.. any way.
edit your database.cs update item code to this
...
BakaBug Stuff [Release] 10/06/2008 - Kal Online - 3 Replies http://bakabug.ultimate-sponsorring.de/
Für die leute die den alten bakabug stuff gebrauchen können sind nochn paar interessante sachen bei