Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 06:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



help with +13 to +15 talis npc.

Discussion on help with +13 to +15 talis npc. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Zack666's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 59
Received Thanks: 9
Question help with +13 to +15 talis npc.

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);

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
Zack666 is offline  
Old 01/22/2010, 06:44   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Code:
#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.
Arcо is offline  
Thanks
1 User
Old 02/09/2010, 01:34   #3
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
Thanks but i dont have +13 - +15 in my source...
salem rey is offline  
Old 02/09/2010, 02:52   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by salem rey View Post
Thanks but i dont have +13 - +15 in my source...
This isn't a release, he was asking for help on his code.
Arcо is offline  
Old 02/10/2010, 04:24   #5
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
hmm can you make me an npc that make +15 from my items to my horse?
salem rey is offline  
Reply


Similar Threads Similar Threads
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:
Soc your talis for free(StarTower&HeavenFan)
03/31/2009 - CO2 Bots & Macros - 235 Replies
*removed*
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



All times are GMT +1. The time now is 06:12.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.