Register for your free account! | Forgot your password?

You last visited: Today at 10:56

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

Advertisement



Help in ChampoinArena

Discussion on Help in ChampoinArena within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2010
Posts: 12
Received Thanks: 1
Help in ChampoinArena

I have a problem for Campoin Arena

Champoin Arena in not Sgin up

is my code in PacketHandler

Code correctly!?



PHP Code:
#region ChampoinArena (2600<->2601)
                        
case 2600://Request Arena ranking List
                            
{
                                
//Code snippet that belongs to Ultimation
                                
ushort PageIndex BitConverter.ToUInt16(packet8);
                                
Game.ConquerStructures.ArenaChampoins.Statistics.ShowRankingPage(packet[4], PageIndexclient);
                                break;
                            }
                        case 
2603:
                            { 
                                
//Code snippet that belongs to Ultimation
                                
ushort PageIndex BitConverter.ToUInt16(packet4);
                                
Game.ConquerStructures.ArenaChampoins.QualifyEngine.RequestGroupList(clientPageIndex);
                                break;
                            }
                        case 
2604://Arena Signup!
                            
{
                                
//Code snippet that belongs to Ultimation
                                
uint DialogID BitConverter.ToUInt32(packet4);
                                
uint ButtonID BitConverter.ToUInt32(packet8);
                                switch (
DialogID)
                                {
                                    case 
4:
                                        {
                                            switch (
ButtonID)
                                            {
                                                case 
0:
                                                    {
                                                        
Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoQuit(client);
                                                        break;
                                                    }
                                            }
                                            break;
                                        }
                                    case 
0Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoSignup(client); client.Send(packet); break;
                                    case 
1Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoQuit(client); client.Send(packet); break;
                                    case 
3:
                                        {
                                            switch (
ButtonID)
                                            {
                                                case 
2Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoGiveUp(client); break;
                                                case 
1Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoAccept(client); break;
                                            }
                                            break;
                                        }
                                    case 
5:
                                        {
                                            if (
client.ArenaChampoin.ArenaPoints <= 1500)
                                                if (
client.Entity.Money >= 9000000)
                                                {
                                                    
client.Entity.Money -= 9000000;
                                                    
client.ArenaChampoin.ArenaPoints += 1500;
                                                    
client.Send(client.ArenaChampoin);
                                                }
                                            break;
                                        }
                                    case 
11://Win/Lose Dialog
                                        
{
                                            switch (
ButtonID)
                                            {
                                                case 
0Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoSignup(client); break;
                                            }
                                            break;
                                        }
                                }
                                break;
                            }
                        case 
2601://Request Arena Winner List
                            
{
                                
//Code snippet that belongs to Ultimation
                                
Game.ConquerStructures.ArenaChampoins.Statistics.ShowWiners(client);
                                break;
                            }
                        case 
2602:
                            {
                                
client.ArenaChampoin.Send(client);
                                break;
                            }
                        case 
2605:
                            {
                                
ushort Type BitConverter.ToUInt16(packet4);
                                
uint Fighter BitConverter.ToUInt32(packet10);
                                if (
Type == 0)
                                { 
                                    if (
ServerBase.Kernel.GamePool.ContainsKey(Fighter))
                                    {
                                        
Client.GameState Client ServerBase.Kernel.GamePool[Fighter];
                                        if (
Client.QualifierGroup1 != null)
                                        {
                                            if (
Client.QualifierGroup1.Inside)
                                            {
                                                if (!
Client.QualifierGroup1.Done)
                                                {
                                                    
Client.QualifierGroup1.BeginWatching(client);
                                                }
                                            }
                                        }
                                    }
                                }
                                else if (
Type == 1)
                                {
                                    
Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoLeave(client);
                                }
                                else if (
Type == 4)
                                {
                                    
string name "";
                                    for (
int c 22packet.Lengthc++)
                                    {
                                        if (
packet[c] != 0)
                                            
name += (char)packet[c];
                                        else
                                            break;
                                    }
                                    
Game.ConquerStructures.ArenaChampoins.QualifyEngine.DoCheer(clientname);
                                }
                                break;
                            }
                        
#endregion ChampoinArena (2207<->2211)
:(:(:(:( 
mdy19 is offline  
Old 05/02/2013, 06:34   #2
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
in other words, "heres my code, fix it" is what you're asking
InfamousNoone is offline  
Thanks
4 Users
Old 05/02/2013, 08:37   #3
 
U2_Caparzo's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 314
Received Thanks: 90
Quote:
Originally Posted by InfamousNoone View Post
in other words, "heres my code, fix it" is what you're asking
Not even that :/
U2_Caparzo is offline  
Old 05/02/2013, 13:42   #4
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Quote:
Originally Posted by InfamousNoone View Post
in other words, "heres my code, fix it" is what you're asking
A bit more like "I copied this code,but its not working, fix it."
diedwarrior is offline  
Old 05/02/2013, 13:51   #5
 
elite*gold: 0
Join Date: Sep 2010
Posts: 12
Received Thanks: 1
mdy19 is offline  
Old 05/02/2013, 22:44   #6
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Conclusion is :-
Learn C# instead of doing copy and paste without understanding
shadowman123 is offline  
Old 05/03/2013, 19:48   #7
 
мσ∂ү √'s Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 29
Received Thanks: 3
lol this arena codes?
ArenaChampion rank only 7 Group
GoodLuck and as Shadowman123 said to u "learn C#"
and sorry
мσ∂ү √ is offline  
Thanks
1 User
Old 05/03/2013, 21:53   #8
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by мσ∂ү √ View Post
lol this arena codes?
ArenaChampion rank only 7 Group
GoodLuck and shadowman123 talk to u "learn C#"
Lol Am almost good at it .. btw not ur buisness if i learned or not as long as i dont ask noobish question

Enta meen yabny fel 7ayah
shadowman123 is offline  
Old 05/03/2013, 22:33   #9
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by shadowman123 View Post
Lol Am almost good at it .. btw not ur buisness if i learned or not as long as i dont ask noobish question

Enta meen yabny fel 7ayah
ya zmeli 7ady a3saabk shwya howa asdo ano y2ool le sa7b el topic we zay ma2lk shadwo at3lm c sharp (srroy zorar three mesh sh8al 3ndy )
howa 3la bab allah !
|xabi| is offline  
Old 05/03/2013, 23:15   #10
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
He had to say " as Shadowman123 said to u " not and shadowman123 talk to u .. ROfl
shadowman123 is offline  
Old 05/03/2013, 23:42   #11
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by shadowman123 View Post
He had to say " as Shadowman123 said to u " not and shadowman123 talk to u .. ROfl
nta 3arf ba2a el t3lem el magani
3ndy de
|xabi| is offline  
Old 05/04/2013, 00:17   #12
 
мσ∂ү √'s Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 29
Received Thanks: 3
Quote:
Originally Posted by |xabi| View Post
nta 3arf ba2a el t3lem el magani
3ndy de
xD

[bl3sh 3nt ya bibo :P ant 3rf ank 7abeby mn z3man ]

and sorry ya seedy i just learn :P
we sbn3lko el english xD

Quote:
Originally Posted by shadowman123 View Post
He had to say " as Shadowman123 said to u " not and shadowman123 talk to u .. ROfl
[kol mar7 l3zem ta7bt a7le 7aram 3lek

i know my english is bad

we 3d2na bnt3lm ya sa7by
мσ∂ү √ is offline  
Old 05/04/2013, 01:16   #13
 
MrCaSpR's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 87
Received Thanks: 6
[5alas Ya Regal Kolna bentklam bad English Ma7d4 MEn america Ya3ne Wala eh ]
[We anto btt5n2o w m4 betsa3do el ragl ]
We english is bad we not from america
MrCaSpR is offline  
Old 05/04/2013, 06:47   #14
 
elite*gold: 0
Join Date: Oct 2010
Posts: 64
Received Thanks: 10
Quote:
Originally Posted by MrCaSpR View Post
[5alas Ya Regal Kolna bentklam bad English Ma7d4 MEn america Ya3ne Wala eh ]
[We anto btt5n2o w m4 betsa3do el ragl ]
We english is bad we not from america
you had to write/say it like this "Our English is bad, and we aren't from America"
And sorry for this >_<
sala7mostafa is offline  
Old 05/05/2013, 00:34   #15
 
elite*gold: 0
Join Date: Sep 2010
Posts: 12
Received Thanks: 1
Quote:
Originally Posted by мσ∂ү √ View Post
lol this arena codes?
ArenaChampion rank only 7 Group
GoodLuck and as Shadowman123 said to u "learn C#"
and sorry
la ya ragel baen 3lek btfhm s7e7 fe al #c tlamh mas fahm 7aga btklm lah lo al code dh bta3 al arena omal dh ybah bta3 ah 3maty
PHP Code:
#region Arena (2207<->2211)

                        
case 2207://Request Arena ranking List
                            
{
                                
//Code snippet that belongs to Ultimation
                                
ushort PageIndex BitConverter.ToUInt16(packet6);
                                
Game.ConquerStructures.Arena.Statistics.ShowRankingPage(packet[4], PageIndexclient);
                                break;
                            }
                        case 
2206:
                            {
                                
//Code snippet that belongs to Ultimation
                                
ushort PageIndex BitConverter.ToUInt16(packet4);
                                
Game.ConquerStructures.Arena.QualifyEngine.RequestGroupList(clientPageIndex);
                                break;
                            }
                        case 
2205://Arena Signup!
                            
{
                                
//Code snippet that belongs to Ultimation
                                
uint DialogID BitConverter.ToUInt32(packet4);
                                
uint ButtonID BitConverter.ToUInt32(packet8);
                                switch (
DialogID)
                                {
                                    case 
4:
                                        {
                                            switch (
ButtonID)
                                            {
                                                case 
0:
                                                    {
                                                        
Game.ConquerStructures.Arena.QualifyEngine.DoQuit(client);
                                                        break;
                                                    }
                                            }
                                            break;
                                        }
                                    case 
0Game.ConquerStructures.Arena.QualifyEngine.DoSignup(client); client.Send(packet); break;
                                    case 
1Game.ConquerStructures.Arena.QualifyEngine.DoQuit(client); client.Send(packet); break;
                                    case 
3:
                                        {
                                            switch (
ButtonID)
                                            {
                                                case 
2Game.ConquerStructures.Arena.QualifyEngine.DoGiveUp(client); break;
                                                case 
1Game.ConquerStructures.Arena.QualifyEngine.DoAccept(client); break;
                                            }
                                            break;
                                        }
                                    case 
5:
                                        {
                                            if (
client.ArenaStatistic.ArenaPoints <= 1500)
                                                if (
client.Entity.Money >= 9000000)
                                                {
                                                    
client.Entity.Money -= 9000000;
                                                    
client.ArenaStatistic.ArenaPoints += 1500;
                                                    
client.Send(client.ArenaStatistic);
                                                }
                                            break;
                                        }
                                    case 
11://Win/Lose Dialog
                                        
{
                                            switch (
ButtonID)
                                            {
                                                case 
0Game.ConquerStructures.Arena.QualifyEngine.DoSignup(client); break;
                                            }
                                            break;
                                        }
                                }
                                break;
                            }
                        case 
2208://Request Arena Winner List
                            
{
                                
//Code snippet that belongs to Ultimation
                                
Game.ConquerStructures.Arena.Statistics.ShowWiners(client);
                                break;
                            }
                        case 
2209:
                            {
                                
client.ArenaStatistic.Send(client);
                                break;
                            }
                        case 
2211:
                            {
                                
ushort Type BitConverter.ToUInt16(packet4);
                                
uint Fighter BitConverter.ToUInt32(packet10);
                                if (
Type == 0)
                                {
                                    if (
ServerBase.Kernel.GamePool.ContainsKey(Fighter))
                                    {
                                        
Client.GameState Client ServerBase.Kernel.GamePool[Fighter];
                                        if (
Client.QualifierGroup != null)
                                        {
                                            if (
Client.QualifierGroup.Inside)
                                            {
                                                if (!
Client.QualifierGroup.Done)
                                                {
                                                    
Client.QualifierGroup.BeginWatching(client);
                                                }
                                            }
                                        }
                                    }
                                }
                                else if (
Type == 1)
                                {
                                    
Game.ConquerStructures.Arena.QualifyEngine.DoLeave(client);
                                }
                                else if (
Type == 4)
                                {
                                    
string name "";
                                    for (
int c 22packet.Lengthc++)
                                    {
                                        if (
packet[c] != 0)
                                            
name += (char)packet[c];
                                        else
                                            break;
                                    }
                                    
Game.ConquerStructures.Arena.QualifyEngine.DoCheer(clientname);
                                }
                                break;
                            }

                        
#endregion Arena (2207<->2211) 
pos 3la al arkam ya zaky we anta tfhm de arena wla ChampoinArena
lol
mdy19 is offline  
Reply




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


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.