Register for your free account! | Forgot your password?

You last visited: Today at 23:15

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

Advertisement



Help .. Flag system!

Discussion on Help .. Flag system! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
Question Help .. Flag system!

Hello ElitePVPers!

I am editing a source for the new Conquer .. "the updated version"

my question is about the flags after Tops .. "wars"

in the source code there is this :

client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .DragonFlow, 2, DateTime.Now.AddDays(7));


what does the number 2 after the name of the flag mean ?
sometimes i find it 3 .. sometimes 4 .. what is this ?


another question ..

in the MsgUpdate file there is this
DragonFlow = 1UL << 148,

in Conquer Online 2.0\ini\statuseffect file .. there is this
148 blooddrcontin NULL 10148

in Conquer Online 2.0\c3\effect\skill\blooddrcontin
there are c3 files of the Dragonflow effect of the dragonwarrior "in game effect"


but if i use MsgUpdate.Flags3.DragonFlow, 2, it shows the top 3 trojan effect!!
in totally different folder! ..
please i need help !! it makes no sense >> how this works
xyazanx is offline  
Old 02/07/2018, 03:59   #2
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by xyazanx View Post
Hello ElitePVPers!

I am editing a source for the new Conquer .. "the updated version"

my question is about the flags after Tops .. "wars"

in the source code there is this :

client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .DragonFlow, 2, DateTime.Now.AddDays(7));


what does the number 2 after the name of the flag mean ?
sometimes i find it 3 .. sometimes 4 .. what is this ?


another question ..

in the MsgUpdate file there is this
DragonFlow = 1UL << 148,

in Conquer Online 2.0\ini\statuseffect file .. there is this
148 blooddrcontin NULL 10148

in Conquer Online 2.0\c3\effect\skill\blooddrcontin
there are c3 files of the Dragonflow effect of the dragonwarrior "in game effect"


but if i use MsgUpdate.Flags3.DragonFlow, 2, it shows the top 3 trojan effect!!
in totally different folder! ..
please i need help !! it makes no sense >> how this works
Go to the function definition and find out?
Spirited is offline  
Old 02/07/2018, 04:14   #3
 
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Go to the function definition and find out?
you were answering my first question .. thanks


it refers to a case ..


what about the flag thing ? could you help me please ?
xyazanx is offline  
Old 02/07/2018, 04:40   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by xyazanx View Post
how to do that ?

Sorry Im kinda new ..




Do you mean like this ?




then what ?
Yes, but highlighting the right thing first.
You should go through this entirely before attempting to even run a server, if you haven't already:
Spirited is offline  
Old 02/07/2018, 22:16   #5
 
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Yes, but highlighting the right thing first.
You should go through this entirely before attempting to even run a server, if you haven't already:
I went through it .. Did not help in my problem ..

I am asking how can I make totally new statusflags (by photoshop)
how to put them in the right folder to use them IN GAME ..
xyazanx is offline  
Old 02/08/2018, 00:49   #6
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
And I'm saying figure it out. You should know how to find a function definition. Or did you figure that out already? In which case, what do you need help with exactly? We're here to answer questions, not run a server for you.
Spirited is offline  
Old 02/08/2018, 00:59   #7
 
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
And I'm saying figure it out. You should know how to find a function definition. Or did you figure that out already? In which case, what do you need help with exactly? We're here to answer questions, not run a server for you.
so helping me in a small issue is "running a server" for you ?
I can run my own server .. I am asking simple questions and you are not answering .. I am not a coder but i edited more than 90% of this source by myself by "coding" .. Faced a problem .. posted here .. 0 help >> you are telling me to figure it out .. i spent days trying to .. could not

THANKS FOR YOUR HELP
xyazanx is offline  
Old 02/08/2018, 01:09   #8
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by xyazanx View Post
so helping me in a small issue is "running a server" for you ?
I can run my own server .. I am asking simple questions and you are not answering .. I am not a coder but i edited more than 90% of this source by myself by "coding" .. Faced a problem .. posted here .. 0 help >> you are telling me to figure it out .. i spent days trying to .. could not

THANKS FOR YOUR HELP
I'm referring to the ~5 threads you have open. And if you're not a programmer, then why are you editing source code? That's dangerous. High performance server code shouldn't be modified by someone who doesn't know what they're doing. That's what leads to these sources having more bugs, more exploits, and more performance problems. That's why your source isn't allowed here to begin with. It's already in that state. So let's try again. What do you want from us? What is your question?
Spirited is offline  
Old 02/08/2018, 01:27   #9
 
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
this is it ..

in the MsgUpdate file there is this
DragonFlow = 1UL << 148,

in Conquer Online 2.0\ini\statuseffect file .. there is this
148 blooddrcontin NULL 10148

in Conquer Online 2.0\c3\effect\skill\blooddrcontin
there are c3 files of the Dragonflow effect of the dragonwarrior "in game effect"


but if i use MsgUpdate.Flags3.DragonFlow, 2, it shows the top 3 trojan effect!!
in totally different folder! ..


everything is ordered correctly but the results make no sense .. loading a flag from another folder .. why ? .. any idea how the "client" works ?
xyazanx is offline  
Old 02/08/2018, 01:35   #10
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Alright, so look up bitflags for C#. That answers your first question. Second question is the same, look up the function definition. Right click on the function name and select go to definition if you haven't figured that out yet. Same as F12. From there, it should have a variable name and be used in the function. Read the function and figure out what it's being used for if the variable name isn't helpful. And likely the flags aren't correct (that's what I mean about bugs in these sources). You'll need to figure it out using that status effect file for your client version.
Spirited is offline  
Old 02/08/2018, 01:50   #11
 
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
Alright, so look up bitflags for C#. That answers your first question. Second question is the same, look up the function definition. Right click on the function name and select go to definition if you haven't figured that out yet. Same as F12. From there, it should have a variable name and be used in the function. Read the function and figure out what it's being used for if the variable name isn't helpful. And likely the flags aren't correct (that's what I mean about bugs in these sources). You'll need to figure it out using that status effect file for your client version.


Now thats a good answer thanks ..

the definition of number 2 is [public struct Int32] from metadata
nevermind about this ..

the second question .. the flags works fine but with different names ..

different folder locations .. i cant figure how to organize them ..


let me ask you about the UL << 148
i know it is a bitshift .. what is UL "unsigned Long"?
what does the whole UL << 148 means ?
I though the number 148 is the order number in the file statuseffect.ini
in the column number 148 there is this "148 blooddrcontin NULL 10148"
then there is a folder with the name "blooddrcontin" has the c3 files "dds files"
am I right ? no ?
xyazanx is offline  
Old 02/08/2018, 01:56   #12
 
Ultimation's Avatar
 
elite*gold: 0
Join Date: Mar 2005
Posts: 1,425
Received Thanks: 1,565
btw status flags are just a bigint
Ultimation is offline  
Old 02/08/2018, 01:59   #13
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by xyazanx View Post
Now thats a good answer thanks ..

the definition of number 2 is [public struct Int32] from metadata
nevermind about this ..

the second question .. the flags works fine but with different names ..

different folder locations .. i cant figure how to organize them ..


let me ask you about the UL << 148
i know it is a bitshift .. what is UL "unsigned Long"?
what does the whole UL << 148 means ?
I though the number 148 is the order number in the file statuseffect.ini
in the column number 148 there is this "148 blooddrcontin NULL 10148"
then there is a folder with the name "blooddrcontin" has the c3 files "dds files"
am I right ? no ?
http://www.alanzucconi.com/2015/07/26/enum-flags-and-bitwise-operators/

And sometimes folders are compressed in wdf files. Like c3.wdf.
Spirited is offline  
Old 02/08/2018, 02:20   #14
 
elite*gold: 0
Join Date: Jan 2013
Posts: 24
Received Thanks: 0
Quote:
Originally Posted by Spirited View Post
http://www.alanzucconi.com/2015/07/26/enum-flags-and-bitwise-operators/

And sometimes folders are compressed in wdf files. Like c3.wdf.
number 2 refers to flag type


HTML Code:
public void AddTopStatus(UInt64 Title, byte flagtype, DateTime EndsOn, Boolean Db = true)
xyazanx is offline  
Old 02/08/2018, 04:52   #15
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by xyazanx View Post
number 2 refers to flag type


HTML Code:
public void AddTopStatus(UInt64 Title, byte flagtype, DateTime EndsOn, Boolean Db = true)
Seems like they implemented it as three separate status bitmaps rather than one bigint bitmap (as Ultimation suggested it be implemented as). That's probably why you have multiple status flag enums, weird ids, etc. As I said, those sources are pretty awful. It's confusing for us to have to deal with as well, especially when there are so many variants.
Spirited is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Flag-Sro l Cap110 l Coin System l Fight-Power System l New System l High Rate
07/06/2014 - SRO PServer Advertising - 1 Replies
http://i.epvpimg.com/Q62Bb.png if you Like Old School Join us Web Site Flag-Sro - Silkroad Online Private Server Download Flag-Sro - Silkroad Online Private Server Register Flag-Sro - Silkroad Online Private Server FacBook https://www.facebook.com/pages/Flag-Sro/423472161 101339
[Selling] Verkaufe TCG-Item "OWN3D"-Flag / Flag of Ownership
12/16/2013 - World of Warcraft Trading - 20 Replies
Hey Leute, habe wieder ein paar Karten bekommen. Unter den Loots sind 2x die Flag of Ownership. http://ingame.ingame.de/pics/48210_530_397.jpg Preis: 1500 e*gold, 25€ / Stück Zahlungsmöglichkeiten: PayPal, Überweisung, E*Gold Auf Lager: 1



All times are GMT +2. The time now is 23:15.


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