Register for your free account! | Forgot your password?

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

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

Advertisement



Does anyone know the 5021 spawn enity packet?

Discussion on Does anyone know the 5021 spawn enity packet? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
Does anyone know the 5021 spawn enity packet?

I got pretty much everyting set, but the name..

I hope one of you guys has a 5021~ reference packet / structure for me

5065 packets dont work nor do 5017/18

PHP Code:
 *((ushort*)p) = (ushort)Packet.Length;
                *((
ushort*)(2)) = (ushort)PacketType;
                *((
uint*)(4)) = (uint)Player.UID;
                *((
uint*)(8)) = (uint)Model;

                if (
Player.IsPlayer)
                {
                    *((
uint*)(12)) = (uint)Player.ReturnFlags();
                }
                else
                    *((
uint*)(12)) = (uint)0;
                *((
ushort*)(20)) = (ushort)Player.GuildID;
                *(
23) = Player.GuildPosition;

                if (
Player.Alive)
                {
                    *((
uint*)(28)) = (uint)Helmet;
                    *((
uint*)(32)) = (uint)Armor;
                    *((
uint*)(36)) = (uint)RHWEP;
                    *((
uint*)(40)) = (uint)LHWEP;
                }
                *((
ushort*)(48)) = (ushort)Player.CurHP;
                *((
ushort*)(52)) = (ushort)Player.X;
                *((
ushort*)(54)) = (ushort)Player.Y;
                *((
ushort*)(56)) = (ushort)Player.Hair;

                *(
58) = Player.Direction;
                *(
59) = Player.Action;
                *(
60) = 0;
                *(
62) = Player.Level
Y u k i is offline  
Old 02/20/2014, 15:03   #2
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
I dont know if you would be willing, but posting the offsets might help narrow down whats available.
Aceking is offline  
Old 02/20/2014, 15:17   #3
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
Quote:
Originally Posted by Aceking View Post
I dont know if you would be willing, but posting the offsets might help narrow down whats available.

Updated my post.
Y u k i is offline  
Old 02/20/2014, 15:59   #4
 
elite*gold: 0
Join Date: Jan 2014
Posts: 43
Received Thanks: 12
trail and error ? it's only like 50 possibility :P :P
OverKill. is offline  
Old 02/21/2014, 02:12   #5
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
Quote:
Originally Posted by OverKill. View Post
trail and error ? it's only like 50 possibility :P :P
yeah... i ran a loop from offset 70 to 100 didnt do anything... im missing something else.
Y u k i is offline  
Old 02/21/2014, 03:32   #6
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Are you sure the packet isnt the same as 5065?
Those offsets are the same from my comparison.

Helmet and Armor color are 84 and 86 respectively.
If those offsets are in 5021, then your name offset is 90.

Are you sure you are sending the string correctly?
Aceking is offline  
Old 02/21/2014, 03:46   #7
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
Quote:
Originally Posted by Aceking View Post
Are you sure the packet isnt the same as 5065?
Those offsets are the same from my comparison.

Helmet and Armor color are 84 and 86 respectively.
If those offsets are in 5021, then your name offset is 90.

Are you sure you are sending the string correctly?
Yes I´m sure I send the string correctly. I send it just the way I sent it on 5018 where I had no issues with displaying names. Offset 90 does not work. Its weird... It used to be 95 on 5018, suddenly the packet is smaller? Weird stuff..
Y u k i is offline  
Old 02/21/2014, 12:28   #8
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Does the helmet and armor color work on 84 and 86?

Nvm.

Its offset 80.

Your own character name is set through packet 1006. So you will need to figure out that offset.
Aceking is offline  
Old 02/21/2014, 18:51   #9
 
elite*gold: 0
Join Date: Jan 2014
Posts: 43
Received Thanks: 12
well maybe you are not sending the name length then the name string ?
a decent solution would be RE and trace the packet backwards
OverKill. is offline  
Reply


Similar Threads Similar Threads
[Help] Spawn Packet
01/22/2014 - CO2 Private Server - 8 Replies
Hello! I created a command so I can change my first reborn class, but when I use the command, the class does not change the status. I wonder what I did wrong? Photo below: Code: http://i.epvpimg.com/yyV9c.png Game example: http://i.epvpimg.com/be9Qb.png Obs: Version 5765, FirstRebornClass SpawnPacket: 221.
Group Spawn Packet
02/11/2012 - SRO Coding Corner - 22 Replies
Well every now and then a packet isn't parsed correctly, sometimes character spawn data just simply ends after the character name causing me to read over other data while it tries to read guild name and stuff like that. Also some buffs related to clerics and bards seem to have an extra byte while parsing the character spawn packet, I'm not sure which buffs exactly so that's a problem too. It'd be great if someone could point out what I can do to correctly parse these group spawn packets. I've...
spawn name Packet 5520
08/21/2011 - CO2 Private Server - 11 Replies
hellos Evert Body this pic http://img832.imageshack.us/img832/7425/44423762.j pg that when i try to upgrade my sourse from 5375 to 5520 i upgrade the spawn to see the monsters and other chars but i can't see the names of them and the char is visble?? so i need spawn packet make it fully working
[Help] Spawn Packet
08/20/2011 - CO2 Private Server - 6 Replies
Right, this is my entity.cs, Im guessing the spawnpacket is in here but I'm trying to update it to work in 5517. I tried changing the individual numbers to the ones found in Shisui's post but im guessing I did it wrong because now I just dc when I log in. Can someone explain what I'm meant to do please? using System; using System.Collections.Generic; using System.IO; using System.Text; using Conquer_Online_Server.Network; using Conquer_Online_Server.Network.GamePackets; using...



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


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.