Download
(77Kb)
Download
Updated: 02-27-07 12:25 PM
Pictures
File Info
Updated:02-27-07 12:25 PM
Created:unknown
Downloads:2,682
Favorites:19
MD5:

PlayerRating

Version: 2.0.8
by: Sylfi [More]

Tired of grouping with players, only to find out that they are bad? Frustrated to see the same scammer in the trade channel every day, with the same scam? Some jerk ninja something? Want to warn your friends and other players about these baddies? Download this mod!

This mod allows you to rate players on a scale of -100 (bad) to 100 (good) using a new option from the popup menu. The ratings can be displayed in the tooltip and/or with their name in the chat window. The mod also joins a channel so you can share your ratings with others. The mod listens for ratings submitted by other players and uses only those ratings from players rated above 0.

To prevent ratings from staying indefinitely in your database, they expire after 100 player-hours of no change, or not seeing that player.

/pro accesses the options menu where you can select how to display ratings and to change the ratings channel that you are in.

/prlist displaces all the player ratings you have made.

This new version fixes the database initialization problem mentioned in the comments below. Also fixed a few display bugs.

This mod is in active development, all comments and suggestions welcome! Thanks for the input so far.

Optional Files (0)


Post A Reply Comment Options
Unread 04-03-09, 10:44 AM  
Foozor
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Update?

Any chance that this mod will be updated anytime i near future?
Report comment to moderator  
Reply With Quote
Unread 01-29-07, 01:27 PM  
Juri
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
I tried that solution today, but then I got the following error:

"Interface\Addons\PlayerRating\PlayerRating.lua:8 attempt to call method 'RegisterEvent' (a nil value)"

You need to add 'AceEvent-2.0' to the first line, but in my case it still generates my previous error afterwards. I've looked at it, but can't see where it goes wrong. As far as I can tell the PlayerRating:InitData() function isn't executed properly the first time but I don't know enough about either Ace or Lua to figure out why this doesn't happen. And looking up the Ace API didn't make it anything clearer.

I tried both the embedded libraries and standalone ( I had to add optionaldeps to the toc though) just in case but that didn't make a difference either.

I'd appreciate any pointers as to how to get this working.
Report comment to moderator  
Reply With Quote
Unread 01-23-07, 08:23 PM  
Arzach
A Murloc Raider

Forum posts: 5
File comments: 7
Uploads: 0
error when using custom channel

Yo, ty for the great addon, but... I post this 'cuz I had a similar issue.

PlayerRating is joining custom channel before the standard ones, screwing up anything. This happens when you sue a custom channel 'cuz ACE2 doesn't handle delayed channel joining. The obvious solution is to do the channel join in the right place, i.e., not in the OnEnable function.

Code:
function PlayerRating:OnEnable()
   self:InitData();
   -- self:InitCommunication();
   self:InitInput();
   self:InitDisplay();
   self:RegisterEvent("AceEvent_FullyInitialized")
end

function PlayerRating:AceEvent_FullyInitialized()
     -- receive messages sent from other players with this addon.
     self:InitCommunication();
end
This should fix, even though I didn't test it yet 'cuz servers are in maintenance.

Cheers
Report comment to moderator  
Reply With Quote
Unread 01-23-07, 01:05 PM  
Juri
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
error indexing a nil value

version: 2.0.5b
playing on a european english client
Using no other addons, and no savedvariables present yet for this addon I get the following errors when I enter the game:

Interface\Addons\PlayerRating\PlayerRatingData.lua:196: attempt to index field 'State' (a nil value)

When I press the 'ok' button on the error window I then get this error, which keeps coming back:
Interface\Addons\PlayerRating\PlayerRatingData.lua:157: attempt to index field 'State' (a nil value)

After logging off the savedvariables only contains: PlayerRatingDB = nil
And the character's savedvariables only contains: PlayerRatingSettings = nil

I'm not certain, but it would seem to me that there is something that goes wrong with it's initial setup of the savedvariables which causes the errors later.
Last edited by Juri : 01-23-07 at 01:06 PM.
Report comment to moderator  
Reply With Quote
Unread 01-04-07, 12:38 PM  
Sylfi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Now fixed for WoW 2.0.
Added the ability to browse all exisiting ratings.
Ratings also now expire after not seeing the player for 100 player-hours. Any interaction resets the countdown.
Report comment to moderator  
Reply With Quote
Unread 11-21-06, 07:53 PM  
Sylfi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Version 1.3 now has the option to disable showing ratings of 0 in tooltips / chat.
Report comment to moderator  
Reply With Quote
Unread 11-21-06, 12:32 AM  
nogudnik
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 84
Uploads: 1
Originally posted by Sylfi
Can you check and make sure that it resolves that conflict with Informant?
Yup, works like charm now. Thanks.

Regarding the chat code, I personally like the : 0 beside names (I tells me that it's working) but I can understand that others wouldn't want to always see that. I will make an option under the options menu to toggle the display. The change will be simple, so I'll upload as 1.3 soon.
Also cool, and it means I can continue to be lazy. That's the best part of any plan.
Last edited by nogudnik : 11-21-06 at 12:33 AM.
Report comment to moderator  
Reply With Quote
Unread 11-20-06, 11:51 AM  
Sylfi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Thanks for catching that Nogudnik. I accidentally forgot to call the OnUpdate and OnHide scripts for the tooltip after I hooked them. Version 1.2.1 fixes this. Can you check and make sure that it resolves that conflict with Informant?

Regarding the chat code, I personally like the : 0 beside names (I tells me that it's working) but I can understand that others wouldn't want to always see that. I will make an option under the options menu to toggle the display. The change will be simple, so I'll upload as 1.3 soon.
Report comment to moderator  
Reply With Quote
Unread 11-16-06, 10:14 PM  
nogudnik
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 84
Uploads: 1
Version 1.2 conflicts with Informant

It's always me with the problems, isn't it? :-)

I just tried the 1.2 version and noticed a conflict with Informant from http://auctioneeraddon.com/. When I had both enabled, the Informant mods for the tooltip stayed on screen even after the tooltip itself disappeared. Either one individually works just fine.

Also, I modified the chat code so that if a player's rating is 0 (i.e., no rating for the player at all) then the chat text is not changed. I'm going to look into doing the same thing for the tooltip. Are you interested in me uploading this a patch if I get it working?

I do like the text rating in the tooltip rather than the bar. I kept confusing it with health bar from MobInfo
Report comment to moderator  
Reply With Quote
Unread 10-19-06, 06:42 PM  
nogudnik
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 84
Uploads: 1
Re: Interesting, can it be hooked into the ignore system?

Originally posted by Sylfi
I'm finding that's the life of a mod developer, not knowing what every other mod is doing that will conflict with your mod. I will look into this, and see how I can fix it.
Always fun. And speaking of ...

This feature already exists. If you right click on a player name in chat, it drops down a player menu, and there is a ratings option on that. So you can right click on noobs in LFG and then rate them directly.
The right-click in the chat window was getting stomped on by PlayerMenu. I've removed that mod as I don't really need it and now
yours is working just fine.
Report comment to moderator  
Reply With Quote
Unread 10-19-06, 12:12 PM  
Sylfi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Re: Re: Re: Interesting, can it be hooked into the ignore system?

Using it today, I noticed a bit of a conflict with GuildenTipper (http://www.wowinterface.com/download...o.php?id=4128), both trying to write to the same place in the tooltip. Not a huge deal.
I'm finding that's the life of a mod developer, not knowing what every other mod is doing that will conflict with your mod. I will look into this, and see how I can fix it.

How easy do you think it would be to add a hook into the chat system so that I can change the rating of people I see in LFG making idiots of themselves?
This feature already exists. If you right click on a player name in chat, it drops down a player menu, and there is a ratings option on that. So you can right click on noobs in LFG and then rate them directly.

Thanks for the cool mod.
Thanks for using it and thanks for the feedback.
Report comment to moderator  
Reply With Quote
Unread 10-18-06, 09:13 PM  
nogudnik
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 84
Uploads: 1
Re: Re: Interesting, can it be hooked into the ignore system?

Originally posted by Sylfi
Interesting that you say this. The version I released yesterday does allow you to ignore players chat below an adjustable rating (I haven't uploaded the new options screenshot yet).
(hides face in shame) That will teach me to comment before downloading :-)

The ratings that you make on a realm are shared between all your alts. So essentially you have an unlimited size ignore list shared between all alts.
Totally cool.

Filtering AH sellers by this is an interesting idea. Currently hooking into Blizzard frames like the AH is very difficult (I've been looking into something like this already). I believe I will be able to add this feature once the BC is released.
The AH integration would be cool, but not having it won't stop me from using the mod as-is.

Using it today, I noticed a bit of a conflict with GuildenTipper (http://www.wowinterface.com/download...o.php?id=4128), both trying to write to the same place in the tooltip. Not a huge deal.

How easy do you think it would be to add a hook into the chat system so that I can change the rating of people I see in LFG making idiots of themselves?

Hmmm, I may look at the code in PlayerMenu (http://www.wowinterface.com/download...fo.php?id=4934) and see if I can add it myself. I'll forward a patch if I can.

Thanks for the cool mod.
Report comment to moderator  
Reply With Quote
Unread 10-18-06, 11:17 AM  
Sylfi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Re: Interesting, can it be hooked into the ignore system?

Originally posted by nogudnik
I like the idea, and I'll certainly have to try this out. I've been shopping around for a mod like this, with a few more features.

Speaking of, any chance you're looking at hooking this into the ignore system so that characters with a rating below 'x' are ignored in chat windows and highlighted in the AH so you don't accidentally buy from them?

That and shared ignore lists beween alts on the same realm are the three killer features I'm looking for. I just can't find all of them in the same mod.
Interesting that you say this. The version I released yesterday does allow you to ignore players chat below an adjustable rating (I haven't uploaded the new options screenshot yet). The ratings that you make on a realm are shared between all your alts. So essentially you have an unlimited size ignore list shared between all alts.

Filtering AH sellers by this is an interesting idea. Currently hooking into Blizzard frames like the AH is very difficult (I've been looking into something like this already). I believe I will be able to add this feature once the BC is released.
Report comment to moderator  
Reply With Quote
Unread 10-17-06, 06:53 PM  
nogudnik
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 84
Uploads: 1
Interesting, can it be hooked into the ignore system?

I like the idea, and I'll certainly have to try this out. I've been shopping around for a mod like this, with a few more features.

Speaking of, any chance you're looking at hooking this into the ignore system so that characters with a rating below 'x' are ignored in chat windows and highlighted in the AH so you don't accidentally buy from them?

That and shared ignore lists beween alts on the same realm are the three killer features I'm looking for. I just can't find all of them in the same mod.
Report comment to moderator  
Reply With Quote
Unread 10-11-06, 03:34 PM  
Sylfi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Re: *downloading*

Added the screen cap showing how the ratings are displayed in the tooltip.
Last edited by Sylfi : 10-12-06 at 12:52 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: