MCP and move behind

Spaztic

Member
So, I've been playing around with trying to add a Move Behind toggle on the MCP using the "UplinkOptionChange" on the MCP edit, and I can't find out what the name is for the uplink option. I've checked the file "UplinkContollerXML" but I don't know enough about the language to know what the name of the object is.

If someone could help me out, I'd greatly appreciate it.

I basically just want to have an MCP button that would make everyone move behind the mob and into melee range that I can toggle real quick to get them positioned (casters always moving behind mobs in big groups gets annoying). It'll be nice since my inquis likes to port up to a mob and it makes positioning a pain. If there's a better way to do that, let me know.
 

Kannkor

Ogre
So, I've been playing around with trying to add a Move Behind toggle on the MCP using the "UplinkOptionChange" on the MCP edit, and I can't find out what the name is for the uplink option. I've checked the file "UplinkContollerXML" but I don't know enough about the language to know what the name of the object is.

If someone could help me out, I'd greatly appreciate it.

I basically just want to have an MCP button that would make everyone move behind the mob and into melee range that I can toggle real quick to get them positioned (casters always moving behind mobs in big groups gets annoying). It'll be nice since my inquis likes to port up to a mob and it makes positioning a pain. If there's a better way to do that, let me know.
I won't comment on the 'better way', because if you're trying to do that at all, we have very different play styles :)

There's two ways of finding out the 'name' that goes along with UplinkOptionchange on the MCP edit. They are nearly identical, just in different files.

Way 1: Using UplinkcontrollerXML.xml
Find the 'option' you are after. You should be able to do this by reading what is between the <Text> and </Text>. In this case, it's 'Ranged Attack'.
Code:
        <checkbox name='checkbox_settings_rangedattack' template='chkbox'>
          <X>165</X>
          <Y>30</Y>
          <Text>Ranged Attack</Text>
          <OnLeftClick>
            This:RightClick
          </OnLeftClick>
          <OnRightClick>
            relay all "Script[\${OgreBotScriptName}]:QueueCommand[call UplinkControllerFunction ${This.Type} checkbox_settings_rangedattack ${This.Checked}]"
          </OnRightClick>
        </checkbox>
Here, you can see do something with in code..
Code:
relay all "Script[\${OgreBotScriptName}]:QueueCommand[call UplinkControllerFunction ${This.Type} checkbox_settings_rangedattack ${This.Checked}]"
The part we care about, is the name parameter we're going to pass. Which is.. checkbox_settings_rangedattack
So, anything on the UplinkController screen, you can obtain the same way.

Now, how did I come up with that name inside the UplinkController? Well, it's Way 2!

Way 2: Using OgreUIXML.XML (this is the actual UI of OgreBot).
This file is MUCH more complicated than UplinkControllerXML.XML. Nearly everything is templated, so a lot of things are much smaller (which may be easier, or more difficult to read).

The easist way to find the area of what you're after, is using a text search. In Ogrebot, pick an option you want to search for. In this example, lets use 'Accept Res'. (It's in the 2nd row, 5th one down, incase you were looking for it.)
So, control+f, type in "Accept Res" (no quotes) and hit enter.
You should come to this section:
Code:
<checkbox name='checkbox_settings_acceptres' template='EQ2OB_Checkbox_Settings'>
            <Text>Accept Res</Text>
          </checkbox>
Or more specifically:
Code:
checkbox [COLOR="#FF0000"]name='checkbox_settings_acceptres' [/COLOR]
Therefore, we have the NAME of the checkbox. checkbox_settings_acceptres

Worth mentioning, as it mentions in the button, TRUE is not the same as true. It has to be all caps. So use TRUE or FALSE.
 

Spaztic

Member
Hah, I do remember seeing posts about you saying something about max range :D
I like to get up close and personal.

But that's awesome. I was on the right track.
Thanks for the quick response, that helps me out a ton!
 

Gorrok

Active Member
I was running around last night doing some x4 trash and thought to myself a button to have them move behind the target would be awesome.
Melee DPS from healers can add alot , not to mention illusionists.

But when i use the option move behind Mob they constantly have to reposition themselves they miss out on heals and DPS.

Unfortunately i know very very little about the scripting mentioned above :( .
If you figure out what is needed please post in the forums as i am sure there are alot of users that would love this option.
I migth start a topic for MCP buttons , see what people are using and are looking for.
 

spunk1278

Active Member
Most of this post is beyond what my brain wants to try to think about, however if I'm understanding what you are attempting to do I may have a simple solution that I have been using.

I made a relay button on MCP that tells every toon to execute /run behind.iss which i found here.

http://www.isxgames.com/forums/showthread.php/5867-Run-Behind-(mainly-for-Assassins)

So they all move into position then they stop until i push it again, so no healers running around every time the mob wiggles ..and all that crap. Seems more simple to me than using campspots for trash mobs.

On a slightly other note, i tried editing this file to get my ranger to move just into minimum bow range. Seems to work for moving closer but not if he's too close, and of course some mobs this expac are retarded ..monkey with 60 melee box ..
 

Gorrok

Active Member
Most of this post is beyond what my brain wants to try to think about, however if I'm understanding what you are attempting to do I may have a simple solution that I have been using.

I made a relay button on MCP that tells every toon to execute /run behind.iss which i found here.

http://www.isxgames.com/forums/showthread.php/5867-Run-Behind-(mainly-for-Assassins)

So they all move into position then they stop until i push it again, so no healers running around every time the mob wiggles ..and all that crap. Seems more simple to me than using campspots for trash mobs.

On a slightly other note, i tried editing this file to get my ranger to move just into minimum bow range. Seems to work for moving closer but not if he's too close, and of course some mobs this expac are retarded ..monkey with 60 melee box ..
Thanks alot - i will most definately give this a go as i am sure that i am losing a fair bit of DPS with the constant repositioning :)
 

MrObvious

Senior Member
I have noticed the same problem with my mages and priests, so I usually just have "Move into melee range" checked and I turn the mob myself.

I am curious about your comment, Kannkor. Do you use ranged spell weapons and keep you casters at max range or do you just not care if they bounce around as the mob turns? What about all the other pros out there?

In fact, a little discussion that would help me are what options do you use in Ogrebot? I know I can test them all with trial and error, but there is a lot of knowledge here. For example, is autoattack timing helpful or not, etc?

Maybe a FAQ on how to get starting with Ogrebot with most common settings would be helpful to the community.
 

pz

Active Member
my priests/mages stand where i put them and i put the mob(s) where i want them to be. on occasion i may alt-tab and move a toon manually a bit, but for the most part as the tank i'm in control of the mobs so it's not an issue.

if the mobs are so weak that you can afford for your healers to be moving around instead of casting heals, i typically just barrel right on in with them on follow and not give a shit.

one of the first things i check when testing out posted profiles is actually TURNING OFF mage/priest movement (melee range or move behind) because it's the most annoying thing i can imagine.

scouts are the only toons allowed to move on their own in my setups.
 

Kannkor

Ogre
I have noticed the same problem with my mages and priests, so I usually just have "Move into melee range" checked and I turn the mob myself.

I am curious about your comment, Kannkor. Do you use ranged spell weapons and keep you casters at max range or do you just not care if they bounce around as the mob turns? What about all the other pros out there?

In fact, a little discussion that would help me are what options do you use in Ogrebot? I know I can test them all with trial and error, but there is a lot of knowledge here. For example, is autoattack timing helpful or not, etc?

Maybe a FAQ on how to get starting with Ogrebot with most common settings would be helpful to the community.
Generally speaking, I CS-JO-JI before I pull, so my priests/mages never move. If it's a weak mob/raid option enabled mob, then I pull the mob close enough to where priests/mages can melee and turn him.

If the mob is too strong to be close, then I pull and max range it.

The problem with the "most common settings" is a lot of us play very differently.

I haven't run a heroic zone since... Sleepers Tomb (the first one, not the CoE one). I raid only. So what is common for me and my friends, won't be appropriate for someone who solos runs heroic zones.

Other than that, I agree with primalz. Scouts are permitted to freely move, everyone else is locked down.
 
Top Bottom