Thread Tools Display Modes
09-20-10, 02:10 AM   #1
vampirictorch
A Murloc Raider
Join Date: Sep 2010
Posts: 9
nui issue, with WIM.

this is more like an issue + suggestion.

Well I have use the "WIM" addon for some time, I have already posted the error(s) for the WIM maker to try an addapt it to work with your mod, but what happens is, when I try an ignore people on it, it errors and wont ignore, when I minimize it, the WIM addon minimizes to minimap, but it goes into that little pouch for nUI, so It errors again there. here are the 2 errors I get for either function, it is identical, and 2 pages.




Code:
Message: Interface\AddOns\WIM\Sources\WindowHandler.lua:603: attempt to perform arithmetic on a nil value
Time: 09/20/10 02:36:50
Count: 8
Stack: Interface\AddOns\WIM\Sources\WindowHandler.lua:603: in function <Interface\AddOns\WIM\Sources\WindowHandler.lua:582>

Locals: self = WIM3_msgFrame1 {
Hide_Normal = <function> defined =[C]:-1
class = ""
isNew = false
offScreen = 0
level = ""
WhoCallback = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:891
Hide = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:1090
w2w = <table> {
}
fadedIn = true
animation = <table> {
}
Pop = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:976
isWimWindow = true
age = 610699.716
lastDate = "09/20/2010"
unreadCount = 0
msgWaiting = false
ResetAnimation = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:1118
delayFade = false
SafeGetTop = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:1138
delayFadeElapsed = 0
AddMessage = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:831
helperFrame = WIM_WindowHelperFrame {
}
SafeGetRight = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:1135
UpdateIcon = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:853
guild = ""
UpdateProps = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:1041
customSize = false
bn = <table> {
}
SetScale_Orig = <function> defined =[C]:-1
GetRuleSet = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:966
classColor = "ffffff"
race = ""
lastActivity = 610699.716
theUser = "Vampirictorch"
fadeElapsed = 0.056000001728535
AddEventMessage = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:842
initialized = true
type = "whisper"
location = ""
SetScale = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:734
hasMoved = false
SafeGetLeft = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:1132
isParent = true
widgets = <table> {
}
SafeGetBottom = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:1141
online = false
SendWho = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:903
fadeInfo = <table> {
}
0 = <userdata>
UpdateCharDetails = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:887
AddMessageRaw = <function> defined @Interface\AddOns\WIM\Sources\WindowHandler.lua:838
}
elapsed = 0.046000003814697
animate = <table> {
initTop = 664.00000536442
initLeft = 217.00000439584
time = 0.5
elapsed = 0.46900002099574
mode = "HIDE"
scaleLimit = 0.001
to = WIM3MinimapButton {
}
}
prct = 0.93800004199147
scale = 0.061999958008528
to = WIM3MinimapButton {
0 = <userdata>
OnLeave = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:258
SetText = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:216
cached_SetParent = <function> defined =[C]:-1
OnMouseUp = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:252
OnMouseDown = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:249
OnClick = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:228
OnDragStop = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:268
text = <unnamed> {
}
SetParent = <function> defined @Interface\AddOns\nUI\Plugins\nUI_ButtonBag.lua:684
icon = <unnamed> {
}
flash = WIM3MinimapButtonFlash {
}
UpdatePosition = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:290
backGround = <unnamed> {
}
OnEnter = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:255
sexyMapMovable = true
OnUpdate = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:276
Load = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:137
OnDragStart = <function> defined @Interface\AddOns\WIM\Modules\MinimapIcon.lua:261
}
es = 0.061999958008528
ts = 0.73732715845108
(*te












Page 2:
Code:
Message: Interface\AddOns\WIM\Modules\ShortcutBar.lua:324: attempt to index global 'win' (a nil value)
Time: 09/20/10 02:42:02
Count: 4
Stack: Interface\AddOns\WIM\Modules\ShortcutBar.lua:324: in function `OnClick'
Interface\AddOns\WIM\Modules\ShortcutBar.lua:52: in function <Interface\AddOns\WIM\Modules\ShortcutBar.lua:50>

Locals: self = WIM_ShortcutBarButton4 {
parentWindow = WIM3_msgFrame1 {
}
SetDefaults = <function> defined @Interface\AddOns\WIM\Modules\ShortcutBar.lua:55
index = 4
isEnabled = true
Enable = <function> defined @Interface\AddOns\WIM\Modules\ShortcutBar.lua:24
0 = <userdata>
icon = <unnamed> {
}
Disable = <function> defined @Interface\AddOns\WIM\Modules\ShortcutBar.lua:29
}
(*temporary) = <table> {
BFMGR_INVITED_TO_QUEUE_WARMUP = <table> {
}
ADDON_ACTION_FORBIDDEN = <table> {
}
CANCEL_AUCTION = <table> {
}
CONFIRM_OVERWRITE_EQUIPMENT_SET = <table> {
}
ACP_RELOADUI = <table> {
}
RESET_CHAT = <table> {
}
REMOVE_GUILDMEMBER = <table> {
}
QUEST_ACCEPT_LOG_FULL = <table> {
}
DEATH = <table> {
}
RENAME_ARENA_TEAM = <table> {
}
CONFIRM_LOOT_DISTRIBUTION = <table> {
}
RENAME_GUILD = <table> {
}
RESURRECT = <table> {
}
TRADE_POTENTIAL_BIND_ENCHANT = <table> {
}
CONFIRM_TEAM_PROMOTE = <table> {
}
SET_GUILDPLAYERNOTE = <table> {
}
HELP_TICKET = <table> {
}
CONFIRM_RESET_VIDEO_SETTINGS = <table> {
}
ABANDON_PET = <table> {
}
DELETE_ITEM = <table> {
}
ADD_RAIDMEMBER = <table> {
}
ADD_FRIEND = <table> {
}
ACP_SAVESET = <table> {
}
XP_LOSS_NO_SICKNESS_NO_DURABILITY = <table> {
}
ARENA_TEAM_INVITE = <table> {
}
ADD_TEAMMEMBER = <table> {
}
CAMP = <table> {
}
BUYOUT_AUCTION = <table> {
}
RESURRECT_NO_TIMER = <table> {
}
ADD_GUILDMEMBER = <table> {
}
COD_CONFIRMATION_AUTO_LOOT = <table> {
}
CONFIRM_HIGH_COST_ITEM = <table> {
}
CHAT_CHANNEL_PASSWORD = <table> {
}
SET_FRIENDNOTE = <table> {
}
CONFIRM_ACCEPT_PVP_QUEST = <table> {
}
GUILDBANK_WITHDRAW = <table> {
}
UNLEARN_SKILL = <table> {
}
BFMGR_INVITED_TO_QUEUE = <table> {
}
HELP_TICKET_QUEUE_DISABLED = <table> {
}
REPAIR_CONFIRMATION = <table> {
}
DELETE_MAIL = <table> {
}
TAKE_GM_SURVEY = <table> {
}
GUILD_INVITE = <table> {
}
GOSSIP_ENTER_CODE = <table> {
}
LEVEL_GRANT_PROPOSED = <table> {
}
POSTAL_NEW_PROFILE = <table> {
}
SET_GUILDOFFICERNOTE = <table> {
}
GM_RESPONSE_RESOLVE_CONFIRM = <table> {
}
END_REFUND = <table> {
}
ABANDON_QUEST = <table> {
}
REPLACE_ENCHANT = <table> {
}
GM_RESPONSE_MUST_RESOLVE_RESPONSE = <table> {
}
CONFIRM_BNET_REPORT = <table> {
}
IGR_BILLING_NAG = <table> {
}
BID_AUCTION = <table> {
}
BFMGR_PLAYER_EXITED_BATTLE = <table> {
}
BFMGR_EJECT_PENDING = <table> {
}
CONFIRM_COMBAT_FILTER_DELETE = <table> {
}
SEND_MONEY = <table> {
}
CONFIRM_BUY_GUILDBANK_TAB = <table> {
}
BFMGR_DENY_WORLD_PVP_QUEUED = <table> {
}
LOOT_BIND = <table> {
}
CONFIRM_GUILD_DISBAND = <table> {
}
DUEL_REQUESTED = <table> {
}
BFMGR_PLAYER_LOW_LEVEL = <table> {
}
SKINNED = <table> {
}
CONFIRM_RESET_AUDIO_SETTINGS = <table> {
}
ADD_IGNORE = <table> {
}
RESURRECT_NO_SICKNESS = <table> {
}
XP_LOSS = <table> {
}
HELP_TICKET_ABANDON_CONFIRM = <table> {
}
CONFIRM_COMPLETE_EXPENSIVE_QUEST = <table> {
}
CONFIRM_DELETE_EQUIPMENT_SET = <table> {
}
CONFIRM_PURCHASE_TOKEN_ITEM = <table> {
}
ADD_MUTE = <table> {
}
DELETE_MONEY = <table> {
}
DELETE_GOOD_ITEM = <table> {
}
COD_CONFIRMATION = <table> {
}
CONFIRM_REFUND_MAX_HONOR_AND_ARENA = <table> {
}
VOTE_BOOT_PLAYER = <table> {
}
CONFIRM_LEARN_PREVIEW_TALENTS = <table> {
}
EQUIP_BIND = <table> {
}
RECOVER_CORPSE_INSTANCE = <table> {
}
BATTLENET_UNAVAILABLE = <table> {
}
CALENDAR_ERROR = <table> {
}
CREATE_COMBAT_FILTER = <table> {
}
USE_GUILDBANK_REPAIR = <table> {
}
CONFIRM_REPORT_SPAM_MAIL = <table> {
}
CONFIRM_LOSE_BINDING_CHANGES = <table> {
}
CONFIRM_DELETING_CHARACTER_SPECIFIC_BINDINGS = <table> {
}
CONFIR















and here is the link to the WIM addon that I have also posted these errors in.






NOTE: What I did to prevent this was, get Sexymap as it has a function to fit in perfectly with this either on your side or not, and Disabled the chat icon from appearing (Wim Addon) in the map, then I enabled it to appear in my "Titan Panel" that way it still works, but it is somthing to do with when it minimizes to your pouch, either way it is still an error, even know I got it rigged to not display anymore for me, it is still an error with a plugin and your mod :P lmk what you think and if it is/is not an easy fix.
 
09-20-10, 08:19 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
If you turn off the window animation option in WIM I think you'll find that those problems go away.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
09-20-10, 11:04 AM   #3
vampirictorch
A Murloc Raider
Join Date: Sep 2010
Posts: 9
Originally Posted by spiel2001 View Post
If you turn off the window animation option in WIM I think you'll find that those problems go away.



I already fixed that one but, I still get an error from clicking "Ignore User" which isn't a big thing to me, only time I ever ignore people is in dungeons, and I use dungeonmate for that.




















Code:
Message: Interface\AddOns\WIM\Modules\ShortcutBar.lua:324: attempt to index global 'win' (a nil value)
Time: 09/20/10 12:01:54
Count: 2
Stack: Interface\AddOns\WIM\Modules\ShortcutBar.lua:324: in function `OnClick'
Interface\AddOns\WIM\Modules\ShortcutBar.lua:52: in function <Interface\AddOns\WIM\Modules\ShortcutBar.lua:50>

Locals: self = WIM_ShortcutBarButton4 {
 parentWindow = WIM3_msgFrame1 {
 }
 SetDefaults = <function> defined @Interface\AddOns\WIM\Modules\ShortcutBar.lua:55
 index = 4
 isEnabled = true
 Enable = <function> defined @Interface\AddOns\WIM\Modules\ShortcutBar.lua:24
 0 = <userdata>
 icon = <unnamed> {
 }
 Disable = <function> defined @Interface\AddOns\WIM\Modules\ShortcutBar.lua:29
}
(*temporary) = <table> {
 BFMGR_INVITED_TO_QUEUE_WARMUP = <table> {
 }
 ADDON_ACTION_FORBIDDEN = <table> {
 }
 CANCEL_AUCTION = <table> {
 }
 CONFIRM_OVERWRITE_EQUIPMENT_SET = <table> {
 }
 ACP_RELOADUI = <table> {
 }
 RESET_CHAT = <table> {
 }
 REMOVE_GUILDMEMBER = <table> {
 }
 QUEST_ACCEPT_LOG_FULL = <table> {
 }
 DEATH = <table> {
 }
 RENAME_ARENA_TEAM = <table> {
 }
 CONFIRM_LOOT_DISTRIBUTION = <table> {
 }
 RENAME_GUILD = <table> {
 }
 RESURRECT = <table> {
 }
 TRADE_POTENTIAL_BIND_ENCHANT = <table> {
 }
 CONFIRM_TEAM_PROMOTE = <table> {
 }
 SET_GUILDPLAYERNOTE = <table> {
 }
 HELP_TICKET = <table> {
 }
 CONFIRM_RESET_VIDEO_SETTINGS = <table> {
 }
 ABANDON_PET = <table> {
 }
 DELETE_ITEM = <table> {
 }
 ADD_RAIDMEMBER = <table> {
 }
 ADD_FRIEND = <table> {
 }
 ACP_SAVESET = <table> {
 }
 XP_LOSS_NO_SICKNESS_NO_DURABILITY = <table> {
 }
 ARENA_TEAM_INVITE = <table> {
 }
 ADD_TEAMMEMBER = <table> {
 }
 CAMP = <table> {
 }
 BUYOUT_AUCTION = <table> {
 }
 RESURRECT_NO_TIMER = <table> {
 }
 ADD_GUILDMEMBER = <table> {
 }
 COD_CONFIRMATION_AUTO_LOOT = <table> {
 }
 CONFIRM_HIGH_COST_ITEM = <table> {
 }
 CHAT_CHANNEL_PASSWORD = <table> {
 }
 SET_FRIENDNOTE = <table> {
 }
 CONFIRM_ACCEPT_PVP_QUEST = <table> {
 }
 GUILDBANK_WITHDRAW = <table> {
 }
 UNLEARN_SKILL = <table> {
 }
 BFMGR_INVITED_TO_QUEUE = <table> {
 }
 HELP_TICKET_QUEUE_DISABLED = <table> {
 }
 REPAIR_CONFIRMATION = <table> {
 }
 DELETE_MAIL = <table> {
 }
 TAKE_GM_SURVEY = <table> {
 }
 GUILD_INVITE = <table> {
 }
 GOSSIP_ENTER_CODE = <table> {
 }
 LEVEL_GRANT_PROPOSED = <table> {
 }
 POSTAL_NEW_PROFILE = <table> {
 }
 SET_GUILDOFFICERNOTE = <table> {
 }
 GM_RESPONSE_RESOLVE_CONFIRM = <table> {
 }
 END_REFUND = <table> {
 }
 ABANDON_QUEST = <table> {
 }
 REPLACE_ENCHANT = <table> {
 }
 GM_RESPONSE_MUST_RESOLVE_RESPONSE = <table> {
 }
 CONFIRM_BNET_REPORT = <table> {
 }
 IGR_BILLING_NAG = <table> {
 }
 BID_AUCTION = <table> {
 }
 BFMGR_PLAYER_EXITED_BATTLE = <table> {
 }
 BFMGR_EJECT_PENDING = <table> {
 }
 CONFIRM_COMBAT_FILTER_DELETE = <table> {
 }
 SEND_MONEY = <table> {
 }
 CONFIRM_BUY_GUILDBANK_TAB = <table> {
 }
 BFMGR_DENY_WORLD_PVP_QUEUED = <table> {
 }
 LOOT_BIND = <table> {
 }
 CONFIRM_GUILD_DISBAND = <table> {
 }
 DUEL_REQUESTED = <table> {
 }
 BFMGR_PLAYER_LOW_LEVEL = <table> {
 }
 SKINNED = <table> {
 }
 CONFIRM_RESET_AUDIO_SETTINGS = <table> {
 }
 ADD_IGNORE = <table> {
 }
 RESURRECT_NO_SICKNESS = <table> {
 }
 XP_LOSS = <table> {
 }
 HELP_TICKET_ABANDON_CONFIRM = <table> {
 }
 CONFIRM_COMPLETE_EXPENSIVE_QUEST = <table> {
 }
 CONFIRM_DELETE_EQUIPMENT_SET = <table> {
 }
 CONFIRM_PURCHASE_TOKEN_ITEM = <table> {
 }
 ADD_MUTE = <table> {
 }
 DELETE_MONEY = <table> {
 }
 DELETE_GOOD_ITEM = <table> {
 }
 COD_CONFIRMATION = <table> {
 }
 CONFIRM_REFUND_MAX_HONOR_AND_ARENA = <table> {
 }
 VOTE_BOOT_PLAYER = <table> {
 }
 CONFIRM_LEARN_PREVIEW_TALENTS = <table> {
 }
 EQUIP_BIND = <table> {
 }
 RECOVER_CORPSE_INSTANCE = <table> {
 }
 BATTLENET_UNAVAILABLE = <table> {
 }
 CALENDAR_ERROR = <table> {
 }
 CREATE_COMBAT_FILTER = <table> {
 }
 USE_GUILDBANK_REPAIR = <table> {
 }
 CONFIRM_REPORT_SPAM_MAIL = <table> {
 }
 CONFIRM_LOSE_BINDING_CHANGES = <table> {
 }
 CONFIRM_DELETING_CHARACTER_SPECIFIC_BINDINGS = <table> {
 }
 CONFIRM_REMOVE_GLYPH = <table> {
 }
 POSTAL_D
 
09-20-10, 11:13 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It is possible that there's a conflict between nUI and WIM that's causing the issue. If you edit [ Interface > AddOns > nUI > Integration > nUI_ChatFrame.lua ] with a plain text editor (like notepad) and look at the top of the file, you'll find the following...

Code:
local function reparentChatFrame()

    local haveChatMod = (IsAddOnLoaded( "Prat" ) or IsAddOnLoaded( "Chatter" ));


change that as follows, save the file and reload to see if that makes the problem go away...

Code:
local function reparentChatFrame()

    local haveChatMod = (IsAddOnLoaded( "Prat" ) or IsAddOnLoaded( "Chatter" ) or IsAddOnLoaded( "WIM" ));


__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
09-20-10, 11:16 AM   #5
vampirictorch
A Murloc Raider
Join Date: Sep 2010
Posts: 9
Originally Posted by spiel2001 View Post
It is possible that there's a conflict between nUI and WIM that's causing the issue. If you edit [ Interface > AddOns > nUI > Integration > nUI_ChatFrame.lua ] with a plain text editor (like notepad) and look at the top of the file, you'll find the following...

Code:
local function reparentChatFrame()

    local haveChatMod = (IsAddOnLoaded( "Prat" ) or IsAddOnLoaded( "Chatter" ));


change that as follows, save the file and reload to see if that makes the problem go away...

Code:
local function reparentChatFrame()

    local haveChatMod = (IsAddOnLoaded( "Prat" ) or IsAddOnLoaded( "Chatter" ) or IsAddOnLoaded( "WIM" ));





ok thanks, your the maker so I agree with your judgment till otherwise proven however, I will just disable all addons but WIM then narrow it down by turning on one addon at a time, that's the best way to figure it out, then I will post back here, if it is nui, but till then I believe you.
 
09-20-10, 11:21 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Before you go to all that trouble, I would try the fix I suggested... I suspect that will solve the problem.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » nui issue, with WIM.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off