Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 04:28

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

Advertisement



bad problem in shadow clone

Discussion on bad problem in shadow clone within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
bad problem in shadow clone

hello guys
-----------
i got bad problem with shadow clone skill
when i use the skill i got 2 shadow but when i use it after 10 min it give me more 2 shadow and after more 10 min i can got more 2 shadow .
i dont know how can i fix that hard problem
any1 have any aide about that problem ??
girgismena is offline  
Old 08/22/2014, 02:40   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
if (countofyourclones > 0)
{
send generaldata packet with id 135 and your clone`s uid to remove it
}
else
{
do the skill
}
kakamankoko is offline  
Old 08/22/2014, 03:32   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
Quote:
Originally Posted by kakamankoko View Post
if (countofyourclones > 0)
{
send generaldata packet with id 135 and your clone`s uid to remove it
}
else
{
do the skill
}
it already exists like that
PHP Code:
if (attacker.MyClones.Count 0)
                                            {
                                                foreach (var 
item in attacker.MyClones.Values)
                                                {
                                                    
attacker.Owner.Map.RemoveEntity(item);
                                                    
Data data = new Data(true);
                                                    
data.UID item.UID;
                                                    
data.ID Network.GamePackets.Data.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                }
                                                
attacker.MyClones.Clear();
                                                return; 
btw the skill work good but
and it dosent repeat exept when monsters or players attack me and i try to use skill after they attacked me
mean if i use skill and got 2 shadow , if i use it again the shadow will disaper
but if i got 2 shadow and go beside monsters and monsters attacked me and i try to use skill i will got more 2 shadow
girgismena is offline  
Old 08/22/2014, 18:37   #4
 
elite*gold: 0
Join Date: Apr 2011
Posts: 93
Received Thanks: 20
Quote:
Originally Posted by girgismena View Post
it already exists like that
PHP Code:
if (attacker.MyClones.Count 0)
                                            {
                                                foreach (var 
item in attacker.MyClones.Values)
                                                {
                                                    
attacker.Owner.Map.RemoveEntity(item);
                                                    
Data data = new Data(true);
                                                    
data.UID item.UID;
                                                    
data.ID Network.GamePackets.Data.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                }
                                                
attacker.MyClones.Clear();
                                                return; 
btw the skill work good but
and it dosent repeat exept when monsters or players attack me and i try to use skill after they attacked me
mean if i use skill and got 2 shadow , if i use it again the shadow will disaper
but if i got 2 shadow and go beside monsters and monsters attacked me and i try to use skill i will got more 2 shadow
that means you handle the clone attack wrong i saw this before on arabic forum and it causes the problem
kakamankoko is offline  
Old 08/22/2014, 23:16   #5
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
ya true it from arabic forum
so how can i fix that problem ?
girgismena is offline  
Old 08/31/2014, 06:00   #6
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
wow it resolve
all i can do now is thank to Spirited
cuz he give me the Guide "how to debug your source"
and all i did is learning how i do from his guide
-----------
thanks alot Spirited
girgismena is offline  
Old 08/31/2014, 11:53   #7
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by girgismena View Post
wow it resolve
all i can do now is thank to Spirited
cuz he give me the Guide "how to debug your source"
and all i did is learning how i do from his guide
-----------
thanks alot Spirited
but if u debug the source u will find nothing wrong in the codes as the Myclones dictionary count don't exceed 2
abdoumatrix is offline  
Old 08/31/2014, 13:59   #8
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
Quote:
Originally Posted by abdoumatrix View Post
but if u debug the source u will find nothing wrong in the codes as the Myclones dictionary count don't exceed 2
the wrong wasn't in Myclones dictionary count it was in that part

PHP Code:
if (attacker.MyClones.Count 0)
                                            {
                                                foreach (var 
item in attacker.MyClones.Values)
                                                {
                                                    
attacker.Owner.Map.RemoveEntity(item);
                                                    
Data data = new Data(true);
                                                    
data.UID item.UID;
                                                    
data.ID Network.GamePackets.Data.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                }
                                                
attacker.MyClones.Clear();
                                                return; 
i think u know that bro cuz u r a profisional coder but i know u want ppl to try to learn and think
girgismena is offline  
Old 08/31/2014, 18:49   #9
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by girgismena View Post
the wrong wasn't in Myclones dictionary count it was in that part

PHP Code:
if (attacker.MyClones.Count 0)
                                            {
                                                foreach (var 
item in attacker.MyClones.Values)
                                                {
                                                    
attacker.Owner.Map.RemoveEntity(item);
                                                    
Data data = new Data(true);
                                                    
data.UID item.UID;
                                                    
data.ID Network.GamePackets.Data.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                }
                                                
attacker.MyClones.Clear();
                                                return; 
i think u know that bro cuz u r a profisional coder but i know u want ppl to try to learn and think
but I still don't become one yet still in progress

and i think there r missing packet that cause these problem

anyway nicejob
abdoumatrix is offline  
Old 08/31/2014, 23:41   #10
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
thanks bro and good luck
girgismena is offline  
Reply


Similar Threads Similar Threads
Do Clone problem
06/20/2013 - DarkOrbit - 1 Replies
Hi... i have problem whit my Do clone... it is based on orbit legacy files The server is connected I register my account and ok... but when i log to my account the server says: "an account whit this Username Doesent exist" Help me please my skype is hero-emiliobosss
Do Clone problem
05/21/2013 - DarkOrbit - 3 Replies
Hi my friend have a problem whit his darkorbit clone this is the picture: http://www.pic-upload.de/view-19422941/PROBLEM.pn g.html add it on skype: darkorbitsuchtiide3 or come on is ts3: 94.249.254.121:8888 Please Help him
shadow co problem
02/26/2012 - Conquer Online 2 - 1 Replies
hi i have a problem when i try to download shadow co client i get at 8-9 percents and then it stops the download . 1 year ago i downloaded it many times why now i can't download it ?
Sea Shadow Launcher Problem
07/28/2011 - SRO Private Server - 4 Replies
I've patched Media.pk2, When I press Start in launcher i take this error: http://img299.imageshack.us/img299/6029/screensho t90h.jpg Sry For Bad English,:o
Sea Shadow Emu problem?...
09/28/2010 - SRO Private Server - 2 Replies
I can log-in to my server, but when i try making a character, the buttons stop working and i just sit there watching the camera go in circles around my char. any solutions? and also, is there a way to create a character from outside of the game?



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


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.