• IS THIS SITE UGLY? Click "RG3" at the very bottom-left of this page to change it. To dismiss this notice, click the X --->
MQ2Yes plugin

Utility MQ2Yes plugin 2

Download now: Join us with Level 2 access
or earn your way in with RedCents.
Other Authors
Siddin
Included in Very Vanilla
Very Vanilla Included! No need to download.
Have recently updated this plugin as a project to learn to compile and such, and now its working as intended.

A select amount of windows are able to be said yes or no to by command line options of /yes and /no

LargeDialogWindow
ConfirmationDialogBox
TradeWND
GiveWnd
ProgressionSelectionWnd
TaskSelectWnd
RaidWindow

would love for people to test it out and maybe come with more ideas that could be done.

next step is to add commands to send to all and group using eqbcs.


Basically I got tired of telling my characters to hit confirmation boxes so here's what the plugin does.
Command = /yes
Code:
/squelch /notify LargeDialogWindow LDW_YesButton leftmouseup
/squelch /notify ConfirmationDialogBox Yes_Button leftmouseup
/squelch /notify ConfirmationDialogBox OK_Button leftmouseup
/squelch /notify TradeWND TRDW_Trade_Button leftmouseup
/squelch /notify GiveWnd GVW_Give_Button leftmouseup
/squelch /notify TaskTemplateSelectWnd TaskTemplateSelectAcceptButton leftmouseup
/squelch /notify ProgressionTemplateSelectWnd ProgressionTemplateSelectAcceptButton leftmouseup
If you want anything else added, just let me know :)
(and no, I don't care about the indiscriminate use of /notify :p )

C++:
// MQ2Yes.cpp : Defines the entry point for the DLL application.
//

// PLUGIN_API is only to be used for callbacks.  All existing callbacks at this time
// are shown below. Remove the ones your plugin does not use.  Always use Initialize
// and Shutdown for setup and cleanup, do NOT do it in DllMain.

#include "../MQ2Plugin.h"

PreSetup("MQ2Yes");

VOID Yes(PSPAWNINFO pChar, PCHAR szLine) {
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify LargeDialogWindow LDW_YesButton leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify ConfirmationDialogBox Yes_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify ConfirmationDialogBox OK_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify TradeWND TRDW_Trade_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify GiveWnd GVW_Give_Button leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify TaskTemplateSelectWnd TaskTemplateSelectAcceptButton leftmouseup");
DoCommand(GetCharInfo()->pSpawn,"/squelch /notify ProgressionTemplateSelectWnd ProgressionTemplateSelectAcceptButton leftmouseup");
}
// Called once, when the plugin is to initialize
PLUGIN_API VOID InitializePlugin() {
  AddCommand("/yes",Yes);
  }

// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin() {
  RemoveCommand("/yes");
}
Server Type
Live, Test Server
Author
kaen01
Downloads
11
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kaen01

Latest updates

  1. Proper code and usage of internal functions

    fixed it up all fancy with proper coding and detection of open windows and what not. working on...
  2. Fixed missing and wrongly named windows.

    // MQ2Yes.cpp // Will attempt to say Yes or Ok to most windows that ask for confirmation, good...
Top