Download
(178Kb)
Download
Updated: 12-04-22 03:44 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Updated:12-04-22 03:44 PM
Created:04-19-09 04:35 PM
Downloads:2,472
Favorites:21
MD5:
Categories:Discontinued and Outdated Mods, Character Advancement

WonderRep - Reputation / Faction

Version: 2.1.16
by: byo [More]

What is it? - A simple reputation / faction mod. Dynamically changes your reputation bar, and tracks how much reputation you've gained. More info below.

Please leave comments!



Current Features -
- Toggleable: Changes blizzard reputation experience bar to the reputation you are currently gaining.
- Changes reputation bar to the appropriate reputation when entering a battle ground. (ex: The Defilers / The League of Arathor when entering Arathi Basin)
- NEW: Also Changes the reputation bar when entering certain instances. (Current instances supported: Stratholme, Zul'Gurub, Naxxramas)
- Toggleable: Can announce when it changes the bar
- Toggleable: Can announce when you get a reputation change (killing a mob, turning in a quest, etc) how much more reputation you need till the next level. (ex: 1000 more reputation needed for Friendly)
- Toggleable: Keeps track of reputation earned during a session. Can announce how much long untill the next 'level' at the current rate.
- Commands to change where the messages are displayed in the chat log or combat log (default is chat log).

How do I use it? - Unzip it to your interface/addons directory.

When you run world of warcraft be sure to check the addon list to see that it is checked. When you login you should see a message in your chat frame (might be scrolled up if there are lots of addons) about WonderRep has loaded.

Commands -
Use /wonderrep <command> or /wrep <command> to perform the following commands:
help -- Shows in game help
status -- shows your current settings
announce -- toggles whether to display reputation to next level message
autobar -- toggle whether to automatically change the reputation bar or not
barchange -- toggles whether to display a message when the reputation bar is changed
chat -- Changes where WonderRep messages are displayed to the Chat Frame
combatlog -- Changes where WonderRep messages are displayed to the Combat Log
interval
color <color> -- changes the color of most of WonderRep's messages. Available colors are: red, green, emerald, yellow, orange, blue, purple, cyan.


Known bugs - None right now, please leave a comment if you run into any!

If anything you would like to see added leave a comment!

v1.6.5:
- toc update for 3.2
Post A Reply Comment Options
Unread 11-07-10, 10:38 PM  
Xit
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Patch to fix Wonder Rep for 4.0.1 (part2)

Code:
diff -bcr WonderRep/WonderRepOptions.lua WonderRepFixed/WonderRepOptions.lua
*** WonderRep/WonderRepOptions.lua	2009-04-19 18:16:34.000000000 -0400
--- WonderRepFixed/WonderRepOptions.lua	2010-11-07 23:28:38.256866118 -0500
***************
*** 38,47 ****
  
  function WonderRepOptions_ChatToggle()
  	if(Wr_save.frame) then
! 		WRep.frame = getglobal("ChatFrame2");
  		Wr_save.frame = false;
  	else
! 		WRep.frame = getglobal("ChatFrame1");
  		Wr_save.frame = true;
  	end
  	WonderRepOptions_Init();
--- 38,47 ----
  
  function WonderRepOptions_ChatToggle()
  	if(Wr_save.frame) then
! 		WRep.frame = _G[ChatFrame2];
  		Wr_save.frame = false;
  	else
! 		WRep.frame = _G[ChatFrame1];
  		Wr_save.frame = true;
  	end
  	WonderRepOptions_Init();
diff -bcr WonderRep/WonderRepOptions.xml WonderRepFixed/WonderRepOptions.xml
*** WonderRep/WonderRepOptions.xml	2006-08-15 17:49:16.000000000 -0400
--- WonderRepFixed/WonderRepOptions.xml	2010-11-07 23:29:47.013340503 -0500
***************
*** 95,102 ****
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						getglobal(this:GetName().."Text"):SetText("Announce Left -- /wr announce");
! 						this.tooltipText = "Toggles whether to display reputation to next level messages";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_AnnounceToggle();
--- 95,102 ----
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						_G[self:GetName().."Text"]:SetText("Announce Left -- /wr announce");
! 						self.tooltipText = "Toggles whether to display reputation to next level messages";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_AnnounceToggle();
***************
*** 113,120 ****
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						getglobal(this:GetName().."Text"):SetText("Auto change reputation bar -- /wr autobar");
! 						this.tooltipText = "Toggles whether to automatically change the reputation bar or not";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_AutoBarToggle();
--- 113,120 ----
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						_G[self:GetName().."Text"]:SetText("Auto change reputation bar -- /wr autobar");
! 						self.tooltipText = "Toggles whether to automatically change the reputation bar or not";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_AutoBarToggle();
***************
*** 131,138 ****
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						getglobal(this:GetName().."Text"):SetText("Announce reputation change -- /wr barchange");
! 						this.tooltipText = "Toggles whether to display a message when the reputation bar is changed";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_BarChangeToggle();
--- 131,138 ----
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						_G[self:GetName().."Text"]:SetText("Announce reputation change -- /wr barchange");
! 						self.tooltipText = "Toggles whether to display a message when the reputation bar is changed";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_BarChangeToggle();
***************
*** 149,156 ****
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						getglobal(this:GetName().."Text"):SetText("Chat box -- /wr chat");
! 						this.tooltipText = "Makes WonderRep print messages in the default chat box";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_ChatToggle();
--- 149,156 ----
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						_G[self:GetName().."Text"]:SetText("Chat box -- /wr chat");
! 						self.tooltipText = "Makes WonderRep print messages in the default chat box";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_ChatToggle();
***************
*** 167,174 ****
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						getglobal(this:GetName().."Text"):SetText("Combat Log -- /wr combatlog");
! 						this.tooltipText = "Makes WonderRep print message in the combat log";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_ChatToggle();
--- 167,174 ----
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						_G[self:GetName().."Text"]:SetText("Combat Log -- /wr combatlog");
! 						self.tooltipText = "Makes WonderRep print message in the combat log";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_ChatToggle();
***************
*** 185,192 ****
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						getglobal(this:GetName().."Text"):SetText("Announce estimated time left -- /wr timeleft");
! 						this.tooltipText = "Toggles whether to display a the estimated time left message to next level";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_TimeToggle();
--- 185,192 ----
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						_G[self:GetName().."Text"]:SetText("Announce estimated time left -- /wr timeleft");
! 						self.tooltipText = "Toggles whether to display a the estimated time left message to next level";
  					</OnLoad>
  					<OnClick>
  						WonderRepOptions_TimeToggle();
***************
*** 206,222 ****
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						getglobal(this:GetName().."Text"):SetText("Interval Slider");
! 						getglobal(this:GetName().."High"):SetText();
! 						getglobal(this:GetName().."Low"):SetText();
! 						this:SetMinMaxValues(1,500);
! 						this:SetValueStep(1);
! 						this.tooltipText = "Drag the slider to change the interval at which WonderRep uses to announce reputation gains";
  					</OnLoad>
  					<OnValueChanged>
! 						Wr_save.AmountGainedLevel = this:GetValue();
  						WonderRepOptions_IntervalSlider();
! 						getglobal(this:GetName().."Text"):SetText("Interval Slider - "..this:GetValue().."");
  					</OnValueChanged>
  				</Scripts>
  			</Slider>
--- 206,222 ----
  				</Anchors>
  				<Scripts>
  					<OnLoad>
! 						_G[self:GetName().."Text"]:SetText("Interval Slider");
! 						_G[self:GetName().."High"]:SetText();
! 						_G[self:GetName().."Low"]:SetText();
! 						self:SetMinMaxValues(1,500);
! 						self:SetValueStep(1);
! 						self.tooltipText = "Drag the slider to change the interval at which WonderRep uses to announce reputation gains";
  					</OnLoad>
  					<OnValueChanged>
! 						Wr_save.AmountGainedLevel = self:GetValue();
  						WonderRepOptions_IntervalSlider();
! 						_G[self:GetName().."Text"]:SetText("Interval Slider - "..self:GetValue().."");
  					</OnValueChanged>
  				</Scripts>
  			</Slider>
diff -bcr WonderRep/WonderRep.toc WonderRepFixed/WonderRep.toc
*** WonderRep/WonderRep.toc	2009-08-06 19:38:54.000000000 -0400
--- WonderRepFixed/WonderRep.toc	2010-11-07 20:37:23.000000000 -0500
***************
*** 1,5 ****
! ## Interface: 30200
! ## Title: WonderRep v1.6.5
  ## Notes: Adds all sorts of functionality for reputation changes!
  ## Dependencies:
  ## SavedVariablesPerCharacter: Wr_save,Wr_version,Wrl
--- 1,5 ----
! ## Interface: 40000
! ## Title: WonderRep v1.6.6
  ## Notes: Adds all sorts of functionality for reputation changes!
  ## Dependencies:
  ## SavedVariablesPerCharacter: Wr_save,Wr_version,Wrl
diff -bcr WonderRep/WonderRep.xml WonderRepFixed/WonderRep.xml
*** WonderRep/WonderRep.xml	2006-07-31 18:51:40.000000000 -0400
--- WonderRepFixed/WonderRep.xml	2010-11-07 22:36:16.000000000 -0500
***************
*** 6,18 ****
  <Frame name="WonderRepFrame">
   <Scripts>
    <OnLoad>
!    WonderRep_OnLoad();
    </OnLoad>
    <OnEvent>
!    WonderRep_OnEvent(event);
    </OnEvent>
    <OnUpdate>
!    WonderRep_OnUpdate(arg1);
    </OnUpdate>
   </Scripts>
  </Frame>
--- 6,18 ----
  <Frame name="WonderRepFrame">
   <Scripts>
    <OnLoad>
!    WonderRep_OnLoad(self);
    </OnLoad>
    <OnEvent>
!    WonderRep_OnEvent(self, event, ...);
    </OnEvent>
    <OnUpdate>
!    WonderRep_OnUpdate(self, elapsed);
    </OnUpdate>
   </Scripts>
  </Frame>
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 10:38 PM  
Xit
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Patch to fix Wonder Rep for 4.0.1 (part1)

Code:
diff -bcr WonderRep/WonderRep.lua WonderRepFixed/WonderRep.lua
*** WonderRep/WonderRep.lua	2008-11-18 21:22:38.000000000 -0500
--- WonderRepFixed/WonderRep.lua	2010-11-07 20:14:58.000000000 -0500
***************
*** 42,53 ****
  ------------
  -- Load Function
  ------------
! function WonderRep_OnLoad()
  	-- Register the game events neccesary for the addon
! 	this:RegisterEvent("CHAT_MSG_COMBAT_FACTION_CHANGE");
! 	this:RegisterEvent("PLAYER_ENTERING_WORLD");
! 	this:RegisterEvent("VARIABLES_LOADED");
! 	this:RegisterEvent("WORLD_MAP_UPDATE");
  
  	-- Register our slash command
  	SLASH_WONDERREP1 = "/wonderrep";
--- 42,56 ----
  ------------
  -- Load Function
  ------------
! function WonderRep_OnLoad(self)
!   self.registry = {
!     id = "WonderRep"
!   };
    -- Register the game events neccesary for the addon
!   self:RegisterEvent("CHAT_MSG_COMBAT_FACTION_CHANGE");
!   self:RegisterEvent("PLAYER_ENTERING_WORLD");
!   self:RegisterEvent("VARIABLES_LOADED");
!   self:RegisterEvent("WORLD_MAP_UPDATE");
  
    -- Register our slash command
    SLASH_WONDERREP1 = "/wonderrep";
***************
*** 60,71 ****
  	if( DEFAULT_CHAT_FRAME ) then
  		ChatFrame1:AddMessage("WonderRep Loaded! Version: 1.6.0", 1 , 1, 0);
  	end
  end
  
  ------------
  -- Event Functions
  ------------
! function WonderRep_OnEvent()
  --	local PatternText = "(%a+) reputation with (%a+) (%a+) (%a+)";
  	local RepCheck = "empty";
  	local RepKilledMessage = "empty";
--- 63,76 ----
    if( DEFAULT_CHAT_FRAME ) then
      ChatFrame1:AddMessage("WonderRep Loaded! Version: 1.6.0", 1 , 1, 0);
    end
+ 
+   WonderRep_OnLoad=nil;
  end
  
  ------------
  -- Event Functions
  ------------
! function WonderRep_OnEvent(self, event, ...)
  --  local PatternText = "(%a+) reputation with (%a+) (%a+) (%a+)";
    local RepCheck = "empty";
    local RepKilledMessage = "empty";
***************
*** 75,82 ****
  	local HasIndexStop = 0;
  	local Repnamename = "ahh";
  	local name = "empty";
  		
! 	if( event == "VARIABLES_LOADED" ) then
  		Wrl = {};
  		if ( not Wr_version ) then
  			Wr_version = 150;
--- 80,88 ----
    local HasIndexStop = 0;
    local Repnamename = "ahh";
    local name = "empty";
+   local arg1, arg2 = ...;
      
!   if(event == "VARIABLES_LOADED" ) then
      Wrl = {};
      if ( not Wr_version ) then
        Wr_version = 150;
***************
*** 105,116 ****
  		end
  				
  		if (Wr_save.frame) then 
! 			WRep.frame = getglobal("ChatFrame1");
  		else
! 			WRep.frame = getglobal("ChatFrame2");
  		end
  		if (not WRep.frame) then 
! 			WRep.frame = getglobal(WRep.defaultframe);
  			Wr_save.frame = true;
  		end
  		WRep.Color.a = Wr_save.colora;
--- 111,122 ----
      end
          
      if (Wr_save.frame) then 
!       WRep.frame = _G[ChatFrame1];
      else
!       WRep.frame = _G["ChatFrame2"];
      end
      if (not WRep.frame) then 
!       WRep.frame = _G[WRep.defaultframe];
        Wr_save.frame = true;
      end
      WRep.Color.a = Wr_save.colora;
***************
*** 400,406 ****
  	end
  end
  
! function WonderRep_OnUpdate(elapsed)
  	WRep.TimeSave = WRep.TimeSave + elapsed;
  	if (WRep.TimeSave > 0.5) then
  		WRep.SessionTime = WRep.SessionTime + WRep.TimeSave;
--- 406,412 ----
    end
  end
  
! function WonderRep_OnUpdate(self,elapsed)
    WRep.TimeSave = WRep.TimeSave + elapsed;
    if (WRep.TimeSave > 0.5) then
      WRep.SessionTime = WRep.SessionTime + WRep.TimeSave;
***************
*** 490,500 ****
  		elseif( command == "help" ) then
  			WonderRep_PrintHelp();
  		elseif( command == "combatlog" ) then
! 			WRep.frame = getglobal("ChatFrame2");
  			Wr_save.frame = false;
  			Wr_Status();
  		elseif( command == "chat" ) then
! 			WRep.frame = getglobal("ChatFrame1");
  			Wr_save.frame = true;
  			Wr_Status();
  		elseif( command == "status" ) then
--- 496,506 ----
      elseif( command == "help" ) then
        WonderRep_PrintHelp();
      elseif( command == "combatlog" ) then
!       WRep.frame = _G[ChatFrame2];
        Wr_save.frame = false;
        Wr_Status();
      elseif( command == "chat" ) then
!       WRep.frame = _G[ChatFrame1];
        Wr_save.frame = true;
        Wr_Status();
      elseif( command == "status" ) then
Report comment to moderator  
Reply With Quote
Unread 08-15-09, 07:16 AM  
Althena
A Kobold Labourer
 
Althena's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Message: Interface\AddOns\WonderRep\WonderRep.lua:154: attempt to perform arithmetic on local 'HasIndexStart' (a nil value)
Time: 08/15/09 15:14:58
Count: 8
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\AddOns\WonderRep\WonderRep.lua:154: in function `WonderRep_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: RepCheck = "empty"
RepKilledMessage = "empty"
RepIndex = 0
GainLoss = "empty"
HasIndexStart = nil
HasIndexStop = nil
Repnamename = "ahh"
name = "empty"
RepError = nil
RepError2 = nil
z = 99
(*temporary) = <function> defined =[C]:-1
(*temporary) = "Euer Ruf bei der Fraktion 'Kirin Tor' hat sich um 250 verbessert."
(*temporary) = 17
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'HasIndexStart' (a nil value)"
__________________
Report comment to moderator  
Reply With Quote
Unread 06-11-09, 11:25 AM  
byo
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 5
Uploads: 2
Re: am i missing something?

Originally posted by Great White Cow
why are there no comments? been using this for like a month or so with my UI, works with jExp and i haven't had a problem yet...you deserve comments! good job with this little addon, i appreciate it.
Glad you like it!
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 01:57 AM  
Great White Cow
A Kobold Labourer
 
Great White Cow's Avatar

Forum posts: 0
File comments: 41
Uploads: 0
am i missing something?

why are there no comments? been using this for like a month or so with my UI, works with jExp and i haven't had a problem yet...you deserve comments! good job with this little addon, i appreciate it.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: