taultunleashed logoSound on low Morale : LOTROExtreme
newtopic  postreply
 [ 5 posts ] 
blue large dot

Sound on low Morale : LOTROExtreme

Posted: August 2nd, 2007, 10:42 am
 
loregaba

Total Posts: 14
Joined: September 9th, 2005, 9:09 am
loregaba's Reps: 0
User avatar
I'de like to have a sound playing when I hit 20% on morale. Is it possible? Thx.


Reply with quote
Posted: August 2nd, 2007, 11:17 am
 
Tault_admin

Total Posts: 29974
Joined: November 9th, 2002, 9:57 am
Tault_admin's Reps: 1444
User avatar
administrator
Mod in Training
Ill pass that along :)


Reply with quote
Posted: September 9th, 2007, 2:24 pm
 
ergotamine
ergotamine's Reps:
User avatar
you could prob find a code to do that with AutoIT pretty easily, if not find something similar and change it up for LOTRO

make it read the color of the pixels in your health bar and alert when it gets to a specific pixel...

if your a good coder you could make it Find the health bar first and go from there, otherwise your gona have to code it for your own screen settings and health bar locations ect... so prob just as easy to code your own rather than fixing someone elses code for your screen...

AutoIT has a "Window Info" tool that will tell you which window to put in focus and if you goto the mouse section of the window info tool it will tell you exactly which X,Y pixel your on and what color it is in Hex allowing you to figure out exactly what you want to work with...


Reply with quote
Posted: September 9th, 2007, 10:06 pm
 
pimpoo
pimpoo's Reps:
User avatar
yes it is possible with this version of LotroExtreme

(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
if GetPlayerHealth() < 20 then Call Sound.PlaySoundFile (GetEnv("windir") + "\Media\notify.wav")



GetPlayerHealth() is function implemented in LotroServices that returns player health in % of maximum health like 100,98,99 ...


Reply with quote
Posted: September 10th, 2007, 7:45 am
 
loregaba

Total Posts: 14
Joined: September 9th, 2005, 9:09 am
loregaba's Reps: 0
User avatar
Nice. Thx a lot. I'll try it out.


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 8 guests

cron
Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of LOTROExtreme RSS Feed 
Sitemap of LOTROExtreme Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?