Download
(16Kb)
Download
Updated: 02-29-20 11:08 AM
Compatibility:
Classic Patch (1.13.3)
Visions of N'Zoth (8.3.0)
BfA content patch (8.2.5)
Classic (1.13.2)
Updated:02-29-20 11:08 AM
Created:04-01-17 01:27 PM
Downloads:5,816
Favorites:41
MD5:
Categories:Plug-Ins & Patches, Classic - General, Character Advancement, Data Broker

Ara Broker Reputations  Popular! (More than 5000 hits)

Version: r35
by: vikingking [More]

PLEASE SEE ORIGINAL ADDON FOR FURTHER UPDATES, WILL BE UPDATING THERE FROM NOW ON

I've overhauled the Addon to support the current WoW Retail expansion and WoW Classic

Check change log for list of fixes/changes

Original Addon is here: http://wowinterface.com/downloads/in...putations.html

r35
  • Fixed issue with retail where friendship faction text was wrong on first load
  • Bumped ToC

r34
  • Added initial support for WoW Classic
  • Additional coding fixes in an attempt to clean up so old, non-working code

r32
  • Fixed bug when selecting the option to Sort by Reputation in the tooltip

r31
  • Removed Block Display -> Text -> Faction Text Color as Rep Color option
  • Added Block Display -> Text -> Faction Name Color radio button
  • Faction Name Color is a radio button option that can be No Color, Blizzard Color, ASCII Color

r30
  • Added Block Display -> Text -> Faction Text Color as Rep Color option
  • Unchecking Faction Text Color as Rep Color sets the name of faction in broker to uncolored
  • Restored BlizzColors color palette.
  • Added Color Options options menu.
  • Color Options -> Use Blizzard colors for broker will use Blizzard Color palette for broker
  • Color Options -> Use Blizzard colors for tooltip will use Blizzard Color palette for tooltip rep table
  • Color Options -> Reload Blizzard colors on startup
  • Reload Blizzard colors on startup always pulls Blizzard palette from the system when checked, will overwrite/reset user changes to Blizzard colors
  • When not checked, Reload Blizzard colors on startup pulls Blizzard colors from user settings for addon
  • Changes to Blizzard colors are only saved to user settings
  • Changes to Blizzard colors are not saved back to client due to API restriction that was causing errors during combat.

r27
  • Removed BlizzColors color palette, no need for 2 color palettes if Blizzard is restricting access to the default palette. This was causing errors going into combat in some cases.

r26
  • Bumped TOC for BfA

r25
  • Added reputation from Death of Chromie scenario to Friends so displays ranks properly

r24
  • Updated code to fix database issues if you were using Ara_Broker_Reputations prior to r20. No longer a need to remove your preferences.
  • Corrected reputation reporting when Paragon rep rolls over from level to level.
  • Corrected issue with Paragon session gains going negative when Paragon rep rolls over from level to level.
  • Corrected issue with setting color from the color swatch on the drop down menu that was in the addon prior to r20.

r23
  • Fixed error on startup and when selecting reps if you had a specific reputation ID on your character.

r22
  • Fixed custom tooltip data entry issue in the configuration settings
  • Fixed Paragon reputation session numbers (starting numbers were off)

r21
  • Reputation on bar not being updated for Paragon factions is fixed
  • Changing settings on bar (percentage/rep to go) now works properly for Paragon factions
  • Corrected possible error when going to a Paragon faction if no watched faction was set

r20
  • For reputations that support paragon, it now changes to "Paragon" and tracks the rep as you progress
  • For Exalted reps, removed the numeric display. This echoes how the Blizz rep tracker is doing it
  • Added support in options for setting Paragon color
  • Updated right-click functionality to support added Paragon/Exalted changes
  • Updated bar display functionality to support added Paragon/Exalted changes
  • Fixed a problem when loading it would revert a Paragon rep to an Exalted rep in the display
Post A Reply Comment Options
Unread 06-20-18, 06:12 AM  
garfeeld
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 0
havent run into any issues in BfA either, but I did have to add in the fisherfriends recently, I never had gotten around to doing those reps before,lol, pretty simple fix once I figured out what to change.
Report comment to moderator  
Reply With Quote
Unread 05-01-18, 03:35 PM  
vikingking
A Defias Bandit
 
vikingking's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 50
Uploads: 2
Functionality with BfA

I've been testing in the Beta, and so far have found no issues.

If you're testing, please report any errors with the AddOn here, and I'll see if I can correct.
Report comment to moderator  
Reply With Quote
Unread 01-19-18, 11:32 PM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 158
File comments: 281
Uploads: 5
Thank you

Thanks so much for patching this to keep it working. I adored Aranarth right from the beginning, and these addons are best-in-class. (Best in slot?) I've been on r18 and seeing those dumb error messages every time I logged in since ... June? I just use Twitch and Curse for most of my addons now, so I just didn't look around until today. Found your patch, works beautifully. Hope you're able to keep this up to date going forwards as well!
Report comment to moderator  
Reply With Quote
Unread 06-22-17, 11:46 PM  
LadySilverwolf
Premium Member
 
LadySilverwolf's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 41
File comments: 70
Uploads: 2
Re: Re: Belfs DK's and Gnome Mages

Originally Posted by vikingking

Are you using the latest version? Seems like some debug messages I may have put in there on some versions. Can you provide a screen shot?
Seems I was still on r23, when I looked this evening. To test I went on both the DK and the Mage.... they are both fine now. Pretty sure whatever it was you fixed in 24 was the reason for my issues.

Thanks.
__________________
~ Strength of Character withstands the Test of Time. ~
Report comment to moderator  
Reply With Quote
Unread 06-21-17, 12:07 PM  
vikingking
A Defias Bandit
 
vikingking's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 50
Uploads: 2
Re: Belfs DK's and Gnome Mages

Originally Posted by LadySilverwolf
So I have had an unusual report to provide.

I keep getting "nil" and "Other" reports on my blood elf DK and my gnome mage and after disabling all my addons except Chocolate Bar and Ara Broker Reputations, I have narrowed this activity down to Ara Broker Reputations.
Are you using the latest version? Seems like some debug messages I may have put in there on some versions. Can you provide a screen shot?
Report comment to moderator  
Reply With Quote
Unread 06-17-17, 07:29 AM  
LadySilverwolf
Premium Member
 
LadySilverwolf's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 41
File comments: 70
Uploads: 2
Belfs DK's and Gnome Mages

So I have had an unusual report to provide.

I keep getting "nil" and "Other" reports on my blood elf DK and my gnome mage and after disabling all my addons except Chocolate Bar and Ara Broker Reputations, I have narrowed this activity down to Ara Broker Reputations. I am not getting any bug reports/errors, only a constant message in my chat that says nil or Other and it is very spammy, and sometimes it slows down, and sometimes it speeds up, depending on the zone I am in, but it never stops, and its driving me bananas. It was difficult to narrow down because I get the nil on the Gnome, and the Other on my DK.

I have deleted WTF settings for both characters, and I have even looked at SavedVariables to see if there was something that was inconsistent, but I can't seem to see anything out of the ordinary. I will also admit both characters were power boosted to 100, and neither one is at lvl cap. Mage is 104, and DK is at 105.

Not sure what other information I can provide but more than willing to provide additional information if needed.
__________________
~ Strength of Character withstands the Test of Time. ~
Last edited by LadySilverwolf : 06-17-17 at 07:34 AM.
Report comment to moderator  
Reply With Quote
Unread 04-14-17, 12:23 AM  
Vedma
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 15
Uploads: 1
Smile r24

So far so good. No errors even with MogIt. I am back off ASCII colors. The addon just works
Report comment to moderator  
Reply With Quote
Unread 04-11-17, 09:55 AM  
vikingking
A Defias Bandit
 
vikingking's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 50
Uploads: 2
Re: Re: Re: Error

Originally Posted by Vedma
Turned off MogIt and still got the error. I think it has something to do with color of the bars.
attempt to index local 'color' (a nil value)
Turning on the option "Use ASCII colors for bars" allows the dropdown menu to work again even after the error has been caught and I have not reloaded the UI yet.
Try r24 (just uploaded). I fixed two issues related to color in r24.

First, it no longer requires you to kill your preferences file if you were using the AddOn in version r18 or previous.

Second, if fixes an error that was in the AddOn for some time where if you attempted to set a color by clicking the color swatch button it would cause an error on saving the color.
Report comment to moderator  
Reply With Quote
Unread 04-10-17, 02:46 AM  
Vedma
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 15
Uploads: 1
Re: Re: Error

Turned off MogIt and still got the error. I think it has something to do with color of the bars.
attempt to index local 'color' (a nil value)
Turning on the option "Use ASCII colors for bars" allows the dropdown menu to work again even after the error has been caught and I have not reloaded the UI yet.

Code:
Date: 2017-04-10 11:41:11
ID: 2
Error occured in: Global
Count: 3
Message: ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua line 323:
   attempt to index local 'color' (a nil value)
Debug:
   ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:323:
      ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:257
   ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:525: OnEnter()
   ChocolateBar\Chocolate.lua:216:
      ChocolateBar\Chocolate.lua:186
Locals:
self = nil
menuFactionWidth = 114
menuValuesWidth = 84.000007629395
menuToGoWidth = 34
menuSessionWidth = 45
itemFactionWidth = 114
itemValuesWidth = 84.000007629395
itemToGoWidth = 33
itemSessionWidth = 6
button = <unnamed> {
 0 = <userdata>
 values = <unnamed> {
 }
 fs = <unnamed> {
 }
 rep = <table> {
 }
 togo = <unnamed> {
 }
 faction = <unnamed> {
 }
 session = <unnamed> {
 }
 bg = <unnamed> {
 }
 icon = <unnamed> {
 }
 bar = <unnamed> {
 }
}
inactive = nil
inactive = nil
skip = nil
skipChild = nil
(for index) = 5
(for limit) = 50
(for step) = 1
i = 5
name = "Court of Farondis"
showValue = true
level = 9
minVal = 0
maxVal = 10000
value = 990
atWar = false
canBeAtWar = false
isHeader = false
isCollapsed = false
hasRep = false
isWatched = false
isChild = false
FactionID = 1900
perc = 0.099
color = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = "name"
(*temporary) = "Court of Farondis"
(*temporary) = "header"
(*temporary) = false
(*temporary) = "showValue"
(*temporary) = true
(*temporary) = "level"
(*temporary) = 9
(*temporary) = "collapsed"
(*temporary) = false
(*temporary) = "inactive"
(*temporary) = nil
(*temporary) = "textValue"
(*temporary) = "990 / 10000"
(*temporary) = "FactionID"
(*temporary) = 1900
(*temporary) = "attempt to index local 'color' (a nil value)"
f = AraReputation {
 SetupConfigMenu = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:671
 CHAT_MSG_COMBAT_FACTION_CHANGE = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:640
 onBlock = true
 PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:858
 0 = <userdata>
 AddModule = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:85
}
config = <table> {BUNCH OF DATA ABOUT MY CHARACTERS}
 textSession = false
 showHints = true
 Earthen Ring - Teega = <table> {
 }
 Magtheridon - Tingi = <table> 
AddOns:
  Swatter, v5.21f.5579 (SanctimoniousSwamprat)
  WowheadLooter, v70203
  acbCastBar, v16.09.30
  acbMirror, v16.07.23
  ACP, v3.4.30 
  AllPlayed, vv70100-2-beta-2
  AngryWorldQuests, v
  AraBrokerGuildFriends, vr75
  AraBrokerReputations, vr23
  ArkInventory, v30725
  ArkInventoryRules, v10003
  ArkInventoryRulesExample, v10000
  AtlasLoot, vv8.03.00
  AtlasLootBurningCrusade, vv8.03.00
  AtlasLootCataclysm, vv8.03.00
  AtlasLootClassic, vv8.03.00
  AtlasLootLegion, vv8.03.00
  AtlasLootMistsofPandaria, vv8.03.00
  AtlasLootWarlordsofDraenor, vv8.03.00
  AtlasLootWrathoftheLichKing, vv8.03.00
  Auctionator, v4.0.17
  Auditor2, v5.0.4
  AzCastBar, v16.09.30
  BadBoy, vv7.2.30
  Bartender4, v4.7.7
  BrokerAuditor, v5.0.4
  BrokerCPU, v50001
  BrokerDurabilityInfo, vv1.26
  BrokerMail, v1.0
  BrokerProfessionsMenu, v7.2.0.0
  BrokeruClock, vv3.3.9
  BrokerXPBar, v2.0 r058
  ChocolateBar, vv3.0.4
  ClassicQuestLog, v1.2.10
  CrossRealmAssist, v0.81 beta
  DamnAchievementSpam, v
  DBMCore, v7.2.3
  DBMDefaultSkin, v
  DBMLDB, v
  DBMStatusBarTimers, v
  DebugLib, v5.1.DEV.130(/embedded)
  DragEmAll, v1.0.6
  EasyObliterate, v24
  ElkBuffBars, v2.5.0-188
  GatherMate2, v1.40
  HandyNotes, vv1.4.13
  HandyNotesDraenorTreasures, v1.20a
  HandyNotesLegionRaresTreasures, v1.01b
  HideOrderHallBar, vv1.2.2
  Mapster, v1.7.5
  MasterPlan, v0.107
  MasterPlanA, vA
  Mendeleev, v3.0
  MoveAnything, v16.1.7
  Notes, v1.3.18
  Omen, v3.1.12
  OmniCC, v7.1.1
  Overachiever, v0.99.7
  OverachieverTabs, v0.99.7
  Paste, v1.4.10
  PitBull4, vv4.1.3
  Postal, vv3.5.8
  Prat30, vr1054      
  Prat30Libraries, v
  Rarity, v1.0
  RarityOptions, v
  SavedInstances, v7.0.8
  SexyMap, vv7.2.0
  Skada, v1.6.6
  StatBlockZoneText, v
  Stubby, v5.8.4717 (CreepyKangaroo)
  teksLoot, v5.1.0.12
  tekticles, v6.0.0.18
  Tipsy, v$project-version$
  TomTom, vv70200-1.0.0
  XLoot, v7.2-1
  XLootFrame, v7.2-1
  XLootGroup, v7.2-1
  XLootMaster, v7.2-1
  XLootMonitor, v7.2-1
  BlizRuntimeLib_enUS v7.2.0.70200 <none>
  (ck=7de)
Report comment to moderator  
Reply With Quote
Unread 04-09-17, 05:08 PM  
vikingking
A Defias Bandit
 
vikingking's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 50
Uploads: 2
Re: Error

Originally Posted by Vedma
I am getting this bug.
I am not even sure what's causing it but Ara Broker Reputations from this location is the only addon I've added. I will try to disable MogIt for now.
Try running it with MogIt and without and let me know. Keep in mind, I'm not the original author, just have been trying to patch it for Legion. It looks like some global variable crossover between the two mods to me.

The code it's referencing in Ara_Broker_Reputations has not been updated, so I don't think it's any of the changes I've added. But if you can clarify if it's a conflict with MogIt, I'll see what I an do to help correct.
Report comment to moderator  
Reply With Quote
Unread 04-09-17, 06:59 AM  
Vedma
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 15
Uploads: 1
Error

I am getting this bug.
I am not even sure what's causing it but Ara Broker Reputations from this location is the only addon I've added. I will try to disable MogIt for now.

Code:
Date: 2017-04-09 15:46:46
ID: 5
Error occured in: Global
Count: 3
Message: ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua line 831:
   attempt to index upvalue 'c' (a nil value)
Debug:
   ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:831: initFunction()
   ..\FrameXML\UIDropDownMenu.lua:69: UIDropDownMenu_Initialize()
   ..\FrameXML\UIDropDownMenu.lua:941:
      ..\FrameXML\UIDropDownMenu.lua:806
   [C]: ToggleDropDownMenu()
   [string "*:OnEnter"]:5:
      [string "*:OnEnter"]:1
   [C]: ?
Locals:
self = AraReputationConfigMenu {
 0 = <userdata>
 displayMode = "MENU"
 initialize = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:800
 scale = 0.71111112833023
}
level = 2
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
}
(for control) = 9
i = 9
v = <table> {
 color = "blizzardColors"
 text = "Paragon"
 index = 9
}
adjust = nil
(*temporary) = <table> {
 hasArrow = false
 notCheckable = true
 text = "Paragon"
 hasColorSwatch = true
 padding = 10
}
(*temporary) = <table> {
 hasArrow = false
 notCheckable = true
 text = "Paragon"
 hasColorSwatch = true
 padding = 10
}
(*temporary) = <table> {
 hasArrow = false
 notCheckable = true
 text = "Paragon"
 hasColorSwatch = true
 padding = 10
}
(*temporary) = nil
(*temporary) = true
(*temporary) = nil
(*temporary) = <table> {
 hookedButtons = <table> {
 }
 CreateFramesHook = <function> defined @Interface\AddOns\MogIt\Libs\Libra\Dropdown.lua:476
 hookAddButton = true
 MenuPrototype = <table> {
 }
 HideListHook = <function> defined @Interface\AddOns\MogIt\Libs\Libra\Dropdown.lua:456
 scrollButtons = <table> {
 }
 hookToggleDropDownMenu = true
 ToggleDropDownMenuHook = <function> defined @Interface\AddOns\MogIt\Libs\Libra\Dropdown.lua:325
 Prototype = <unnamed> {
 }
 AddButtonHook = <function> defined @Interface\AddOns\MogIt\Libs\Libra\Dropdown.lua:385
 secureButtons = <table> {
 }
 DismissSecureButton = <function> defined @Interface\AddOns\MogIt\Libs\Libra\Dropdown.lua:537
 secureBin = <table> {
 }
 hookCreateFrames = true
 objects = <table> {
 }
 listData = <table> {
 }
 frame = <unnamed> {
 }
 FramePrototype = <table> {
 }
 hookedLists = <table> {
 }
}
(*temporary) = <table> {
 hasArrow = false
 notCheckable = true
 text = "Paragon"
 hasColorSwatch = true
 padding = 10
}
(*temporary) = 2
(*temporary) = "attempt to index upvalue 'c' (a nil value)"
options = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
 10 = <table> {
 }
 11 = <table> {
 }
 12 = <table> {
 }
}
info = <table> {
 hasArrow = false
 notCheckable = true
 text = "Paragon"
 hasColorSwatch = true
 padding = 10
}
config = <table> {
ALL OF MY CHARACTERS FOR SOME REASON}

AddOns:
  Swatter, v5.21f.5579 (SanctimoniousSwamprat)
  WowheadLooter, v70203
  acbCastBar, v16.09.30
  acbMirror, v16.07.23
  ACP, v3.4.30 
  AllPlayed, vv70100-2-beta-2
  AngryWorldQuests, v
  AraBrokerGuildFriends, vr75
  AraBrokerReputations, vr23
  ArkInventory, v30725
  ArkInventoryRules, v10003
  ArkInventoryRulesExample, v10000
  AtlasLoot, vv8.02.24
  AtlasLootBurningCrusade, vv8.02.24
  AtlasLootCataclysm, vv8.02.24
  AtlasLootClassic, vv8.02.24
  AtlasLootLegion, vv8.02.24
  AtlasLootMistsofPandaria, vv8.02.24
  AtlasLootWarlordsofDraenor, vv8.02.24
  AtlasLootWrathoftheLichKing, vv8.02.24
  Auctionator, v4.0.17
  Auditor2, v5.0.4
  AzCastBar, v16.09.30
  BadBoy, vv7.2.27
  Bartender4, v4.7.7
  BrokerAuditor, v5.0.4
  BrokerCPU, v50001
  BrokerDurabilityInfo, vv1.26
  BrokerMail, v1.0
  BrokerProfessionsMenu, v7.2.0.0
  BrokeruClock, vv3.3.9
  BrokerXPBar, v2.0 r058
  ChocolateBar, vv3.0.4
  ClassicQuestLog, v1.2.9
  CrossRealmAssist, v0.81 beta
  DamnAchievementSpam, v
  DBMStatusBarTimers, v
  DebugLib, v5.1.DEV.130(/embedded)
  DragEmAll, v1.0.6
  ElkBuffBars, v2.5.0-188
  GatherMate2, v1.40
  HandyNotes, vv1.4.13
  HandyNotesDraenorTreasures, v1.20a
  HandyNotesLegionRaresTreasures, v1.01b
  HideOrderHallBar, vv1.2.2
  Mapster, v1.7.5
  MasterPlanA, vA
  Mendeleev, v3.0
  MogIt, v3.8.0
  MogItOneHanded, v3.8.0
  MogItOther, v3.8.0
  MogItPlate, v3.8.0
  MogItRanged, v3.8.0
  MogItTwoHanded, v3.8.0
  MoveAnything, v16.1.7
  Notes, v1.3.18
  Omen, v3.1.12
  OmniCC, v7.1.1
  Overachiever, v0.99.7
  OverachieverTabs, v0.99.7
  OverachieverTrade, v0.99.7
  Paste, v1.4.10
  PitBull4, vv4.1.3
  Postal, vv3.5.8
  Prat30, vr1054      
  Prat30Libraries, v
  Rarity, v1.0
  RarityOptions, v
  SavedInstances, v7.0.8
  SexyMap, vv7.2.0
  StatBlockZoneText, v
  Stubby, v5.8.4717 (CreepyKangaroo)
  teksLoot, v5.1.0.12
  tekticles, v6.0.0.18
  Tipsy, v$project-version$
  TomTom, vv70200-1.0.0
  XLoot, v7.2-1
  XLootFrame, v7.2-1
  XLootGroup, v7.2-1
  XLootMaster, v7.2-1
  XLootMonitor, v7.2-1
  BlizRuntimeLib_enUS v7.2.0.70200 <none>
  (ck=80f)
Report comment to moderator  
Reply With Quote
Unread 04-05-17, 02:42 PM  
vikingking
A Defias Bandit
 
vikingking's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 50
Uploads: 2
Re: Re: Re: Error

Originally Posted by Tomate
Thanks for the update I consider to do something similar to this addon but you already done it and save me time.
Thanks for the info, already looking into these. I have the fix for the SavedVariables already in. I'm looking at the continuing Paragon stuff at the moment. I just need to have a toon to test with that is wrapping/has wrapped a Paragon level.
Report comment to moderator  
Reply With Quote
Unread 04-05-17, 06:28 AM  
Tomate
A Murloc Raider
 
Tomate's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 301
Uploads: 6
Re: Re: Error

Thanks for the update I consider to do something similar to this addon but you already done it and save me time.

Originally Posted by vikingking
If you've used the addon prior to r20, please remove your preferences file from the WTF folder. Should be named Ara_Broker_Reputations.lua

The changes I made in r20 and up are not backward compatible with r18 and previous, and could cause this error on colors. This is because the old database does not have a setting for Paragon colors.
For this issue I think you should change the SavedVariables name to force reset the setting.
Or doing something similar to this in line 323 and 624:
Lua Code:
  1. if type(color) ~= 'table' then
  2.     color = { r= .4,  g= 0,   b= .6  }
  3. end
An other issue I encounter is when you go past the first paragon level it seams the reputation count past 10k even if it reset on the blizzard interface. It seams you have to modulo the reputation value.
You should do something like that:
Lua Code:
  1. pVal = math.fmod(pVal, pMax)
Report comment to moderator  
Reply With Quote
Unread 04-03-17, 02:47 PM  
vikingking
A Defias Bandit
 
vikingking's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 50
Uploads: 2
Re: Error

Originally Posted by Snoopers
I am not sure why it is giving me this error...
If you've used the addon prior to r20, please remove your preferences file from the WTF folder. Should be named Ara_Broker_Reputations.lua

The changes I made in r20 and up are not backward compatible with r18 and previous, and could cause this error on colors. This is because the old database does not have a setting for Paragon colors.
Report comment to moderator  
Reply With Quote
Unread 04-03-17, 12:49 PM  
Snoopers
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Error

I am not sure why it is giving me this error...


Message: ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:323: attempt to index local 'color' (a nil value)
Time: 04/03/17 13:48:24
Count: 6
Stack: ...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:323: in function <...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:257>
...ns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:525: in function `OnEnter'
Interface\AddOns\ChocolateBar\Chocolate.lua:216: in function <Interface\AddOns\ChocolateBar\Chocolate.lua:186>

Locals: self = nil
menuFactionWidth = 118.21068572998
menuValuesWidth = 0
menuToGoWidth = 36.017318725586
menuSessionWidth = 43.405487060547
itemFactionWidth = 104.35787200928
itemValuesWidth = 0
itemToGoWidth = 0
itemSessionWidth = 0
button = <unnamed> {
0 = <userdata>
values = <unnamed> {
}
fs = <unnamed> {
}
rep = <table> {
}
togo = <unnamed> {
}
faction = <unnamed> {
}
session = <unnamed> {
}
bg = <unnamed> {
}
icon = <unnamed> {
}
bar = <unnamed> {
}
}
inactive = nil
inactive = nil
skip = nil
skipChild = nil
(for index) = 6
(for limit) = 106
(for step) = 1
i = 6
name = "Court of Farondis"
showValue = true
level = 9
minVal = 0
maxVal = 10000
value = 2650
atWar = false
canBeAtWar = false
isHeader = false
isCollapsed = false
hasRep = false
isWatched = false
isChild = false
FactionID = 1900
perc = 0.265
color = nil
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = 134829
(*temporary) = "name"
(*temporary) = "Court of Farondis"
(*temporary) = "header"
(*temporary) = false
(*temporary) = "showValue"
(*temporary) = true
(*temporary) = "level"
(*temporary) = 9
(*temporary) = "collapsed"
(*temporary) = false
(*temporary) = "inactive"
(*temporary) = nil
(*temporary) = "textValue"
(*temporary) = "2650 / 10000"
(*temporary) = "FactionID"
(*temporary) = 1900
(*temporary) = "attempt to index local 'color' (a nil value)"
f = AraReputation {
SetupConfigMenu = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:671
CHAT_MSG_COMBAT_FACTION_CHANGE = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:640
onBlock = true
PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:858
0 = <userdata>
AddModule = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara_Broker_Reputations.lua:85
}
config = <table> {
Sen'jin - Leass = <table> {
}
scale = 1.1
Dalaran - Rhapsodiz = <table> {
}
Hellscream - Tofu = <table> {
}
blizzardColors = <table> {
}
textValues = false
Stormrage - Kjz = <table> {
}
blockDisplay = "text"
Dalaran - Tokzakbek = <table> {
}
Hellscream - Kbuzz = <table> {
}
Dalaran - Amaridea = <table> {
}
Sen'jin - Esake = <table> {
}
textPerc = true
textStanding = true
Hellscream - Sneeqky = <table> {
}
barTexture = "Interface\TargetingFrame\UI-StatusBar"
Sen'jin - Incited = <table> {
}
textFaction = true
asciiBar = "dualColors"
Hellscream - Jazzies = <table> {
}
Hellscream - Marchie = <table> {
}
asciiColors = <table> {
}
Sen'jin - Ermol = <table> {
}
Hellscream - Antiboss = <table> {
}
Sen'jin - Antiboss = <table> {
}
useTipTacSkin = true
}
MAX_ENTRIES = 66
GAP = 10
BUTTON_HEIGHT = 14
factions = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
}
tables = <table> {
}
nbEntries = 6
GetFactionInfo = <function> defined =[C]:-1
char = <table> {
collapsedHeaders = <table> {
}
}
levels = <table> {
1 = "Hated"
2 = "Hostile"
3 = "Unfriendly"
4 = "Neutral"
5 = "Friendly"
6 = "Honored"
7 = "Revered"
8 = "Exalted"
9 = "Paragon"
}
Friends = <table> {
1 = 1273
2 = 1275
3 = 1276
4 = 1277
5 = 1278
6 = 1279
7 = 1280
8 = 1281
9 = 1282
10 = 1283
11 = 1358
12 = 1733
13 = 1736
14 = 1737
15 = 1738
16 = 1739
17 = 1740
18 = 1741
19 = 1975
}
FACTION_INACTIVE = "Inactive"
new = <function> defined @Interface\AddOns\Ara_Broker_Reputations\Ara
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: