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

[Info Request] Working with UI Elements

omg I am so smrt

thanks

[video=youtube;ePKwFlDzv30]http://www.youtube.com/watch?v=ePKwFlDzv30[/video]
 
Last edited:
These two element hash codes are the same for every player in the list:

social player name plate: 0x6546288812192AFF
social player invite button: 0xC590DACA798C3CA4

so there needs to be a

UIElement[] UIElements.FromHash(int hash)

method added to Zeta.Internals.UIElement\s that will return all the elements with that hash so they can be iterated and the correct "player" can be invited based on setting in the plugin config.

or is there a method already?
 
obviously the other problem here is that I'll have to either run a thread or hijack the botcore as AGB did... I would really rather use something like OnLobbyPulse (which does not exist yet)
 
obviously the other problem here is that I'll have to either run a thread or hijack the botcore as AGB did... I would really rather use something like OnLobbyPulse (which does not exist yet)

BrainBehavior.OnScheduling event should do you just fine. (Or preferably a TreeHook on "TreeStart")
 
BrainBehavior.OnScheduling event should do you just fine. (Or preferably a TreeHook on "TreeStart")

What about returning an array or IEnumerable of UIElements?
 
Back
Top