Register for your free account! | Forgot your password?

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

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

Advertisement



Pirate Skills Flags !!

Discussion on Pirate Skills Flags !! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Pirate Skills Flags !!

Hello Elitepvpers Members .

i am working on Pirate skills , i just wanna to know Skills flags IDs

or a way to find them , how ?

Thanks
abdeen is offline  
Old 11/10/2012, 17:25   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
All flags are stored in stateff.ini
All skill ids are stored in magictype.dat
pro4never is offline  
Thanks
2 Users
Old 11/10/2012, 17:38   #3
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by pro4never View Post
All flags are stored in stateff.ini
All skill ids are stored in magictype.dat
Thanks Pro , there another question please . how do i convert the id to const ulong ?

Like here is
PHP Code:
StatuseEffect.ini 
PHP Code:
17 Reflect NULL -
and in the source its like this

PHP Code:
ReflectMelee 0x20000
abdeen is offline  
Thanks
1 User
Old 11/10/2012, 18:45   #4
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
120
121
|xabi| is offline  
Old 11/10/2012, 18:52   #5
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by |xabi| View Post
120
121
I`ll try them , thanks anyway ....
abdeen is offline  
Old 11/10/2012, 19:57   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by abdeen View Post
Thanks Pro , there another question please . how do i convert the id to const ulong ?

Like here is
PHP Code:
StatuseEffect.ini 
PHP Code:
17 Reflect NULL -
and in the source its like this

PHP Code:
ReflectMelee 0x20000
You need to understand how bit flags work.

I've written about it before but I'm so bored at work so here's the basic rundown.


All numbers stored on a computer are in binary. Lets post a quick conversion table for the example you used of reflect.


Decimal (base 10): 131072
Hexidecimal (base 16): 0x20000
Binary ( base 2): 100000000000000000

Now you'll notice that in stateff.ini it refers to Reflect as being 17. This means that the status effect controlling Reflect (on or off) is the same as

1 shifted to the left by 17 bits
1 << 17


This is important because status effects are essentially a 'pool'. They are a chunk of memory dedicated to certain bits being either active or inactive (1 or 0). This notation lets us quickly and efficiently run bit operations to determine or change specific effects within this section of memory. We are ONLY concerned with the status of this single bit. Hexidecimal (or even worse, decimal) values are very misleading to use as constants/enumerators as they mask what's going on behind the scenes and really offer zero benefit.
pro4never is offline  
Thanks
3 Users
Old 11/17/2012, 16:54   #7
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
How to fix BlackbeardsRage and Cannon Barrage Skills ?
abdeen is offline  
Reply


Similar Threads Similar Threads
Discussion About OneBandit Quest / Pirate Skills
11/23/2012 - CO2 Private Server - 18 Replies
Adrenaline Rush:- Solved Scurvy Bomb:- Solved GaleBomb Skill:- when it hit the monsters they DisAppear and if they didnt die they will appear after 2 secs from DisAppear and if they Died they DisAppear forever what wrong with this Skill .. i've used Very Simple method to send them back ... Updating their X , Y -5 for each of them but they Arent removed and nothing is Changed ..How to Fix up this Skill ? Krackens Revenge Skill:-
[Release] Pirate Correct Motion for skills and weapon handling
08/22/2012 - CO2 PServer Guides & Releases - 7 Replies
first of all u have to delete all the Pistol id's for ur source any pistol that begin with 612xxx all needed codes are in a txt file cause the forum didn't allow a thread with more than 100k characters Modified DBC files http://herosh.com/download/10878709/PirateModefied DBCSByEslam.rar.html pics:
Pirate Correct Skills Effects [for non-upgraded sources]s
08/18/2012 - CO2 PServer Guides & Releases - 10 Replies
this file for non-upgraded source for those who made the skills and dont shown right effects even the motion of the skill due to the absence of RoleView.dll as it handle the effects,motions,npcs etc .... just extract that to ur client folder and u got them like that the rest are fine
[Request]Pirate Skills Flags id
07/27/2012 - CO2 Private Server - 0 Replies
hey, can any one help me with the new Flags for the new pirate Skills Like the 2 Xp Skills ? btw , public const ulong BlackBeard = 13, CannonBarrage = 16, EagleEye = 24,
Skills Pirate
07/21/2012 - CO2 Private Server - 9 Replies
does any one has packet for these 2 skills ( Black Spot - Adrinaline rush ) REgards



All times are GMT +1. The time now is 16:59.


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.