Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after removing a player from displaying in the group window, when you leave and rejoin another group. #189

Closed
fiendish opened this issue Feb 14, 2014 · 1 comment

Comments

@fiendish
Copy link
Owner

From mendal...@gmail.com on November 23, 2012 12:13:13

Your username on Aardwolf so I can contact you if more information is necessary? Mendaloth What operating system are you using? Windows XP Open the file AardwolfPackageChanges.txt and find the topmost (highest number) snapshot 'r' number.
I'm on R1700 . What steps will reproduce the problem? Be in a group with others. Right click on the title bar of the group monitor to bring up the menu. Go to show players, and remove someone from the list. Leave the group, then get invited to another group. What is the expected output? What do you see instead? (If applicable, include copy/paste from output) I expect to see a little line inside the Group Window, instead I get the following error:

XX has invited you to join group: XX
Run-time error
Plugin: Aardwolf_Group_Monitor (called from world: Aardwolf)
Function/Sub: group_invite called by trigger
Reason: processing trigger ""
[string "Plugin"]:128: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
[string "Plugin"]:128: in function 'RemoveMembersFromGroupDisplay'
[string "Plugin"]:487: in function <[string "Plugin"]:485>
Error context in script:
124 : end
125 :
126 : -- hide other hidden members (inefficient method, but who cares)
127 : for k,v in pairs(hidden_members) do
128*: for i,v in ipairs(group_data["members"]) do
129 : if v["name"] == k then
130 : table.remove(group_data["members"], i)
131 : break
132 : end
Type 'group accept XXX' or 'group decline XX' to accept or decline.

Original issue: http://code.google.com/p/aardwolfclientpackage/issues/detail?id=189

@fiendish
Copy link
Owner Author

From Fiendi...@gmail.com on November 23, 2012 22:45:48

good catch. should be fixed after r1713

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant