Register for your free account! | Forgot your password?

You last visited: Today at 03:49

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

Advertisement



Team Crash Bug

Discussion on Team Crash Bug within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Team Crash Bug

Hello everybody...
So.....
I am using 5165 LOTF
To explain the problem:
When you have a dead player in the team and another player joins the team that player crashes (client close).

I think it all comes from the packet...

This is my PlayerJoin packet

Code:
        public static COPacket PlayerJoinsTeam(Game.Character C)
        {
            byte[] Packet = new byte[8 + 36];
            COPacket P = new COPacket(Packet);

            P.WriteInt16((ushort)(Packet.Length - 8));
            P.WriteInt16((ushort)0x402);
            P.WriteByte(0);
            P.WriteByte(1);
            P.WriteByte(1);
            P.WriteByte(1);
            P.WriteString((C.Name + C.MyClient.AuthInfo.Status));
            P.Move(16 - (C.Name + C.MyClient.AuthInfo.Status).Length);
            P.WriteInt32(C.EntityID);
           [B][COLOR="Red"]P.WriteInt32(uint.Parse(C.Avatar.ToString() + C.Body.ToString()));[/COLOR]

          [COLOR="DarkOrange"] // P.WriteInt32((uint)(C.TransID * 10000000 + C.Avatar * 10000 +  C.Body));[/COLOR][/B]
            P.WriteInt16((ushort)C.CurHP);
            P.WriteInt16((ushort)C.MaxHP);

            return P;
        }
The line in red doesn't work...it still crashes...(it's the line that came from the source when I got it)

The line in orange comes from the uint Mesh (which is returned when player is alive as we don't need the avatar when the player is dead...)

I am not sure if this is the problem but I think it is...
So what should go in that line....according to Korvacs packet list it avatar should go into that line...
If anyone can help me thanks
ryuchetval is offline  
Reply


Similar Threads Similar Threads
Team Marihuana D3D !! Updated ! 02.11.2010 << No Crash !!! Chams ect. look now !!
01/18/2011 - WarRock Hacks, Bots, Cheats & Exploits - 60 Replies
Hallo Community, hier ist der neue Hack :) ! Viel spaß beim Hacken.... wünscht euch Team MarihuanaD3D. http://img5.imagebanana.com/img/ftunvpqg/WarRock2 010110218353391.png http://img5.imagebanana.com/img/agjzou86/WarRock2 010110218385010.png http://img5.imagebanana.com/img/6wnx9c0s/WarRock2 010110218404435.png http://3.bp.blogspot.com/_WWYb1nN_MQE/TGJETi0wTSI /AAAAAAAABfo/Y9phs8Mmfl0/s320/VirusTotal-logo.png
Crash Frei 100%***~~~CyberRazzer NoMenu Chams/NoFog/FullBright!!!!!~~~***Crash Fre
11/30/2010 - WarRock Hacks, Bots, Cheats & Exploits - 66 Replies
Download: Removed! DT! Waiting for new Version!



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


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.