MQ2 Helpdesk

Third party software discussion goes here.
conradd
Posts: 381

Re: MQ2 Helpdesk

Post#71 » Mon Dec 03, 2012 1:47 pm

conradd wrote:Is it possible to put the result of this command :

Code: Select all

/notify LootWND LW_BroadcastButton leftmouseup


in a string variable or directly in a /tell command ?

Or is there another way to tell someone which are the no drop item on a corpse ?


Still working on this one, any tips would be appreciate Moonrazor :P
"Shorties will rule the world !"
[CLR] Conradd <Drachenkinder>

moonrazor
Posts: 111

Re: MQ2 Helpdesk

Post#72 » Mon Dec 03, 2012 8:33 pm

conradd wrote:
conradd wrote:Is it possible to put the result of this command :

Code: Select all

/notify LootWND LW_BroadcastButton leftmouseup


in a string variable or directly in a /tell command ?

Or is there another way to tell someone which are the no drop item on a corpse ?


Still working on this one, any tips would be appreciate Moonrazor :P



Yes, it's actually already set as a variable. Ninjaloot does exactly what you want, plus loots corpses for you within range. Now I don't fully endorse this type of thing, but should you wish to use it, here is the section of code that deals with nodrop items.

Code: Select all

Handling of NODROP items on corpse
    /if (${InvSlot[loot${lootslot}].Item.NoDrop}) {
      /echo Autoloot:  NO DROP ITEM Found
      /if (!${Ini[${NLLootINIFile},"${InvSlot[loot${lootslot}].Item.Name.Left[1]}","${InvSlot[loot${lootslot}].Item.Name}"].Length}) {
        /ini "${NLLootINIFile}" "${InvSlot[loot${lootslot}].Item.Name.Left[1]}" "${InvSlot[loot${lootslot}].Item.Name}" NDITEM
        /echo Autoloot:  Adding ${InvSlot[loot${lootslot}].Item.Name} to ${NLLootINIFile} defaulting as NDITEM
      }
      /if (${NLlootmode.Equal[DROP]}) {
        /if (${lootslot}>=${loottotal}) {
          /call Itemsleft
          /next e


They have "target next corpse" bound to E, but you can custombind that to whatever you want. Personally I have it bound to `. This specific subroutine requires you have have loot.ini working with it. which needs to be updated with the full list of custom items on THF that are nodrop.

Hope this answered your question. Haven't had a lot of time to mess around with things lately.

Moonrazor

Noren
Posts: 1053

Re: MQ2 Helpdesk

Post#73 » Thu Dec 13, 2012 4:16 pm

I've been struggling to find a way to stick, without targeting, only within a certain radius. My most recent failure was:

Code: Select all

if (${Me.ID.Distance.Int}<300) /bca //stick ID ${Me.ID} 10 hold

And the only working solution (which requires targeting) is

Code: Select all

/bca //target ID ${Me.ID} radius 300
/bca //stick hold 10

Has anyone come up with a clever command for this sort of thing? I'm tired of dead or distant toons running off to their doom on account of a partial name/ID match in the zone.

Stickybuds
Posts: 883

Re: MQ2 Helpdesk

Post#74 » Fri Dec 14, 2012 7:20 am

All you need to do is adjust the "break distance" in the .ini file. Mine was 600 by default, which was far too large and would cause many of the same issues you have.

http://www.macroquest2.com/wiki/index.p ... s#INI_File

Regards,
Sticky
Image

moonrazor
Posts: 111

Re: MQ2 Helpdesk

Post#75 » Fri Dec 14, 2012 8:00 am

Noren wrote:I've been struggling to find a way to stick, without targeting, only within a certain radius. My most recent failure was:

Code: Select all

if (${Me.ID.Distance.Int}<300) /bca //stick ID ${Me.ID} 10 hold

And the only working solution (which requires targeting) is

Code: Select all

/bca //target ID ${Me.ID} radius 300
/bca //stick hold 10

Has anyone come up with a clever command for this sort of thing? I'm tired of dead or distant toons running off to their doom on account of a partial name/ID match in the zone.



Ok, let me see if I got all of this right. You are after a way to non-target your toon but stay in /stick all the time?

Use this instead of your /target;

Code: Select all

/bca //stick id ${Me.ID}


As to lost or partial IDs, that's impossible, unless you meet certain criteria that should never happen in the first place. Namely, running a client on a pre-injected mq2 client, then running other clients on another injected client. OR, 2 characters fight over the command ${Me.ID} in which case, that'll more likely crash the confused clients, or send them running to whichever ID is closest.

Hope this is what you were looking for.

Moonrazor

User avatar
mukkel
Posts: 236

Re: MQ2 Helpdesk

Post#76 » Fri Dec 14, 2012 12:12 pm

You could use ${Spawn} too.

Code: Select all

/stick id ${Spawn[pc BOB].ID}


BOB is obviously the name of you want the character to follow. This would find the id of the character close by that is a PC and also named BOB.

/fitz

Noren
Posts: 1053

Re: MQ2 Helpdesk

Post#77 » Sun Dec 16, 2012 9:18 am

moonrazor wrote:Ok, let me see if I got all of this right. You are after a way to non-target your toon but stay in /stick all the time?

Use this instead of your /target;

Code: Select all

/bca //stick id ${Me.ID}


As to lost or partial IDs, that's impossible, unless you meet certain criteria that should never happen in the first place. Namely, running a client on a pre-injected mq2 client, then running other clients on another injected client. OR, 2 characters fight over the command ${Me.ID} in which case, that'll more likely crash the confused clients, or send them running to whichever ID is closest.

Hope this is what you were looking for.

Moonrazor


I appreciate your feedback - that's not exactly what I'm looking for. I recently found (thanks to Mukkel) a way to issue a stick command, but only have it obeyed if my other toons are close. I wanted them to ignore it if they are far away in the same zone, or in another zone altogether.

The biggest frustration was that spawns re-use ID numbers in different zones. In that way, my tank (Greppo), whose ID is 47 in HoH at one moment, will share that ID with some random NPC in the vale where I have another toon.

Then, when issuing a /stick command for an ID (totally skipping /tar), that toon in the Vale finds an ID that matches Greppo's but is actually shared by an npc in that zone, and that char sticks to it.

For the cases where I'm fighting in one zone and my toons are bound in HoH - this has often times meant they found some mob with an ID match and /stick that mob, running to their doom :o

With a distance check, this won't happen. Talking to Mukkel, he pointed me in the right direction. I adapted it to EQBC to come up with:

Code: Select all

/noparse /bca //if (${Spawn[pc Greppo].Distance}<300) /stick id ${Spawn[pc Greppo].ID}


Success 8-)

moonrazor
Posts: 111

Re: MQ2 Helpdesk

Post#78 » Mon Dec 17, 2012 9:38 am

Ah I see, glad you got it working.

User avatar
Dellanx
Posts: 300

Re: MQ2 Helpdesk

Post#79 » Mon Dec 17, 2012 2:48 pm

Having a problem. After distance of 200, /assist MA, becomes Target = MA

/target ID ${Target.ID} did not really work either.

then I tried

/noparse /squelch /MA /assiston /bc Assist on ${Target.ID}

it kinda worked, as long as I assist below distance of 200, I can back up and maintain Target. As soon as I assist it looses Target and acquires MA.

Thanks. :D
Image
Created by Azera of Tribunal

Stickybuds
Posts: 883

Re: MQ2 Helpdesk

Post#80 » Wed Jan 09, 2013 1:41 pm

need some help with a way to remove a buff via mq2. been searching the net trying stuff all morning and have yet to get anything to work.

i found this command...

Code: Select all

/nomodkey /notify BuffWindow Buff${Math.Calc[${Me.Buff[Spirit of the Lion Rk. I].ID}-1].Int} leftmouseup


but i get the error "Window 'BuffWindow' child Buff-1 not found. not sure if im missing a plugin for that command or what.

I also found a plugin called MQ2Bufftool that will do this, but i cannot find many places to download that plugin and the few working links i did find gave errors when i tried to load the plugin.

I dont want to block the buff, just to remove it when i push the button (got to make room for buff proc slots)
Image

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 2 guests