What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to get a party members guid or name?

Phelon

Well-Known Member
Joined
Jan 15, 2010
Messages
2,591
Reaction score
134
I am trying to locate the code for a character specific identifier that can be located by iterating through the ZetaDia.Actors.GetActorsOfType<DiaPlayer>(true, false). I am trying to make a follow plugin that does not request sending information over the network like SimpleFollow. Anyone know if there is a way to locate a unique identifier via ZetaDia.Actors.GetActorsOfType<DiaPlayer>(true, false)?
 
Last edited:
Try ZetaDia.Service.Hero.HeroId, it's unique for each char and doesn't change. But you cannot use it to to find players by iterating ZetaDia.Actors.GetActorsOfType<DiaPlayer>(true, false). What you can try to do is, to try to find a matching Id in DiaPlayer's memory space.
 
Last edited:
Try ZetaDia.Service.Hero.HeroId, it's unique for each char and doesn't change. But you cannot use it to to find players by iterating ZetaDia.Actors.GetActorsOfType<DiaPlayer>(true, false).

Thank you for the reply! I did find that but it seemed to be local to the character and as you said, unable to access it from another character. Is there any other way other than Hero.XXXX to find a unique identifier?
 
Thank you for the reply! I did find that but it seemed to be local to the character and as you said, unable to access it from another character. Is there any other way other than Hero.XXXX to find a unique identifier?

Could you PM me your skype, we can discuss it there.
 
Will this be public Phelon, DB does not currently support the store. If not please pm me. If you figure it out.
 
Will this be public Phelon, DB does not currently support the store. If not please pm me. If you figure it out.

i will give it to Taras to do as he pleases if i can get it working.
 
You could do it by gender- male and females have different DiaObject.Name, so if your leader is the only female in the party, it's easy to identify.
 
You could do it by gender- male and females have different DiaObject.Name, so if your leader is the only female in the party, it's easy to identify.

I ended up doing it by most hps. Although Nesox is adding some stuff to make it a bit better.
 
Back
Top