You know how the base 2 works? Like the numbers are all only of 1 and 0, and I can also guess that you know how the base 10 works...it's like all you know, 0 -> 9. Anyway, hex(hexadecimal) is the base 16. That means that it includes 6 other 'numbers'. They are A,B,C,D,E,F. Most of programming languages(I think, well at least C# and C/C++ does) use the 0x to determinate a hexadecimal number. To get the values of a hex number you can just go into your calculator(startbar->allprograms->accessories->calculator), view->programmer and you have there Hex, Dec, Oct and Bin.
To get the value from a hex to a dec, put your number in there(e.g 23FA2B), and move to Dec, once you click, you get the value you want to know.
To do get the value from a dec number to a hex, you do the same just you write the number while dec is selected and move to hex.
The numbers you have wont work the way you want them too. The client has a list of StatusEffect flags, you cannot just make up your own. What exactly is it that your trying to do?
I want it to display the Frost effect on your character. ( effect is already in the client ) thats why im asking how to do it ( Ive got a no jumping/walking method in place )
I want it to display the Frost effect on your character. ( effect is already in the client ) thats why im asking how to do it ( Ive got a no jumping/walking method in place )
Ok well, I am sure that you don't know what you actually have to do...so, let me light you up.
In statuseffect.ini there are some lines.
Each line has this format:
number effect1 effect2
The number is a hex number which actually determines a bit, inside a ulong(64bits). Each number can't contain another one inside it, so it must be one 1 in the whole array of bits for example 0x2 = 10 in binary base.
The effect1 is the effect around the body and the effect2 is the effect above the head.
If you want to add two new status effects, you need to see what's the last bit used and use the next two, which are 52 and 53.
Actual values for them in hex are:
0x10000000000000
0x20000000000000
Even so, I can't understand something, because you either add the froststart, then wait dunno what time, and you either take it out or take it out, add the froststop and after a few seconds you take that out.
*sigh* The effect is already made, in all the ini files etcetc all I wanted was the hex no need to get moody...Well can you get on msn? for the spawnentity packet?