View Single Post
04-01-21, 04:42 AM   #1
bloodfox610
A Kobold Labourer
Join Date: Apr 2021
Posts: 1
Delete specific columns from Arena Results Table

Hi. I have a friend who rages when he sees his rating drop, so I'm developing an addon that hides all indicators of rating. I've got it all done EXCEPT for the page that pops up when a match ends.

I can't seem to figure out how to hide JUST the rating-related table data (he wont use it if he cant see his damage).

The approach I've had the most success with is by unsecurely hooking the function that returns what columns to add.

local oldOptional = PVPMatchUtil.GetOptionalCategories
PVPMatchUtil.GetOptionalCategories = function()
local categories = oldOptional()
categories.ratingChange = false;
categories.ratingPost = false;
categories.ratingPre = false;
return categories
end

Obviously this is problematic and it manifests itself by NOT popping up the window automatically when the match ends.

Any ideas or help would be greatly appreciated!

Thanks!
  Reply With Quote