Hello,
I want to make a NPC standing in TwinCity, he gives the player a Begginer Pack that contains whatever items I want to to be inside it, how can I make that?
First, I should make the NPC (in NPCDialog.cs)
#region npcname
case 1270:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Welcome to Conquer Online, I will give you a Begginer Pack to help you in your journey."));
GC.AddSend(Packets.NPCLink("Please give me.", 1);
GC.AddSend(Packets.NPCLink("No thanks, I don't need it.", 255);
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
And then, after that, how can I make the begginer pack, and make choose what items I want to be inside it?
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("WaterTao L70 pack", 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());
}
No, I want the begginer pack to contain what I want.
For example in level 5 it contains 50 CPs , 2 ExpBalls
In Level 10 it contains 60 CPs and 3 ExpPotions.
In Level 15 when I Right-Click it I get 100 CPs and Elite Armor....
#region npcname
case 1270:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Welcome to Conquer Online, I will give you a Begginer Pack to help you in your journey."));
GC.AddSend(Packets.NPCLink("Please give me.", 1);
GC.AddSend(Packets.NPCLink("No thanks, I don't need it.", 255);
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (option == 1)
{
if (GC.MyChar.Inventory.Count <= 39)
{
GC.MyChar.AddItem(723753);
OptionText("You Obtained a BegginerPack", GC);
OptionLink("Ok,Thanks you", 255, GC);
GC.SendPacket(Packets.NPCSetFace(N.Avatar));
GC.SendPacket(Packets.NPCFinish());
}
else
{
OptionText("Sorry you inventary is full", GC);
OptionLink("Ok,i see", 255, GC);
GC.SendPacket(Packets.NPCSetFace(N.Avatar));
GC.SendPacket(Packets.NPCFinish());
}
}
}
#endregion
Sx-Team Source (Here) 5165 the best source in the world 06/01/2011 - CO2 PServer Guides & Releases - 56 Replies that is my source and all file u will need it to make best server 5165 - it have all my released codes and all my updated work and all released work to another people edited good codes - so that source dont have error and have all u want in source
Client Files
5165 client : Conquer-SX
patch to run RaceSteeds : Conquer-Sx
Conquer.exe & Server.dat Working in 5165 CLient : Conquer-Sx
Source Files
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