[Addon] Scenario Alerter
Forum rules
Before posting on this forum, be sure to read the Terms of Use
Before posting on this forum, be sure to read the Terms of Use
Re: [Addon] Scenario Alerter
Thank you for this addon, it works great. Do you share the source code for the exe-file somewhere?
[P&P] Ztil - Squig Herder
[P&P] Zlurp - Shaman
[P&P] Zinista - Shadow Warrior
[P&P] Zlurp - Shaman
[P&P] Zinista - Shadow Warrior
Ads
Re: [Addon] Scenario Alerter
It's included in the archive, it's the sirena.au3 file.
Re: [Addon] Scenario Alerter
Ok, great thanks! I like the idea of using an external executable playing sound files based on a log from the addon since warhammer lua doesn't seem to include any function for playing custom sounds in game, only play built in sound effects like quest complete and similar.
[P&P] Ztil - Squig Herder
[P&P] Zlurp - Shaman
[P&P] Zinista - Shadow Warrior
[P&P] Zlurp - Shaman
[P&P] Zinista - Shadow Warrior
-
- Posts: 1
Re: [Addon] Scenario Alerter
I tried downloading and found it was awesome, thank you. Only thing is the sound is a bit small. The volume of the ringtones is a bit louder, which is great
-
- Posts: 1
Re: [Addon] Scenario Alerter
Very good ad-on, thank you for creating and sharing. suonerie gratis
Last edited by nickwilson on Thu Feb 13, 2020 7:57 am, edited 1 time in total.
Re: [Addon] Scenario Alerter
hmm its not opensource?
i wanted to investigate this to make a linux script that could use this and send notification to desktop and play sound with the help of notify-send and aplay
but i dont quite understand how it gets the info from the addon
i wanted to investigate this to make a linux script that could use this and send notification to desktop and play sound with the help of notify-send and aplay
but i dont quite understand how it gets the info from the addon
Helpful links:
Install guide for Linux
Install guide for Windows
Offical RoR Discord
AUR package for WARAddonClient
-------------------------------------------------------------------
My Linux Gaming Videos
Install guide for Linux
Install guide for Windows
Offical RoR Discord
AUR package for WARAddonClient
-------------------------------------------------------------------
My Linux Gaming Videos
Re: [Addon] Scenario Alerter
The addon writes to a file on the disc wich the program checks
Ethreal Corque Urgiz Loxley Chilli Maduza
Re: [Addon] Scenario Alerter
Thanks! That should be easy then
Ok heres the script that works by checking file md5sum - if it changes it notifys
Code: Select all
#!/bin/bash
# WAR Scenario Alerter
# Requires notify-send, aplay and ScenarioAlert addon
# by xpander
# Go into the directory
BINDIR="$(dirname "$(readlink -fn "$0")")"
cd "$BINDIR"
# Parameters
# filename
file="scenarioAlert.log"
# Check for filesize to only trigger if its bigger than 1
filesize=1
# icon name
icon="warhammer-online-icon.png"
# Notification time in milliseconds
ntime="20000"
# Check inteval in seconds
ctime=5
# Audio file
audio="notify.wav"
# Check file md5sum
mdsum=$(md5sum ${file})
# Do the magic
while sleep $ctime; do
mdsum_new=$(md5sum ${file})
if [[ ${mdsum_new} != ${mdsum} && ($(stat -c%s $file) > $filesize) ]] ; then
# Notification with sound
notify-send "Warhammer:Return of Reckoning" "Scenario Pop" --icon="$BINDIR/$icon" --urgency=critical -t $ntime && aplay "$BINDIR/audio/$audio"
# Generate new md5sum
mdsum=${mdsum_new}
fi
done
Helpful links:
Install guide for Linux
Install guide for Windows
Offical RoR Discord
AUR package for WARAddonClient
-------------------------------------------------------------------
My Linux Gaming Videos
Install guide for Linux
Install guide for Windows
Offical RoR Discord
AUR package for WARAddonClient
-------------------------------------------------------------------
My Linux Gaming Videos
Ads
Re: [Addon] Scenario Alerter
ok packaged version if anyone cares. Thanks Caffeine
for linux users
https://www.upload.ee/files/11111000/Sc ... ar.gz.html
shows up like this:
for linux users
https://www.upload.ee/files/11111000/Sc ... ar.gz.html
shows up like this:
Spoiler:
Helpful links:
Install guide for Linux
Install guide for Windows
Offical RoR Discord
AUR package for WARAddonClient
-------------------------------------------------------------------
My Linux Gaming Videos
Install guide for Linux
Install guide for Windows
Offical RoR Discord
AUR package for WARAddonClient
-------------------------------------------------------------------
My Linux Gaming Videos
Re: [Addon] Scenario Alerter
Some linux sorcery from earlier in this thread: viewtopic.php?f=66&t=20524&start=10#p339877xpander wrote: ↑Mon Feb 10, 2020 7:38 pm ok packaged version if anyone cares. Thanks Caffeine
for linux users
https://www.upload.ee/files/11111000/Sc ... ar.gz.html
shows up like this:Spoiler:
Who is online
Users browsing this forum: Bing [Bot] and 4 guests