Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

wManager.Wow.Helpers.Party.GetParty() Broken?

  • Version: All
  • Product: WRobot General
  • Type: Bug
  • Status: Cannot Reproduce

I think GetParty() is broken for Burning Crusade and possibly Legion? It is not broken in WoTLK, as below snippet works. Running code below always returns 0 members in the group in BC. 

var party = wManager.Wow.Helpers.Party.GetParty();

Logging.Write("Total members in group: " + party.Count);
foreach (var members in party)
{
   Logging.Write("Player name: " + members.name);
}


 

User Feedback

Recommended Comments

Avvi

Members
(edited)

 

Below always returns 0 from wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid. I think real issue is with wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid

                var numofMembers = wManager.Wow.Helpers.Party.GetPartyNumberPlayers();

                if (numofMembers >= 2) {
                    WoWObject objectByGuid = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(wManager.Wow.Helpers.Party.GetMember1GUID());
                    WoWObject objectByGuid2 = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(wManager.Wow.Helpers.Party.GetMember2GUID());
                    WoWObject objectByGuid3 = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(wManager.Wow.Helpers.Party.GetMember3GUID());
                    WoWObject objectByGuid4 = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(wManager.Wow.Helpers.Party.GetMember4GUID());

                    Logging.Write(" "+objectByGuid.GetBaseAddress);
                    Logging.Write(" " + objectByGuid2.GetBaseAddress);
                    Logging.Write(" " + objectByGuid3.GetBaseAddress);
                    Logging.Write(" " + objectByGuid4.GetBaseAddress);

                }

 

Edited by Avvi

Avvi

Members

Correction - The WoTLK version does not work completely.  It seems like sometimes it only returns leaders name, and sometimes it doesn't return anything.

Avvi

Members

Thoughts @Droidz

Hello, I have tested and seem to works, he return party members (without your character). Do you have try to disable your wow addons?

Avvi

Members

No addons are enabled when running the above code. I was able to reproduce this in BC,WoTLK. I have not tried Legion. Can you try Burning Crusade and WoTLK?

Avvi

Members
List<string> partyMembers = new List<string>();
var numOfMembers = wManager.Wow.Helpers.Party.GetPartyNumberPlayers();


for (int i = 1; i < numOfMembers; i++) {

    var member = Lua.LuaDoString<List<string>>("return UnitName('party'.." + i + ")");
    Logging.Write(member[0]);
    partyMembers.Add(member[0]);
}

 

I wasn't able to get it working, but for anyone interested in a workaround for getting player names in group, the above function should work.

1 hour ago, Avvi said:

List<string> partyMembers = new List<string>();
var numOfMembers = wManager.Wow.Helpers.Party.GetPartyNumberPlayers();


for (int i = 1; i < numOfMembers; i++) {

    var member = Lua.LuaDoString<List<string>>("return UnitName('party'.." + i + ")");
    Logging.Write(member[0]);
    partyMembers.Add(member[0]);
}

 

I wasn't able to get it working, but for anyone interested in a workaround for getting player names in group, the above function should work.

 

Quote

var party = wManager.Wow.Helpers.Party.GetParty();

Logging.Write("Total members in group: " + party.Count);
foreach (var members in party)
{
   Logging.Write("Player name: " + members.Name);
}

I have run this code and is works. Party product dont works?

Avvi

Members
Just now, Droidz said:

var party = wManager.Wow.Helpers.Party.GetParty();

Logging.Write("Total members in group: " + party.Count);
foreach (var members in party)
{
   Logging.Write("Player name: " + members.Name);
}

I have run this code and is works. Party product dont works?

I am able to use some funcitons from Party, but the GetParty() funtion isn't working for me. I restarted, re-installed, etc but it doesn't seem to work for me. 

Avvi

Members

I think the real issue with the Party function is the GetObjectByGuid, and not actually the party helper. When i use GetObjectByGuid(wManager.Wow.Helpers.Party.GetMember4GUID()), it doesn't work.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.