Register for your free account! | Forgot your password?

You last visited: Today at 04:34

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

Advertisement



[Arena] 5180 Help!

Discussion on [Arena] 5180 Help! within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
[Arena] 5180 Help!

Hello e*PvPers. I'm trying to learn how the packets are going, But I've got a trouble. Once i try to send the arena packet , the client crashes :/ I've made the packet from 12tails' Packet Structure. Please check if it's right. and forward me on the right way.
There's the packet.
Code:
public static COPacket ArenaInfo(Game.Character C)
        {
            byte[] Packet = new byte[52];
            COPacket P = new COPacket(Packet);//0
            P.WriteInt16(2209);//2
            P.WriteInt16(C.ArenaRank);//4
            P.WriteInt32(C.ArenaStatus);//12
            P.WriteInt16(C.ActivityPoint);//16
            P.WriteByte(C.TimesToday);//20
            P.WriteByte(C.WinsToday);//21
            P.WriteInt32((uint)(C.WinsHistory));//24 (int)
            P.WriteInt32((uint)C.LosesHistory);// 28 (int)
            P.WriteInt32((uint)C.SeasonWins);//32 (int)
            P.WriteInt32((uint)C.SeasonLoses);//36 (int)
            P.WriteInt32((uint)C.HistoryHonor);//40 (int)
            P.WriteInt32((uint)C.CurrentHonor);//44 (int)
            P.WriteInt32((uint)C.ArenaPoint);//48 (int)
            return P;
        }
And There's the structure
Quote:
[Offset] [Type] [Value]
0 ushort 52
2 ushort 2209
4 ushort Rank
12 uint Status(signed/awaiting/inactive)
16 ushort ActitivityPoint
20 byte TimesToday
21 byte WinsToday
24 int HistoryWins
28 int HistoryDefeats
32 int SeansonWins
36 int SeasonDefeats
40 int HistoryHonnor
44 int CurrentHonnor
48 int ArenaPoint
Thanks Fang For helping me
#request close
§hift is offline  
Old 01/23/2011, 20:00   #2
 
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
Code:
public static COPacket ArenaInfo(Game.Character C)
        {
            byte[] Packet = new byte[60];
            COPacket P = new COPacket(Packet);

            P.WriteInt16((ushort)(Packet.Length - 8)); //0
            P.WriteInt16(2209);//2
            P.WriteInt32(C.ArenaRank);//4
            P.Move(4);//8
            P.WriteInt32(C.ArenaStatus);//12
            P.WriteInt32(C.ActivityPoint);//16
            P.WriteByte(C.TimesToday);//20
            P.WriteByte(C.WinsToday);//21
            P.Move(2) //22
            P.WriteInt32((uint)(C.WinsHistory));//24 (int)
            P.WriteInt32((uint)C.LosesHistory);// 28 (int)
            P.WriteInt32((uint)C.SeasonWins);//32 (int)
            P.WriteInt32((uint)C.SeasonLoses);//36 (int)
            P.WriteInt32((uint)C.HistoryHonor);//40 (int)
            P.WriteInt32((uint)C.CurrentHonor);//44 (int)
            P.WriteInt32((uint)C.ArenaPoint);//48 (int)
            return P; // returns 52
        }
=p
btw, int != uint
FuriousFang is offline  
Thanks
1 User
Old 01/23/2011, 20:28   #3
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Unless it's changed recently that entire structure looks wrong...

Hint for you... size of the one I'm using is 44 + 8. That's current patch but I can't see much of a reason for tq to be SHRINKING packets. They're always expanding them.
pro4never is offline  
Old 01/23/2011, 20:39   #4
 
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
Quote:
Originally Posted by pro4never View Post
Unless it's changed recently that entire structure looks wrong...

Hint for you... size of the one I'm using is 44 + 8. That's current patch but I can't see much of a reason for tq to be SHRINKING packets. They're always expanding them.
Nah. The structure is correct. It's the 5180 structure. It should work fine o.o
Maybe they did shrink it - it's possible since your arena is split into new pages and such.
I don't know much about your patch =o
FuriousFang is offline  
Old 01/23/2011, 21:06   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by FuriousFang View Post
Nah. The structure is correct. It's the 5180 structure. It should work fine o.o
Maybe they did shrink it - it's possible since your arena is split into new pages and such.
I don't know much about your patch =o
Figures, the one time tq DOESN'T balloon a packet to insane sizes (IE: 1009. Make a new **** packet for your show eq subtype tq!)
pro4never is offline  
Old 01/23/2011, 21:19   #6
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
Quote:
Originally Posted by FuriousFang View Post
Code:
public static COPacket ArenaInfo(Game.Character C)
        {
            byte[] Packet = new byte[60];
            COPacket P = new COPacket(Packet);

            P.WriteInt16((ushort)(Packet.Length - 8)); //0
            P.WriteInt16(2209);//2
            P.WriteInt32(C.ArenaRank);//4
            P.Move(4);//8
            P.WriteInt32(C.ArenaStatus);//12
            P.WriteInt32(C.ActivityPoint);//16
            P.WriteByte(C.TimesToday);//20
            P.WriteByte(C.WinsToday);//21
            P.Move(2) //22
            P.WriteInt32((uint)(C.WinsHistory));//24 (int)
            P.WriteInt32((uint)C.LosesHistory);// 28 (int)
            P.WriteInt32((uint)C.SeasonWins);//32 (int)
            P.WriteInt32((uint)C.SeasonLoses);//36 (int)
            P.WriteInt32((uint)C.HistoryHonor);//40 (int)
            P.WriteInt32((uint)C.CurrentHonor);//44 (int)
            P.WriteInt32((uint)C.ArenaPoint);//48 (int)
            return P; // returns 52
        }
=p
btw, int != uint
I know that , but i didn't find other way to write the ints. that's why i typed (int) ,, to know the original value
§hift is offline  
Old 01/23/2011, 21:39   #7
 
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
Quote:
Originally Posted by §hift View Post
I know that , but i didn't find other way to write the ints. that's why i typed (int) ,, to know the original value
The original value NEEDS to be a uint.
If it's just an int, it's going to **** up around 255+ wins / times you've been in the arena.
FuriousFang is offline  
Thanks
1 User
Old 01/23/2011, 21:46   #8
 
elite*gold: 0
Join Date: Jan 2011
Posts: 50
Received Thanks: 6
aaaa I see..
§hift is offline  
Closed Thread


Similar Threads Similar Threads
[Arena] up to 20% more damage in arena for first 25~ seconds
12/03/2009 - WoW Exploits, Hacks, Tools & Macros - 1 Replies
Ravenous Pathogen - Spell - World of Warcraft This is a debuff that increases damage done by 5% per stack, up to 20% after 4 stacks. Since debuffs dont disappear when you join arenas, you can carry that debuff into arenas. http://img132.imageshack.us/img132/5798/arenaexpl oit.jpg This debuff is given by a mob called Darkclaw Bat Darkclaw Bat - NPC - World of Warcraft http://img339.imageshack.us/img339/9326/arenaexpl oit2.jpg
[NEW]Arena Tournament server 2.4.3 (Instant lvl70 free S3 arena fight for S4)
10/31/2009 - WoW Private Server - 0 Replies
#edit #close
[Arena]Orgrimmar Arena Trick
12/14/2008 - WoW Exploits, Hacks, Tools & Macros - 1 Replies
Picture:http://www.pic-upload.de/14.12.08/z4hxv.JP G Before the lift takes you up to start the match, you can minimize your WoW and come back and youll be floating in air so...15seconds till battle starts. - Minimize - Open wow back up in 15 seconds and you are floating up top while lift is still coming up, pretty cool just figure it out
[Exploits][Arena]Krieger Buff in der Lorderon Arena
01/20/2008 - WoW Exploits, Hacks, Tools & Macros - 7 Replies
Dieser Trick geht nur in der Lorderon Arena, weil dort die Kammer (der Vorbereitungsraum) groß genug ist. Der Krieger hat 2 Schlachtschreie. Der eine gibt +1080 Gesundheit und der andere Angriffskraft. Krieger+Druide, Krieger+Paladin oder Krieger+Priester sind Combos in welcher der Heiler keine Angriffskraft braucht aber die Gesundheit. Erst stehen beide nahbeieinander und der Krieger bufft - Gesundheit dann geht er in die hinterste Ecke und der Heiler ganz nah an das Tor. So kann der...



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


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.