Thread Tools Display Modes
12-29-09, 08:31 PM   #1
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
Nui and poisoner

i have searched and only found a couple of threads about this and none seem to help

i have the latest version of nui+ and also poisoner and if i have nui enabled poaisoner dont work i have poisoner enabled and the button on my screen but cant not click it now when i disable nui posioner workd just as its supposed to is there a fix for this that i am missing or are the mods just not compatible

any help would be appreciated

or if any one knows of a mod that does what poisoner does that works with nui would be great

Last edited by tednik : 12-29-09 at 09:07 PM.
 
12-29-09, 10:36 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Hmm, sounds like it is being overlaid by a hidden window. Can you do a screen shot to show us where the button is to give us an idea.

What does poisoner do apart from puts poison on your daggers ?

Also, which poisoner addon do you have as doing a search for Poisoner on here shows up 3 of which only 1 has been updated since 2009
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
12-29-09, 11:02 PM   #3
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
http://www.wowinterface.com/download...Poisoner3.html

this is the one i have and am using like i said it works great without nui enabled

ok screenshot comming up

http://justaboutgaming.com/wowpic/find.jpg

button is in lower right corner above bag bar

ok what poisoner is is a minimap button that you can click on and a bar pops out with things like sharpening stones weighstones and poisons that you can right click for off hand and left click for main hand

When the addon is installed, a small button is displayed near the minimap. Feel free to drag this like normal. Clicking the minimap button will cause a popup menu of the poisons/oils in you bag, Left click to apply poison/oil to mainhand, Right click to apply poison/oil to off-hand. Click the minimap button to hide the menu again.

now scott has included nui to ingnore the button so it is not placed in the minimap button bag as the button needs to be interacted with

i can move it anywhere on the screen and it is not able to be clicked on
 
12-29-09, 11:17 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
okay, I have a rogue, but not high enough but lets see if I get a similar problem .. be back in a few minutes Im sure

Edit : I can see what you mean, but I can't see why my debug messages aren't showing either. So still checking.

Edit2: Ah, he has a built in debug message system. Hooked into it and this is the result ( look at the white messages in the chat frame on the left ).

The first debug message is in response to clicking on it. The second is its attempt to create the buttons prior to combat starting or activating them at any rate. As you can see due to my lack of skill/poisons I suspect that that is why it isn't working for my guy.

To test this yourself open up the poisoner.lua file in the addons folder and the last function in the file at the bottom should be a debug message one. Change the false to true at the top and save and /nui rl or relog into wow and see what messages you get.

Edit 3 : It looks like it looks for poisons in your bag and populates a menu system near that button ( I assume ). Testing with a rogue I have near stormwind.

Edit 4 : Nope, same thing for my level 6 rogue. See the 2nd screenshot. The earliest poison is for level 20.

Edit 5: But, I also see that with nUI not running it works fine. Hmm... still looking.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_123009_053207.jpg
Views:	621
Size:	295.4 KB
ID:	3775  Click image for larger version

Name:	WoWScrnShot_123009_055116.jpg
Views:	617
Size:	243.6 KB
ID:	3776  
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 12-29-09 at 11:53 PM.
 
12-30-09, 12:47 AM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Okay, found the problem. Screenshot shows it working perfectly with nUI installed now

But, this is the problem:
Code:
function Poisoner_CreateButtons()
	local menu = PoisonerMenu;
	local i = 0;
	PoisonerDebug("Children of PoisonerMenu:")
	local children = { menu:GetChildren() };
	for _, child in ipairs(children) do
		PoisonerDebug(child:GetName());
		i = i+1;
	end
	PoisonerDebug(i.." children");

	local x = 0;
	for _, t in pairs(Poisoner_FindPoisons()) do
		local buttonName = "PoisonerMenuButton"..t.name;
		local button = getglobal(buttonName);
		if (not PoisonerStateHeader.inCombat) then
			if (button == nil) then

				--button = CreateFrame("Button", buttonName, Menu, "PoisonerItemButtonTemplate");
				button = CreateFrame("Button", buttonName, menu, "PoisonerItemButtonTemplate");
Rofl, spot the difference Change the line starting with -- so that it looks like the one below it I am guessing the problem is that nUI has a public variable that is also called Menu and it is trying to anchor to that instead.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_123009_064559.jpg
Views:	606
Size:	247.0 KB
ID:	3778  
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 12-30-09 at 01:02 AM.
 
12-30-09, 01:01 AM   #6
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
You are a god thank you so much been wanting to use this mod with nui for so long
 
12-30-09, 01:03 AM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Bear in mind that the creator of that addon no longer plays wow and so is unable to upkeep it. Watch for fresh bugs as someone else will need to take over development so there may be a new Poisoner when it breaks fully.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
12-30-09, 01:05 AM   #8
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
Right but for now it works

once again thank you so much i really love the support that nui has some of the best i have seen for a ui/mod

great work guys to all involved

i pretty much knew what file to edit but you might want to add in the file name to edit as some people might not know

Last edited by tednik : 12-30-09 at 01:11 AM.
 
02-06-10, 10:21 PM   #9
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 13
similar AddOn: PoisonPouch 1.3

I used Poisoner for a long time, but now I use one very similar to it called PoisonPouch. PoisonPouch is also is having a problem with nui. I can't see a button anywhere. Not in the MBB nor anywhere else on the screen. It works fine with nui disabled.

Thank you.

Edit: By the way, either Poisoner or PoisonPouch can be used with any class, not just Rogues, to apply generic weapon buffs.

Last edited by Jaim Sandar : 02-06-10 at 10:26 PM.
 
02-06-10, 11:33 PM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Well the button name from what I could see is PoisonPouchPoisonButton but I suspect that it has decided not to let nUI put it in the button bag. In your WTF nUI.lua file there should be a section that may contain that name and will explain what it did to it. That might help us fix it.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
02-07-10, 01:38 AM   #11
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 13
I see this:

Code:
["ButtonBag"] = {
     ["PoisonPouch_PoisonDraggingFrame"] = "does not appear to be a button",
     ["PoisonPouch_SelectionScaleFrame"] = "does not appear to be a button",
     ["PoisonPouchPoisonButton"] = "autodetected and moved button",
     ...
},
so I logged on to check again, and I didn't see the button near the minimap.
I opened the ButtonBag, and there was the button for a half second then it disappeared. Now it is on the minimap, but the tooltip it should display does not appear and it does not respond to any clicks.
I closed the buttonbag, and the minimap button vanished! Open the bag, the button re-appears... close the bag the button vanishes again.
 
02-07-10, 01:47 AM   #12
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Ah sounds like the addon is trying to gain control of it. Let me think ...

Ah here we go..

Okay, in folder \nUI\Plugins there is a file nUI_ButtonBag.lua. In there you should see the other poisonerbutton mentioned there, strangely in both the excludes and includes section. What I would suggest is try your one in there similarly in each one on its own and then try together if that doesn't work. If you're worried you will mess the file up just make a copy of it.

So, you will want something like this in one or both of those sections
["PoisonPouchPoisonButton"] = true

See which one either keeps it in the bag or keeps it out the bag. Hopefully 1 of the 3 options will
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
02-07-10, 02:22 AM   #13
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 13
I first tried putting the true variable into the includes section, but now when I logged on I saw an error, the dashboard is all blank, the standard Blizzard minimap is at the upper right, and several other elements of nUI are not right.

Code:
Message: Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:314: attempt to perform arithmetic on a nil value
Time: 02/07/10 00:02:17
Count: 1
Stack: (tail call): ?
[C]: ?
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:314: in function `applyScale'
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:469: in function `applyOptions'
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:573: in function `configFrame'
Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:119: in function <Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:112>

Locals: scale = 1
options = <table> {
 strata = "BACKGROUND"
 btn_size = 45
 scale = 1
 width = 585
 fontsize = 11
 height = 290
 level = 3
 btn_gap = -8
 background = <table> {
 }
}
anchor = nil
scale = 1
width = 312.00001096503
height = 146.93334779217
fontsize = 5.5733338817721
btn_hSize = 24.000000843464
btn_vSize = 22.800002243613
(for index) = 1
(for limit) = 7
(for step) = 1
i = 1
cframe = ChatFrame1 {
 0 = <userdata>
 flashTimer = 0
 isInitialized = 1
 is_chat_frame = true
 tellTimer = 101801.963
 oldAlpha = 0
 channelList = <table> {
 }
 init = 1
 isDocked = 1
 editBox = ChatFrameEditBox {
 }
 isLocked = 1
 name = "General"
 buttonSide = "left"
 showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
 zoneChannelList = <table> {
 }
 defaultLanguage = "Common"
 messageTypeList = <table> {
 }
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = ChatFrame1 {
 0 = <userdata>
 flashTimer = 0
 isInitialized = 1
 is_chat_frame = true
 tellTimer = 101801.963
 oldAlpha = 0
 channelList = <table> {
 }
 init = 1
 isDocked = 1
 editBox = ChatFrameEditBox {
 }
 isLocked = 1
 name = "General"
 buttonSide = "left"
 showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
 zoneChannelList = <table> {
 }
 defaultLanguage = "Common"
 messageTypeList = <table> {
 }
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = ChatFrame1 {
 0 = <userdata>
 flashTimer = 0
 isInitialized = 1
 is_chat_frame = true
 tellTimer = 101801.963
 oldAlpha = 0
 channelList = <table> {
 }
 init = 1
 isDocked = 1
 editBox = ChatFrameEditBox {
 }
 isLocked = 1
 name = "General"
 buttonSide = "left"
 showButtons = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:177
 zoneChannelList = <table> {
 }
 defaultLanguage = "Common"
 messageTypeList = <table> {
 }
}
(*temporary) = nil
(*temporary) = 1
(*temporary) = 0
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on a nil value"
frame = nUI_ChatFrame {
 applyOptions = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:433
 options = <table> {
 }
 0 = <userdata>
 scale = 1
 width = 312.00001096503
 configFrame = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:477
 applyScale = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:275
 height = 146.93334779217
 applyAnchor = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:399
 texture = <unnamed> {
 }
}
Logging off and back on only repeated the error and the UI symptoms.
I quit and restarted; now the error is gone, but the button acts the same as before.

I quit then added the true statement to the excludes section and tried again... now the button is on the minimap where I want it, and it works!
If I changed the two "true" variables to "false", would that theoretically put the button inside the bag? Maybe I'll try that, but it's past my bedtime now.

I've seen several times before an error like that and the incomplete nUI, so it may have been coincidence this time, not caused by the change I made.
Anyway, thank you very much!
 
02-07-10, 09:30 AM   #14
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
I'm not sure what the false statement will do but by the sounds of the description you gave of how it was reacting I think the addon itself doesn't want the button in the button bag. It probably doesn't set it just once when it first runs but checks it during the course of its execution and re-validates its position.

That odd error you got sounds like the intermittent bug we keep getting that we can't quite track down but sounds like at some point for some reason it tries to set up nUI without all the information it needs.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Nui and poisoner


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