Auto-/consent

Fixxer

Premium Member
Joined
May 22, 2011
Messages
393
Reaction score
18
Points
18
Once upon a time, didn't MQ2Rez have an option that automatically did a "/consent" command when you die? So those in your group, guild, or friend's list could drag your corpse? If it wasn't MQ2Rez that used to perform that function, which plugin does this now?

Thanks.
 

htw

Developer
Joined
Aug 27, 2006
Messages
13,031
Reaction score
159
Points
63
Location
Albuquerque, NM
No, a plugin didn't ever control that, to my knowledge. However, in EQ, Alt-O to open options, you have checkboxes to set auto-consent stuff.
 

Chatwiththisname

Learning2Code
Joined
Sep 28, 2008
Messages
1,227
Reaction score
37
Points
48
Location
Texas
C++:
void HandleAutoConsent() {
    if (pOptionsWnd) {
        if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentGroupCheckbox")) {
            if (!check->Checked) {
                SendWndClick2(check, "leftmouseup");
                //WriteChatf("AutoConsentGroup set to ON");
            }
        }

        if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentRaidCheckbox")) {
            if (!check->Checked) {
                SendWndClick2(check, "leftmouseup");
                //WriteChatf("AutoConsentRaid set to ON");
            }
        }

        if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentGuildCheckbox")) {
            if (!check->Checked) {
                SendWndClick2(check, "leftmouseup");
                //WriteChatf("AutoConsentGuild set to ON");
            }
        }
    }
}
It would be fairly easy to add. However, you could also just do this with a macro or mutliline.
None of that should really matter in the near future however, as the options are going away.

Code:
- Removed the auto consent options from the Options Window and turned them on by default. These options can still be disabled from within your character's INI file in the Defaults section with the property AutoConsentGroup, AutoConsentRaid, or AutoConsentGuild set to either 1 or 0.
According to the EQ patch notes for test.
 

Fixxer

Premium Member
Joined
May 22, 2011
Messages
393
Reaction score
18
Points
18
C++:
void HandleAutoConsent() {
    if (pOptionsWnd) {
        if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentGroupCheckbox")) {
            if (!check->Checked) {
                SendWndClick2(check, "leftmouseup");
                //WriteChatf("AutoConsentGroup set to ON");
            }
        }

        if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentRaidCheckbox")) {
            if (!check->Checked) {
                SendWndClick2(check, "leftmouseup");
                //WriteChatf("AutoConsentRaid set to ON");
            }
        }

        if (CButtonWnd* check = (CButtonWnd*)pOptionsWnd->GetChildItem("OGP_AutoConsentGuildCheckbox")) {
            if (!check->Checked) {
                SendWndClick2(check, "leftmouseup");
                //WriteChatf("AutoConsentGuild set to ON");
            }
        }
    }
}
It would be fairly easy to add. However, you could also just do this with a macro or mutliline.
None of that should really matter in the near future however, as the options are going away.

Code:
- Removed the auto consent options from the Options Window and turned them on by default. These options can still be disabled from within your character's INI file in the Defaults section with the property AutoConsentGroup, AutoConsentRaid, or AutoConsentGuild set to either 1 or 0.
According to the EQ patch notes for test.
Thanks... That's what I needed.
 

Fixxer

Premium Member
Joined
May 22, 2011
Messages
393
Reaction score
18
Points
18
Any chance this could be added in the next update? I can't get it to work.
 

Chatwiththisname

Learning2Code
Joined
Sep 28, 2008
Messages
1,227
Reaction score
37
Points
48
Location
Texas
Well that's C++, not macro/lua code. So I wouldn't expect it to work.

But I also mention that next time Live updates those options will go away and the default will be on unless you change the value in the INI mentioned in the patch notes for test. So no point in adding it to an update.
 

Fixxer

Premium Member
Joined
May 22, 2011
Messages
393
Reaction score
18
Points
18
Well that's C++, not macro/lua code. So I wouldn't expect it to work.

But I also mention that next time Live updates those options will go away and the default will be on unless you change the value in the INI mentioned in the patch notes for test. So no point in adding it to an update.
Code:
[MQ2Rez]
AutoConsentGroup=1
AutoConsentRaid=1
AutoConsentGuild=1
Accept=On
RezPct=96
SafeMode=Off
VoiceNotify=Off
ReleaseToBind=Off
SilentMode=Off
Command Line=/multiline ; /play off ;/mqpause on; /delay 10s; /tar Druid's ; /loot ; /notify LootWnd LW_LootAllButton leftmouseup ; /delay 10s; /mqpause off
What am I doing wrong then? It's not working...
 

Chatwiththisname

Learning2Code
Joined
Sep 28, 2008
Messages
1,227
Reaction score
37
Points
48
Location
Texas
Well those are patch notes from Everquest, not Macroquest. Putting those options in MQ2Rez section of your Macroquest INI would have no effect on Everquest since that isn't something that is in MQ2Rez to handle.

If you're using MQ2EQBC log all of your accounts into game at the same time, make sure they're all connected to eqbc, then issue the following command

/noparse /bcaa //multiline ; /if (!${Window[OptionsWindow].Child[OGP_AutoConsentGroupCheckbox].Checked}) /notify OptionsWindow OGP_AutoConsentGroupCheckbox leftmouseup; /if (!${Window[OptionsWindow].Child[OGP_AutoConsentGuildCheckbox].Checked}) /notify OptionsWindow OGP_AutoConsentGuildCheckbox leftmouseup; /if (!${Window[OptionsWindow].Child[OGP_AutoConsentRaidCheckbox].Checked}) /notify OptionsWindow OGP_AutoConsentRaidCheckbox leftmouseup

Again, this option is an everquest option, not a macroquest option, which will go away next patch.
 

htw

Developer
Joined
Aug 27, 2006
Messages
13,031
Reaction score
159
Points
63
Location
Albuquerque, NM
Slow down hero. Notice this is the emu forum lol, the options aren't going anywhere.

Turn on the options - set and forget.
 

Chatwiththisname

Learning2Code
Joined
Sep 28, 2008
Messages
1,227
Reaction score
37
Points
48
Location
Texas
Slow down hero. Notice this is the emu forum lol, the options aren't going anywhere.

Turn on the options - set and forget.
Ha, I definitely missed that part. LOL, he could have mentioned I overlooked that part :-x. Now not even sure my multilines will be useful.

I believe a set and forget is a good way to look at it, as I've never really bothered too much with them since they are a set once kinda deal.