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

MPR crash #3

Open
TheFeniks opened this issue Nov 6, 2019 · 5 comments
Open

MPR crash #3

TheFeniks opened this issue Nov 6, 2019 · 5 comments

Comments

@TheFeniks
Copy link

Hey, when a battle starts I get this error message /I've tried with deactivating other addons, nothing seems to work/:
Date: 2019-11-07 00:14:23
ID: 7
Error occured in: Global
Count: 1
Message: ..\AddOns\MPR\MPR.lua line 1219:
attempt to call global 'GetNumGroupMembers' (a nil value)
Debug:
[C]: GetNumGroupMembers()
MPR\MPR.lua:1219: ?()
MPR\MPR.lua:341:
MPR\MPR.lua:340
AddOns:
ACP, v3.2.0.118
Bagnon, v2.13.3
BagnonForever, v1.1.2
BagnonTooltips
Bartender4, v4.4.2-12-g94f3b58
ClassLoot, vr126
CooldownCount, v3.0
Gatherer, v3.1.16
GearScoreLite, v3x04
HealBot, v3.3.5.4.RC2
LootHog, v3.3.3
MPR, vv2.96
Omen, v3.0.9
oRA3, v451
Recount, v1127
Swatter, v5.0.0
DBMCore
DBMColiseum

@Mihc3
Copy link
Owner

Mihc3 commented Nov 7, 2019

Hi, seems like someone modified it since my last version was 2.9, yours is 2.96 😄

GetNumGroupMembers() function was added in Pandaria, for WotLK you should replace it with GetNumRaidMembers(). Find the file (..\AddOns\MPR\MPR.lua), line 1219 and change it.

You might find more bugs, so better download 2.9 version from this repository. 😃

@TheFeniks
Copy link
Author

I did download it before the 2.96v., but it was the exact same thing even worse - Didnt show the Timers on bosses, nor the dispells, nor the death players. Im currently playing on Wotlk servers. Will give it a shot by changing the line and I will keep you in touch.

@TheFeniks
Copy link
Author

Date: 2019-11-08 22:29:30
ID: 28
Error occured in: Global
Count: 7
Message: ..\AddOns\MPR\MPR.lua line 1547:
attempt to call global 'unit' (a string value)
..
..
Date: 2019-11-08 22:30:12
ID: 26
Error occured in: Global
Count: 1
Message: ..\AddOns\MPR\MPR.lua line 1533:
attempt to call global 'unit' (a string value)
..
..
Date: 2019-11-08 22:28:28
ID: 25
Error occured in: Global
Count: 1
Message: ..\AddOns\MPR\MPR.lua line 1536:
attempt to call global 'unit' (a string value)

These two bug reports happened on PP boss and they occurred in MPR Version 2.70 up until 2.96.
What is the cause?

@Mihc3
Copy link
Owner

Mihc3 commented Nov 8, 2019

unit should be a function, seems like in your code it's being overwritten by a string. Did you try downloading MPR from this repo? In current MPR.lua there's nothing at lines 1533, 1536 and 1547 calling unit().

Try to give exact info: download source - version - error. People probably took over scripting my addon since boss scripts changed a lot through years, based on your first error they even upgraded it to MoP, so files differ a lot.

@TheFeniks
Copy link
Author

Can you add me on discord so that we can chat more freely?
Discord: Fenikkussu - DK#5557

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

No branches or pull requests

2 participants