Thread Tools Display Modes
10-20-10, 12:48 PM   #1
Ruinit
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 19
Repair and abandoned addon?

I am trying to repair a addon that no one seems to want to update. I keep getting these errors.

I would be willing to donate if someone would pick it up and repair it or help me to do so.

1x GoldRaidManager-3.3.1.100119\GoldRaidManager.lua:622: attempt to index global 'this' (a nil value)
<string>:"*:OnLoad":1: in function <[string "*:OnLoad"]:1>

Locals:
self = GRM_NamedLootBriefHeader {
0 = <userdata>
}

---
  Reply With Quote
10-20-10, 01:07 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
http://www.wowinterface.com/forums/s...ad.php?t=35401
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
10-20-10, 01:15 PM   #3
Ruinit
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 19
Thanks for your reply, I read that before I posted here I tried to replace all the "this" with "self" and I just came up with different errors that involved "self".

Like this..1x GoldRaidManager-3.3.1.100119\GoldRaidManager.lua:622: attempt to index global 'self' (a nil value)
<string>:"*:OnLoad":1: in function <[string "*:OnLoad"]:1>

Locals:
self = GRM_AutoAdvertisingHeader {
0 = <userdata>
}

---

I am in over my head I am sure but I use to do a lot of GDKP's and this addon made that a lot easier.

Last edited by Ruinit : 10-20-10 at 01:19 PM.
  Reply With Quote
10-20-10, 02:44 PM   #4
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Do the following replacements in the shown order within GoldRaidManager.lua and GoldRaidManager.xml:

Code:
GRM_OnLoad(			GRM_OnLoad(self
GRM_Header_OnLoad(		RM_Header_OnLoad(self, 
GRM_Slider_OnLoad(		GRM_Slider_OnLoad(self, 
GRM_Slider_OnShow(		GRM_Slider_OnShow(self, 
GRM_Slider_OnValueChanged(	GRM_Slider_OnValueChanged(self, 
GRM_BriefListOnClick(		GRM_BriefListOnClick(self, 
GRM_PriorCheckButtonOnClick(	GRM_PriorCheckButtonOnClick(self, 
GRM_CreateResetWindow(		GRM_CreateResetWindow(self, 
GRM_CreateReloadWindow(		GRM_CreateReloadWindow(self, 
GRM_Init(			GRM_Init(self, 
GRM_OnEvent(			GRM_OnEvent(self, 
GRM_ShowReload(			GRM_ShowReload(self, 
GRM_ItemRuleBriefing(		GRM_ItemRuleBriefing(self,
GRM_NamedAddOnClick(		GRM_NamedAddOnClick(self, 
GRM_NamedDelOnClick(		GRM_NamedDelOnClick(self, 
GRM_NoAuctionCheckOnClick(	GRM_NoAuctionCheckOnClick(self, 
GRM_RaidInitOnClick(		GRM_RaidInitOnClick(self, 
GRM_RefreshOnClick(		GRM_RefreshOnClick(self, 
GRM_AuctionChannelToggle(		GRM_AuctionChannelToggle(self, 
GRM_UpdateBriefing(		GRM_UpdateBriefing(self, 
GRM_BriefMsgToChannel(		GRM_BriefMsgToChannel(self, 
this				self
Then add the following at the end of GoldRaidManager.lua

Code:
local function getglobal(object)
	return _G[object]
end
  Reply With Quote
10-20-10, 04:54 PM   #5
Ruinit
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 19
Originally Posted by Duugu View Post
Do the following replacements in the shown order within GoldRaidManager.lua and GoldRaidManager.xml:

Code:
GRM_OnLoad(			GRM_OnLoad(self
GRM_Header_OnLoad(		RM_Header_OnLoad(self, 
GRM_Slider_OnLoad(		GRM_Slider_OnLoad(self, 
GRM_Slider_OnShow(		GRM_Slider_OnShow(self, 
GRM_Slider_OnValueChanged(	GRM_Slider_OnValueChanged(self, 
GRM_BriefListOnClick(		GRM_BriefListOnClick(self, 
GRM_PriorCheckButtonOnClick(	GRM_PriorCheckButtonOnClick(self, 
GRM_CreateResetWindow(		GRM_CreateResetWindow(self, 
GRM_CreateReloadWindow(		GRM_CreateReloadWindow(self, 
GRM_Init(			GRM_Init(self, 
GRM_OnEvent(			GRM_OnEvent(self, 
GRM_ShowReload(			GRM_ShowReload(self, 
GRM_ItemRuleBriefing(		GRM_ItemRuleBriefing(self,
GRM_NamedAddOnClick(		GRM_NamedAddOnClick(self, 
GRM_NamedDelOnClick(		GRM_NamedDelOnClick(self, 
GRM_NoAuctionCheckOnClick(	GRM_NoAuctionCheckOnClick(self, 
GRM_RaidInitOnClick(		GRM_RaidInitOnClick(self, 
GRM_RefreshOnClick(		GRM_RefreshOnClick(self, 
GRM_AuctionChannelToggle(		GRM_AuctionChannelToggle(self, 
GRM_UpdateBriefing(		GRM_UpdateBriefing(self, 
GRM_BriefMsgToChannel(		GRM_BriefMsgToChannel(self, 
this				self
Then add the following at the end of GoldRaidManager.lua

Code:
local function getglobal(object)
	return _G[object]
end
I have made the above changes and thank you for your help. The addon does appear on my screen now but it is chopped up and the tabs are inactive. I also receive many errors like.

1x Interface\FrameXML\UIPanelTemplates.lua:18: 'for' limit must be a number:
Interface\FrameXML\UIPanelTemplates.lua:8: in function `PanelTemplates_SetTab':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>

Locals:
frame = GRM_MainFrame {
0 = <userdata>
selectedTab = 3
}
id = 3

---

1x <string>:"GRM_AutoAdvertisingHeader:OnLoad":1: attempt to call global 'GRM_Header_OnLoad' (a nil value)

Locals:

---

1x GoldRaidManager-3.3.1.100119\GoldRaidManager.lua:246: <name> or '...' expected near ')'

Locals:

---

Last edited by Ruinit : 10-20-10 at 05:22 PM.
  Reply With Quote
10-20-10, 05:59 PM   #6
adracamas
A Fallenroot Satyr
 
adracamas's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 28
vv

Where is the original addon located.. I've already re-vamped DiamondThreatMeter successfully.. I'll give this a crack.
  Reply With Quote
10-20-10, 06:02 PM   #7
Ruinit
A Deviate Faerie Dragon
Join Date: Aug 2009
Posts: 19
Originally Posted by adracamas View Post
Where is the original addon located.. I've already re-vamped DiamondThreatMeter successfully.. I'll give this a crack.

Here is the link

http://wow.curse.com/downloads/wow-a...idmanager.aspx
  Reply With Quote
10-20-10, 07:04 PM   #8
bsmorgan
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Mar 2005
Posts: 219
Send me a PM if you don't get someone to successfully upgrade it.

Regards,

Brad
  Reply With Quote
10-21-10, 09:27 AM   #9
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Made an updated version over here. Seems to work. Please post a comment if not.
  Reply With Quote
10-21-10, 09:55 AM   #10
adracamas
A Fallenroot Satyr
 
adracamas's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 28
EDIT: Irrelevant now.

Last edited by adracamas : 10-21-10 at 09:58 AM. Reason: Relevancy = 0
  Reply With Quote
10-21-10, 09:57 AM   #11
adracamas
A Fallenroot Satyr
 
adracamas's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 28
Nevermind lol Duugu is on top of it. Nice job
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Repair and abandoned addon?


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