Register for your free account! | Forgot your password?

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

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

Advertisement



Get DC'd by packet offset.

Discussion on Get DC'd by packet offset. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
Get DC'd by packet offset.

So,

(Impulses source) I am trying to workout an offset. For guild info but the offset is clearly over 50 but if I do 50+ for the offset I get dc'd with no error?
the packet is
Code:
 public static byte[] GuildInfo(Client.GameState client)
        {
            byte LeaLen = (byte)(client.Entity.MyGuild.GLeader.Length +[COLOR="Red"] 21[/COLOR]);
            PacketBuilder Packet = new PacketBuilder(1106, [COLOR="Red"]40[/COLOR]);
            Packet.Long(client.Entity.GuildId);
            Packet.Long(client.Entity.GDonation);
            Packet.Long(client.Entity.MyGuild.GFund);
            Packet.Long(client.Entity.MyGuild.GMems.Count);
            Packet.Int(client.Entity.GJob);//20
            Packet.Text(client.Entity.MyGuild.GLeader);
            for (byte ByLeft = LeaLen; ByLeft < [COLOR="Red"]40[/COLOR]; ByLeft++)
            {
                Packet.Int(0);
            }
            return Packet.getFinal();
        }
Why? Because I havn't structured it yet.

Any help?
_DreadNought_ is offline  
Old 10/05/2010, 00:35   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Wouldnt have thought you would need this:

Code:
            for (byte ByLeft = LeaLen; ByLeft < 40; ByLeft++)
            {
                Packet.Int(0);
            }
Un-assigned values default to 0, so really the buffer behind all of this has already had its existing bytes set to 0, theres no need to do it all again.

So after removing that if the problem still exists then it comes down to the size of the packet, and whether your setting it correctly.
Korvacs is offline  
Reply


Similar Threads Similar Threads
[NEED HELP]I GET DC'D
08/04/2009 - Soldier Front - 5 Replies
HELP NAMAN PO KASE PO PAG GINAGAMIT KONG UNG SUCROSE ISO METHOD SA POWER ISO PAG NA INJECT KO NA PO TAPOS NA UNMOUNT NA DDC PO AKO PAG PUMASOK AKO SA ROOM PA2LONG NAMAN PO PLEASE
Re : how to find Hp offset mp offset etc
10/09/2008 - PW Hacks, Bots, Cheats, Exploits - 0 Replies
how to find : HP_OffSet= MaxHP_OffSet= MP_OffSet= MaxMP_OffSet= with CE? coz i only know how to find base, we have tutorial, but not the offset part can anybody explain?



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


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.