Download
(68 Kb)
Download
Updated: 10-22-08 11:39 AM
Pictures
File Info
Updated:10-22-08 11:39 AM
Created:unknown
Downloads:9,134
Favorites:59
MD5:
Status Window 2  Popular! (More than 5000 hits)
Version: 2..2.0
by: Satrina [More]
Well, it's that time
I haven't actually played WoW in over a year at this point, except for some time put in for Cataclysm since it launched. I had figured that Cataclysm would rekindle the fire, but it just has not. I am done with MMO games.

As I noted on the SBF page, given the other demands on my time these days, and without actually playing the game, it's really hard to justify allocating time to maintaining addons.

What's to become of StatusWindow? I release it to the public domain. It's not the simplest code in the world, and I would honestly rewrite it from scratch if I still played. That said, if you want to take it and run with it, fill your boots
Version 2.2.0
- You should not get errors opening the backpack anymore
- Some small tweaks and additions (alpha for backdrops and borders works correctly now!)
Optional Files (0)


Post A Reply Comment Options
Unread 11-07-08, 02:58 AM  
Loncal
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 5
Uploads: 1
Smile SWAmmo

Again, hopefully you dont mind, as I am impatient sort I decided to write a module to take care of the ammo since you did not want to include it within your original compilation of modules here are the files:

SWAmmo.toc
Code:
## Interface: 30000
## Version: 1.0
## Title: StatusWindow - Ammo
## Author: Satrina@Stormrage
## Dependencies: StatusWindow

SWAmmo.lua
SWAmmo.lua
Code:
--
-- Ammunition
--
SWAmmunition = {
   name = "Ammunition",
   updateEvent = "UNIT_INVENTORY_CHANGED",
   events = { "ITEM_LOCK_CHANGED", "UNIT_INVENTORY_CHANGED", "BAG_UPDATE", "ITEM_PUSH" },
   icon = [[Interface\PaperDoll\UI-PaperDoll-Slot-Ammo]],
   width = 45,
   helpStrings = {
      "$1: Ammunition count",
      "$i: Ammo Icon" 
      },

   New = function(self)
      self.modVar.icon = self.icon
      self.modVar.label = "Ammo: $1"
      self.modVar.textAlign = "LEFT"
   end,

   Init = function(self)
      self.pane.dropDownOptions = {
         clearOnHide = true,
         noSelection = true,
         }
      self.pane.icon:SetTexture(self.icon)
      self.locals.elements = StatusWindow:GetTable()
   end,
	
   Configure = function(self)
      StatusWindowCountOptionsIconIconTexture:SetTexture(self.modVar.icon)
      StatusWindowOptions:SetupGenericConfig()
      StatusWindowOptions:OpenConfigFrames(StatusWindowGenericOptions, StatusWindowCountOptions)
   end,

   Update = function(self, event)
      local ammoSlot = GetInventorySlotInfo("ammoSlot")
      local rangedSlot = GetInventorySlotInfo("rangedSlot")
      local str = "No Ammo"
      if GetInventoryItemQuality("player", ammoSlot) then
         str = GetInventoryItemCount("player", ammoSlot)
      elseif GetInventoryItemQuality("player", rangedSlot) then
         str = GetInventoryItemCount("player", rangedSlot)
      end
      self.locals.elements[1] = str
      StatusWindow:UpdateCurrentPane()
   end,
   }
StatusWindow:RegisterModule(SWAmmunition)
Last edited by Loncal : 11-07-08 at 03:00 AM.
Loncal is offline Report comment to moderator  
Reply With Quote
Unread 11-06-08, 12:37 PM  
Loncal
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 5
Uploads: 1
Originally posted by Sent
Btw the padding and alignment settings on my FPS and Latency keep on reseting to 0 and to the left despite me setting those to center. The rest save and work fine. Weird
I had to delete all the predefined items and recreate them as mine were doin the same thing, but after deleting and recreating the window/modules within each window again, after that they would hold their positions.
Loncal is offline Report comment to moderator  
Reply With Quote
Unread 11-03-08, 10:31 PM  
Sent
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 27
Uploads: 1
Originally posted by Sent
Damn Ive been looking for a mod like this for a long time I love it
Btw the padding and alignment settings on my FPS and Latency keep on reseting to 0 and to the left despite me setting those to center. The rest save and work fine. Weird
Sent is offline Report comment to moderator  
Reply With Quote
Unread 11-02-08, 07:40 AM  
Sent
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 27
Uploads: 1
Damn Ive been looking for a mod like this for a long time I love it
Sent is offline Report comment to moderator  
Reply With Quote
Unread 11-01-08, 09:39 AM  
Satrina
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 639
Uploads: 24
There is still a lurking instance of the bag bug. It happens after you have had StatusWindow Options open and have done certain things for configuration.

Workaround: Reload your UI after closing the StatusWindow Options window.
Satrina is offline Report comment to moderator  
Reply With Quote
Unread 10-31-08, 10:07 PM  
Cowski
A Deviate Faerie Dragon

Forum posts: 10
File comments: 1
Uploads: 0
Shift+B - Open all Bags - doesn't work...

I've noticed 1 or 2 other people have experienced this issue. Has anyone figured out a workaround for this? It appears to only NOT work if my status windows 2 is running.

Thanks! Love the add-on! Especially the new features!
Cowski is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 09:32 PM  
Satrina
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 639
Uploads: 24
StatusWindow and StatusWindow Options are two separate addons. Your poblem was that they should not be in the same directory.
Satrina is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 06:54 PM  
chwolfgang
A Defias Bandit

Forum posts: 2
File comments: 71
Uploads: 0
Originally posted by Satrina
Two problems:

1) I'm missing a string in the localisation file. That's for me to fix.
2) You have the StatusWindow Options addon disabled. That's for you to fix.

I am having the same problem. I do have Status Window Options in the same directory as StatusWindow. However, I only the option of turning ON (in addons on the Character Select screen) StatusWindow. It does not list StatusWindow Options. Ideas? Help?

Thanks for your time.

***** NM, reinstalled it over the other directories (with a fresh D/L) and seems fine.... dunno.
Last edited by chwolfgang : 10-23-08 at 06:59 PM.
chwolfgang is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 06:22 AM  
Satrina
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 639
Uploads: 24
I've been told by other hunters that the ammo module was a Good Thing. I'll make it into an external module and post it up at some point.
Satrina is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 01:22 AM  
Loncal
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 5
Uploads: 1
I hope you don't mind but I liked the Ammunition module so I added code to my installation:

StatusWindowModule.lua
Code:
--
-- Ammunition
--
SWAmmunition = {
	name = "Ammunition",
  updateEvent = "UNIT_INVENTORY_CHANGED",
	events = { "ITEM_LOCK_CHANGED", "UNIT_INVENTORY_CHANGED", "BAG_UPDATE", "ITEM_PUSH" },
  icon = [[Interface\PaperDoll\UI-PaperDoll-Slot-Ammo]],
  width = 45,
  helpStrings = {
    StatusWindow.strings.AMMOHELP1,
  },

	New = function(self)
    self.modVar.icon = self.icon
    self.modVar.label = "$i $1"
    self.modVar.textAlign = "LEFT"
  end,

  Init = function(self)
    self.pane.dropDownOptions = {
      clearOnHide = true,
      noSelection = true,
    }
		self.pane.icon:SetTexture(self.icon)
    self.locals.elements = GetTable()
	end,
	
	Configure = function(self)
		StatusWindowCountOptionsIconIconTexture:SetTexture(self.modVar.icon)
    StatusWindowOptions:SetupGenericConfig()
    StatusWindowOptions:OpenConfigFrames(StatusWindowGenericOptions, StatusWindowCountOptions)
	end,

	Update = function(self, event)
		local ammoSlot = GetInventorySlotInfo("ammoSlot")
		local rangedSlot = GetInventorySlotInfo("rangedSlot")
		local str = "No Ammo"
		if GetInventoryItemQuality("player", ammoSlot) then
			str = GetInventoryItemCount("player", ammoSlot)
		elseif GetInventoryItemQuality("player", rangedSlot) then
			str = GetInventoryItemCount("player", rangedSlot)
		end
		self.locals.elements[1] = str
		StatusWindow:UpdateCurrentPane()
	end,
}
StatusWindow:RegisterModule(SWAmmunition)
Localization.en.lua
Code:
  AMMOHELP1 = "$1: Ammunition count",
Hope you don't mind but as a Hunter class knowing my ammo count is quite important without having to select the item within my backpack or as I level and get higher ammo upgrades.
Loncal is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:24 PM  
groove
A Deviate Faerie Dragon

Forum posts: 18
File comments: 3
Uploads: 0
Shoot, I coulda swore I copied that folder into my addons :/ That'll teach me to try to fiddle around with things without doublechecking to make sure they're loaded, heh.

Thanks!
groove is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:17 PM  
Satrina
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 639
Uploads: 24
Two problems:

1) I'm missing a string in the localisation file. That's for me to fix.
2) You have the StatusWindow Options addon disabled. That's for you to fix.
Satrina is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 05:08 PM  
groove
A Deviate Faerie Dragon

Forum posts: 18
File comments: 3
Uploads: 0
Hi Satrina, I get the following error when I try to enter /statuswindow to configure it. Won't open the options window 0.o Actually, I press Enter, and nothing happens at all, heh. Any ideas?

StatusWindow-2.2.0\StatusWindow.lua:54: bad argument #1 to 'format' (string expected, got nil)
StatusWindow-2.2.0\StatusWindow.lua:54: in function `value'
Interface\FrameXML\ChatFrame.lua:3212: in function <Interface\FrameXML\ChatFrame.lua:3144>:
<in C code>: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:2911: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:2932: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>
groove is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 04:32 PM  
LBussy
Legend in my own mind
 
LBussy's Avatar
Premium Member

Forum posts: 50
File comments: 4
Uploads: 0
Originally posted by Satrina
Most. Obscure. Error. Ever.
Gotta love those. :-)

Seems fixed with 2.2.0, I appreciate the prompt attention. Strange how a tiny little box can be so important.
__________________
LBussy is offline Report comment to moderator  
Reply With Quote
Unread 10-22-08, 04:27 PM  
Satrina
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 47
File comments: 639
Uploads: 24
I've had reports that the SetHeight error is still lurking. I am looking into it.

I haven't confirmed it at all, but let me know if you experience it.
Last edited by Satrina : 10-22-08 at 04:30 PM.
Satrina is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: