Register for your free account! | Forgot your password?

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

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

Advertisement



[Help]CoEmu v2 - View packet

Discussion on [Help]CoEmu v2 - View packet within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
mejo33's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
[Help]CoEmu v2 - View packet

Hello its a view packet in lotf source, how i can re-build the packet to using in CoEmu v2 system? thanks for help!
Quote:
public byte[] ViewEquip(Character Char)
{
ushort PacketType = 0x3f7;
string Spouse = Char.Spouse;

byte[] Packet = new byte[11 + Spouse.Length];

fixed (byte* p = Packet)
{
*((ushort*)p) = (ushort)Packet.Length;
*((ushort*)(p + 2)) = (ushort)PacketType;
*((uint*)(p + 4)) = (uint)Char.UID;
*(p + 8) = 0x10;
*(p + 9) = 0x01;
*(p + 10) = (byte)Spouse.Length;

for (int i = 0; i < Spouse.Length; i++)
{
*(p + 11 + i) = Convert.ToByte(Spouse[i]);
}
}
return Packet;
}
mejo33 is offline  
Old 06/02/2009, 22:07   #2
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Just have a look at other packets from CoEmu.
Also remember that some packets have changed from 5017 to 5095.
kinshi88 is offline  
Old 06/02/2009, 22:10   #3
 
mejo33's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 370
Received Thanks: 117
Hehe, i looking on other packet on coemu. So, i am new coder i coding small script some npc etc. If u can look BIG thanks
mejo33 is offline  
Old 06/02/2009, 23:32   #4
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Quote:
Originally Posted by kinshi88 View Post
Just have a look at other packets from CoEmu.
Also remember that some packets have changed from 5017 to 5095.
Are there any packet loggers available?
scottdavey is offline  
Old 06/03/2009, 00:34   #5
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Wireshark?
Zeroxelli is offline  
Reply


Similar Threads Similar Threads
[HELP] packet Type [CoEmu v2]
10/02/2009 - CO2 Private Server - 1 Replies
i need help with "Unknown packet type: 1015" GameServer, could someone help me plz? no hair, no char name...
[REL] Marriagecursor packet [CoEmu v2]
09/19/2009 - CO2 Private Server - 13 Replies
Hello, i'm new and i'd like to share my things with you ( check my other releases too ) public static byte Marry(int CID) { return ConquerPacket.General(CID, 1067, 0, 0, 0, 0, (CoEmu_v2_GameServer.Structs.Struct.DataType)116); } Press thanks if it helped please. Yashi!
[CoEmu]SpawnCharacter Packet
09/03/2009 - CO2 Private Server - 2 Replies
How come when I die, i turn invisble, and then i revive... invisble.. then can't move.. why is it doin that? Can someone post there spawncharacter packet...
[Quick Question] On view items packet coding.
07/12/2009 - CO2 Private Server - 4 Replies
<edit> Removed due to stupidity of question: Thanks for the help ^^
[HELP] ViewEquip - Packet | CoEmu v2 |
06/07/2009 - CO2 Private Server - 7 Replies
Hello i working on new packet number 1015. Its a ViewEquip packet. So, i copy the packet from lotf and change some info. I dont know how to rebuild packet more, who can help me? Here a packet: The red fonts its error i need to fix. THE green color its a UID function. Here a code. Go to Entines/Characters.cs and put If u help me really big THANKS:mofo:



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


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.