The Decimal for these effect's?

07/11/2010 00:51 MonstersAbroad#1
Well,

In C3/effect/other/ there are 2 folders Frost_app and Frost_end, Can someone please tell me what there Decimal/hex is ex:
Code:
FrostStart = 0x000003857,
Froztend = 0x2030230032;
Could you explain how you got the answer to if possbile.

Thanks a million,
Elimination
07/11/2010 01:05 kinshi88#2
Start->Run->Calc

FrostStart = 14423
FrostEnd = 138246553650
07/11/2010 01:28 MonstersAbroad#3
Well
Code:
            public const ulong
                Normal = 0x0,
                FlashingName = 0x1,
                Poisoned = 0x2,
                Invisible = 0x4,
                XPList = 0x10,
                Dead = 0x20,
                TeamLeader = 0x40,
                StarOfAccuracy = 0x80,
                MagicShield = 0x100,
                Stigma = 0x200,
                Ghost = 0x400,
                FadeAway = 0x800,
                RedName = 0x4000,
                BlackName = 0x8000,
                ReflectMelee = 0x20000,
                Superman = 0x40000,
                Ball = 0x80000,
                Ball2 = 0x100000,
                Invisibility = 0x400000,
                Cyclone = 0x800000,
                Dodge = 0x4000000,
                Fly = 0x8000000,
                Intensify = 0x10000000,
                CastPray = 0x40000000,
                Praying = 0x80000000,
                TopGuildLeader = 0x400000000,
                TopDeputyLeader = 0x800000000,
                MonthlyPKChampion = 0x1000000000,
                WeeklyPKChampion = 0x2000000000,
                TopWarrior = 0x4000000000,
                TopTrojan = 0x8000000000,
                TopArcher = 0x10000000000,
                TopWaterTaoist = 0x20000000000,
                TopFireTaoist = 0x40000000000,
                TopNinja = 0x80000000000,
                ShurikenVortex = 0x400000000000,
                FatalStrike = 0x800000000000,
                Flashy = 0x1000000000000,
                Ride = 0x4000000000000,
                FrostStart = 0x14423,
                FrostEnd = 0x138246553650;
        }
and
Code:
case "frostend":
                                        {
                                            client.Entity.AddFlag(Update.Flags.FrostEnd);
                                            break;
                                        }
                                    case "rfrostend":
                                        {
                                            client.Entity.RemoveFlag(Update.Flags.FrostEnd);
                                            break;
                                        }
                                    case "froststart":
                                        {
                                            client.Entity.AddFlag(Update.Flags.FrostStart);
                                            break;
                                        }
                                    case "rfroststart":
                                        {
                                            client.Entity.RemoveFlag(Update.Flags.FrostStart);
                                            break;
                                        }
That cannot be right, The effect wont show.
07/11/2010 01:35 kinshi88#4
LOL.

Hex:
Code:
FrostStart = 0x3857,
Froztend = 0x2030230032;
Dec:
Code:
FrostStart = 14423
FrostEnd = 138246553650

The "0x" signifies that the number is in hex.
07/11/2010 01:39 MonstersAbroad#5
lol, I got my Hex/Dec mixed up, We all make mistakes

Can you please explain to me how you got that? what ini folders u checked? ( i looked in 3Deffect/textures.ini etc)

But again its not working, I get invisablr, Fog, and WeeklyPKchamp.
07/11/2010 01:44 -impulse-#6
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.

Hope you got it, good luck,

Impulse
07/11/2010 01:51 MonstersAbroad#7
Thanks I tryed another 2 numbers but the damn thing still didn't work? just gives me a ton of other effects I dont want (champ, fog, etc)

off topic:
Can you get on msn impulse?
07/11/2010 10:46 ~Yuki~#8
why dont u use google XD

like u do on google: 0x14 to decimal itll show u the decimal rite away
07/11/2010 11:02 MonstersAbroad#9
I dont know, I just want it so I can use it in game.
07/11/2010 11:49 Korvacs#10
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?
07/11/2010 12:48 MonstersAbroad#11
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 )
07/11/2010 13:16 -impulse-#12
Quote:
Originally Posted by MonstersAbroad View Post
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

So, your new lines should be.

10000000000000 frostStart NULL
20000000000000 frostStop NULL

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.

See ya,

Impulse
07/11/2010 13:28 MonstersAbroad#13
I don't want to add a whole new effect, Just show the existing frost effect.

Impulse can you get on msn please
07/11/2010 13:34 -impulse-#14
Ok, well, I'm done helping people like you.
07/11/2010 13:45 MonstersAbroad#15
*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?