Please verify you are human

Redux 5017 CharacterInformation pack
  Register for your free account! | Forgot your password?

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

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

Advertisement



Redux 5017 CharacterInformation pack

Discussion on Redux 5017 CharacterInformation pack within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2015
Posts: 9
Received Thanks: 0
Redux 5017 CharacterInformation pack

I tried to use client 5018 as base , every thing works well
else Name , it's doesn't show with any of ****

It's my code

Code:
public static implicit operator byte[](HeroInformationPacket packet)
        {
            var buffer = new byte[70 + packet.Strings.Length];
            fixed (byte* ptr = buffer)
            {
                PacketBuilder.AppendHeader(ptr, buffer.Length, Constants.MSG_HERO_INFORMATION);
                *((ushort*)(ptr + 2)) = 0x3EE;
                *((uint*)(ptr + 4)) = packet.Id;
                *((uint*)(ptr + 8)) = packet.Lookface;
                *((ushort*)(ptr + 12)) = packet.Hair;
                *((uint*)(ptr + 14)) = packet.Money;
                *((uint*)(ptr + 18)) = packet.CP;
                *((ulong*)(ptr + 22)) = packet.Experience;
                //30-46 unknown                

                //46 ushort a0 40
                //48 ushort dd 00

                *((ushort*)(ptr + 46)) = packet.Strength;
                *((ushort*)(ptr + 48)) = packet.Agility;
                *((ushort*)(ptr + 50)) = packet.Vitality;
                *((ushort*)(ptr + 52)) = packet.Spirit;
                *((ushort*)(ptr + 54)) = packet.Stats;
                *((ushort*)(ptr + 56)) = packet.Life;
                *((ushort*)(ptr + 58)) = packet.Mana;
                *((short*)(ptr + 60)) = packet.PKPoints;
                //*((byte*)(ptr + 62)) = packet.Level;
                //*((byte*)(ptr + 53)) = packet.Class;
                //*((byte*)(ptr + 65)) = packet.Reborn;
                *((byte*)(ptr + 68)) = packet.ShowName;
                ptr[62] = packet.Level;
                ptr[63] = packet.Class;
                ptr[65] = packet.Reborn;
                //ptr[68] = packet.ShowName;
                PacketBuilder.AppendNetStringPacker(ptr + 69, packet.Strings);
            }
            return buffer;
        }
- Creative is offline  
Old 01/25/2019, 09:13   #2
 
elite*gold: 0
Join Date: Sep 2014
Posts: 194
Received Thanks: 52
Start from 67 not 69
iBotx is offline  
Thanks
1 User
Old 01/28/2019, 01:16   #3
 
elite*gold: 0
Join Date: Jun 2015
Posts: 9
Received Thanks: 0
Quote:
Originally Posted by iBotx View Post
Start from 67 not 69
Finally , thanks
what about mobs's names ?
- Creative is offline  
Old 01/28/2019, 01:47   #4
 
12k's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
Quote:
Originally Posted by - Creative View Post
Finally , thanks
what about mobs's names ?
PWR.Fill((byte)1, 80);
PWR.Fill((byte)Info.Name.Length, 81);
PWR.Fill(Info.Name, 82);
12k is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Redux 5017 CharacterInformation pack
01/27/2019 - Conquer Online 2 - 1 Replies
I tried to use client 5018 as base , every thing works well else Name , it's doesn't show with any of shit :D It's my code public static implicit operator byte(HeroInformationPacket packet) { var buffer = new byte; fixed (byte* ptr = buffer) {
[Selling] Saints Row 4, Metro Redux, Metro Last Light Redux Keys
12/14/2014 - Steam Trading - 1 Replies
---
[Buying] Metro 2033 Redux, Metro LL Redux, Fallout NV, Fallout 3, S.T.A.L.K.E.R: SoC
12/07/2014 - elite*gold Trading - 4 Replies
Suche diese Spiele für e*g (Steam).



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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.