Category: Outdated Mods
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Maul's Portal Bug Reports Feature Requests
Author:
Version:
30000.1
Date:
10-12-2008 05:17 PM
Size:
7.96 Kb
Downloads:
3,273
Favorites:
13
MD5:
Pictures
Click to enlarge
How ColorBlind enchances the UI
Color Blind 4.0
Color Blind 4.0 is a near complete rewrite of the previous Color Blind version posted here. It has been updated for 2.3 and all features are working. Some of the features are implemented a bit differently than in the screen shot, will update the screenshot when time allows.

Auction House Tooltips and Item Comparison Tooltips and not working 100% though. Again, I will figure those out when I get more time =)

--------------------------------------

Original Color Blind by Hwap & Megabob
  Change Log - Color Blind 4.0
30000.1 -
- Updated for WoW 3.0, though it should still work on live save for the craft skill frame (which is removed in 3.0)

TOC change for 2.4.
Added changes made by user Cosmic Cleric.
  Optional Files - Color Blind 4.0
File Name
Version
Size
Author
Date
Type
Manual3
8kB
01-29-2009 02:12 PM
Patch
Manual2
8kB
01-01-2009 04:59 PM
Patch
Manual1
4kB
12-06-2008 04:23 PM
Patch
RarityTooltip7
4kB
12-12-2007 05:20 PM
Patch
  Comments - Color Blind 4.0
Post A Reply Comment Options
Old 12-30-2008, 01:39 AM  
neeow
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Still not working

Got these errors when loading wow, seems that colorblind is triggering a series of errors in other add-ons as well:

Code:
Error occured in: Global
Count: 4
Message: ..\AddOns\ColorBlind4\ColorBlind4.lua line 188:
   attempt to index upvalue 'ss' (a nil value)
Debug:
   (tail call): ?
   [C]: ?
   ColorBlind4\ColorBlind4.lua:188:
      ColorBlind4\ColorBlind4.lua:186
   ColorBlind4\ColorBlind4.lua:495:
      ColorBlind4\ColorBlind4.lua:464

Error occured in: Global
Count: 5
Message: ..\AddOns\ColorBlind4\ColorBlind4.lua line 73:
   attempt to index upvalue 'ss' (a nil value)
Debug:
   (tail call): ?
   [C]: ?
   ColorBlind4\ColorBlind4.lua:73:
      ColorBlind4\ColorBlind4.lua:71
   [C]: QuestLog_Update()
   ..\FrameXML\QuestLogFrame.lua:55: QuestLog_OnEvent()
   [string "*:OnEvent"]:1:
      [string "*:OnEvent"]:1

Error occured in: Global
Count: 3
Message: ..\AddOns\ColorBlind4\ColorBlind4.lua line 223:
   attempt to index upvalue 'ss' (a nil value)
Debug:
   (tail call): ?
   [C]: ?
   ColorBlind4\ColorBlind4.lua:223:
      ColorBlind4\ColorBlind4.lua:200
   [C]: MoneyFrame_Update()
   RecipeRadar\MainFrame.lua:265: RecipeRadar_SetSelection()
   RecipeRadar\RadarTab.lua:369: RecipeRadar_RadarTab_ServiceClickIndex()
   RecipeRadar\MainFrame.lua:180: RecipeRadar_ServiceClickIndex()
   RecipeRadar\MainFrame.lua:172: RecipeRadar_SelectFirstRecipe()
   RecipeRadar\RecipeRadar.lua:38: RecipeRadar_OnEvent()
   [string "*:OnEvent"]:1:
      [string "*:OnEvent"]:1

Error occured in: Global
Count: 1
Message: [string "ColorBlind4MinimapButton:OnEvent"] line 3:
   attempt to index global 'ColorBlind4SavedState' (a nil value)
Debug:
   (tail call): ?
   [C]: ?
   [string "*:OnEvent"]:3:
      [string "*:OnEvent"]:1
neeow is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-06-2008, 04:13 PM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
Re: Bug Report

EDIT: I've uploaded my ColorBlind4.lua file (inside of the ColorBlind4_Manual1.zip) file to the Optional Files section (http://www.wowinterface.com/download...=6395#optional). This is the link to the actual file: http://www.wowinterface.com/downloads/info11852.html

If you don't want to try to manually edit your copy of the lua file to do the fixes I've described below (and in previous posts), just download this zip file and replace the existing ColorBlind4.lua file with the same filename inside of the zip file.



Quote:
Originally posted by Cosmic Cleric
When I right-click on a person's name in the General tab chat window, I get this error...

Code:
Error occured in: Global
Count: 1
Message: ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua line 3515:
   bad argument #1 to 'strsub' (string expected, got nil)
Debug:
   [C]: ?
   [C]: ?
   ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3515: SetItemRef()
   ..\FrameXML\ChatFrame.lua:2454: ChatFrame_OnHyperlinkShow()
   [string "*:OnHyperlinkClick"]:1:
      [string "*:OnHyperlinkClick"]:1
   ColorBlind4\ColorBlind4.lua:402:
      ColorBlind4\ColorBlind4.lua:402
Please note that the line numbers are based on the code that I made the three line change on, that I talked about just before this post. If you are looking at the downloaded source code w/o my change, the line number may be off by three lines!
I was able to correct this problem. It seems that the "old" way of registering functions to the chat window no longer is valid, and that this method (http://www.wowwiki.com/API_ChatFrame...ageEventFilter) should be done now.

So, taking this code...

Code:
local function setGameTooltipScript(set)

	if (set) then
		GameTooltip:SetScript("OnTooltipSetItem", function(self) onTooltipSetItemScript() setTooltipItemColor(self) end)
		for i=1,7 do
			getglobal("ChatFrame"..i):SetScript("OnHyperlinkClick", function(self) onChatHyperlinkClick() setTooltipItemColor(ItemRefTooltip) end)
		end
	else
		GameTooltip:SetScript("OnTooltipSetItem", function(self) onTooltipSetItemScript() end)
		for i=1,7 do
			getglobal("ChatFrame"..i):SetScript("OnHyperlinkClick", function(self) onChatHyperlinkClick() end)
		end
	end
end
and changing it to this...

Code:
local function setGameTooltipScript(set)

	if (set) then
		GameTooltip:SetScript("OnTooltipSetItem", function(self) onTooltipSetItemScript() setTooltipItemColor(self) end)
		for i=1,7 do
			ChatFrame_AddMessageEventFilter("OnHyperlinkClick", function(self) onChatHyperlinkClick() setTooltipItemColor(ItemRefTooltip) end)
		end
	else
		GameTooltip:SetScript("OnTooltipSetItem", function(self) onTooltipSetItemScript() end)
		for i=1,7 do
			ChatFrame_AddMessageEventFilter("OnHyperlinkClick", function(self) onChatHyperlinkClick() end)
		end
	end
end
fixed this problem for me.

Last edited by Cosmic Cleric : 12-29-2008 at 02:40 PM.
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-06-2008, 03:27 PM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
Quote:
Originally posted by neeow
Like the others, it does n longer works for me in wotk ...
I sent him a web site message, but he hasn't replied. Was tempted to send him a Internet email (http://www.wowinterface.com/forums/s...member&u=10780) but thought I'd wait a bit more before doing that. Its all volunteer work, but damn, I really miss this add-on.
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-02-2008, 04:38 AM  
neeow
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Like the others, it does n longer works for me in wotk ...
neeow is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-16-2008, 03:59 PM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
Question Searching for Maul

Maul, you out there? Any new news on a new version with WotLK fixes?
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-13-2008, 01:37 PM  
gotenex
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I'm getting this error:

"Interface\AddOns\ColorBlind4\ColorBlind4.lua:188 attempt to index upvalue 'ss' (a nil value)"

Is there a temporary fix for this?
gotenex is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-17-2008, 03:43 AM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
Quote:
Originally posted by Maul
I will take a look at this. I did not do extensive testing when converting to 3.0. Thanks for the info
Thank you for your continued support of a great add-on.
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-17-2008, 02:45 AM  
Maul
Macaroon!
 
Maul's Avatar
Premium Member
Interface Author - Click to view interfaces

Forum posts: 241
File comments: 997
Uploads: 20
I will take a look at this. I did not do extensive testing when converting to 3.0. Thanks for the info
Maul is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-17-2008, 02:40 AM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
Bug Report

When I right-click on a person's name in the General tab chat window, I get this error...

Code:
Error occured in: Global
Count: 1
Message: ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua line 3515:
   bad argument #1 to 'strsub' (string expected, got nil)
Debug:
   [C]: ?
   [C]: ?
   ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3515: SetItemRef()
   ..\FrameXML\ChatFrame.lua:2454: ChatFrame_OnHyperlinkShow()
   [string "*:OnHyperlinkClick"]:1:
      [string "*:OnHyperlinkClick"]:1
   ColorBlind4\ColorBlind4.lua:402:
      ColorBlind4\ColorBlind4.lua:402
Please note that the line numbers are based on the code that I made the three line change on, that I talked about just before this post. If you are looking at the downloaded source code w/o my change, the line number may be off by three lines!

Last edited by Cosmic Cleric : 10-17-2008 at 03:42 AM.
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-16-2008, 11:04 PM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
If you are seeing this error...

Code:
Message: ..\AddOns\ColorBlind4\ColorBlind4.lua line 203:
   attempt to index local 'frame' (a nil value)
Add the following code between lines 202 and 203...

Code:
if (frame == nil) then 
	return;
end
So here's ColorBlind4.lua looked BEFORE (starting at line 200)...

Code:
local function setCoinLetters(frameName, money)

	local frame = getglobal(frameName);
	local info = frame.info;
and here's how it looks after the fix...

Code:
local function setCoinLetters(frameName, money)

	local frame = getglobal(frameName);
	if (frame == nil) then 
		return;
	end
	local info = frame.info;
This will allow you to continue until a fix comes out for the error.
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-08-2008, 08:20 PM  
captainskyhawk
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Thank you so, so much for making this! I've been been wanting something like this for so long.
captainskyhawk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-15-2008, 09:44 PM  
gyt2wong
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Runs into an error with Color Blind with bagnon and X-Perl.

If I have time I will look at what it does at line 434.

Code:
Date: 2008-04-15 18:40:32
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Bagnon_Tooltips\tooltips.lua line 105:
   attempt to index local 'self' (a nil value)
Debug:
   [C]: ?
   Bagnon_Tooltips\tooltips.lua:105:
      Bagnon_Tooltips\tooltips.lua:100
   ColorBlind4\ColorBlind4.lua:434:
      ColorBlind4\ColorBlind4.lua:434
   [C]: ?
   [C]: pcall()
   Stubby\Stubby.lua:340:
      Stubby\Stubby.lua:324
   (tail call): ?
   [C]: SetInboxItem()
   ..\FrameXML\MailFrame.lua:238:
      ..\FrameXML\MailFrame.lua:234
   [C]: InboxFrameItem_OnEnter()
   [string "*:OnEnter"]:1:
      [string "*:OnEnter"]:1
AddOns:
  AdvancedTradeSkillWindow
  Atlas, v1.11.0
  AtlasBattlegrounds, v1.11.0
  AtlasDungeonLocs, v1.11.0
  AtlasEntrances, v1.11.0
  AtlasFlightPaths, v1.11.0
  AtlasOutdoorRaids, v1.11.0
  AtlasLoot, vAtlasLoot Enhanced v4.04.01
  AtlasQuest, vAtlasQuest 4.1.0
  Bagnon, v1.5.2
  BagnonForever, v1.0.0
  BagnonTooltips
  Bartender3, v3.1.2 r65221
  BeanCounter, v5.0.PRE.3024 (BillyGoat)
  BonusScanner, v3.4
  Clique, v96
  ColorBlind4, v20400.1
  Enchantrix, v5.0.PRE.3024
  EnchantrixBarker, v5.0.PRE.3024 (BillyGoat)
  EnhTooltip, v5.0.PRE.3024
  EquipCompare, v2.12
  FishermansFriend
  FuBar, v60201
  Gatherer, v3.1.1
  Informant, v5.0.PRE.3024
  LightHeaded, v229
  Omen, vOmen r68561 / Threat-2.0 r68842
  OmniCC, v2.0.8
  Outfitter, v4.1.3
  PallyPower, v2.01.00
  QuestHelper, v0.41
  RecipeRadar, v1.27
  RecipeBook, v2.4.0d
  RogueFocus, v1.0.3
  Stubby, v52
  Swatter, v5.0.PRE.3024
  TitanAmmo, v3.2.2.20400
  TitanBag, v3.2.2.20400
  TitanClock, v3.2.2.20400
  TitanCoords, v3.2.2.20400
  TitanGoldTracker, v3.2.2.20400 (2.3.2)
  TitanHonor, v3.2.2.20400 (1.13)
  TitanItemBonuses, v3.2.2.20400
  TitanLootType, v3.2.2.20400
  TitanPerformance, v3.2.2.20400
  TitanRegen, v3.2.2.20400
  TitanRepair, v3.2.2.20400
  TitanRider, v3.2.2.20400
  TitanStanceSets, v3.2.2.20400
  TitanXP, v3.2.2.20400
  Titan, v3.2.2.20400
  WeaponQuickSwap
  XPerlArcaneBar
  XPerlParty
  XPerlPartyPet
  XPerlPlayerBuffs
  XPerlPlayer
  XPerlPlayerPet
  XPerlRaidAdmin
  XPerlRaidHelper
  XPerlRaidMonitor
  XPerlRaidPets
  XPerlRaidFrames
  XPerlTarget
  XPerlTargetTarget
  XPerl, v2.4.2
gyt2wong is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-04-2008, 06:20 AM  
clyfton
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
OMG THX TO WHOEVER MADE this

Thank you so much for who ever made this addon. Much thought had to go into this for you to make this for a color blind person as myself i give this addon 5 stars anydays!!! keep up the good work
clyfton is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-05-2007, 04:15 AM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
Quote:
Originally posted by Maul
And thanks for the code snippet...I will add it ana an option to toggle it
You're welcome to change anything you like on it and/or decide to implement the changes in a future version. I just wanted to share in case others were in the same boat as I was about wanting the rarity info on more tooltip types.

EDIT: Since making this original post I uploaded a new version (RarityTooltip7) that should work for all items regardless of which window it is being displayed in. Figured it was easier to grab the existing tooltip text color and figuring out the quality name/text, than it was trying to write branching code for each and every type of window (ex.: Auction, Bank, etc.), and making specific api calls for the type of window, getting the quality number, then looking up the text description of the quality.

So far it seems to work great, with one minor annoyance. For recipes, the function in ColorBlind4 would get called twice for some reason, so I had to add a check to see if the quality text info was already appended to the right of the name of the item (by searching for "(" or ")") and if it does, don't bother adding it again.

But so far it looks like a clean/good implementation.

Last edited by Cosmic Cleric : 12-12-2007 at 05:32 PM.
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-04-2007, 02:38 PM  
Cosmic Cleric
A Murloc Raider
 
Cosmic Cleric's Avatar
Interface Author - Click to view interfaces

Forum posts: 8
File comments: 269
Uploads: 8
Quote:
Originally posted by Maul
Yeah, as stated in the notes above, auctionhouse tooltips are not working, mainly because I have not figured out how to hook them yet.

Ah sorry didn't see that. And I'm usually careful about reading the notes before posting too. :/

I did some testing, and the AH link DOES work IF you have had previously had the item in your own bags. For example, if I had something in my bags (or bank) and I put to for sale up on the AH, the tooltip will work for that. Also other people who put the same item up for sale it will work for too.

I took a look at the api you are using and it basically says that the item has to be cached locally for the api to return valid information (vs. a nil).

There's an api call you can make to get auction house information, but it has an index value for which item in the AH window you want the information on, which I can't seem to figure out how to get via which item the cursor is hovering over.

The auction house tooltip shows the rarity information too, so its weird that it can't be parsed out. Almost like the AH has its own special version of the tooltip vs. everything else.

Oh! Vendors have the same situation as the AH. Items that I have had in my bags before show the rarity information on a vendor (in other words, cached locally). Otherwise it doesn't (nil returned).

Finally, when you ctrl-click on an item in the chat window, the popup window that shows the information on the item does not display the rarity information. Is that supposed to be working, or is that another item documented that does not work?


Quote:
As for semi colons, it is optional in lua. I stopped using them some time ago, not sure why
I never realized that. Kind of freaky actually.

Quote:
And thanks for the code snippet...I will add it ana an option to toggle it
No problem, glad it was of some use to you.
Cosmic Cleric is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.