Download
(67Kb)
Download
Updated: 01-08-08 08:45 PM
Pictures
File Info
Updated:01-08-08 08:45 PM
Created:unknown
Downloads:18,218
Favorites:85
MD5:

Nudge  Popular! (More than 5000 hits)

Version: 2.0.57018.1
by: Fleetfoot [More]

Description:
This is very much a homage to RangeHelp an addon that had this
functionality and much more, but i realized that i didn't need
anything other than the range button so i remade it in the
image of ace2 with some extra spiffes. This addon only adds a range button to check at which range you are at, outofrange, range, deadzone, melee.

You can change the size of the target box and also the font size used for it, and thats pretty much it, you can ofc also move it around to youre hearts desire.

This is important, this addon will not work unless you're a hunter and have learned Wingclip, this since it uses Wingclip to check melee distance to target. So unless you're atleast level 12, this mod has no use for ya. Arrrrr, ye be warned.

If you are NOT a hunter this is not the droids you are after, you should check out http://www.wowinterface.com/download...927-Fudge.html


Original RangeHelp can be found at http://www.curse-gaming.com/en/wow/a...rangehelp.html

Furthermore, since i am a lazy git, i never uploaded the version of Nudge for the 1.xx patch and it just lived on the ace svn, but some helpful person actually did, he calls himself
Fleetfoot23 and i just wanna say thanks for making that version available to the unwashed masses

Also the screens you see here is directly ripped from his upload, again something i am grateful for.

Noteworthy stuff:
This mod does rely on the Ace2 embedable framework. Ace2 is the next generation of the Ace line, and does not require an external Ace2 addon as a dependency.

Command List:
/nudge -- Gives you a list of available options.


ChangeLog
2.0.57018.1:

- Removed code for checking deadzone.
- Updated ace libs

2.0.43626:

This version will reset you're colors and position

- Updated ace libs
- Cleanups to the code

2.0.36975.1018:

- Updated ace libs

2.0.36975:

- Bumped toc
- Removed switch options since its now in the default ui

2.0.29807:

- Added option to turn off attack when target moves into deadzone. /nudge switch, toggles it. Thx to Elisios.

2.0.29633:

- Added option to remove text from button, /nudge text, toggles it.

2.0.29253:

- Updated toc.
- Updated externals which fixes a potential problem with saving youre profile.

2.0.29038:

- Added option to choose color of button states.
- Added license.
- Some code cleanups.

2.0.27156:

* Changed maxwidth of bar to 5000.
* Updated ace libs.

2.0.20510:

* Added FR translation thx to Elisios

2.0.19618:

* Fixed bad mojo in options.
* Added lock command.
* Added DE translation thx to Lewelyn @ MannorothEU

2.0.19135:

* Should work peachy with the 2.0 patch, and only that patch, so if youre still on live, do not download this.

Ive done my best to test this sucker, but as always theres bound the be bugs, so please test, break and report.

Optional Files (0)


Post A Reply Comment Options
Unread 02-26-07, 08:01 PM  
Fleetfoot
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 67
Uploads: 5
Re: Adapt this to other classes?

Originally posted by shlo
EDIT: I just read other comments stating that you intended to add this functionality. Well, consider this another vote in favor of it. Thanks a lot.


Hey hey. So yes, I am well aware that Fudge exists, but thats not quite what I am looking for. What I want is an addon exactly like Nudge that would assist in my deadzone kiting, not so much for Hunters as I usually just run at and hit them until they die, but for Warriors and Druids.

Dancing around waiting for energy tics/cooldowns/dot damage is pretty much how I manage to kill Warriors or bear Druids these days. An addon like this would be fantastic.

I imagine it could be done by judging based off of any of our melee attacks for range, having neither melee or Deadly Throw for dead zone and Deadly Throw active for out of range/in charge range.

An addon like this would be all kinds of wonderful and I would totally like be your e-friend or something.

Thanks a lot.
Hey, sweet another e-friend , but yeah youre not the only one who has asked for it, atm im just trying to think of a good way to do it, its a bit tricky. And yeah Fudge is more for simple needs, i mainly use it with my lock to better judge distance, and there i just need to know if im in range or not of the given spell.
Report comment to moderator  
Reply With Quote
Unread 03-02-07, 04:12 PM  
darksolo
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Text Removal?

Is there anyway to remove the text entirely? I think this is a great addon, but I want to have this as just a small color-coded bar directly beneath the target's nameplate. I tried using /nudge font=0 (and 6, 10, 24) and none of them changed the font size or removed the text. Seems like a great mod, would just like the option to turn off the text. Thanks!
Report comment to moderator  
Reply With Quote
Unread 03-04-07, 09:13 AM  
Fleetfoot
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 67
Uploads: 5
Re: Text Removal?

Originally posted by darksolo
Is there anyway to remove the text entirely? I think this is a great addon, but I want to have this as just a small color-coded bar directly beneath the target's nameplate. I tried using /nudge font=0 (and 6, 10, 24) and none of them changed the font size or removed the text. Seems like a great mod, would just like the option to turn off the text. Thanks!
Shouldnt be to hard to add, ill see what i can do.
Report comment to moderator  
Reply With Quote
Unread 03-06-07, 05:01 AM  
wilz
A Defias Bandit

Forum posts: 2
File comments: 18
Uploads: 0
If you play many characters...

For those who found it annoying that Nudge comes up when u're playing alternate characters of other classes, search "function Nudge:TargetChanged()" and change the function to this :

Code:
function Nudge:TargetChanged()
	local _, class = UnitClass("player");
	if class == "HUNTER" then
		if(UnitExists("target") and (not UnitIsDead("target")) and UnitCanAttack("player", "target")) then
			self.index = nil
			self:ScheduleRepeatingEvent("Nudge", self.OnUpdate, 0.1, self)
			self.master:Show()
		else
			self:CancelScheduledEvent("Nudge")
			self.master:Hide()
		end
	end
end
Report comment to moderator  
Reply With Quote
Unread 03-06-07, 07:32 PM  
Fleetfoot
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 67
Uploads: 5
Re: If you play many characters...

Originally posted by wilz
For those who found it annoying that Nudge comes up when u're playing alternate characters of other classes, search "function Nudge:TargetChanged()" and change the function to this :

Code:
function Nudge:TargetChanged()
	local _, class = UnitClass("player");
	if class == "HUNTER" then
		if(UnitExists("target") and (not UnitIsDead("target")) and UnitCanAttack("player", "target")) then
			self.index = nil
			self:ScheduleRepeatingEvent("Nudge", self.OnUpdate, 0.1, self)
			self.master:Show()
		else
			self:CancelScheduledEvent("Nudge")
			self.master:Hide()
		end
	end
end
This would work, but is it really that hard to turn it off in youre addon screen. I mean youre solution still has the addon loaded. In other words, it would take far less time to actually turn it off in youre addons menu than actually go in and hand edit the file every time i release a new version. But to each his own.

Now if you really want to do this, may i suggest a better way.
just put these lines of code at the top of the lua file above all the other code.

Code:
local _, class = UnitClass("player");
if class ~= "HUNTER" then return end
Report comment to moderator  
Reply With Quote
Unread 03-07-07, 03:39 AM  
Elisios
A Murloc Raider
 
Elisios's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 27
Uploads: 1
Re: Re: If you play many characters...

Now if you really want to do this, may i suggest a better way.
just put these lines of code at the top of the lua file above all the other code.

Code:
local _, class = UnitClass("player");
if class ~= "HUNTER" then return end
You can even do this :

Code:
local _, class = UnitClass("player");
if class ~= "HUNTER" then DisableAddOn('Nudge') return end
It should only disable Nudge for the logged in character.

Btw, Fleetfoot, would you mind adding an toggleable anti-switch feature in Nudge ?

It shouldn't be more of adding an option and chnage this little piece of code :

Code:
	elseif CheckInteractDistance("target", 4) then
		if Nudge.index ~= "deadzone" then
			text = L["Dead Zone"]
			Nudge.index = "deadzone";
			if Nudge.db.profile.antiswitch then
				StopAttack()
			end
		else return end
Last edited by Elisios : 03-07-07 at 03:44 AM.
Report comment to moderator  
Reply With Quote
Unread 03-09-07, 07:29 AM  
wilz
A Defias Bandit

Forum posts: 2
File comments: 18
Uploads: 0
Genius!

You guys are geniuses! Thanks for the better method
Report comment to moderator  
Reply With Quote
Unread 03-13-07, 07:08 AM  
Fleetfoot
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 67
Uploads: 5
A comment to the latest option i added. From a suggestion from Elisios i added a switch command which basically turns off attack when youre target steps into the deadzone. It seems to work fine atm, but if you have any suggestions on how you think the logic could be improved please post it here and ill have a look at it. Now with that said, i personally think this option is really outside the scope of Nudge, but since it is something that i see as very much needed until blizz gets theire thumbs out of theire asses and implements it themselves and because the changes are minimal i added it anyway.
Last edited by Fleetfoot : 03-13-07 at 07:09 AM.
Report comment to moderator  
Reply With Quote
Unread 03-27-07, 08:21 AM  
zerohaste
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Would it be possible to make this click through when locked? That way I can still click on it and move the camera around. As it is right now, it's pretty much dead space on my screen. Since I have it right next to my character, I sometimes click on it instead of the blank space on my screen when I try to move the camera.

An example of what I'm talking about would be Sorren's Timer bars... those are click through for me. My chat is as well (locked through the interface options), though I'm not sure if any of my addons made it so or not.
Report comment to moderator  
Reply With Quote
Unread 05-07-07, 11:25 PM  
Lindalas
A Deviate Faerie Dragon

Forum posts: 19
File comments: 76
Uploads: 0
I'm using zrangecheck, but am concerned that it isn't being maintained (and am trying to move to ace2 for all my mods). The only thing I miss with nudge is the extra granularity in the "ranged" zone. With "throw" and "scattershot" you can actually know a bit more about your range, specifically you can know 8-21, 22-30 and 31-41 (or whatever your max range is depending on hawkeye). Of course the 21 range check probably only works for MM spec (since I think you have to have scattershot in your spellbook). Anyway, I personally find that extra piece of information quite useful.
Report comment to moderator  
Reply With Quote
Unread 05-27-07, 01:31 PM  
Bashman
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Hunter-check

Please include that hunter-check; I don't know if I'll remember to update the code manually when you release the next version, thanks
Last edited by Bashman : 05-27-07 at 01:32 PM.
Report comment to moderator  
Reply With Quote
Unread 05-29-07, 04:55 AM  
Fleetfoot
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 67
Uploads: 5
Re: Hunter-check

Originally posted by Bashman
Please include that hunter-check; I don't know if I'll remember to update the code manually when you release the next version, thanks
What hunter-check?
Report comment to moderator  
Reply With Quote
Unread 05-30-07, 05:50 AM  
Bashman
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Re: Re: If you play many characters...

Originally posted by Fleetfoot

[...]

Now if you really want to do this, may i suggest a better way.
just put these lines of code at the top of the lua file above all the other code.

Code:
local _, class = UnitClass("player");
if class ~= "HUNTER" then return end
[/b]
THAT hunter-check. I've thought it's a hunter-addon.

"This is important, this addon will not work unless you're a hunter and have learned Wingclip, this since it uses Wingclip to check melee distance to target. So unless you're atleast level 12, this mod has no use for ya. Arrrrr, ye be warned."
Last edited by Bashman : 05-30-07 at 05:51 AM.
Report comment to moderator  
Reply With Quote
Unread 05-30-07, 06:31 AM  
Fleetfoot
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 67
Uploads: 5
Re: Re: Re: If you play many characters...

Originally posted by Bashman
THAT hunter-check. I've thought it's a hunter-addon.

"This is important, this addon will not work unless you're a hunter and have learned Wingclip, this since it uses Wingclip to check melee distance to target. So unless you're atleast level 12, this mod has no use for ya. Arrrrr, ye be warned."
i will never add that check to the code, simply because blizzard has supplied you with a way to disable the addons you don't want to use on a per-char basis.

Unless ofc you can provide me with a good reason to add it, and no, the inability or laziness on youre part to check/uncheck a box does not constitue a good reason from my point of view.
Last edited by Fleetfoot : 05-30-07 at 06:40 AM.
Report comment to moderator  
Reply With Quote
Unread 07-18-07, 09:55 AM  
Tablespoon
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Re: Re: Re: If you play many characters...

Originally posted by Fleetfoot
i will never add that check to the code, simply because blizzard has supplied you with a way to disable the addons you don't want to use on a per-char basis.

Unless ofc you can provide me with a good reason to add it, and no, the inability or laziness on youre part to check/uncheck a box does not constitue a good reason from my point of view.
Here ya go!
  1. Your users are requesting it.
  2. It only requires two lines of code.
  3. There's no reason not to. Period.

The whole point of a mod is to make life easier. I mean, that IS why you made it in the first place, right? So why would you force users to go out of their way to enable/disable your mod when you have the ability to save everybody some extra work by simply copying/pasting a snippet of code? Remind yourself that you created this in order to help people, not so that you could punish your users for being "lazy". Good enough reason, your majesty? Get off your pedestal improve your mod.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: