Help in ChampoinArena

05/02/2013 05:46 mdy19#1
I have a problem for Campoin Arena

Champoin Arena in not Sgin up
:handsdown:
is my code in PacketHandler

Code correctly!?

[Only registered and activated users can see links. Click Here To Register...]

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)
:(:(:(:( 
05/02/2013 06:34 InfamousNoone#2
in other words, "heres my code, fix it" is what you're asking
05/02/2013 08:37 U2_Caparzo#3
Quote:
Originally Posted by InfamousNoone View Post
in other words, "heres my code, fix it" is what you're asking
Not even that :/
05/02/2013 13:42 diedwarrior#4
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."
05/02/2013 13:51 mdy19#5
:(:(:(:(:(:(
05/02/2013 22:44 shadowman123#6
Conclusion is :-
Learn C# instead of doing copy and paste without understanding
05/03/2013 19:48 мσ∂ү √#7
lol this arena codes?
ArenaChampion rank only 7 Group :D
GoodLuck and as Shadowman123 said to u "learn C#"
and sorry
05/03/2013 21:53 shadowman123#8
Quote:
Originally Posted by мσ∂ү √ View Post
lol this arena codes?
ArenaChampion rank only 7 Group :D
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
05/03/2013 22:33 |xabi|#9
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 :D howa asdo ano y2ool le sa7b el topic we zay ma2lk shadwo at3lm c sharp (srroy zorar three mesh sh8al 3ndy ) :D
howa 3la bab allah !
05/03/2013 23:15 shadowman123#10
He had to say " as Shadowman123 said to u " not and shadowman123 talk to u .. ROfl
05/03/2013 23:42 |xabi|#11
Quote:
Originally Posted by shadowman123 View Post
He had to say " as Shadowman123 said to u " not and shadowman123 talk to u .. ROfl
:D nta 3arf ba2a el t3lem el magani :D
3ndy de :D
05/04/2013 00:17 мσ∂ү √#12
Quote:
Originally Posted by |xabi| View Post
:D nta 3arf ba2a el t3lem el magani :D
3ndy de :D
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 :D

i know my english is bad :D

we 3d2na bnt3lm ya sa7by :mofo:
05/04/2013 01:16 MrCaSpR#13
[5alas Ya Regal Kolna bentklam bad English Ma7d4 MEn america Ya3ne Wala eh :D ]
[We anto btt5n2o w m4 betsa3do el ragl :D ]
We english is bad we not from america
05/04/2013 06:47 sala7mostafa#14
Quote:
Originally Posted by MrCaSpR View Post
[5alas Ya Regal Kolna bentklam bad English Ma7d4 MEn america Ya3ne Wala eh :D ]
[We anto btt5n2o w m4 betsa3do el ragl :D ]
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 >_< :p
05/05/2013 00:34 mdy19#15
Quote:
Originally Posted by мσ∂ү √ View Post
lol this arena codes?
ArenaChampion rank only 7 Group :D
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