Register for your free account! | Forgot your password?

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

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

Advertisement



help whit classpkenvoy

Discussion on help whit classpkenvoy within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
rockymiperro's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 95
Received Thanks: 2
help whit classpkenvoy

hel i need this code for 5375
public void UpdateHalo(bool ToScreen, bool SendOnly, bool ToRemove, Enums.StatusEffectEn OffSet)
{
switch (EntityFlag)
{
case Game.EntityFlag.Player:
if (OffSet != Enums.StatusEffectEn.Normal)
{
if (!SendOnly && !ToRemove && !_Status.ContainsBitValue((int)OffSet))
_Status.AddBitValue((int)OffSet);
else if (!SendOnly && ToRemove && _Status.ContainsBitValue((int)OffSet))
_Status.RemoveBitValue((int)OffSet);
}
byte[] Packet = new byte[60];
Writer.WriteUInt16(52, 0, Packet);
Writer.WriteUInt16(10017, 2, Packet);
Writer.WriteUInt32(UID, 4, Packet);
Writer.WriteUInt32(1, 8, Packet);
Writer.WriteUInt32(25, 12, Packet);
_Status.Write(Packet, 16);
if (ToScreen && !ToRemove) Owner.SendScreen(Packet, false);
else if (ToScreen && ToRemove) Owner.SendScreen(Packet, true);
else Owner.Send(Packet);
break;
case Game.EntityFlag.Monster:
if (OffSet != Enums.StatusEffectEn.Normal)
{
if (!SendOnly && !ToRemove && !_Status.ContainsBitValue((int)OffSet))
_Status.AddBitValue((int)OffSet);
else if (!SendOnly && ToRemove && _Status.ContainsBitValue((int)OffSet))
_Status.RemoveBitValue((int)OffSet);
}
byte[] Packet2 = new byte[60];
Writer.WriteUInt16(52, 0, Packet2);
Writer.WriteUInt16(10017, 2, Packet2);
Writer.WriteUInt32(UID, 4, Packet2);
Writer.WriteUInt32(1, 8, Packet2);
Writer.WriteUInt32(25, 12, Packet2);
_Status.Write(Packet2, 16);
MonsterInfo.SendScreen(Packet2);
break;
}
}

this code said _status done exist in the actual context anibody can help me?
rockymiperro is offline  
Old 06/07/2011, 05:29   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
You already asked this question in the release thread, so why make a new thread?
zTek is offline  
Old 06/07/2011, 07:12   #3
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Learn C# and do it yourself. LOLZ
thesamuraivega is offline  
Old 06/07/2011, 07:15   #4
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
search for:
Code:
public void SendScreen(Interfaces.IPacket Data)
        {
            Receivers.ClientState[] Chars = new Receivers.ClientState[ServerBase.Kernel.GamePool.Count];
            ServerBase.Kernel.GamePool.Values.CopyTo(Chars, 0);
            foreach (Receivers.ClientState C in Chars)
                if (C != null)
                    if (C.Entity != null)
                        if (Game.Calculations.PointDistance(X, Y, C.Entity.X, C.Entity.Y) <= 20)
                            C.Send(Data);
            Chars = null;

        }
then place the updatehalo void under it
coreymills is offline  
Old 06/07/2011, 16:20   #5
 
rockymiperro's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 95
Received Thanks: 2
Quote:
Originally Posted by thesamuraivega View Post
Learn C# and do it yourself. LOLZ
shup up lolz
rockymiperro is offline  
Reply


Similar Threads Similar Threads
[Release] 5370+ ClassPkEnvoy
06/27/2011 - CO2 PServer Guides & Releases - 31 Replies
okay so this is JUST the code, not the npc spawn. I wanted to share this with the public since I just got back yesterday and started working on this new 5300+ source everyone's been talking about :D. I have found out many new things about the source, but for now let's just get to the basics of the npc I converted. put these in your Dialogs.cs ClassPkEnvoy: #region ClassPKEnvoy case 3546: { if (npcRequest.OptionID == 0) ...
[Exclusive] New Data Base For ClassPkEnvoy .
12/25/2009 - CO2 PServer Guides & Releases - 4 Replies
In the name of God the Merciful I have made database called TQElgahed TQElgahed
i need the ClassPKenvoy Full Work For 5095 Binery
12/08/2009 - CO2 Private Server - 1 Replies
i need the ClassPKenvoy Full Work For 5095 Binery
[Request] ClassPKEnvoy
07/10/2009 - CO2 Private Server - 1 Replies
is there anyone knw ClassPKEnvoy lookface?:D
ClassPKEnvoy Wanted
06/24/2009 - CO2 Private Server - 13 Replies
Hi Everyone I'm Use Tq Binary Patch 5095 But I think i lost npc and can't find it i lost ClassPKEnvoy for Top Chare i think it's work at my patch cuz Top Guild Work Good But Top Chare Not Work Cuz i Don't Have This Npc



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


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.