just change it to NewestCOServer or the namespace you use in your project...
No, it should be in PacketHandling... try this full code..
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace NewestCOServer.PacketHandling
{
class CoolEffect
{
public static void ActiveCool(Main.GameClient MyClient)
{
byte counter = 0;
for (byte i = 1; i < 9; i++)
{
if (i == 7) i++;
Game.Item I = MyClient.MyChar.Equips.Get(i);
if (I.ID != 0)
{
Game.ItemIDManipulation Q = new NewestCOServer.Game.ItemIDManipulation(I.ID);
if (Q.Quality == Game.Item.ItemQuality.Super)
counter += 1;
}
}
if (MyClient.MyChar.Job >= 100)
if (counter == 6)
counter = 7;
if (MyClient.MyChar.Job >= 40 && MyClient.MyChar.Job <= 45)
if (counter == 6)
{
Game.Item I = MyClient.MyChar.Equips.Get(5);
I.ID = MyClient.MyChar.Equips.LeftHand.ID;
if (I.ID == 0)
counter = 7;
}
new Thread(delegate()
{
foreach (Game.Character CC in Game.World.H_Chars.Values)
{
if (CC.Loc.Map == MyClient.MyChar.Loc.Map && MyMath.InBox(MyClient.MyChar.Loc.X, MyClient.MyChar.Loc.Y, CC.Loc.X, CC.Loc.Y, 100))
{
if (counter == 7)
{
if (MyClient.MyChar.Job >= 10 && MyClient.MyChar.Job <= 15)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "warrior"));
else if (MyClient.MyChar.Job >= 20 && MyClient.MyChar.Job <= 25)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "fighter"));
else if (MyClient.MyChar.Job >= 100)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "taoist"));
else if (MyClient.MyChar.Job >= 39 && MyClient.MyChar.Job <= 46)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "archer"));
else if (MyClient.MyChar.Job >= 50 && MyClient.MyChar.Job <= 55)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "Ninja120"));
}
else
{
if (MyClient.MyChar.Job >= 10 && MyClient.MyChar.Job <= 15)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "warrior-s"));
else if (MyClient.MyChar.Job >= 20 && MyClient.MyChar.Job <= 25)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "fighter-s"));
else if (MyClient.MyChar.Job >= 100)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "taoist-s"));
else if (MyClient.MyChar.Job >= 39 && MyClient.MyChar.Job <= 46)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "archer-s"));
else if (MyClient.MyChar.Job >= 50 && MyClient.MyChar.Job <= 55)
CC.MyClient.AddSend(Packets.String(MyClient.MyChar.EntityID, 10, "Ninja120"));
}
}
MyClient.MyChar.Action = 100;
}
}).Start();
}
}
}
Quote:
Originally Posted by .Arco
Try packethandling.
Ok, I will later- I'm going to class now. I'll tell you if it works. If you are are quite sure it will work then it probably will. I'm starting to remember seeing Thread in Packethandling now too.
[Release]Hochzeits Q update 09/10/2010 - Metin2 PServer Guides & Strategies - 46 Replies so da ich gerne einen weiblichen char zocke ...
meine frau aber auch logischerweise
hab ich mir überlegt die geschlechter prüfung rauszunehmen
somit ist es nun möglich das 2 frauen oder männer heiraten !!!
habs eben getestet
http://kamatya.bplaced.net/marriage_manage.quest
[Fun Release] C&F Size Update 05/09/2010 - S4 League Hacks, Bots, Cheats & Exploits - 43 Replies The update!, All in one! :awesome:
Failplaya, you're doing it wrong...
-> Virus Check! <-
Att.
ZeroTheAprendice
[Release]Updated CRC for new update (5.2.7) 12/01/2009 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 5 Replies HEY GUYS HERE IS NEW UPDATED CRC FOR NEW UPDATE ENJOY HAKING :)
RapidShare: 1-CLICK Web hosting - Easy Filehosting
[RELEASE] mp hack (no need to update) 11/17/2009 - Grand Chase Hacks, Bots, Cheats & Exploits - 7 Replies same procedure of placing .kom files
if you have problem on how to use this... Go to the tut....
it took me a month to modify this....
FAQ:
1. does this work even after every patch? YES
[Update/Release] PazeCO v2.. 10/25/2009 - CO2 PServer Guides & Releases - 19 Replies Guys, i found my missing Latest update of my PazeCO v2...as i said, my last
post about pazeCO wasn't my latest....checked this out...
Sorry for spamming....but am i spamming? hehehe BTW here DL it...
Good luck...
Remember Please:
Like: Press +Thanks