OgreBot MCP tricks/mods/addons

pz

Active Member
Possess Essence button/script for MCP.

MCP Button (OgreMCPXML.xml):
Code:
                    <CommandButton Name="Button-f8r4a5" template='OgreMCPButton'>
                        <Text>PE</Text>
                        <OnLeftClick>
                            relay all execute \${If[\${Me.SubClass.Equal[coercer]},runscript PossessEssence,NoOp]}
                        </OnLeftClick>
                    </CommandButton>
PossessEssence.iss:

Code:
function main()
{
	if ${Me.Ability[Possess Essence].IsReady}
	{
		if ${Script[Buffer:OgreBot](exists)}
			UIElement[${CmdBoxPauseBotID}]:LeftClick

		wait 5
		eq2execute target ${Me.ToActor.Target.Target}
		eq2execute cancel_spellcast
		eq2execute cancel_spellcast
		wait 5
		Me.Ability[Possess Essence]:Use
		wait 100 !${Me.CastingSpell}

		if ${Script[Buffer:OgreBot](exists)}
			UIElement[${CmdBoxResumeBotID}]:LeftClick

	}
}
 
Last edited:

Kevinshp

Well-Known Member
Hello

Noob here

What folders do you put these in and does it matter where in the folders you put them?

Thanks
 

Kannkor

Ogre
Hello

Noob here

What folders do you put these in and does it matter where in the folders you put them?

Thanks
I'll add this to the MCP shortly for those not wanting to make a file/edit files.

To answer your question
Edit: Ogremcpxml.xml is inside of scripts/eq2ogrebot
I'm guessing the other file goes into your root direction of scripts/
 

pz

Active Member
AutoVerdict

Auto Verdict button/script for MCP.

MCP Button (OgreMCPXML.xml):
Code:
                    <CommandButton Name="Button-f8r1a2" template='OgreMCPButton'>
                        <Text>-Verdict</Text>
                        <OnLeftClick>
                            if ${This.Text.Equal[-Verdict]}
                            {
                            This.Font:SetColor[ff00ff00]
                            This:SetText[+Verdict]
                            relay all execute \${If[\${Me.SubClass.Equal[inquisitor]},runscript AutoVerdict,NoOp]}
                            }
                            elseif ${This.Text.Equal[+Verdict]}
                            {
                            This.Font:SetColor[ff7f7f7f]
                            This:SetText[-Verdict]
                            relay all execute \${If[\${Me.SubClass.Equal[inquisitor]},endscript AutoVerdict,NoOp]}
                            }
                        </OnLeftClick>
                        <Font>
                            <Color>ff7f7f7f</Color>
                        </Font>
                    </CommandButton>
AutoVerdict.iss:

Code:
function main()
{
	while 1
	{
		if ${Me.InCombat} && ${Me.Ability[Verdict].IsReady} && ${Target.Target(exists)} && (${Target.Target.IsEpic} && ${Target.Target.Health} <= 2) || (${Target.Target.IsHeroic} && ${Target.Target.Health} <= 10)
		{
			eq2execute cancel_spellcast
			wait 2
			Me.Ability[Verdict]:Use
		}
		wait 10
	}
}
 
Last edited:

Kannkor

Ogre
Verdict added to the Inquisitor tab with Patch 72 (Not yet released at the time of this post, but will be soon).
 

bjcasey

ISX Specialist
Confront Fear

Confront Fear button/script for MCP.

MCP Button (OgreMCPXML.xml):

Code:
		<CommandButton Name="Button-Confront-Fear" template='OgreMCPButton'>
			<Text>Confront</Text>
			<OnLeftClick>
			relay all execute \${If[\${Me.SubClass.Equal[dirge]},runscript ConfrontFear,NoOp]}
      </OnLeftClick>
		</CommandButton>
ConfrontFear.iss

Code:
function main()
{
    if ${Script[Buffer:OgreBot](exists)}
        UIElement[${CmdBoxPauseBotID}]:LeftClick

    wait 5
    eq2execute target ${Me.ToActor.Target.Target}
    wait 5
    eq2execute useability Confront Fear
    wait 50 ${Me.CastingSpell}

    if ${Script[Buffer:OgreBot](exists)}
        UIElement[${CmdBoxResumeBotID}]:LeftClick

}
 

bob_the_builder

Well-Known Member
Are these still valid?

I can't seem to find the file "OgreMCPXML.xml" Couple in there with "EDIT" in the name.

Wanting to add Verdict and Posses Essence MCP buttons.
 

Kannkor

Ogre
Are these still valid?

I can't seem to find the file "OgreMCPXML.xml" Couple in there with "EDIT" in the name.

Wanting to add Verdict and Posses Essence MCP buttons.
No these aren't valid anymore since the revamp of MCP (few months ago).

There is a new method to do it. I don't think it's been fully documented yet.

Any reason you don't use the auto verdict built into Ogre? (inq tab).
 

bob_the_builder

Well-Known Member
Any reason you don't use the auto verdict built into Ogre? (inq tab).
I just wanted a little more control over Verdict. I have been in situations with multiple trash mobs and a named and Verdict goes on trash mob and isn't ready in time when the name gets to low %.

The Verdict in Ogre doesn't always seem to fire either and sometimes doesn't use the announce.

Just a bitch when a name gets to 10%, Verdict isn't ready, and then I have to beat on the mob for 10-12%...

No worries ... Possess Essence would be nice as well :p
 

Kevinshp

Well-Known Member
I just wanted a little more control over Verdict. I have been in situations with multiple trash mobs and a named and Verdict goes on trash mob and isn't ready in time when the name gets to low %.

The Verdict in Ogre doesn't always seem to fire either and sometimes doesn't use the announce.

Just a bitch when a name gets to 10%, Verdict isn't ready, and then I have to beat on the mob for 10-12%...

No worries ... Possess Essence would be nice as well :p
Possess essence I would love that as well.
 

ClassicCoke

Active Member
Where can I find information on how to write these and hook them in? I'd like to make a TimeWarp button for my illy and be able to share it when I'm done.


Thanks,


Classic Coke
 

Kannkor

Ogre
Where can I find information on how to write these and hook them in? I'd like to make a TimeWarp button for my illy and be able to share it when I'm done.


Thanks,


Classic Coke
Depending on your level of scripting..
Open the files: /innerspace/scripts/eq2ogrebot/mcp/MCPCommands.xml and MCPCommandsCustom.xml

DO NOT EDIT MCPCommands.xml, it's for reference only. Edit MCPCommandsCustom.xml all you want. Looking at examples it should be clear. If it isn't, you'll have to wait for someone to make a little tutorial for it.

Although, if you're simply looking to make a button where a spell fires, simply right click on a button on the MCP, choose "Cast..." and follow the instructions in game.
 

Kannkor

Ogre
I just wanted a little more control over Verdict. I have been in situations with multiple trash mobs and a named and Verdict goes on trash mob and isn't ready in time when the name gets to low %.

The Verdict in Ogre doesn't always seem to fire either and sometimes doesn't use the announce.

Just a bitch when a name gets to 10%, Verdict isn't ready, and then I have to beat on the mob for 10-12%...

No worries ... Possess Essence would be nice as well :p
As primalz mentioned, use the Inq tab to specify named only.
Verdict won't fire on the CA tab if it's a single mob because it's an encounter spell unless you IAE it.. either way, not a good spot for it. if it's checked on the Inq tab, it should work every time. If not I can look into it... But would need specifics.
 

bob_the_builder

Well-Known Member
Not getting reliable results with Verdict set with Named Heroic.

Seems to fire at 12% instead of 10% (if it really fires)

Doesn't use the announce so it's tough to look through buffs on a mob or if the Inq casted it (greyed on spell bar).


So specifically:
- Doesn't use announce (should i can manually cast a spell and it triggers announce)
- Seems to fire off at 11-12% and not 9-10%


I'll troll through my log files and double check if it goes off/resisted/etc...
 

Kannkor

Ogre
Not getting reliable results with Verdict set with Named Heroic.

Seems to fire at 12% instead of 10% (if it really fires)

Doesn't use the announce so it's tough to look through buffs on a mob or if the Inq casted it (greyed on spell bar).


So specifically:
- Doesn't use announce (should i can manually cast a spell and it triggers announce)
- Seems to fire off at 11-12% and not 9-10%


I'll troll through my log files and double check if it goes off/resisted/etc...
Isn't it instant casting? I'd be surprised if it ever announced. It only announces when it can read the spell bar.

When you say fires at 11-12% and not 9-10%, what do you have it set at in the UI?
 

bob_the_builder

Well-Known Member
Hey im going to say Verdict is being resisted. (trolled through logs and a every name has the "has been judged by Verdict!" but only a few times do the names actually die.)

-- Makes sense about instant cast not being announced, fair enough.

Still be nice to add in Possess Essence to MCP ;)
 

Kevinshp

Well-Known Member
Where are you finding virdict being resisted? Some mobs in palace HM for instance they ack like epics and verdict has to be set to 2% even though they are heroic.
 

bob_the_builder

Well-Known Member
Where are you finding virdict being resisted? Some mobs in palace HM for instance they ack like epics and verdict has to be set to 2% even though they are heroic.
I'm guessing that it is resisted. And it's all Heroic; I'm not doing x2 or x4 content yet :/

Anyways, on a successful Verdict I see this in the logs:

Too little too late... Your target is already dead.
XXXX has been judged by Verdict!

On a failed Verdict I only see:

XXXX has been judged by Verdict!

It seems that 3 three Kael instances that I ran on 1/11 that Verdict only worked on a few of the names.

Regardless Verdict is firing "correctly" ... Love to get an announce :)
 

insanitywiz

Senior Member
Have it pre-cast something with a casting time, have that announce.

Not ideal no, but it's the only way to get an announce out of it as is. As a rule, I don't use the verdict AA because that shit seems to not work a good portion of the time for me. If you do use it, try setting your verdict percentage down to the normal values, see if that helps.
 

Kevinshp

Well-Known Member
I'm guessing that it is resisted. And it's all Heroic; I'm not doing x2 or x4 content yet :/

Anyways, on a successful Verdict I see this in the logs:

Too little too late... Your target is already dead.
XXXX has been judged by Verdict!

On a failed Verdict I only see:

XXXX has been judged by Verdict!

It seems that 3 three Kael instances that I ran on 1/11 that Verdict only worked on a few of the names.

Regardless Verdict is firing "correctly" ... Love to get an announce :)

Do you have the verdict enhance AA speced by anychance? if you do it adds a resistabilty to it.
 

Kannkor

Ogre
Regardless Verdict is firing "correctly" ... Love to get an announce :)
Not going to happen. Because when I tried to put announce in based off of casting a spell, if you get interupted, or have a dot that interupts, you spam like mad, so now it only works based off of actually casting, since no casting, no announce. If you can confirm it's working, who cares about an announce?
 

bob_the_builder

Well-Known Member
Yeah were good regarding Verdict. I don't want spam like I did with eq2bot when trying to cast potentially spamming the group.

Thanks for the feedback and discussion !
 
Top Bottom