Search found 7 matches

by mike
Fri Oct 21, 2011 10:17 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Beep when whispered
Replies: 19
Views: 5943

Re: Beep when whispered

Ah offcourse! Thanks for helping a noob Rock5.
by mike
Fri Oct 21, 2011 9:43 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Beep when whispered
Replies: 19
Views: 5943

Re: Beep when whispered

Hi I'm trying to implement this as follows: if (soundLoad) then notifysound = soundLoad(getExecutionPath() .. "/alarm.wav"); if (notifysound == nil) then warning("Failed to load sound file \'alarm.wav\'"); end end function beepwhispers() repeat local time, moreToCome, name, msg =...
by mike
Sun Feb 27, 2011 5:15 am
Forum: Runes of Magic
Topic: adding skills to action bar
Replies: 7
Views: 1767

Re: adding skills to action bar

Thank you.
by mike
Sat Feb 26, 2011 3:26 pm
Forum: Runes of Magic
Topic: adding skills to action bar
Replies: 7
Views: 1767

Re: adding skills to action bar

How do I find the id of a skill?
by mike
Sun Feb 06, 2011 8:24 am
Forum: RoM Bot revision notes
Topic: Rev 571 changelog
Replies: 2
Views: 1608

Re: Rev 571 changelog

getMainHandDurability() returns incorrect percentage value for items with a maximum durability value less than 100. In inventory.lua, self.EquipSlots[ _slot ].MaxDurability returns 100 for an item of 80/80 durability. getMainHandDurability() therefore returns the item as being at 80% instead of 100%.
by mike
Wed Feb 02, 2011 9:53 am
Forum: Runes of Magic
Topic: Don't play sound for my own messages.
Replies: 2
Views: 907

Re: Don't play sound for my own messages.

Ah! arg4 works nicely! I altered my code as follows: if (event == "CHAT_MSG_WHISPER") then PlaySoundByPath("Interface/AddOns/MsgNotify/Sounds/game.wav"); end; if (event == "CHAT_MSG_GUILD") then PlaySoundByPath("Interface/Addons/MsgNotify/Sounds/bell.wav"); en...
by mike
Wed Feb 02, 2011 5:50 am
Forum: Runes of Magic
Topic: Don't play sound for my own messages.
Replies: 2
Views: 907

Don't play sound for my own messages.

Hi guys I have the following code in the onEvent() function of a RoM addon. It plays a sound whenever someone tries to talk to me: if (event == "CHAT_MSG_WHISPER") then PlaySoundByPath("Interface/AddOns/MsgNotify/Sounds/game.wav"); end; if (event == "CHAT_MSG_GUILD") th...