well, i tryed to edit Hepatitis C npc for the above +12 item upgrade. but im not so great...i tryed this, and it doesnt work
Quote:
#region +13-15Talis
case 6666:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("I can make your Talis past +12. Would yo like my help?"));
GC.AddSend(Packets.NPCLink("Yeah", 250));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.Agreed = false;
}
else if (Control == 250)
{
GC.AddSend(Packets.NPCSay("Choose the equipment you want to plus."));
GC.AddSend(Packets.NPCLink("Fan", 1));
GC.AddSend(Packets.NPCLink("Tower", 2));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control >= 1 && Control <= 2)
{
Game.Item I = GC.MyChar.Equips.Get((byte)(Control));
if (I.Plus != 15)
{
byte YearBadgeNeed = 2;
if (I.Plus == 12)
YearBadgeNeed = 2;
else if (I.Plus == 13)
YearBadgeNeed = 3;
else if (I.Plus == 14)
YearBadgeNeed = 4;
if (!GC.Agreed)
{
GC.AddSend(Packets.NPCSay("You need " + YearBadgeNeed + " YearBadge to upgrade. Do you want it?"));
GC.AddSend(Packets.NPCLink("Yes.", Control));
GC.AddSend(Packets.NPCLink("Nevermind.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.Agreed = true;
}
else
{
GC.Agreed = false;
if (GC.MyChar.InventoryContains(710680, YearBadgeNeed))
{
GC.MyChar.EquipStats((byte)(Control), false);
for (byte i = 2; i < YearBadgeNeed; i++)
GC.MyChar.RemoveItem(GC.MyChar.NextItem(710680));
if (I.Plus == 12)
I.Plus = 13;
else
I.Plus += 0;
GC.MyChar.Equips.Replace((byte)(Control), I, GC.MyChar);
GC.MyChar.EquipStats((byte)(Control), true);
#region +13-15Talis
case 6666:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("I can make your Talis past +12. Would yo like my help?"));
GC.AddSend(Packets.NPCLink("Yeah", 250));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.Agreed = false;
}
else if (Control == 250)
{
GC.AddSend(Packets.NPCSay("Choose the equipment you want to plus."));
GC.AddSend(Packets.NPCLink("Fan", 10));
GC.AddSend(Packets.NPCLink("Tower", 11));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control >= 10 && Control <= 11)
{
Game.Item I = GC.MyChar.Equips.Get((byte)(Control));
if (I.Plus != 15)
{
byte YearBadgeNeed = 2;
if (I.Plus == 12)
YearBadgeNeed = 2;
else if (I.Plus == 13)
YearBadgeNeed = 3;
else if (I.Plus == 14)
YearBadgeNeed = 4;
if (!GC.Agreed)
{
GC.AddSend(Packets.NPCSay("You need " + YearBadgeNeed + " YearBadge to upgrade. Do you want it?"));
GC.AddSend(Packets.NPCLink("Yes.", Control));
GC.AddSend(Packets.NPCLink("Nevermind.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.Agreed = true;
}
else
{
GC.Agreed = false;
if (GC.MyChar.InventoryContains(710680, YearBadgeNeed))
{
GC.MyChar.EquipStats((byte)(Control), false);
for (byte i = 2; i < YearBadgeNeed; i++)
GC.MyChar.RemoveItem(GC.MyChar.NextItem(710680));
if (I.Plus == 12)
I.Plus = 13;
else
I.Plus += 0;
GC.MyChar.Equips.Replace((byte)(Control), I, GC.MyChar);
GC.MyChar.EquipStats((byte)(Control), true);
GC.AddSend(Packets.NPCSay("Here you are. It's done."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("You don't have enough YearBadge."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
}
break;
}
#endregion
That should work.
What was happening is the controls are acting as the item's position.
The HeavenFan's position according to the source is 10 and the StarTower's position is 11. So in order for this to work you need the controls to correspond to the positions.
Talis quest? 08/15/2010 - Conquer Online 2 - 5 Replies So is the unique or refined items quest still around so i can socket my tali?
Talis 04/23/2010 - Conquer Online 2 - 3 Replies I got some bound items super lvl 120 and I'd love to join it on my Fan,
but it says that I can't due to the level. Is it there any tool that ignores the level and make it able ?
Thankz
Free Items in Talis 09/19/2009 - Conquer Online 2 - 3 Replies Hey guys,
can someone of you perhaps create a programm to put free items in Talis. I really need it. I also have an old one...does this help me somehow??
Thx for yur help :bandit:
free item used to soc talis? 02/11/2009 - Conquer Online 2 - 1 Replies i know theres a hack for it... was told about it last night... has anyone made it on here or if anyone knows of a free one feel free to post the link xD