You last visited: Today at 15:01
Advertisement
Help in ChampoinArena
Discussion on Help in ChampoinArena within the CO2 Private Server forum part of the Conquer Online 2 category.
05/02/2013, 05:46
#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 ( packet , 8 ); Game . ConquerStructures . ArenaChampoins . Statistics . ShowRankingPage ( packet [ 4 ], PageIndex , client ); break; } case 2603 : { //Code snippet that belongs to Ultimation ushort PageIndex = BitConverter . ToUInt16 ( packet , 4 ); Game . ConquerStructures . ArenaChampoins . QualifyEngine . RequestGroupList ( client , PageIndex ); break; } case 2604 : //Arena Signup! { //Code snippet that belongs to Ultimation uint DialogID = BitConverter . ToUInt32 ( packet , 4 ); uint ButtonID = BitConverter . ToUInt32 ( packet , 8 ); switch ( DialogID ) { case 4 : { switch ( ButtonID ) { case 0 : { Game . ConquerStructures . ArenaChampoins . QualifyEngine . DoQuit ( client ); break; } } break; } case 0 : Game . ConquerStructures . ArenaChampoins . QualifyEngine . DoSignup ( client ); client . Send ( packet ); break; case 1 : Game . ConquerStructures . ArenaChampoins . QualifyEngine . DoQuit ( client ); client . Send ( packet ); break; case 3 : { switch ( ButtonID ) { case 2 : Game . ConquerStructures . ArenaChampoins . QualifyEngine . DoGiveUp ( client ); break; case 1 : Game . 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 0 : Game . 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 ( packet , 4 ); uint Fighter = BitConverter . ToUInt32 ( packet , 10 ); 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 = 22 ; c < packet . Length ; c ++) { if ( packet [ c ] != 0 ) name += ( char ) packet [ c ]; else break; } Game . ConquerStructures . ArenaChampoins . QualifyEngine . DoCheer ( client , name ); } break; } #endregion ChampoinArena (2207<->2211) :(:(:(:(
05/02/2013, 06:34
#2
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
05/02/2013, 08:37
#3
elite*gold: 0
Join Date: Aug 2011
Posts: 314
Received Thanks: 90
Quote:
Originally Posted by
InfamousNoone
in other words, "heres my code, fix it" is what you're asking
Not even that :/
05/02/2013, 13:42
#4
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Quote:
Originally Posted by
InfamousNoone
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
#5
elite*gold: 0
Join Date: Sep 2010
Posts: 12
Received Thanks: 1
05/02/2013, 22:44
#6
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
05/03/2013, 19:48
#7
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
05/03/2013, 21:53
#8
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by
мσ∂ү √
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
05/03/2013, 22:33
#9
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by
shadowman123
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 !
05/03/2013, 23:15
#10
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
05/03/2013, 23:42
#11
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
Quote:
Originally Posted by
shadowman123
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
05/04/2013, 00:17
#12
elite*gold: 0
Join Date: Mar 2013
Posts: 29
Received Thanks: 3
Quote:
Originally Posted by
|xabi|
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
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
05/04/2013, 01:16
#13
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
05/04/2013, 06:47
#14
elite*gold: 0
Join Date: Oct 2010
Posts: 64
Received Thanks: 10
Quote:
Originally Posted by
MrCaSpR
[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 >_<
05/05/2013, 00:34
#15
elite*gold: 0
Join Date: Sep 2010
Posts: 12
Received Thanks: 1
Quote:
Originally Posted by
мσ∂ү √
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 ( packet , 6 ); Game . ConquerStructures . Arena . Statistics . ShowRankingPage ( packet [ 4 ], PageIndex , client ); break; } case 2206 : { //Code snippet that belongs to Ultimation ushort PageIndex = BitConverter . ToUInt16 ( packet , 4 ); Game . ConquerStructures . Arena . QualifyEngine . RequestGroupList ( client , PageIndex ); break; } case 2205 : //Arena Signup! { //Code snippet that belongs to Ultimation uint DialogID = BitConverter . ToUInt32 ( packet , 4 ); uint ButtonID = BitConverter . ToUInt32 ( packet , 8 ); switch ( DialogID ) { case 4 : { switch ( ButtonID ) { case 0 : { Game . ConquerStructures . Arena . QualifyEngine . DoQuit ( client ); break; } } break; } case 0 : Game . ConquerStructures . Arena . QualifyEngine . DoSignup ( client ); client . Send ( packet ); break; case 1 : Game . ConquerStructures . Arena . QualifyEngine . DoQuit ( client ); client . Send ( packet ); break; case 3 : { switch ( ButtonID ) { case 2 : Game . ConquerStructures . Arena . QualifyEngine . DoGiveUp ( client ); break; case 1 : Game . 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 0 : Game . 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 ( packet , 4 ); uint Fighter = BitConverter . ToUInt32 ( packet , 10 ); 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 = 22 ; c < packet . Length ; c ++) { if ( packet [ c ] != 0 ) name += ( char ) packet [ c ]; else break; } Game . ConquerStructures . Arena . QualifyEngine . DoCheer ( client , name ); } break; } #endregion Arena (2207<->2211)
pos 3la al arkam ya zaky we anta tfhm de arena wla ChampoinArena
lol
All times are GMT +2. The time now is 15:02 .