Register for your free account! | Forgot your password?

You last visited: Today at 14:05

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

Advertisement



Problem in Team Qulif

Discussion on Problem in Team Qulif within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old 03/09/2013, 18:35   #31
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by MrCaSpR View Post
feh anhe

void import feh a5rha wala fen
Check My Edited Post ... w la2 msh Import Void .. mn esmaha ya3ny Import de eli htda5al el teams 3shan yla3bo b3d ..

Translation :-
No .. Import void as its name refer to .. it just Send the Two Teams into Arena Map
shadowman123 is offline  
Old 03/09/2013, 18:42   #32
 
MrCaSpR's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 87
Received Thanks: 6
Quote:
Originally Posted by shadowman123 View Post
Check My Edited Post ... w la2 msh Import Void .. mn esmaha ya3ny Import de eli htda5al el teams 3shan yla3bo b3d ..

Translation :-
No .. Import void as its name refer to .. it just Send the Two Teams into Arena Map
i check your post and can't understand all
(bor7a bas 3alia keda feh now void export tmam howa dah elly 2sdk 3alih )
tab ( el tani dah bet3e eh !!!!!!! )

this is my Export
PHP Code:
public void Export()
            {
                foreach (
Client.GameState teammate1 in Player1.Entity.Owner.Team.Teammates)
                {
                    foreach (
Client.GameState teammate2 in Player2.Entity.Owner.Team.Teammates)
                    {
                        
teammate1.InArenaMatch Player1.InArenaMatch;
                        
teammate2.InArenaMatch Player2.InArenaMatch;
                        
Player1.InArenaMatch Player2.InArenaMatch false;
                        var 
arr Watcherss.ToArray();
                        foreach (
Client.GameState client in arr)
                            
QualifyEngine2.DoLeave(client);
                        
arr null;
                        
Win(WinnerLoser);
                        
Inside false;
                        
Player1.Entity.Teleport(Player1.Entity.PreviousMapIDPlayer1.Entity.PrevXPlayer1.Entity.PrevY);
                        
Player2.Entity.Teleport(Player2.Entity.PreviousMapIDPlayer2.Entity.PrevXPlayer2.Entity.PrevY);
                        
Console.WriteLine(55 "");
                        
Loser.Entity.Ressurect();
                        
Winner.Entity.Ressurect();
                        
Player1.ArenaTeam.AcceptBox Player2.ArenaTeam.AcceptBox false;
                        
Player1.ArenaTeam.AcceptBoxShow Player2.ArenaTeam.AcceptBoxShow Player2.ArenaTeam.AcceptBoxShow.AddHours(2);
                        
Player1.ArenaTeam.PlayWith Player2.ArenaTeam.PlayWith 0;
                        
ArenaTeamSignup sign = new ArenaTeamSignup();
                        
sign.DialogID ArenaTeamSignup.MainIDs.Dialog2;
                        
Loser.Send(sign.BuildPacket());
                        
sign.OptionID ArenaTeamSignup.DialogButton.Win;
                        
Winner.Send(sign.BuildPacket());
                        
QualifierList2.Groups.Remove(ID);
                        
Player1.Entity.PKMode P1Mode;
                        
Player1.Send(new Data(true) { UID Player1.Entity.UIDID Data.ChangePKModedwParam = (uint)Player1.Entity.PKMode });
                        
Player2.Entity.PKMode P2Mode;
                        
Player2.Send(new Data(true) { UID Player2.Entity.UIDID Data.ChangePKModedwParam = (uint)Player2.Entity.PKMode });
                        
Player1.QualifierGroups null;
                        
Player2.QualifierGroups null;
                        if (
dynamicMap != null)
                            
dynamicMap.Dispose();
                    }
                }
            } 
and this is my code in packet handle
PHP Code:
#region Arena Team Qualifier (2241-2247)
                
case 2244://Request Arena Winner List
                    
{
                        
//Code snippet that belongs to RCE
                        
Game.ConquerStructures.Society.ArenaTeamSignup.Statistics.ShowWiners(client);
                        break;
                    }
                case 
2243://Request Arena ranking List
                    
{
                        
//Code snippet that belongs to Ultimation
                        
ushort PageIndex BitConverter.ToUInt16(packet10);
                        
Game.ConquerStructures.Society.ArenaTeamSignup.Statistics.ShowRankingPage(packet[10], PageIndexclient);
                        break;
                    }
                case 
2242:
                    {
                        
//Code snippet that belongs to Ultimation
                        
ushort PageIndex BitConverter.ToUInt16(packet10);
                        
Game.ConquerStructures.Society.QualifyEngine2.RequestGroupList(clientPageIndex);
                        break;
                    }
                case 
2241://Arena Team Signup!
                    
{
                        
uint DialogID BitConverter.ToUInt32(packet4);
                        
uint ButtonID BitConverter.ToUInt32(packet8);
                        switch (
DialogID)
                        {
                            case 
4:
                                {
                                    switch (
ButtonID)
                                    {
                                        case 
0:
                                            {
                                                
Game.ConquerStructures.Society.QualifyEngine2.DoQuit(client);
                                                break;
                                            }
                                    }
                                    break;
                                }
                            case 
0:
                                {
                                    if (
client.Entity.MapID != 1098 && client.Entity.MapID != 6001 && client.Entity.MapID != 6000 && client.Entity.MapID != 6002)
                                    {
                                        
Game.ConquerStructures.Society.QualifyEngine2.DoSignup(client);
                                        
client.Send(packet);
                                    }
                                    else
                                    {
                                        
client.Send(ServerBase.Constants.Teleportout);
                                    }
                                }
                                break;
                            case 
1Game.ConquerStructures.Society.QualifyEngine2.DoQuit(client); client.Send(packet); break;
                            case 
3:
                                {
                                    switch (
ButtonID)
                                    {
                                        case 
2Game.ConquerStructures.Society.QualifyEngine2.DoGiveUp(client); break;
                                        case 
1Game.ConquerStructures.Society.QualifyEngine2.DoAccept(client); break;
                                    }
                                    break;
                                }
                            case 
5:
                                {
                                    if (
client.ArenaTeam.ArenaPointTeam <= 1500)
                                        if (
client.Entity.Money >= 9000000)
                                        {
                                            
client.Entity.Money -= 9000000;
                                            
client.ArenaTeam.ArenaPointTeam += 1500;
                                            
client.Send(client.ArenaTeam);
                                        }
                                    break;
                                }
                            case 
11://Win/Lose Dialog
                                
{
                                    switch (
ButtonID)
                                    {
                                        case 
0Game.ConquerStructures.Society.QualifyEngine2.DoSignup(client); break;
                                    }
                                    break;
                                }

                        }
                        break;
                    }
                case 
2245:
                    {
                        
client.ArenaTeam.Send(client);
                        break;
                    }
                case 
2247:
                    {
                        if (
client.Map.BaseID == 6001 || client.Map.ID == 6000 || client.Map.ID == 6002)
                            return;
                        
ushort Type BitConverter.ToUInt16(packet10);
                        
uint Fighter BitConverter.ToUInt32(packet16);
                        if (
Type == 0)
                        {
                            if (
ServerBase.Kernel.GamePool.ContainsKey(Fighter))
                            {
                                
Client.GameState Client ServerBase.Kernel.GamePool[Fighter];
                                if (
Client.QualifierGroups != null)
                                {
                                    if (
Client.QualifierGroups.Inside)
                                    {
                                        if (!
Client.QualifierGroups.Done)
                                        {
                                            
Client.QualifierGroups.BeginWatching(client);
                                        }
                                    }
                                }
                            }
                        }
                        else if (
Type == 1)
                        {
                            
Game.ConquerStructures.Society.QualifyEngine2.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.Society.QualifyEngine2.DoCheer(clientname);
                        }
                        break;
                    }
                
#endregion 
MrCaSpR is offline  
Old 03/10/2013, 11:59   #33
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by shadowman123 View Post
Check My Edited Post ... w la2 msh Import Void .. mn esmaha ya3ny Import de eli htda5al el teams 3shan yla3bo b3d ..

Translation :-
No .. Import void as its name refer to .. it just Send the Two Teams into Arena Map

@ahmed
tell me the idea of exporting and i will try
(2oly el fekra we ana a3esh)

@casper
(yad ana sa7bak we mesh fahem anta bt2ol eh)
i'm ur friend still don't understand what u say
abdoumatrix is offline  
Old 03/10/2013, 23:08   #34
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Fekret eah ya ged3an mana 7atetloko el code .. 7ata msh 3rfen ht7oto el code fain .. sry i helped u guyz Enough
shadowman123 is offline  
Old 03/10/2013, 23:23   #35
 
MrCaSpR's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 87
Received Thanks: 6
Quote:
Originally Posted by shadowman123 View Post
Fekret eah ya ged3an mana 7atetloko el code .. 7ata msh 3rfen ht7oto el code fain .. sry i helped u guyz Enough
Shadowman : I put everything in Thread in order to assist me in developing the solution properly without error

@shadowman ana hatetlk el export w el packet handle 3shan T2ole el 3eb feh anhe Fehom W el Code elly anta nazlto yat7t Fen W el Cod elly anta nazlto Gaib error 3shan keda 3aiz T2ole ahot fen 3shan m4 yegeb Error
MrCaSpR is offline  
Old 03/10/2013, 23:46   #36
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
ma3ldesh ya shadow ana ha7awel ma3ah ahoh
anta 3ayazhom yamsho men al arena emta ?
lama kolhom fehom yamot sa7 ?
yab2a t7otaha fel attack handlers maslan ? b nested conditions
hat3mal 3 level nested if conditions
if killed entity flag == player flag
if (hit points >= 0) aw if (attack >= hit points)
if team arena map list contain al map beta3hom
teleport bara
w momken t7otaha fel die method (3ala ma atzakar kanet bett3amlaha raise lama 7ad bymawt 7ad)

w hat3mal kman check law homa mayten 3alshan t3malhom rev abl mat3malhom teleport
3alshan law 3amlt rev ba3d ma ta3mal teleport hayro7o ll city default reving coords

w ma3lesh 7awal abl mats2al tafkar w tashof law feh 7aga fel source 3andak orayba men aly anta 3ayzo w dawar 3aleha w 7ot break point w shof al source bya3malha azay

w zay momken ta3mal aly alak 3aleh shadow ano anta ta7ot kol al teams aly 3amla sign up aly anta hat3malhom match f list
aw momken ashal men keda lama wa7ed yamot ta3mal scan
tagyb al map men killer map property
hat3mal scan
for each player in sever
if player map property == killer map
add player to gamestate entity directory

w kol lama wa7ed yamot 2a3mal nafs al scan
for each player in sever
if player map property == killer map
if player team != null , player is team leader
2a3mal foreach loop for each player in this team , law fehom wa7ed alive 2a3mal break w set entity bool property true , law kolhom mayten set that bool to false


law al bool true break , law al bool false revhom kolhom w announce winners w tele them back to previous map with previous x and previous y

leh bool property ? 3alashan anta mesh hayb2a 3andak arena wa7da dol kaza arena f nafs al wa2t
leh team arena map list ? 3alshan anta hat3mal new map each new match w mesh 1 arena l kol al server
leh hat3mal scan 3ala al server kolo ? 3alshan anta lazem ta3mal scan 3alshan t3mal check 3ala al players entity map id

momken ta3mal directory b <entity,mapid> 3alshan tab2a hyea 1 directory w feha al map ids

kol mahtfakar fel 7akayea w kol hatb2a programmer ashtar hat3rf ta3mal al quest a7san
go for it is offline  
Thanks
1 User
Old 03/11/2013, 00:20   #37
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
w deeeen omy ma hyfhamo 7aga kda ya Androw ... Bos ya m3alem bel sala 3al naby kda el code eli ana mdeholak da hyt7at f Export Void .. gamel kda .. tb3an ba2a mt5odsh el code copy paste 3shan ana eli 7ato da example .. msh htla2y 7aga kda 3ndak fa ht3mel error .. Efham ana 3malt eah w defo f Export .. kda el donya salka ba2a .. ht2oly hat el code bezabt h2olak rawa7
shadowman123 is offline  
Old 03/11/2013, 00:28   #38
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
ya 3am a7a dana kont ba2ra al nahrda sourcat men 2005 w 2006 w kont basab al men 7alawat al codes
al nas deh sab2ana bekter yaba :\ w hybrid mesh la2y 7aga ya3malha , al ha3mal full source bel current patch b kol 7aga w kol aly a7na 3amlnah mab2ash leh ay lazma
da7na da5len 3ala ayam soda
go for it is offline  
Old 03/11/2013, 00:57   #39
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
el nas msh httgawab ma3 el Source w b3den 7ata law nazel source 5orafy ana msh haseb sourcy w 22oloko 7aga ana hmsa7 el Team Qualififer system el 5ara daaaa .. w hshta3'al ana wa7ed 3la ndafa 3shan sme3t en Binery Reader w Writer tre2a 2dema w bdan
shadowman123 is offline  
Old 03/11/2013, 01:09   #40
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
ah walahii dah al wa7ed yafrat f marato w mayfartesh f sourco trahan 3ala kam ano 3/4 al community hatshta3`al beh ?
bas al moshkela fa3lan ano ma7desh by3raf yan2al men sourcato 3alshan keda hatla2y al nas betsta3malha zay ma hyea so still we will have chance
w law 5alas mosh la2yanlaha serfa na3malo proxy bot 3alshan man5alesh 7ad yasta3malo
al crypto public wel sboxes public w al dh exchange fel servers w up to date , ya3ny f youmen yakon ma3molo proxy bot w ma7dash yasta3malo
aw if we are lucky enough tla2y exploit
go for it is offline  
Thanks
1 User
Old 03/11/2013, 01:25   #41
 
MrCaSpR's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 87
Received Thanks: 6
Thanxxxx go for it & shadowman123 thanxxxx i will try to make it today
@sokran ya regala w sokran leh el mos3da w matz3l4 mene ya ahmed w sokran ya androw w isa elly feh el 5er ya2dmo rabna
MrCaSpR is offline  
Old 03/12/2013, 12:52   #42
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by go for it View Post
ma3ldesh ya shadow ana ha7awel ma3ah ahoh
anta 3ayazhom yamsho men al arena emta ?
lama kolhom fehom yamot sa7 ?
yab2a t7otaha fel attack handlers maslan ? b nested conditions
hat3mal 3 level nested if conditions
if killed entity flag == player flag
if (hit points >= 0) aw if (attack >= hit points)
if team arena map list contain al map beta3hom
teleport bara
w momken t7otaha fel die method (3ala ma atzakar kanet bett3amlaha raise lama 7ad bymawt 7ad)

w hat3mal kman check law homa mayten 3alshan t3malhom rev abl mat3malhom teleport
3alshan law 3amlt rev ba3d ma ta3mal teleport hayro7o ll city default reving coords

w ma3lesh 7awal abl mats2al tafkar w tashof law feh 7aga fel source 3andak orayba men aly anta 3ayzo w dawar 3aleha w 7ot break point w shof al source bya3malha azay

w zay momken ta3mal aly alak 3aleh shadow ano anta ta7ot kol al teams aly 3amla sign up aly anta hat3malhom match f list
aw momken ashal men keda lama wa7ed yamot ta3mal scan
tagyb al map men killer map property
hat3mal scan
for each player in sever
if player map property == killer map
add player to gamestate entity directory

w kol lama wa7ed yamot 2a3mal nafs al scan
for each player in sever
if player map property == killer map
if player team != null , player is team leader
2a3mal foreach loop for each player in this team , law fehom wa7ed alive 2a3mal break w set entity bool property true , law kolhom mayten set that bool to false


law al bool true break , law al bool false revhom kolhom w announce winners w tele them back to previous map with previous x and previous y

leh bool property ? 3alashan anta mesh hayb2a 3andak arena wa7da dol kaza arena f nafs al wa2t
leh team arena map list ? 3alshan anta hat3mal new map each new match w mesh 1 arena l kol al server
leh hat3mal scan 3ala al server kolo ? 3alshan anta lazem ta3mal scan 3alshan t3mal check 3ala al players entity map id

momken ta3mal directory b <entity,mapid> 3alshan tab2a hyea 1 directory w feha al map ids

kol mahtfakar fel 7akayea w kol hatb2a programmer ashtar hat3rf ta3mal al quest a7san

ty andrew
7kayet el directory dy gamda awy


@ahmed
bra7a 3alina ya 3am mfesh 7ad byb2a coder men awl mara kol wa7ed fe 7aga mbyb2ash 3arefha fa bys2al feha

we ana kont bs2al 3la el fekra bt3at el team arena 3moman
zay el idea el andrew 2alha dy

3la el 3mom TY

Ty All
I will Try it
abdoumatrix is offline  
Old 03/13/2013, 00:27   #43
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Hayeeeeeeeeeel Do it ya m3alem
shadowman123 is offline  
Old 03/13/2013, 05:28   #44
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
#closed. English or German only.
Lateralus is offline  
Closed Thread


Similar Threads Similar Threads
Team Olympus Problem
12/15/2012 - S4 League - 3 Replies
Hello, I have a small problem with the Olympus hack. When I get to the part of choosing the hacks a error comes up and tells me S4.Client Wasn't found -.- :mad::rtfm: Please help!!!!!!!!! Ps: Yes I do have the latest version
Team Olympus problem
12/11/2012 - S4 League - 3 Replies
I've been having issues with creating a team olympus account.I was wondering if someone could help me create one and send me the details or show me how to make one :) :o:rtfm::pimp::mofo:
LOL Problem with -AsD- Team Trainer 1.5
12/29/2011 - S4 League - 4 Replies
Hallo ich hatte heute ein lustiges Problem mit dem Trainer Version 1.5 Ich habe ihn gestartet und dann kam diese meldung Update: There is a new version existing: 1.4 ! You are using: 1.5. You must download the new version Ich habe einfach mal ja gedrückt und nach einer meldung in der stand das der download erfolgreich durchgeführt wurde passierte nichts... Wenn ich den trainer nochmal starte kommt immer die gleiche meldung...:rtfm:
Wolf Team Problem
05/10/2011 - Wolfteam - 4 Replies
Hey Leute :D Ich habe ein WOlfTeam Problem also als erstes kommt immer das mit n protect und der sagt 6dann irgendwas von einem error und dann öffnet sich dazu die website was soll ich machen?????? warte jetzt schon vier monate :( habe win 7 und wolf team de =D



All times are GMT +1. The time now is 14:06.


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.