Register for your free account! | Forgot your password?

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

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

Advertisement



[Help][NCS]Etheral Not Adding Bless to Headgear

Discussion on [Help][NCS]Etheral Not Adding Bless to Headgear within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
[Help][NCS]Etheral Not Adding Bless to Headgear

Hello,

I need a solution for one of my NPCs... Ethereal
All the other options in his menu to bless things like boots armor... exc.. work
But the headgear option just simply doesn't work...
I've tried to figure out what is wrong with the code but I just can't figure it out.

If someone would help me fix this issue I would greatly appreciate it.

Here is the code I use now

I use NewestCoServer version 5165 that I've updated to work with SQL if it matters
.Ocularis is offline  
Old 01/24/2010, 19:11   #2
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
Never mind! I got it fixed... I don't even know how I could have missed such a simple problem...
.Ocularis is offline  
Old 02/01/2010, 02:30   #3
 
elite*gold: 0
Join Date: May 2008
Posts: 66
Received Thanks: 2
how did u fix this?

send me a private message with ur solution cuz there are tens of thousands of posts on this forum
dillhack is offline  
Old 02/01/2010, 09:20   #4
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
is easy lool

Quote:
#region Ethereal
case 35015:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("I can set your itens bless, for some tortoise gens super."));
GC.AddSend(Packets.NPCLink("I want upgrade it.", 9));
GC.AddSend(Packets.NPCLink("Just passing by.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.Agreed = false;
}
else if (Control == 9)
{
GC.AddSend(Packets.NPCSay("Choose the equipment you want to set bless."));
GC.AddSend(Packets.NPCLink("Headgear", 1));
GC.AddSend(Packets.NPCLink("Necklace/Bag", 2));
GC.AddSend(Packets.NPCLink("Armor", 3));
GC.AddSend(Packets.NPCLink("Weapon", 4));
GC.AddSend(Packets.NPCLink("Shield", 5));
GC.AddSend(Packets.NPCLink("Ring", 6));
GC.AddSend(Packets.NPCLink("Boots", 8));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control >= 1 && Control <= 8)
{
Game.Item I = GC.MyChar.Equips.Get((byte)(Control));
if (I.Bless != 7)
{
byte TortoiseNeed = 0;
if (I.Bless == 0)
TortoiseNeed = 5;
else if (I.Bless == 1)
TortoiseNeed = 1;
else if (I.Bless == 3)
TortoiseNeed = 3;
else if (I.Bless == 5)
TortoiseNeed = 5;

if (!GC.Agreed)
{
GC.AddSend(Packets.NPCSay("You need " + TortoiseNeed + " Super Tortoises to upgrade. Do you want it?"));
GC.AddSend(Packets.NPCSay("Your item current bless is " + I.Bless + "."));
if (I.Bless !=0)
GC.AddSend(Packets.NPCSay("It will be " + (I.Bless + 2) + "."));
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(700073, TortoiseNeed))
{
GC.MyChar.EquipStats((byte)(Control), false);
for (byte i = 0; i < TortoiseNeed; i++)
GC.MyChar.RemoveItem(GC.MyChar.NextItem(700073));
if (I.Bless == 0)
I.Bless = 1;
else
I.Bless += 2;
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 Tortoise Gems."));
GC.AddSend(Packets.NPCLink("I see.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
else
{
GC.AddSend(Packets.NPCSay("You cannot upgrade an item's bless which is already at maximum."));
GC.AddSend(Packets.NPCLink("I see", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
ramix is offline  
Old 02/01/2010, 09:51   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
He already fixed he said.
Arcо is offline  
Old 02/01/2010, 11:48   #6
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
i know is for dillhack
ramix is offline  
Old 02/01/2010, 16:44   #7
 
elite*gold: 0
Join Date: Aug 2005
Posts: 96
Received Thanks: 25
Your Welcome
HardNotTo is offline  
Reply


Similar Threads Similar Threads
[Help] Bless
07/26/2009 - CO2 Private Server - 1 Replies
Can someone help me on how to make my reflect work? After i got 2nd rb i didnt get a bless skill. Please help me. Thanks.
God BLESS that guy
05/17/2009 - Archlord - 14 Replies
Just wanna say God BLESS guy who hacked half of Al servers in this past few days....:):handsdown: Gooo man ...R you guys with me?:rolleyes:
30 Day Bless
01/19/2009 - Conquer Online 2 - 3 Replies
If you do NO hand lvling at all from lvl 1, after 30 days, what lvl would u b at?
Bless Help please
01/16/2009 - CO2 Programming - 0 Replies
heys guys, another quick question... on my server ive got rb 1 and 2 working + guards, but how can i get teh skill bless working when i 2nd rb it doesn't give me the skill??? please help guys...
Adding Bless Skill Error?
11/18/2008 - CO2 Private Server - 24 Replies
Ok this is the guide I used... http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/177521-release-bless-skill-luckyt ime.html My problem with it is when I'm in game I use the skill right then it says insufficient stamina when I don't have my stamina all the way so I charge it then I do it again... It says "Target is too far away" So.... I go to a monster then do it then it doesn't work obviously!!!... That's my problem The only thing I did different in the guide is that...



All times are GMT +1. The time now is 05:19.


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.