Few questions

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

TetsuoAkira
orc pawn
orc pawn
Posts: 28
Joined: Tue Jul 09, 2002 10:06 pm

Few questions

Post by TetsuoAkira » Thu Jul 11, 2002 7:46 am

Okay, because I like challenges, and programming, I decided to make an auto-levler, 1-20, but I have a few questions.

1. Is it possible to get the /loc before you die, and save it? If so, what is it?

2. Is it possible to make your character run to a certain loc? If so, whats the command?

3. Zoning... does the macro still run after you zone?

4. How would I go about making a command to sell all the loot you get once all 8 slots are filled (Without selling the food and water.). Just ignore the food and water, and sell everything else?



Also, what race/class should I make it? I was thinking ogre warrior...

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Post by gingertips » Thu Jul 11, 2002 9:00 am

Might be possible to be able to use MQ to find your corpse automatically...

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Thu Jul 11, 2002 11:30 am

1. /target mycorpse
2. Zones: $zone(), $zone(bound), $zone(birth)
- Plazmic

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

Post by L124RD » Thu Jul 11, 2002 11:59 am

Salutations,
Getting Death Loc:

Code: Select all

#event unconcious "You have been knocked "
sub event_unconcious
 /varset a(0,0) $char(x)
 /varset a(0,1) $char(y)
 /varset a(0,2) $char(z)
/return
This won't work to well if you're fighting things that when they kill you there is no ko message... but from lvl 1-10 i think this'll work...

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Post by gingertips » Fri Jul 12, 2002 5:27 am

I was thinking of a macro u can run when re-entering the zone where u died, that will target your corpse and run to it...functionality is Im sure within the Druid.mac macro

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

Post by L124RD » Fri Jul 12, 2002 3:16 pm

Salutations,

Code: Select all

#event death "You have been slain by"
...
sub event_death
  /call gotoloc 0,0
   ... | code to zone
  /face loc 0,0 |face from where you are to point you in zone dir
  /sendkey down up
  :waitloop
    /doevents
    /if "$zone(bound)"=="$zone()" /goto :waitloop
/return
It takes some customization but it will make it so you get back if your like in ec and bound in wfp...