Download
(47 Kb)
Download
Updated: 03/06/18 08:03 PM
Compatibility:
Morrowind (3.0)
Updated:03/06/18 08:03 PM
Created:06/09/16 12:38 AM
Monthly downloads:147
Total downloads:17,734
Favorites:52
MD5:
Innocent Blade of Woe (and Vampire Feed)  Popular! (More than 5000 hits)
Version: 1.24
by: dorrino [More]
Version 1.2. Major revision. (thanks Coolio_Wolfus for the feedback!) Now if you have "Prevent Attacking Innocents" on and still managed to get in a fight with one, you will be able to fight back without manually turning "Prevent Attacking Innocents" off.

In order to be able to hit an innocent while having "Prevent Attacking Innocents" on you'll need:

1. You both need to be in combat.
2. You can not be crouching.
3. You need to directly target him with your reticle.

Please report any problems.


Description

A very simple addon that turns off "Prevent Attacking Innocents" if you have "Blade of Woe" or "Vampire Feed" synergy popup on your screen and turns if back on otherwise.

If you have "Prevent Attacking Innocents" manually turned off the addon has no effect.

The options to disable addon separately for "Blade of Wow" and "Vampire Feed" are provided. If both are off - the addon is disabled.

The reason why i created this addon was that i prefer to play with "Prevent Attacking Innocents" on to avoid randomly hitting something in the middle of a city and turning it on and off just for Blade of Woe (or using a keybind) felt like too much hustle.


Enjoy!

Notes:
  • The addon allows to attack innocents using ANY kind of ability, not just Blade of Woe/Vampire Feed, while the popup is on the screen.

  • Vampire Feed has been added, but NOT tested. Please report any problems with it.

If you like this addon, please check out my other addons Zone Name Alert and Poison Tracker. Thank you!
1.24 - added compatibility fix for Lui

1.23 - api bump for Morrowind patch

1.21 - API bump and LibAddonMenu update.

1.2
Major revision. Added retaliation against innocents:)

1.11
Slight rewrite of the code. Using synergy event instead of prehook to avoid any possible conflicts.

1.1
Added Vampire Feed. Reworked options.

1.01
Now this addon will work with ESO clients in any language.
Archived Files (7)
File Name
Version
Size
Uploader
Date
1.23
47kB
dorrino
05/22/17 10:47 AM
1.21
41kB
dorrino
08/02/16 01:03 AM
1.2
37kB
dorrino
06/15/16 12:42 AM
1.11
36kB
dorrino
06/09/16 05:05 PM
1.1
36kB
dorrino
06/09/16 01:33 PM
1.01
36kB
dorrino
06/09/16 09:24 AM
1.0
36kB
dorrino
06/09/16 12:38 AM


Post A Reply Comment Options
Unread 12/21/16, 12:06 PM  
SilentResident

Forum posts: 0
File comments: 45
Uploads: 0
Re: Re: Am now using 'Troublemaker'...

I am impressed. This is a must-have mod for every Thieves Guild and Dark Brotherhood member out there.

Thank you very much!
Last edited by SilentResident : 12/21/16 at 12:09 PM.
Report comment to moderator  
Reply With Quote
Unread 01/10/18, 09:17 PM  
ZoLatKam
 
ZoLatKam's Avatar

Forum posts: 3
File comments: 145
Uploads: 0
Mod not working since most recent maintenance

Ever since the maintenance on Monday, 01.08.18, this mod no longer functions correctly for me.

It does not temporarily disable the "Prevent Attacking Innocents" option when I go to use the Blade of Woe.

I get no LUA error; it simply doesn't work.

I have tried uninstalling, deleting the saved variables & reinstalling twice now with no change.

Any suggestions anyone can provide would be appreciated.
Report comment to moderator  
Reply With Quote
Unread 01/28/18, 04:21 AM  
Majeure
 
Majeure's Avatar

Forum posts: 0
File comments: 121
Uploads: 0
Same here, it no longer works at all no matter whether it's turned ON or OFF in the settings.
Report comment to moderator  
Reply With Quote
Unread 01/28/18, 11:47 PM  
dorrino
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 203
Uploads: 10
Just noticed your reports.

Will take a look at it soon.
Report comment to moderator  
Reply With Quote
Unread 02/12/18, 10:22 AM  
dorrino
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 203
Uploads: 10
Finally tested the addon.

It works for me.

1. I have 'prevent attacking innocents' on.

2. Crouched behind an innocent.

3. Successfully used blade of woe.

4. Prevent attacking innocents correctly got turned off and immediately on after the kill.

Please report specific problems with the addon.
Last edited by dorrino : 02/12/18 at 04:36 PM.
Report comment to moderator  
Reply With Quote
Unread 02/14/18, 07:16 PM  
joshmiller83
AddOn Super User
 
joshmiller83's Avatar
Premium Member

Forum posts: 70
File comments: 243
Uploads: 0
Does not work for me either. Not sure whats going on but no errors or anything.
Report comment to moderator  
Reply With Quote
Unread 02/15/18, 12:42 AM  
dorrino
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 203
Uploads: 10
Originally Posted by joshmiller83
Does not work for me either. Not sure whats going on but no errors or anything.
Let's go into details.

You have the addon, 'prevent' option is on (can't attack innocents), you sneak behind an innocent, you see 'use blade of woe' pop up, you press the synergy button - you get the message that 'can't attack an innocent'.

Correct?
Report comment to moderator  
Reply With Quote
Unread 02/15/18, 01:41 AM  
joshmiller83
AddOn Super User
 
joshmiller83's Avatar
Premium Member

Forum posts: 70
File comments: 243
Uploads: 0
Yes. Correct.

Originally Posted by dorrino
Originally Posted by joshmiller83
Does not work for me either. Not sure whats going on but no errors or anything.
Let's go into details.

You have the addon, 'prevent' option is on (can't attack innocents), you sneak behind an innocent, you see 'use blade of woe' pop up, you press the synergy button - you get the message that 'can't attack an innocent'.

Correct?
Report comment to moderator  
Reply With Quote
Unread 02/23/18, 08:07 PM  
Cool7
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 26
Uploads: 1
Found problem. It's Lui extened caused issue.
Lui changed blade of woe synery file to something different. I changed function like below, and now it's working fine.

Code:
function IBOW:IsValidSynergy(synergyFile)
	return 	(((synergyFile:find("_darkbrotherhood_003") or (synergyFile:find("_darkbrotherhood_blade_of_woe"))) and IBOW.savedVariables.useBladeOfWoe) or 
			(synergyFile:find("ability_vampire_002") and IBOW.savedVariables.useVampireFeed))
end
Report comment to moderator  
Reply With Quote
Unread 02/23/18, 09:15 PM  
joshmiller83
AddOn Super User
 
joshmiller83's Avatar
Premium Member

Forum posts: 70
File comments: 243
Uploads: 0
Thank you! That seemed to fix my issue as well!

Originally Posted by Cool7
Found problem. It's Lui extened caused issue.
Lui changed blade of woe synery file to something different. I changed function like below, and now it's working fine.

Code:
function IBOW:IsValidSynergy(synergyFile)
	return 	(((synergyFile:find("_darkbrotherhood_003") or (synergyFile:find("_darkbrotherhood_blade_of_woe"))) and IBOW.savedVariables.useBladeOfWoe) or 
			(synergyFile:find("ability_vampire_002") and IBOW.savedVariables.useVampireFeed))
end
Report comment to moderator  
Reply With Quote
Unread 02/24/18, 12:36 AM  
dorrino
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 203
Uploads: 10
Originally Posted by Cool7
Found problem. It's Lui extened caused issue.
Lui changed blade of woe synery file to something different. I changed function like below, and now it's working fine.

Code:
function IBOW:IsValidSynergy(synergyFile)
	return 	(((synergyFile:find("_darkbrotherhood_003") or (synergyFile:find("_darkbrotherhood_blade_of_woe"))) and IBOW.savedVariables.useBladeOfWoe) or 
			(synergyFile:find("ability_vampire_002") and IBOW.savedVariables.useVampireFeed))
end
They prehooked the function that returns synergy filenames and changed the names according to their needs?

Quality coding.

Thank you for figuring this out
Last edited by dorrino : 02/24/18 at 12:37 AM.
Report comment to moderator  
Reply With Quote
Unread 03/04/18, 06:08 PM  
ZoLatKam
 
ZoLatKam's Avatar

Forum posts: 3
File comments: 145
Uploads: 0
Update?

Fantastic that Cool7 found a fix!

I can confirm that changing the code, provided by Cool7, in the InnocentBladeOfWoe.lua file (lines 78 - 81 for me) does restore the expected functionality of the mod.

Now, when can those users of the mod that aren't comfortable with directly editing .lua code expect an update?
Report comment to moderator  
Reply With Quote
Unread 03/06/18, 08:15 AM  
dorrino
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 203
Uploads: 10
Re: Update?

Originally Posted by ZoLatKam
Fantastic that Cool7 found a fix!

I can confirm that changing the code, provided by Cool7, in the InnocentBladeOfWoe.lua file (lines 78 - 81 for me) does restore the expected functionality of the mod.

Now, when can those users of the mod that aren't comfortable with directly editing .lua code expect an update?
As Cool7 found out, this is a problem with Lui specifically. Please ask them to fix their code.
Report comment to moderator  
Reply With Quote
Unread 03/06/18, 05:19 PM  
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view AddOns

Forum posts: 103
File comments: 792
Uploads: 2
Originally Posted by dorrino
They prehooked the function that returns synergy filenames and changed the names according to their needs?

Quality coding.

Thank you for figuring this out
Changes icon files only - I didn't really anticipate comparison by icon but when I added this I also forgot theres no id's for synergies. Doh.
The idea is to have support to add unique icons for Synergy abilities (and I changed Blade of Woe because it always bothered me that the icon didn't match up with passive icon).
I don't suppose I could convince you to compare using name instead with GetAbilityName(78219) for Blade of WoE and GetAbilityName(33152) for Feed? Or if you wouldn't mind just plugging in the additional icon conditional?

If not I'll figure something out to fix it.

Originally Posted by ZoLatKam
Now, when can those users of the mod that aren't comfortable with directly editing .lua code expect an update?
It's not dorrino's responsibility to fix this. If he wants to make a small change for me that would be great but its my issue to resolve ultimately. I'm sorry this caused an issue for you guys using both addons. Was my oversight and heavyhandedness with what I'm doing in LUI.
Last edited by ArtOfShred : 03/06/18 at 05:34 PM.
Report comment to moderator  
Reply With Quote
Unread 03/06/18, 08:04 PM  
dorrino
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 203
Uploads: 10
Originally Posted by ArtOfShred
Originally Posted by dorrino
They prehooked the function that returns synergy filenames and changed the names according to their needs?

Quality coding.

Thank you for figuring this out
Changes icon files only - I didn't really anticipate comparison by icon but when I added this I also forgot theres no id's for synergies. Doh.
The idea is to have support to add unique icons for Synergy abilities (and I changed Blade of Woe because it always bothered me that the icon didn't match up with passive icon).
I don't suppose I could convince you to compare using name instead with GetAbilityName(78219) for Blade of WoE and GetAbilityName(33152) for Feed? Or if you wouldn't mind just plugging in the additional icon conditional?

If not I'll figure something out to fix it.

Originally Posted by ZoLatKam
Now, when can those users of the mod that aren't comfortable with directly editing .lua code expect an update?
It's not dorrino's responsibility to fix this. If he wants to make a small change for me that would be great but its my issue to resolve ultimately. I'm sorry this caused an issue for you guys using both addons. Was my oversight and heavyhandedness with what I'm doing in LUI.
Yep, no ids, so it's either the filename or the name via GetAbilityName. Both are contingent on ZOS not messing with either, so technically there shouldn't be a problem to change my code to add the comparison by ability names.

I've updated the addon, but you should think about a workaround, just in case. Somebody else might rely on filenames as a quite unique identifier here.

I tested only Blade of Woe and only in english client. Knowing zos some ability names might be different from the synergy name for whatever reason. Filename is more reliable.

ps. Sorry for being a bit harsh on you with my remark there, but errors like this are almost impossible to detect on my end. People reported the addon didn't work for them, while it worked perfectly for me
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: