#region Item Socket
case 550:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("It's a chaotic world... rich steal from poor... bla bla bla. I am the great item socketer."));
GC.AddSend(Packets.NPCSay("It will cost you 18 DragonBalls to create the first socket."));
GC.AddSend(Packets.NPCSay("The second one will cost you 7 Tough Drills."));
GC.AddSend(Packets.NPCLink("I want to create a first socket.", 1));
GC.AddSend(Packets.NPCLink("I want to create a second socket.", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1 || Control == 2)
{
if (Control == 1)
GC.AddSend(Packets.NPCSay("Prepare 18 DragonBalls for the socket and choose the equipment you want the socket to be created in."));
else
GC.AddSend(Packets.NPCSay("Prepare 7 Tough Drills the socket and choose the equipment you want the socket to be created in."));
GC.AddSend(Packets.NPCSay("Congratulations! You now have the first socket in your equipment."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You don't have the materials."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("The item already has the first socket."));
GC.AddSend(Packets.NPCLink("Oh, right.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else if (Control > 200 && Control <= 203 || Control == 205 || Control == 206 || Control == 208)
{
byte Pos = (byte)(Control - 200);
Game.Item Eq = GC.MyChar.Equips.Get(Pos);
if (Eq.Soc1 != NewestCOServer.Game.Item.Gem.NoSocket)
{
if (Eq.Soc2 == NewestCOServer.Game.Item.Gem.NoSocket)
{
if (GC.MyChar.Silvers >= 1000000 && GC.MyChar.InventoryContains(1200005, 5))
{
GC.MyChar.EquipStats(Pos, false);
for (byte i = 0; i < 7; i++)
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1200005));
GC.MyChar.Silvers -= 1000000;
Eq.Soc2 = NewestCOServer.Game.Item.Gem.EmptySocket;
GC.MyChar.Equips.Replace(Pos, Eq, GC.MyChar);
GC.MyChar.EquipStats(Pos, true);
GC.AddSend(Packets.NPCSay("Congratulations! You now have the second socket in your equipment."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You don't have the materials."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("The item already has the second socket."));
GC.AddSend(Packets.NPCLink("Oh, right.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
else
{
GC.AddSend(Packets.NPCSay("You first need the first socket done. Then i can make the second one."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
but how do I make it so it doesn't need money to upgrade?
I already tried other npc's but it still stays this one how can I change it?
[Suche] Komplette item.eix/epk, icon.eix/epk, item proto und item list 12/25/2010 - Metin2 Private Server - 6 Replies Hey =)
Wie die Überschrift schon sagt, suche ich eine komplette item.eix/epk, icon.eix/epk, item proto und item list am liebsten noch von den Waffen von .darki und den ganzen neuen Rüstungen/Schilden/Helmen, da ich überhaupt nicht weiß wie man dass zB mit der item proto macht und wenn ich sie einfach nur ersetze, wie zB durch die "Waffen" item proto von .darki sind die ganzen neuen Rüstungen weg ....
Ich hoffe irgendjemand könnte das machen, weil es bestimmt nicht nur für mich hilfreich ist...
How socker? 11/21/2006 - Conquer Online 2 - 1 Replies Hello would everyone, I like to know how to make for socker the objects please? :cry: