魔兽科普汇聚WoW玩家们专属综合资讯门户网站!

MessageQueue

MessageQueue 是一款魔兽世界插件,主要用于聊天与通讯相关功能。建议根据自己的版本和插件环境先测试兼容性。

免费下载 举报 收藏插件
插件详情

插件中文资料库

中文说明、玩家点评、适用场景和替代推荐,方便快速判断是否适合你。

玩家一句话点评
MessageQueue 适合需要聊天与通讯、界面增强或玩法辅助的玩家,建议结合自己的职业和版本先测试再长期使用。
适用场景
  • 界面布局、头像框、姓名板和动作条优化

MessageQueue 插件下载与使用指南

本页整理了 MessageQueue 的功能用途、适用人群、安装方法和常见问题,方便玩家快速判断是否需要安装。

适合谁用

MessageQueue 是一款 运行库 / 聊天与通讯 类插件,适合需要优化界面、提升操作效率或补充游戏信息提示的魔兽世界玩家。

基本信息

  • 插件作者:LenweSaralonde
  • 插件分类:运行库 / 聊天与通讯
  • 适配版本:1.15.8,2.5.5,5.5.4,12.0.7
  • 累计下载:11,457

安装方法

  1. 点击上方下载按钮获取 MessageQueue插件文件。
  2. 解压后将插件文件夹放入 World of Warcraft/_retail_/Interface/AddOns 目录。
  3. 重启游戏或在角色界面点击插件,确认 MessageQueue 已启用。
  4. 如果插件不生效,请检查版本是否匹配,或关闭同类冲突插件后重试。

使用建议

MessageQueue 安装后建议先在角色界面确认已启用,进入游戏后根据插件提供的命令、小地图按钮或设置面板进行调整。如遇到报错,可先单独启用该插件排查冲突。

MessageQueue 常见问题

这个插件适合哪些玩家?

MessageQueue 适合需要 运行库 / 聊天与通讯 类功能的玩家,特别是希望提升游戏便利性、界面管理或战斗信息获取效率的用户。

下载后怎么安装?

下载后解压到 Interface/AddOns 目录,然后重启游戏并在角色界面启用插件。

为什么插件不显示或不生效?

常见原因是目录多套一层、游戏版本不匹配、依赖插件缺失或同类插件冲突。

有没有类似插件可以替代?

可以查看本页的替代插件推荐和相关插件区域,按下载量和分类选择同类工具。

插件 AI 问答

可以问:这个插件正式服能用吗、和 DBM 冲突吗、怎么设置、有没有替代插件。

MessageQueue 是一款魔兽世界插件,主要用于聊天与通讯相关功能。建议根据自己的版本和插件环境先测试兼容性。

插件用途

MessageQueue 主要面向需要聊天与通讯功能的玩家,用来改善游戏体验、减少重复操作或补充默认界面没有直接提供的信息。

适用场景

  • 聊天与通讯相关功能

使用建议

安装后建议先在角色选择界面或插件管理器中确认已启用,再进入游戏测试是否与现有整合包、WA 和其他插件冲突。如遇报错,可以先禁用同类插件排查。

MessageQueue

Implements an alternative to SendChatMessage() to securely send messages in chat channels in response to a hardware event such as a mouse click or a keypress.

How it works

Use MessageQueue.SendChatMessage() in your add-ons and macros to send chat messages instead of SendChatMessage(). MessageQueue will then wait for a hardware event to send the message. A callback that will be executed after the message has been sent can also be provided so you can write your code in an asynchronous way.

Any of the following hardware inputs allows the queue to run: mouse click, mouse wheel, keyboard, gamepad stick or button. Unlike keyboard inputs, mouse and gamepad inputs are consumed by an invisible frame that shows up at the topmost level so any click on an action may fail if MessageQueue needs to send a message at the same time.

Use with AutoHotKey

MessageQueue can be used in conjunction with AutoHotkey and the provided PixelTrigger.v*.ahk script to automatically send hardware events to the World of Warcraft window when needed.

  • For AutoHotKey v1.1, use PixelTrigger.v1.ahk.
  • For AutoHotKey v2.0, use PixelTrigger.v2.ahk.

The script monitors the color of the top left pixel of the WoW window and sends a keypress on the PAUSE key every time the pixel turns gray (#333333). The WoW window doesn't need to be active but the top left corner should remain visible on the screen and not be covered by another window for the script to work.

The AutoHotKey script only works on Windows. If you're running MessageQueue on Mac, you'll need to trigger your hardware event manually.

If you wish to use another hardware event than the PAUSE key, make a copy of the PixelTrigger.v*.ahk script and edit it accordingly (instructions are provided within the script comments). Make sure to keep your copy of the script out of the add-on folder since it could be automatically deleted if you use an add-on manager.

Please be aware that the use of AutoHotkey is not against Blizzard's ToS and you won't get banned for just using it along with WoW. It's commonly used by players with disabilities. Only obvious abuse such as spamming or automating complex actions can get you banned. Do not use any other script than the provided PixelTrigger.v*.ahk unless you know what you're doing. Anyway, the use of AutoHotKey and the provided script is not mandatory for MessageQueue to work, it just adds convenience.

API documentation

MessageQueue.SendChatMessage

MessageQueue.SendChatMessage("msg" [,"chatType" [,languageID [,"target" [, "callback"]]]])

Add a message to the queue if the target requires a hardware event (chatType is either "SAY", "YELL" or "CHANNEL"). For any other chatType, the message is sent instantly.

Arguments are the same as the regular SendChatMessage function.

The optional callback function will be executed when the message has been sent. The callback should not contain any other code requiring a hardware event.

MessageQueue.Enqueue

MessageQueue.Enqueue(func)

Enqueue a function that requires a hardware event to run. The function may not perform more than one action requiring a hardware event.

Shares the same queue as MessageQueue.SendChatMessage().

MessageQueue.GetNumPendingMessages

messageCount = MessageQueue.GetNumPendingMessages()

Returns the number of messages awaiting in the queue.

MessageQueue.Run

MessageQueue.Run()

Runs the first message awaiting in queue. Should only be called in response to a hardware event. If for some reason the message fails, it won't be possible to attempt it again.

MessageQueue.Clear

MessageQueue.Clear()

Clears the entire queue.

Integration guide

The integration of MessageQueue in your add-on is pretty straightforward.

First, add MessageQueue as a required dependency for your add-on by adding the following in the .toc file: ## RequiredDeps: MessageQueue

Then, just replace SendChatMessage() calls by MessageQueue.SendChatMessage().

However, keep in mind that the message will not be sent instantly (for example if the World of Warcraft window is not in focus). If the rest of your code requires the message to be actually sent, you should pause the execution of the current process then resume it in the callback.

Before

SendChatMessage(text, 'SAY')
-- Do stuff
return

After

MessageQueue.SendChatMessage(text, 'SAY', nil, nil, function()
	-- Do stuff
	-- Resume process execution
end)
-- Pause process execution
return

The functions MessageQueue.Enqueue and MessageQueue.Run can be hooked using hooksecurefunc() by your add-on to perform actions when an element has been added or removed from the queue.

CurseForge: https://www.curseforge.com/wow/addons/messagequeue

用户评价

暂无 / 5,0 条评价
免费插件下载后可以评价;付费插件 / WA 购买后可以评价;委托订单完成后可以评价。
暂无评价。

相关推荐

继续看看这些内容

全站搜索