Register for your free account! | Forgot your password?

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

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

Advertisement



help with Tranquility skill

Discussion on help with Tranquility skill 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
help with Tranquility skill

hello guys !!
i have a problem in my source i don't know how i fix it
the problem is :
when archer use pathofshadow skill and any1 use Tranquility skill with him
he back normal without his pathofshadow so he cant attack any1
mean Tranquility remove pathofshadow !!!
can any1 help me please ?
girgismena is offline  
Old 07/18/2013, 09:32   #2
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
edit: nvm everything i just said (it's incorrect)
i've had thought about it once more and with common sense figured out that the tranquility removes flags such as poison flag and soul shackle , so yeah you can just add a check to loop on all the flags and not remove the assassin flags and still remove others

just for an easy entiry to what you want to edit, search for the tranquility id at your source, you should find what it does
go for it is offline  
Old 07/18/2013, 10:45   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
Quote:
Originally Posted by go for it View Post
edit: nvm everything i just said (it's incorrect)
i've had thought about it once more and with common sense figured out that the tranquility removes flags such as poison flag and soul shackle , so yeah you can just add a check to loop on all the flags and not remove the assassin flags and still remove others

just for an easy entiry to what you want to edit, search for the tranquility id at your source, you should find what it does
1st thanks for your answer
but i don't understand that cuz i'm new with that
i just need the code to add because i really don't know how to do that
thanks
girgismena is offline  
Old 07/18/2013, 10:59   #4
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
well i would love to but what makes you think that i got your source ? i would love to help nonetheless i don't know what source you are using, please provide me with the piece of code for the spell and the ids you want to exclude and i would be more than happy to help you out
but yeah i think you need to learn programming more than getting it done
go for it is offline  
Thanks
1 User
Old 07/18/2013, 11:08   #5
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
ya i need to learn that that sure
and i use iFranko source
but i dont know witch code u need
PathOfShadow code or Tranquility code ?
thanks again for help
girgismena is offline  
Old 07/18/2013, 11:14   #6
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
well to be honest there is a billions of sources out there as everyone change what's written on the console and rerelease the source, and the question here is, are you expecting me to search for all of them to know what ifranko source is?
and about the skills, which one that bug the other ? yes then get me tranquility source and ill take care of the ids myself
or a better idea is to link me with the source and download it and do everything for you
go for it is offline  
Old 07/18/2013, 11:32   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
1st that the skill
PHP Code:
//Tranquility
                                    
case 10425:
                                        {
                                            if (
attacked == null) return;

                                            if (
CanUseSpell(spellattacker.Owner))
                                            {
                                                
PrepareSpell(spellattacker.Owner);

                                                if (
attacked == null) return;

                                                
SpellUse suse = new SpellUse(true);
                                                
suse.Attacker attacker.UID;
                                                
suse.SpellID SpellID;
                                                
suse.SpellLevel attacker.Owner.Spells[SpellID].Level;
                                                
suse.X;
                                                
suse.Y;


                                                
suse.Targets.Add(attacked.UID1);

                                                
attacked.ToxicFogLeft 0;
                                                
attacked.ShackleTime 0;
                                                
attacked.NoDrugsTime 0;
                                                
attacked.RemoveFlag2(Update.Flags2.SoulShackle);
                                                if (
attacked.EntityFlag == EntityFlag.Player)
                                                {
                                                    
SyncPacket packet3 = new SyncPacket
                                                    
{
                                                        
Identifier attacked.UID,
                                                        
Count 2,
                                                        
Type ShekoProject.Network.GamePackets.SyncPacket.SyncType.StatusFlag,
                                                        
StatusFlag1 = (ulong)attacked.StatusFlag,
                                                        
StatusFlag2 = (ulong)attacked.StatusFlag2,
                                                        
Unknown1 0x36,
                                                        
StatusFlagOffset 0x6f,
                                                        
Time 0,
                                                        
Value 0,
                                                        
Level spell.Level
                                                    
};
                                                    
attacked.Owner.Send((byte[])packet3);
                                                }
                                                if (
attacked.EntityFlag == EntityFlag.Player)
                                                    
attacked.Owner.SendScreen(susetrue);
                                                else
                                                    
attacked.MonsterInfo.SendScreen(suse);
                                            }
                                            
attacker.AttackPacket null;
                                            break;
                                        } 
2nd i will upload the source for now and link it after 5 min

this is the source and thanks alot for help bro




this is the 2nd skill
PHP Code:
case 11620:
                                        {
//pathofshadow
                                            
if (CanUseSpell(spellattacker.Owner))
                                            {
                                                
PrepareSpell(spellattacker.Owner);
                                                if (
attacker.ContainsFlag3(Update.Flags3.PathOfShadow))
                                                {
                                                    
attacker.RemoveFlag3(Update.Flags3.PathOfShadow);
                                                    break;
                                                }
                                                
_String str = new _String(true);
                                                
str.UID attacker.UID;
                                                
str.TextsCount 1;
                                                
str.Type _String.Effect;
                                                
str.Texts.Add("superxp2");
                                                
attacker.Owner.SendScreen(strtrue);
                                                
attacker.AddFlag3(Update.Flags3.PathOfShadow);
                                                
SpellUse spellUse = new SpellUse(true);
                                                
spellUse.Attacker attacker.UID;
                                                
spellUse.SpellID spell.ID;
                                                
spellUse.SpellLevel spell.Level;
                                                
spellUse.X;
                                                
spellUse.Y;
                                                
spellUse.Targets.Add(attacker.UID0);
                                                
attacker.Owner.SendScreen(spellUsetrue);
                                            }
                                            break;
                                        } 
i dont know in whitch one u will edit but its ok
btw i upload the source and add link and i will add it again in that post
girgismena is offline  
Old 07/18/2013, 11:57   #8
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
Quote:
Originally Posted by girgismena View Post
well lets try something at first (it was to be way easier if i got a client)
first ill assume that sync packet (as he call it) or the entity packet 10017 is structured right and that flag3 at the packet is uint and not ulong
try this


and incase it did not work and it wasn't structured right then you have to go to the packet at syncpacket.cs
and change the following
to

then use the following code

i guess that should work just fine but in case it doesn't ill still be here, goodluck and please learn programming
go for it is offline  
Old 07/18/2013, 12:12   #9
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
thanks alot for help bro
and that code work very good
PHP Code:
case 10425:
                                        {
                                            if (
attacked == null) return;

                                            if (
CanUseSpell(spellattacker.Owner))
                                            {
                                                
PrepareSpell(spellattacker.Owner);

                                                if (
attacked == null) return;

                                                
SpellUse suse = new SpellUse(true);
                                                
suse.Attacker attacker.UID;
                                                
suse.SpellID SpellID;
                                                
suse.SpellLevel attacker.Owner.Spells[SpellID].Level;
                                                
suse.X;
                                                
suse.Y;


                                                
suse.Targets.Add(attacked.UID1);

                                                
attacked.ToxicFogLeft 0;
                                                
attacked.ShackleTime 0;
                                                
attacked.NoDrugsTime 0;
                                                
attacked.RemoveFlag2(Update.Flags2.SoulShackle);
                                                if (
attacked.EntityFlag == EntityFlag.Player)
                                                {
                                                    
SyncPacket packet3 = new SyncPacket
                                                    
{
                                                        
Identifier attacked.UID,
                                                        
Count 2,
                                                        
Type ShekoProject.Network.GamePackets.SyncPacket.SyncType.StatusFlag,
                                                        
StatusFlag1 = (ulong)attacked.StatusFlag,
                                                        
StatusFlag2 = (ulong)attacked.StatusFlag2,
                                                        
StatusFlag3 = (uint)attacked.StatusFlag3,
                                                        
Unknown1 0x36,
                                                        
StatusFlagOffset 0x6f,
                                                        
Time 0,
                                                        
Value 0,
                                                        
Level spell.Level
                                                    
};
                                                    
attacked.Owner.Send((byte[])packet3);
                                                }
                                                if (
attacked.EntityFlag == EntityFlag.Player)
                                                    
attacked.Owner.SendScreen(susetrue);
                                                else
                                                    
attacked.MonsterInfo.SendScreen(suse);
                                            }
                                            
attacker.AttackPacket null;
                                            break;
                                        } 
now can i ask u how can i learn programming ?
have any sites for that ?
thanks again bro <3
girgismena is offline  
Old 07/18/2013, 12:24   #10
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
well first of all i'm really happy it worked out for you because it's been a year since i've touched a source and it was to be super awkward if i couldn't help you out :P
and there is a plenty of resources out there, i would recommend some
first some video series of new Boston (just briefly explaining the language with examples and it would be really useful on the long run for creating applications and stuff, you may quit the graphical parts and other parts you may find irrelevant, better watch them full hd with headset, i've finished them twice already)

second there is a good tutorial released by member of epvp jacob if i recall correctly

then there is more books i read
including C# 5.0 in a nullshell , c# step by step, and more that i can't remember for now
you may google c# resources and you would find alot
just one more advice, never give up because the easy way is always there to wash you away
goodluck and notice there is a thank button out there

edit: just one last advice, you may not always understand something with the author way of explaining, so you either give up or go to google to figure it out
go for it is offline  
Thanks
2 Users
Old 07/18/2013, 12:34   #11
 
elite*gold: 0
Join Date: Aug 2009
Posts: 94
Received Thanks: 6
Quote:
Originally Posted by go for it View Post
well first of all i'm really happy it worked out for you because it's been a year since i've touched a source and it was to be super awkward if i couldn't help you out :P
and there is a plenty of resources out there, i would recommend some
first some video series of new Boston (just briefly explaining the language with examples and it would be really useful on the long run for creating applications and stuff, you may quit the graphical parts and other parts you may find irrelevant, better watch them full hd with headset, i've finished them twice already)

second there is a good tutorial released by member of epvp jacob if i recall correctly

then there is more books i read
including C# 5.0 in a nullshell , c# step by step, and more that i can't remember for now
you may google c# resources and you would find alot
just one more advice, never give up because the easy way is always there to wash you away
goodluck and notice there is a thank button out there

edit: just one last advice, you may not always understand something with the author way of explaining, so you either give up or go to google to figure it out
i'm really happy to meet some 1 like you
thanks alot bro and thanks for all of your advice
i will start to learn programming from now
god bless you and thanks again
girgismena is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Shaiya Tranquility
05/08/2012 - Shaiya PServer Advertising - 8 Replies
Exp rate - X800 Easy gold via Fortune Coins ( later to be added in multiple maps) Ep 4.5 Level 60 achievable in DD1 at the spiders. Tranquility Drop List Map 1 Cornwell/Argrilla Ruins
WTS G5 TRANQUILITY NANGIN
08/21/2010 - Trading - 9 Replies
Selling g5 tranquility nangin its has hr hb hs 6th 7th 8th 9th 10th i can throw in a g8 elite spear if u make a good offer
Tranquility Gaming
08/19/2010 - CO2 PServer Archive - 1 Replies
Moderators: Delete my other thread - This is my main thread now tranquilitygaming.tk We are a new server..we run on 5165..we are hosted on a VPS.. Our server is PVP based.. Quick note: System we have - You can only use gear commands up to +6..you can buy upgradestone in shopping mall to upgrade your gear to +12..you get cps from events Server features:
WTS M7 FUJIN TRANQUILITY WITH LEET M33 87% KAT
06/08/2010 - Trading - 2 Replies
OK so the account is m7 in tranquility (fujin) acc contains: m6 cs6 63% elite dbs m33 87% elite kat 40% scarab rare m8 103% katana (cs7 i think) rare cs8 90% gloves rare cs8 90% boots 33% relic and some other rares and stuff
[Druid] No CD on Tranquility
07/30/2009 - WoW Exploits, Hacks, Tools & Macros - 6 Replies
Hello there, Currently it is possible for Resto druids to have no cooldown on the Tranquility spell. Tranquility - Spell - World of Warcraft. How to do this: Get the Improved Tranquility talent Improved Tranquility - Spell - World of Warcraft. Get the 8 set bonus of the Cenarion Raiment. Decreased Tranquility and Hurricane Cooldown - Spell - World of Warcraft. Normally cooldowns affected by percentages don't stack. However, it does seem to stack with these 2.



All times are GMT +1. The time now is 13:53.


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.