Female here, be gentle plz...

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Kess
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Dec 23, 2002 7:55 pm

Female here, be gentle plz...

Post by Kess » Mon Dec 23, 2002 8:05 pm

A friend of mine recently introduced me MacroQuest, and from what I've seen so far, I like it. I do have a few questions though.

I've been browsing through the forums trying to find macros to use, and I've copied and pasted some exactly from the forums (and yes, i removed the spaces that seem to magically appear at the end of each line when you copy/paste). And i can't get any of them to work.

My friend told me that it may be because I'm using the new UI instead of the old one. As is, I'm only able to use MQ as a tracking tool (who needs a ranger now? lol).

Also, I'm having trouble with actually targettting certain mobs (i.e. 5 level 60 mobs in zone, all with same name, how do i select the 3rd one down in the list?)

Any help would be appreciated. Thx


Kess
Last edited by Kess on Tue Jan 28, 2003 11:13 pm, edited 1 time in total.

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

Might try...

Post by Malachi » Mon Dec 23, 2002 8:44 pm

Just a couple suggestions...

First, this might not be the right column....

Next...make sure you've changed macroquest.ini.dist to macroquest.ini

Next, make sure you're saving the files as .mac and not as .txt or .mac.txt, you may have to go into tools/folder options and unclick "hide file extentions from known types" or whatever it says.

Give those a whirl.

As for the second question, you are targeting by name, right? like /target Poopyface and not just /target 60 ? I dunno even that you can target by level...if they all have the same name, then you need to do it by ID, which is sorta tough cuz you have to modify the source to return the ID in the /who....pain for you and me. Most likely there is SOME difference in their name that you can /target to...like mebbe it's "a dirty pooface", "dirty pooface" and "dirty poofaece". so in this case, targeting "a", "dirty", "pooface", and "poofaece" would all return different mobs...additionally u can check the readme for information about including a range check to your target...something like /target pooface 100 I think....would target only w/i 100 clicks, although /target automatically returns the closest mob.

Hope that made sense.
~Malachi
~Oh danny boy, the pipes the pipes are calling.~

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Tue Dec 24, 2002 4:25 am

kess, do you live in Calif? No im not hittng on random girls, someone I know goes by Kess and is the kinda person who would like eq...
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy

[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Tue Dec 24, 2002 2:47 pm

Salutations,

Code: Select all

| targets the nth mob away from you
| /macro targeted <n> "<mob name>"
sub main
  /for l0 1 to p0
   /target $l1 $p1
   /varset l1 "notid $target(id)"
  /next l0
/return
I think that will work... *shrugs*

Kess
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Dec 23, 2002 7:55 pm

Post by Kess » Thu Dec 26, 2002 5:16 am

nt
Last edited by Kess on Tue Jan 28, 2003 11:11 pm, edited 1 time in total.

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

I suck....

Post by Malachi » Thu Dec 26, 2002 11:48 am

I pretty well suck at coding, but here's an outline.

|Shissarspy.mac
|This won't work, don't use it.

/alert add 1 npc Shissar
:watching
/if alert 1==TRUE {
/echo "Shissar is up, go keel him!"}
/else goto :watching
/return


I don't really know how alerts work, I've only ever used events, so....lol, this is probably totally useless. ;)
I don't know how to set alerts to a variable...

With events I can only think of making it loop /who npc Shissar's every minute or so, and if event=true than echoing it....

Hehe, I stink.

~Malachi
~Oh danny boy, the pipes the pipes are calling.~

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Thu Dec 26, 2002 2:17 pm

Salutations,
New UI will make it so that you cannot do things with your inventory, I personally use New UI alot and use it for tracking/hunting/backstabbing macros while there to watch over it *cough-checking-email-cough*. What error are you getting to lead you to believe you cannot run macros? if it's cannot open/load/whatever macro from drive:/path/to/macroquest/whateva'/macro.mac then It may be because your macro directory is not configured correctly. I would make sure that you have renamed the 'macroquest.ini.dist' file to 'macroquest.ini'
btw, the name is 1337esque, basically when I first learned some 1337 (my password for everything for a long time was '1.w1ll.0wn.j00' if you wnat to log into any old accounts of mine :p) but thanks for even notitcing it was weird...

Kess
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Dec 23, 2002 7:55 pm

Post by Kess » Fri Dec 27, 2002 1:16 am

nt
Last edited by Kess on Tue Jan 28, 2003 11:12 pm, edited 1 time in total.

Malachi
a hill giant
a hill giant
Posts: 227
Joined: Tue Nov 19, 2002 1:29 am
Contact:

YEsh....

Post by Malachi » Fri Dec 27, 2002 1:59 am

<<<edited>>>

Ok, here's a /alert

/alert add 1 npc radius 500 lion

This adds the npc lion to alert 1, if the lion is w/i a radius of 500. Radius is optional.

The only thing I don't know is if /alert returns TRUE/FALSE or 1/0.

Code: Select all

:Loop
/varset $v2 Stormfeather
/alert add 1 npc $v2
/varset $v1 /alert 1    |can you do this?
/if $v1==TRUE {
/beep
/beep
/beep
/echo "$v1 Is up! Go keel heem
} else {/goto :Loop}
/return
I dunna think you can set a variable to an alert, but I dunno how to call the alert...
/if alert 1==TRUE?

Lol...little help? I can't code.

~Malachi
~Oh danny boy, the pipes the pipes are calling.~

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Fri Dec 27, 2002 12:55 pm

Salutations,
This means no more running macros, you can run commands, but no macros... okeyday? here goes...

Code: Select all

sub main
 /alert clear 1
 /alert add 1 any $p0
 :loop
   /if $alert(1)==TRUE {
    /echo "$p0 is in the zone."
    /if "$p1"=="exit" /endmacro
   }
  /goto :loop
/return
usage: /macro inzone.mac <spawn> [exit]
if you define the 'exit' argument it will exit the macro after it has been seen, I would leave this off and just use /endmacro so you knwo wyou saw it since It will be spamming your screen

User avatar
SingleServing
a hill giant
a hill giant
Posts: 195
Joined: Tue Dec 17, 2002 11:00 pm

Post by SingleServing » Sat Jan 04, 2003 1:48 am

L124RD wrote:Salutations,
This means no more running macros, you can run commands, but no macros... okeyday? here goes...

Code: Select all

sub main
 /alert clear 1
 /alert add 1 any $p0
 :loop
   /if $alert(1)==TRUE {
    /echo "$p0 is in the zone."
    /if "$p1"=="exit" /endmacro
   }
  /goto :loop
/return
usage: /macro inzone.mac <spawn> [exit]
if you define the 'exit' argument it will exit the macro after it has been seen, I would leave this off and just use /endmacro so you knwo wyou saw it since It will be spamming your screen
I havn't tried this out but shouldn't you put a delay into the loop so things don't go crazy? or is that only if you want to turbo it?
[color=DarkBlue]Everything,[/color] [color=DarkBlue][b]is[/b][/color] [color=black]black[/color] [color=DarkBlue]and[/color] [color=white]white[/color][color=DarkBlue], when you zoom out it looks[/color] [color=gray]grey[/color][color=DarkBlue].[/color]

drako
orc pawn
orc pawn
Posts: 17
Joined: Mon Dec 09, 2002 12:09 am

Post by drako » Sat Jan 04, 2003 2:54 am

something i relized.. a lil off topic what she asked but...!


when she said "girl here be nice". notice no one flamed her any bit... i might have to try this some time =0


just something i find interesting and wanted to share

User avatar
SingleServing
a hill giant
a hill giant
Posts: 195
Joined: Tue Dec 17, 2002 11:00 pm

Post by SingleServing » Sat Jan 04, 2003 5:11 am

drako wrote:something i relized.. a lil off topic what she asked but...!


when she sad girl here b nice. notice no one flamed her any bit... i might have to try this some time =0
Better get started quick and hope it works mister double post


heheh :P
[color=DarkBlue]Everything,[/color] [color=DarkBlue][b]is[/b][/color] [color=black]black[/color] [color=DarkBlue]and[/color] [color=white]white[/color][color=DarkBlue], when you zoom out it looks[/color] [color=gray]grey[/color][color=DarkBlue].[/color]

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sat Jan 04, 2003 6:10 am

Salutations,
I would suggest that if you are going to use my piece of code in a turboed macro that you do do that, but using it as is, there is no need to turbo it, it updates more then every half a second and I DOUBT you need it to be faster then that running it as is...

drako
orc pawn
orc pawn
Posts: 17
Joined: Mon Dec 09, 2002 12:09 am

Post by drako » Sat Jan 04, 2003 6:47 pm

Better get started quick and hope it works mister double post


heheh :P

...huh?