lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Other


Post A Reply
Author Comments Comment Options
Unread 06-09-2021, 10:20 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
For Cappys that are frustrated by SSG's latest move with Motivating Speech, you can set up an alert to easily help you to keep Motivating Speech up. The following screens show an alert definition that will trigger 20 seconds before Motivating Speech expires and includes a quickslot for easily reactivating the skill. You do have to fire the skill once to start the alert cycle processing - you can use LogRemind to remind you to fire the skill the first time (great for reminding you to renew things after defeat as well).

When you are first creating the definition, the "Alert" dropdown will be "New" instead of "Motivating Speech" - these screenshots were of an existing definition.
The delay of 280 will trigger the alert after 280 seconds (4 minutes 40 seconds) or 20 seconds before the prior Motivating Speech expires.





Nothing is needed on the third tab - I had previously posted a version using Custom Lua as a work around but realized the "Hide after Click" works fine in the published version of Alerter, I just broke something on my local copy

Last edited by Garan : 06-09-2021 at 10:52 AM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-18-2021, 03:25 PM  
greyhare
The Wary

Forum posts: 0
File comments: 9
Uploads: 0
Thank you for the help. I love this plugin for the things that it does as for the being detected...I will just have to pay closer attention!
greyhare is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-18-2021, 02:39 PM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Re: Stealth question

Quote:
I do not know if anyone is still using/helping with this but I have a question. How can I set up a alert for my Burglar to let me know when someone/thing is detecting my stealth? Sometimes I miss the little wisp above their heads and cannot seem to find the right trigger to set my alert.
Hi, yep, the lights are still on and somebody is still home Well, most of the time...

Alerter only works on things that have chat notifications. For instance, in the Ettenmoors when an enemy tracks you there is a message "You feel as though you are being followed." or something similar. That would tell a stealthed character that they need to unstealth, move away and reenter stealth to break the track. Similarly, if you spot a stealthed enemy, you get a chat message that says something like "You sense something moving nearby" (I forget the exact verbiage). Unfortunately, there is no chat message for being detected when you are in stealth just by someone seeing you.

Last edited by Garan : 02-18-2021 at 02:41 PM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-18-2021, 01:34 PM  
greyhare
The Wary

Forum posts: 0
File comments: 9
Uploads: 0
Stealth question

I do not know if anyone is still using/helping with this but I have a question. How can I set up a alert for my Burglar to let me know when someone/thing is detecting my stealth? Sometimes I miss the little wisp above their heads and cannot seem to find the right trigger to set my alert.
greyhare is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 03-30-2018, 06:55 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Re: Execute an external file

Quote:
Originally Posted by swendi
Hello, here's a quick question. is it possible during an event to have an "external file" executed via the custom LUA? Thanks for your help.
Sorry for the individual English. The last English lesson was a long time ago.

Greetings Swendi
Hi, your English is fine Unfortunately, there is no way to execute external files from the LotRO Lua API. We asked the devs for the ability to play sound files years ago but they never implemented it - the API hasn't changed since 2014 other than minor bug fixes.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 03-30-2018, 06:25 AM  
swendi
The Wary

Forum posts: 0
File comments: 2
Uploads: 0
Execute an external file

Hello, here's a quick question. is it possible during an event to have an "external file" executed via the custom LUA? Thanks for your help.
Sorry for the individual English. The last English lesson was a long time ago.

Greetings Swendi
swendi is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-25-2018, 06:25 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Re: Awesome Plugin!

Quote:
Originally Posted by elsinir
Setup a simple alert for "Fatal Poison" for Roving Threat: Scythe-jaw...
Now - if I miss the fatal-poison debug - where I only have like 10 seconds or so to drink a potion or use another poison cure - I now get a big alert message displayed in the middle of my screen.

Label: Fatal Poison
Message: Fatal Poison!
Trigger:
Channel = Combat - Enemy
Pattern = with Fatal Poison

Response: (leave default values)

That's all it took - so easy to setup - works great!
Thanks. Glad to hear you like it. FWIW, you can also add a quickslot to the response with the appropriate potion (or cure skill) so that it is even easier to apply the needed cure.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-24-2018, 11:33 PM  
elsinir
The Wary
 
elsinir's Avatar
Interface Author - Click to view interfaces

Forum posts: 1
File comments: 8
Uploads: 1
Thumbs up Awesome Plugin!

Setup a simple alert for "Fatal Poison" for Roving Threat: Scythe-jaw...
Now - if I miss the fatal-poison debug - where I only have like 10 seconds or so to drink a potion or use another poison cure - I now get a big alert message displayed in the middle of my screen.

Label: Fatal Poison
Message: Fatal Poison!
Trigger:
Channel = Combat - Enemy
Pattern = with Fatal Poison

Response: (leave default values)

That's all it took - so easy to setup - works great!
elsinir is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-27-2017, 08:19 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Quote:
Originally Posted by mattspencer
Thanks for the help...

The in game chat log reads "Character scored a critical hit with Guardian's Bleed - 1 on the Training-dummy for 2,834 Beleriand damage to Morale."

Alerter Chat Log reads "Character scored a <rgb=#B22222>critical hit</rgb> with Guardian's Bleed - 1 on the Training-dummy for 2,834 Beleriand damage to Morale."

Here is the screenshot of the Alerter Chat Log...

http://imgur.com/gallery/1vJo5

I would ideally like to have 2 or 3 different alerts, for Guardian's Bleed - 8 through 10, so I can see when 10 is almost there, and I will be using the cashout skill at tier 10 normally. If this isn't possible, and I have to show every tier that would be okay, if it will flash the alert up of what tier I am at.

Thanks again for your help with this.

P.S. I asked for some help on this in game forums and someone gave me a decent set of Message and Pattern to use here...
https://www.lotro.com/forums/showthr...ars-2-1-1-Help
Going to tweak it to 8/9/10 if possible, and add in delays or whatever to make it work without being annoying, but it is getting there.

P.P.S.

Looks like I have it working now. Here is the screenshot for Tier 10....

http://imgur.com/a/i0UMm

I changed Pattern = Guardian's Bleed - (.*.10) on (.*)
to
Pattern = Guardian's Bleed - (.*.9) on (.*)

for Tier 9, and did another alert for Tier 8.

I'll have to play with it in actual game play, but the Training dummies are feeling the pain lol.
Great to hear you worked most of it out. It looks as though the xml tag does not actually cause any problem, it is most likely the '-' character confusing the parser. You can try simplifying your patterns by stripping out the captures (the parenthesis aren't needed if you are using distinct alerts for each tier) and adding a percent sign in front of the '-' to tell the parser that it is a literal character and not part of a pattern range. For example:
Guardian's Bleed %- 10 .*
to match tier 10. Let me know if that works for you.

Putting the parenthesis around parts of the pattern allow capturing that part for use in the response. The parenthesis you had would capture the tier and the entire remainder after the 'on' but since you had separate alerts for each tier, capturing the tier was overkill. Using lua in the response, it should be possible to create a single alert that displays text for tiers 8 and 9 but a skill quickslot for tier 10 (I'd have to play around with that a bit to see if I can make it work). Meanwhile, you should be able to create three separate alerts, one for tier 8, one for 9 and one for 10 to do the same thing, just a tiny bit less efficiently.

Let me know if the percent sign works and I'll look into lua response snippets to make more efficient alerts.

EDIT: Further testing revealed a bug in the Trigger Lua functionality which prevents access to the captures (they work correctly in response snippets). Unfortunately, this bug fix won't get published for some time as there are other significant changes in the development copy that are not yet functional. So basically, you are better off creating several separate alerts, one for each tier, for the time being. I posted a more detailed solution on the SSG LotRO forum.

Last edited by Garan : 07-27-2017 at 09:31 AM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-26-2017, 10:42 PM  
mattspencer
The Wary

Forum posts: 0
File comments: 2
Uploads: 0
Thanks for the help...

The in game chat log reads "Character scored a critical hit with Guardian's Bleed - 1 on the Training-dummy for 2,834 Beleriand damage to Morale."

Alerter Chat Log reads "Character scored a <rgb=#B22222>critical hit</rgb> with Guardian's Bleed - 1 on the Training-dummy for 2,834 Beleriand damage to Morale."

Here is the screenshot of the Alerter Chat Log...

http://imgur.com/gallery/1vJo5

I would ideally like to have 2 or 3 different alerts, for Guardian's Bleed - 8 through 10, so I can see when 10 is almost there, and I will be using the cashout skill at tier 10 normally. If this isn't possible, and I have to show every tier that would be okay, if it will flash the alert up of what tier I am at.

Thanks again for your help with this.

P.S. I asked for some help on this in game forums and someone gave me a decent set of Message and Pattern to use here...
https://www.lotro.com/forums/showthread.php?596108-BuffBars-2-1-1-Help
Going to tweak it to 8/9/10 if possible, and add in delays or whatever to make it work without being annoying, but it is getting there.

P.P.S.

Looks like I have it working now. Here is the screenshot for Tier 10....

http://imgur.com/a/i0UMm

I changed Pattern = Guardian's Bleed - (.*.10) on (.*)
to
Pattern = Guardian's Bleed - (.*.9) on (.*)

for Tier 9, and did another alert for Tier 8.

I'll have to play with it in actual game play, but the Training dummies are feeling the pain lol.

Last edited by mattspencer : 07-26-2017 at 11:09 PM.
mattspencer is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-26-2017, 08:56 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Re: Guardian Bleed alert

Quote:
Originally Posted by mattspencer
I am trying to create an alert to notify me when my Guardian Bleed tiers to 10. I currently can get the alert to work when I use the Pattern "Guardian's Bleed - " but as soon as I put a number at the end it doesn't work. Any help with this please?
This should be fairly easy as long as the number appears in the text. It seems as though the number may be imbedded in an xml tag in the text so you will want to escape the extra characters in the tag since alerter matches against the raw text. To do this you must first determine what the actual raw text sent to the client was. To do that, first load the plugin and then turn on logging in the plugin by typing "/alerter log start". Then use the skill to generate the specific text. As soon as you see the text you want to match in the chat box, type "/alerter log stop" followed by "/alerter log show". That will display the log window with the raw text you are after as one of the most recently received messages. It would probably be best at that point to post a sceen shot of the log window so that I can see the exact text your are trying to match since the patterns for some of the special character sequences can get slightly complicated unless you are familiar with Lua patterns or at least RegEx patters (Lua doesn't use RegEx but it is very similar).
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-26-2017, 02:09 AM  
mattspencer
The Wary

Forum posts: 0
File comments: 2
Uploads: 0
Guardian Bleed alert

I am trying to create an alert to notify me when my Guardian Bleed tiers to 10. I currently can get the alert to work when I use the Pattern "Guardian's Bleed - " but as soon as I put a number at the end it doesn't work. Any help with this please?
mattspencer is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-30-2016, 04:20 PM  
Matsack
The Wary

Forum posts: 0
File comments: 7
Uploads: 0
Wow.. Thank you for the answer.. Everything served on a silverplate I'll try it out tomorrow..
Matsack is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-21-2016, 08:19 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 341
File comments: 981
Uploads: 20
Re: Feature or advice to do it with existing version

Quote:
Originally Posted by Matsack
I don't know if you're doing any updates anymore to the Alerter plugin, but I'll ask anyway

You added a quickslot to the alerter plugin, would it be possible to add another option?
A lot of people uses Alerter to show messages about refreshing skills when they are off cooldown.

It would be awesome to have a decreasing cooldown bar object to insert when you fire a skill on a fellowship member.

Got the idea from viewing the BuffBars plugin where all buffs on your character shows up as decreasing colour bars with buff name and timer inside.

But maybe it's already possible to add a message that show countdown in text (10 9 8 7... etc) In a fixed position on the screen??


I have used the Alerter with a LM Stun Immunity skill. I have a area with Scrolling SI text reaching top of screen when cooldown expires. That's the way I've done it atm..

Thank you for a very usefull plugin
One of the reasons I added code support for code snippets is so that users can implement custom responses without needing the plugin to be updated.

You can create a response code snippet that creates a window with a field with a background color that changes it's width based on a time value fairly easily. The most difficult part would be determining the correct time and remembering to clean up the window. I'll look at making one and publishing it in the FAQ examples.
EDIT: You can probably do it even easier by using a response code snippet to change the text and/or width of the built-in response text object.

EDIT: Here's a simple code snippet to add a blue bar behind the alert that shrinks in width as the duration expires
Code:
self=args.self;

args.width=tonumber(args.width);
if args.width==nil then args.width=100 end
args.height=tonumber(args.height);
if args.height==nil then args.height=100 end
self.backdrop=Turbine.UI.Control()
self.backdrop:SetSize(args.width*displayWidth,args.height*displayHeight)
self.OrigWidth=args.width
self.backdrop:SetParent(self)
-- change color to whatever color you like
self.backdrop:SetBackColor(Turbine.UI.Color.Blue)

newUpdate=function(sender)
 if sender.DelayTime==0 then
  sender.backdrop:SetWidth((1-(Turbine.Engine:GetGameTime()-sender.StartTime)/(sender.EndTime-sender.StartTime))*sender.OrigWidth/100*displayWidth)
 end
end

self.Update={self.Update,newUpdate}
Just copy that to the Response code snippet field in the alert definition and save it. Use the above sample as a starting point and modify it, such as changing the color or adding a line to change the message text, or whatever - for example, the message text can be updated in the above snippet using
sender.Message:SetText("some message")
where "some message" would be a string or variable that changes with the time value (from Turbine.Engine:GetGameTime())

Note, the test for sender.DelayTime==0 is needed as the start and end times get re-evaluated after the delay expires - this is only really important if you have a non-zero delay, but it's good practice to account for it anyway. Also, you'll note that I explicitly convert the Update handler to a table and add my new handler instead of using the AddCallback function. That is because AddCallback will generate an error due to how the code snippets are dynamically evaluated and executed.

FWIW, I did stumble across a minor bug in the args.width and args.height defaults in the SetAlert method of the plugin, left over from the change from fixed display widths to percentages but it shouldn't affect any users because alerts should always have a width and height anyway. That bug won't affect this code as the defaults are correctly applied in this snippet.

This code snippet is also now on the FAQ page:
http://www.lotrointerface.com/portal.php?id=35&a=faq&faqid=40

Last edited by Garan : 08-26-2016 at 12:59 PM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-21-2016, 06:29 AM  
Matsack
The Wary

Forum posts: 0
File comments: 7
Uploads: 0
Feature or advice to do it with existing version

I don't know if you're doing any updates anymore to the Alerter plugin, but I'll ask anyway

You added a quickslot to the alerter plugin, would it be possible to add another option?
A lot of people uses Alerter to show messages about refreshing skills when they are off cooldown.

It would be awesome to have a decreasing cooldown bar object to insert when you fire a skill on a fellowship member.

Got the idea from viewing the BuffBars plugin where all buffs on your character shows up as decreasing colour bars with buff name and timer inside.

But maybe it's already possible to add a message that show countdown in text (10 9 8 7... etc) In a fixed position on the screen??


I have used the Alerter with a LM Stun Immunity skill. I have a area with Scrolling SI text reaching top of screen when cooldown expires. That's the way I've done it atm..

Thank you for a very usefull plugin
Matsack is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 10:26 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui