Register for your free account! | Forgot your password?

You last visited: Today at 22:08

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

Advertisement



[Release] New character info packet

Discussion on [Release] New character info packet within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
[Release] New character info packet

Many of the ppl who are upgrading to the new crypto should be getting a fuck3d up screen after login...

so here goes the fix :

find you Character Info packet (Dunno where it is of course...)

and then update the values:

Code:
    public partial class Msg : Writer
    {
        public static byte[] Information(Character Client)
        {
            byte[] Buffer = new byte[114 + 8 + Client.Name.Length + Client.Spouse.Length];
            WriteUInt16((ushort)(Buffer.Length - 8), 0, Buffer);
            WriteUInt16(1006, 2, Buffer);
            WriteUInt32(Client.UID, 4, Buffer);
            WriteUInt32(Client.Lookface, 10, Buffer);
            WriteUInt16(Client.Hair, 14, Buffer);
            WriteUInt32(Client.Money, 16, Buffer);
            WriteUInt32(Client.E_Money, 20, Buffer);
            WriteUInt64(Client.Experience, 24, Buffer);
            WriteUInt16(Client.Force, 52, Buffer);
            WriteUInt16(Client.Speed, 54, Buffer);
            WriteUInt16(Client.Health, 56, Buffer);
            WriteUInt16(Client.Spirit, 58, Buffer);
            WriteUInt16(Client.Points, 60, Buffer);
            WriteUInt16((ushort)Client.Life, 62, Buffer);
            WriteUInt16((ushort)Client.Soul, 64, Buffer);
            WriteUInt16(Client.PkPoints, 66, Buffer);
            WriteByte(Client.Level, 68, Buffer);
            WriteByte(Client.Class, 69, Buffer);
            WriteByte(0, 70, Buffer);//First class
            WriteByte(0, 71, Buffer);//Second class
            WriteByte(3, 110, Buffer);
            WriteByte((byte)Client.Name.Length, 111, Buffer);
            WriteString(Client.Name, 112, Buffer);
            WriteByte((byte)Client.Spouse.Length, 113 + Client.Name.Length, Buffer);
            WriteString(Client.Spouse, 114 + Client.Name.Length, Buffer);
            WriteString(Constants.m_Key, (Buffer.Length - 8), Buffer);
            return Buffer;
        }
    }
cya ;P
12tails is offline  
Thanks
6 Users
Old 07/18/2011, 18:00   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Even I'm not using latest patch, still useful for peoples updating their source
BaussHacker is offline  
Thanks
1 User
Old 07/18/2011, 18:01   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 7
Received Thanks: 0
hey i need you yahoo or mensseger or add my mensseger
alanpk2009 is offline  
Old 07/18/2011, 19:32   #4
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Still need to upgrade the Spawn Packet

but, Works good.


Thanks!

#edit

That is me assuming the spawn packet is whats ******* up my name <3
_DreadNought_ is offline  
Old 07/18/2011, 20:48   #5
 
chickmagnet's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 372
Received Thanks: 53
thanx u sir
chickmagnet is offline  
Old 07/18/2011, 22:04   #6
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
Quote:
Originally Posted by _DreadNought_ View Post
That is me assuming the spawn packet is whats ******* up my name <3
jose will release the spawnpacket, also spawnpacket can't do that on your name... it shouldn't be sent to yourself....
12tails is offline  
Old 07/18/2011, 23:12   #7
 
chickmagnet's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 372
Received Thanks: 53
Quote:
Originally Posted by _DreadNought_ View Post
Still need to upgrade the Spawn Packet

but, Works good.


Thanks!

#edit

That is me assuming the spawn packet is whats ******* up my name <3
didn't qo had that issue 2 when they were up?
chickmagnet is offline  
Old 07/19/2011, 17:24   #8
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Quote:
Originally Posted by 12tails View Post
jose will release the spawnpacket, also spawnpacket can't do that on your name... it shouldn't be sent to yourself....
Yeah he already gave it to me before he released it, So I assume that name problem has something todo with my updated Character Info Packet?
_DreadNought_ is offline  
Old 07/19/2011, 17:33   #9
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
no because i'm not getting it
12tails is offline  
Old 07/19/2011, 17:40   #10
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Nono, You mistunderstood, I meant upgrading my packet to yours.

#edit

Yeah, stupid error really, I forgot the add +8 to 114. Oh and btw, it's 122 :P
_DreadNought_ is offline  
Old 07/20/2011, 01:09   #11
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
the packet is missing >>

//quiz points
//Enlighten points
//Enlighten today
//Bound Cps
//subclasses exp
//critical Status
//reborn's count
//Title

and a few more things that i dont know about ,
{ Angelius } is offline  
Old 07/20/2011, 02:32   #12
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
sure... but you can send those infos after login with general data packets or the current system's packet ...
12tails is offline  
Old 07/22/2011, 02:04   #13
 
hady's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 72
Received Thanks: 9
thank you for your release
hady is offline  
Old 07/22/2011, 19:29   #14
 
mlady272's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 32
Received Thanks: 3
good
mlady272 is offline  
Reply


Similar Threads Similar Threads
Help with Character Info Packet
06/23/2011 - CO2 Programming - 17 Replies
Ok So I'm working on a proxy, and I'm able to login and have a simple logger working. For some reason I don't seem to be receiving the 1006 packet that holds my login characters info. It must be getting through because the client is setup properly with my character name, etc... Heres a screeny of the beginning of the login. Packet Structer: http://wiki.fusionorigins.com/index.php?title=CO_P acket_CharacterInformation#Version_5295 Edit: I think the info might be in the 2079 packet,...
[Release] Arena Info Packet Structure
02/21/2011 - CO2 PServer Guides & Releases - 12 Replies
Heya! I hope this become an usefull release for who use an source with arena... and i would really apreciate any help to end the other 4 packets .... (2208,2205,2206,2207); so... this is the structure... only... if u get it working you will see something like this in game: http://b.imagehost.org/0760/19240804.jpg
[Release?]New character packet update (newest patch)
02/17/2011 - CO2 Private Server - 0 Replies
Offset Type Value 0 ushort 120 2 ushort 1001 24 string Character_Name 72 ushort Character_Model 74 ushort Character_Class 76 uint Account_ID 80 byte Client_MacAddress? The typo search begins.
Packet Info.
01/20/2010 - CO2 Private Server - 20 Replies
I heard that the lotf packets are very poorly coded, is that true? And what is the downfall of unsafe code? Anyway to convert them to a better coded packet, like "Packet.WriteUint16(X);" instead of the *(p-1) = XXX". i think i might know when it says like "*(p-1) = (uint)XXX" or w/e, but what is its just like *(p-1) = XXX". Is that just WriteByte? That may be confusing, but the first question is what I really wanna know.
[NEED INFO]Packet Editing
10/05/2007 - Dekaron - 3 Replies
i would like to get started on how to packet edit. i know that the packets sent from 2moons server is encrypted. i wanna learn how to decrypt them, edit them, and resend them. anyone that has sites, ideas, or tuts please reply. thanks much. P/S: i know that wpe pro is detectable by gg...i'm trying other options out there.



All times are GMT +2. The time now is 22:08.


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