FLAGS

Forum for any discussion not Dawn of Light related

Moderator: Support Team

FLAGS

Postby lion228 » Fri Mar 04, 2016 4:29 pm

hello i carnt find any info on a npc packet,what's the flags for and what it dose.each npc has 8 bytes flag 28 FC 1D 31 68 A5 16 48 anyone know what it dose
lion228
DOL Acolyte
 
Posts: 103
Joined: Sat Oct 03, 2009 12:01 am

Re: FLAGS

Postby HunabKu » Fri Mar 04, 2016 5:39 pm

Hello.
The FLAGS are the special states for NPC.
They are a lot of FLAGS :
Code: Select all
/// <summary> /// The npc is translucent (like a ghost) /// </summary> GHOST = 0x01, /// <summary> /// The npc is stealthed (nearly invisible, like a stealthed player; new since 1.71) /// </summary> STEALTH = 0x02, /// <summary> /// The npc doesn't show a name above its head but can be targeted /// </summary> DONTSHOWNAME = 0x04, /// <summary> /// The npc doesn't show a name above its head and can't be targeted /// </summary> CANTTARGET = 0x08, /// <summary> /// Not in nearest enemyes if different vs player realm, but can be targeted if model support this /// </summary> PEACE = 0x10, /// <summary> /// The npc is flying (z above ground permitted) /// </summary> FLYING = 0x20, /// <summary> /// npc's torch is lit /// </summary> TORCH = 0x40, /// <summary> /// npc is a statue (no idle animation, no target...) /// </summary> STATUE = 0x80, /// <summary> /// npc is swimming /// </summary> SWIMMING = 0x100
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: FLAGS

Postby lion228 » Sat Mar 05, 2016 6:36 am

ok thanks will have to mess around with bytes and see what each dose
lion228
DOL Acolyte
 
Posts: 103
Joined: Sat Oct 03, 2009 12:01 am

Re: FLAGS

Postby HunabKu » Sat Mar 05, 2016 7:13 am

They can be "added" for multiple Flag number.
My advice :
- create a mob in game
- set flags you want
- see the hexadecimal code in /gminfo
- convert to int if you need for scripts or bdd things
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: FLAGS

Postby lion228 » Sun Mar 06, 2016 6:40 am

theses flags just make the npc spawn in diffrent place or degrees
lion228
DOL Acolyte
 
Posts: 103
Joined: Sat Oct 03, 2009 12:01 am

Re: FLAGS

Postby HunabKu » Sun Mar 06, 2016 12:25 pm

Absolutly not.

They do that :
GHOST : make semi-transparent, like a fantom or a spiritmaster pet
STEALTH : appear staelthed like a stealther near you
DONTSHOWNAME : Don' show it name/guild
CANTTARGET : can't target and select this mob
PEACE : this mob can't be aggro and don't aggro another
FLYING : don't fall when it Z is upper thant the floor
TORCH : it's lighted
STATUE : can't move, not animated, dont' show name
SWIMMING : it's swiming
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: FLAGS

Postby lion228 » Sun Mar 06, 2016 8:55 pm

these are for a diffrent game i change a byte and it moved the npc into a diffrent place
lion228
DOL Acolyte
 
Posts: 103
Joined: Sat Oct 03, 2009 12:01 am

Re: FLAGS

Postby Dinberg » Mon Mar 07, 2016 1:07 am

Lion228, I see you are still here. Please remember these forums are for dawn of light, not WAR. Best of luck.
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Re: FLAGS

Postby HunabKu » Mon Mar 07, 2016 7:34 am

Ow I did not know that concern WAR, sorry but can't help you more for that.
"C'est l'ignorance qui apporte le chaos, pas la connaissance."
Scarlett Johansson dans "Lucy" de Luc Besson
-------------------------------------------------------------------------------
"Ignorance brings chaos, not knowledge."
Scarlett Johansson on "Lucy" by Luc Besson
User avatar
HunabKu
Developer
 
Posts: 1905
Joined: Sat Jun 18, 2011 4:48 am

Re: FLAGS

Postby Taovil » Fri Mar 11, 2016 12:10 am

thats the point to write THE CORRECT NAMES in FOrum Title btw. just for a tip, ppl dont want to ask thousand times what u want now etc.

best regards
Image
User avatar
Taovil
DOL Experienced
 
Posts: 154
Joined: Sun Jul 17, 2011 7:11 pm
Location: Germany, Berlin


Return to “%s” Other Discussion

Who is online

Users browsing this forum: No registered users and 1 guest