Recent Topics

Ads

Addon to highlight WB leaders messages?

Here you can post addons, or anything related to addons.
Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
Elesthor
Posts: 11

Addon to highlight WB leaders messages?

Post#1 » Sat Nov 25, 2017 11:12 pm

An Addon that highlights WB leader's messages and shows them in the middle of the screen as announcements would be very useful.

I've tried "Megaphone" but while it shows as enabled, it doesn't seem to work and /megaphone returns as an unknown command.

Any ideas?

Ads
ntaos21
Posts: 8

Re: Addon to highlight WB leaders messages?

Post#2 » Sat Nov 25, 2017 11:16 pm

I am interested to know too +

User avatar
wargrimnir
Head Game Master
Posts: 8281
Contact:

Re: Addon to highlight WB leaders messages?

Post#3 » Sat Nov 25, 2017 11:18 pm

This is an imposed limitation. Only specific approved addons will be able to use private channels. That's likely why Megaphone isn't working.

On live you were able to create as many private channels as you want, although some addons used them for less acceptable purposes.
Image
[email protected] for exploits and cheaters.
grimnir.me Some old WAR blog

User avatar
sullemunk
Addon Developer
Posts: 1213

Re: Addon to highlight WB leaders messages?

Post#4 » Sun Nov 26, 2017 8:03 am

Shouldn't be too hard to repreduce;
check who's Wb leader, listen to WB/party chat channel and if the chat sender is WB leader then output text string to Alert ticker

can be a bit annoying thou if the WB leader decides to rant and stuff with lengthy comments in WB chat
Image
Image Ethreal   Image Corque   Image Urgiz   Image Loxley   Image Chilli   Image Maduza

User avatar
Elesthor
Posts: 11

Re: Addon to highlight WB leaders messages?

Post#5 » Sun Nov 26, 2017 11:27 am

I finally resolved the issue with Megaphone.

Megaphone is trying to register a command with LibSlash but it didn't have LibSlash as a dependency.

To make it work I opened the "Megaphone.mod" file and entered <Dependency name="LibSlash"/> under Dependencies.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<ModuleFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<UiMod name="Megaphone" version="1.0" date="07/18/2009" >

		<Author name="Richard Conner" email="[email protected]" />
		<Description text="v1.0 Makes your warband leaders instructions into system alerts" />

		<Dependencies>
			<Dependency name="EA_ChatWindow" />
			<Dependency name="LibSlash"/>
		</Dependencies>
		
		<Files>
			<File name="Megaphone.lua" />
		</Files>
		
		<OnInitialize>
			<CallFunction name="Megaphone.Initialize" />
		</OnInitialize>
		
		<OnUpdate/>
		
		<OnShutdown/>
				
	</UiMod>
</ModuleFile>

Who is online

Users browsing this forum: No registered users and 1 guest