Register for your free account! | Forgot your password?

You last visited: Today at 11:58

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

Advertisement



Map Effect Packet

Discussion on Map Effect Packet within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
Map Effect Packet

Code:
Packet Nr 1150. Server -> Client, Length : 32, PacketType: 1101
18 00 4D 04 90 1F 0F 00 2C 03 00 00 B9 00 CC 00      ; M ,    
00 00 0B 00 00 00 00 00 54 51 53 65 72 76 65 72      ;       TQServer

0 Length 24
2 PacketID 1101
4 EffectUid
8 EffectID
12 X
14 Y
18 Type = 11

Someting Types

Code:
791 circles
759 pervadeEffect
746 well
794 FireWalk
812 EquipUpgrade
Attached Images
File Type: jpg 23485304.jpg (405.7 KB, 205 views)
File Type: jpg 23566985.jpg (442.6 KB, 157 views)
File Type: jpg 23613556.jpg (479.4 KB, 159 views)
File Type: jpg 23907730.jpg (483.6 KB, 174 views)
File Type: jpg 24471220.jpg (452.5 KB, 157 views)
teroareboss1 is online now  
Thanks
7 Users
Old 08/25/2011, 23:27   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Or... just use a string packet and instead of putting in an identity in offset 4, put in the x and y....
Spirited is offline  
Old 08/26/2011, 01:59   #3


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
That packet is use primarily for looting btw..
Korvacs is offline  
Old 08/26/2011, 19:32   #4
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Yea as Fang said i though the String packet would suit for this, didn't know there was a nother.
-Shunsui- is offline  
Old 08/26/2011, 19:40   #5
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by -Shunsui- View Post
Yea as Fang said i though the String packet would suit for this, didn't know there was a nother.
I knew that there was this method, but I also know that TQ uses the string packet for things like the arrow on the roof (in the Recruitment quest) and for the yellow dots on the floor that give u stuff at 8pm. This method isn't "wrong" because I'm sure TQ uses it for something- but I personally wouldn't use it because it has limited parameters.
Spirited is offline  
Old 08/27/2011, 02:59   #6
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
They look prettay coolay.
_DreadNought_ is offline  
Old 09/12/2011, 01:12   #7
 
Crazy_XX's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 97
Received Thanks: 4
Nice
Thanks
Crazy_XX is offline  
Old 09/16/2011, 21:07   #8
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
Tested and its pretty cool. They de-spawn when you go off screen, Easy enough to make it perm.

Packet Structured:
Code:
    public class MapEffectPacket : PacketBuilder
    {
        public const uint
            Circles = 791,
            PervadeEffect = 759,
            Well = 746,
            FireWalk = 794,
            EquipUpgrade = 821;

        byte[] Packet;

        public MapEffectPacket()
        {
            Packet = new byte[32];
            WriteUInt16(24, 0, Packet);
            WriteUInt16(1101, 2, Packet);
        }
        public uint UID
        {
            set { WriteUInt32(value, 4, Packet); }
        }
        public uint ID
        {
            set { WriteUInt32(value, 8, Packet); }
        }
        public ushort X
        {
            set { WriteUInt16(value, 12, Packet); }
        }
        public ushort Y
        {
            set { WriteUInt16(value, 14, Packet); }
        }
        public ushort Type
        {
            set { WriteUInt16(value, 18, Packet); }
        }
        public byte[] ToArray()
        {
            return Packet;
        }
    }
_DreadNought_ is offline  
Old 09/16/2011, 21:56   #9
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by _DreadNought_ View Post
Tested and its pretty cool. They de-spawn when you go off screen, Easy enough to make it perm.

Packet Structured:
Code:
    public class MapEffectPacket : PacketBuilder
    {
        public const uint
            Circles = 791,
            PervadeEffect = 759,
            Well = 746,
            FireWalk = 794,
            EquipUpgrade = 821;

        byte[] Packet;

        public MapEffectPacket()
        {
            Packet = new byte[32];
            WriteUInt16(24, 0, Packet);
            WriteUInt16(1101, 2, Packet);
        }
        public uint UID
        {
            set { WriteUInt32(value, 4, Packet); }
        }
        public uint ID
        {
            set { WriteUInt32(value, 8, Packet); }
        }
        public ushort X
        {
            set { WriteUInt16(value, 12, Packet); }
        }
        public ushort Y
        {
            set { WriteUInt16(value, 14, Packet); }
        }
        public ushort Type
        {
            set { WriteUInt16(value, 18, Packet); }
        }
        public byte[] ToArray()
        {
            return Packet;
        }
    }
Instead public byte[] ToArray()
{
return Packet;
}

Just do:
Code:
public static implicit operator byte[](MapEffectPacket packet)
{
return packet.Packet;
}
BaussHacker is offline  
Old 09/16/2011, 22:37   #10
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
You know theres a reason I started our conversation with "You *****"?
_DreadNought_ is offline  
Old 09/17/2011, 00:59   #11
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by _DreadNought_ View Post
You know theres a reason I started our conversation with "You *****"?
Please enlight me!
BaussHacker is offline  
Old 09/17/2011, 01:00   #12
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
Idunno tbh, was rather bored when I posted that.
_DreadNought_ is offline  
Reply


Similar Threads Similar Threads
Dodge effect , Warp effect
01/04/2010 - S4 League - 7 Replies
this is a threat to glados , but other can answer. how can u have that effect? this is the video YouTube - S4 League GLaDO is Hacking
Packet data for Race effect and Archon Buff - Elven Update ?
10/16/2009 - RF Online - 0 Replies
Since elven update ... I think packet for skills and forces have changed .. anyone knows race effect and archon buff packet for RF elven update ... ??



All times are GMT +1. The time now is 11:58.


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.