Alatyami
NotAddicted.com Engineer (Retired)
- Joined
- Dec 21, 2004
- RedCents
- 804¢
AFK Taskmaster Series
UPDATED: December 5, 2005a
Advance Taskmaster of both casters and non-casters is finally here!
AdvTaskCaster.mac
AdvTaskRunner.mac
AdvTaskWarp.mac
The non-warp macros are currently setup for:
Giant Expedition
Lookout Below
Mystic Ring
Scary Caves
Once again this is what i call a pure macro. You can run this with standard compile of MQ2, although MQ2DoCrack does help out a lot to prevent enviro damage and stuns. The macro is built off of AdvPath.mac. I have included the AdvPath.mac so that you can create your own paths in the event that you do not like the trails that I took.
If you are not a caster, AdvTaskRunner.mac is the macro for you! It will run you to and from every point. However, about 6/10 times I generally catch aggro running from FV back to Marana. If you do this as a monster, i would suggest using the Level 65 Fairy, since it comes with invis.
Requirements (everything is in the zip):
AdvTaskCaster.mac or AdvTaskRunner.mac
AdvTask.ini
AdvPath.inc
AdvPath2.inc
SpellCast.inc
Multiple PathFiles
AdvTaskCaster.mac
AdvTaskRunner.mac
AdvTaskWarp.mac
AdvTask.ini
UPDATED: December 5, 2005a
Advance Taskmaster of both casters and non-casters is finally here!
AdvTaskCaster.mac
AdvTaskRunner.mac
AdvTaskWarp.mac
The non-warp macros are currently setup for:
Giant Expedition
Lookout Below
Mystic Ring
Scary Caves
Once again this is what i call a pure macro. You can run this with standard compile of MQ2, although MQ2DoCrack does help out a lot to prevent enviro damage and stuns. The macro is built off of AdvPath.mac. I have included the AdvPath.mac so that you can create your own paths in the event that you do not like the trails that I took.
If you are not a caster, AdvTaskRunner.mac is the macro for you! It will run you to and from every point. However, about 6/10 times I generally catch aggro running from FV back to Marana. If you do this as a monster, i would suggest using the Level 65 Fairy, since it comes with invis.
Requirements (everything is in the zip):
AdvTaskCaster.mac or AdvTaskRunner.mac
AdvTask.ini
AdvPath.inc
AdvPath2.inc
SpellCast.inc
Multiple PathFiles
AdvTaskCaster.mac
Rich (BB code):
| Advanced Taskmaster
| Author: Alatyami, The Calendar Guy @ RedGuides.com
| Thanks to the authors of AdvPath.
| Last Modified: December 5, 2005
| Usage: /mac advtask
#turbo 10
#include advpath.inc
#include SpellCast.inc
#event PlayFile "[MQ2] playfile #1#"
#Event Zoned "You have entered#*#"
#Event YouDied "You have been slain by#*#"
sub ReleaseNotes
/echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/echo Mod Notes [12/5/2005]: Alatyami
/echo * Fixed the Zone check.
/echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/return
sub Main
/call ReleaseNotes
|- ADVTASK.mac Variables ------------------------------------------------------|
/declare TaskPhrase string outer Might you have some tasks?
/declare TaskNPC string Marana
/declare TaskZone string Dreadlands
/declare CastGate int outer 1
/declare CurrentTask1 string outer
/declare CurrentTask2 string outer
/declare CurrentTask3 string outer
/declare TaskSetting int outer 0
/declare ValidTask string outer
/ini "AdvTask.ini" "${Zone}" "${MyTasks}"
|- ADVPATH.inc Variables ------------------------------------------------------|
/call InitAPFVars 1 15 20
/squelch /alias /startrec /echo record
/squelch /alias /stoprec /echo stop
/squelch /alias /playfile /echo playfile
|- ZONER Variables ------------------------------------------------------------|
/declare Zn int outer
|- Ask the Taskmaster for a new task
:asktaskmaster
/if (${Zone.ShortName.NotEqual[${TaskZone}]}) {
/echo ERROR: You must be in ${TaskZone} to start this macro!
/end
}
/call AdvPathPoll
/delay 5
/doevents flush
/varset TaskSetting 0
/call GMCheck
/target ${TaskNPC}
/say ${TaskPhrase}
/delay 2s
|- Select the task window to set varaibles
/notify TaskSelectWnd TaskList leftmouseup
/varset CurrentTask1 ${Window[TaskSelectWnd].Child[TaskList].List[1]}
/varset CurrentTask2 ${Window[TaskSelectWnd].Child[TaskList].List[2]}
/varset CurrentTask3 ${Window[TaskSelectWnd].Child[TaskList].List[3]}
/if (${TaskSetting}==0) {
|- Check the first available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask1}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask1}]}
/varset TaskSetting ${Ini[AdvTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[1]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[1,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask1}
/call LoadTask
}
/delay 1s
}
/if (${TaskSetting}==0) {
|- Check the Second available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask2}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask2}]}
/varset TaskSetting ${Ini[AdvTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[2]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[2,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask2}
/call LoadTask
}
/delay 1s
}
/if (${TaskSetting}==0) {
|- Check the third available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask3}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask3}]}
/varset TaskSetting ${Ini[AdvTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[3]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[3,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask3}
/call LoadTask
}
/delay 1s
}
/notify TaskSelectWnd DeclineButton leftmouseup
/delay 9s
/goto :asktaskmaster
/exit
/return
sub Event_PlayFile(string Line, string PathFile)
/call PlayFunction "${PathFile} 1 nf nopp noz"
/call WaitTilThere
/return
sub WaitTilThere
:LoopTilThere
/if (${PathingFlag}==1) {
/call AdvPathPoll
/delay 1
/doevents
/goto :LoopTilThere
}
/return
sub LoadTask
/echo Loading: ${ValidTask}
/if (${ValidTask.Equal[Lookout Below]}) /call LookoutBelow
/if (${ValidTask.Equal[Mystic Ring]}) /call MysticRing
/if (${ValidTask.Equal[Giant Expedition]}) /call GiantExpedition
/if (${ValidTask.Equal[Scary Caves]}) /call ScaryCaves
/return
sub Zoner
/delay 60
:stillzoning
/doevents
/if (${Zn}!=1) /goto :stillzoning
/varset Zn 0
/delay 5s
/return
sub Event_Zoned
/call GMCheck
/varset Zn 1
/return
sub GMCheck
/if (${Bool[${Spawn[gm].ID}]}) {
/echo A GM or Guide has been detected. Waiting for five minutes to check again ...
/delay 300s
/call GMCheck
}
/return
Sub Event_YouDied
/echo You died at ${Time}, ending macro.
/end
/return
Sub LookoutBelow
/echo Starting Lookout Below
/playfile Marana2KC
/doevents
/keypress forward hold
/call zoner
/playfile KCSetup
/doevents
/playfile KCLookoutBelow
/doevents
/keypress forward hold
/call Zoner
/playfile KC2Teleport
/doevents
/call cast Gate
/delay 10s
/playfile Marana2FV
/doevents
/keypress forward hold
/call Zoner
/playfile FV2Telligron
/doevents
/delay 1s
/target Telligron
/doevents
/delay 1s
/hail
/delay 2s
/call cast Gate
/delay 10s
/echo Finished Lookout Below.
/return
Sub MysticRing
/echo Starting Mystic Ring
/playfile marana2kc
/doevents
/keypress forward hold
/call zoner
/playfile kcsetup
/doevents
/playfile kcmysticring
/doevents
/keypress forward hold
/call Zoner
/playfile KC2druidring
/doevents
/call cast Gate
/delay 10s
/playfile Marana2FV
/doevents
/keypress forward hold
/call Zoner
/playfile FV2socaldoor
/doevents
/delay 1s
/target Socaldoor
/delay 1s
/hail
/delay 2s
/call cast Gate
/delay 10s
/echo Finished Mystic Ring.
/return
Sub GiantExpedition
/echo Starting Giant Expedition
/playfile marana2kc
/doevents
/keypress forward hold
/call zoner
/playfile kcsetup
/doevents
/playfile kcgiantexp
/doevents
/keypress forward hold
/call Zoner
/playfile KC2GiantFort
/doevents
/call cast Gate
/delay 10s
/playfile Marana2FM
/doevents
/keypress forward hold
/call Zoner
/playfile FM2Shilur
/doevents
/delay 1s
/target Shilur
/delay 1s
/hail
/delay 2s
/call cast Gate
/delay 10s
/echo Finished Giant Expedition.
/return
Sub ScaryCaves
/echo Starting Scary Caves
/playfile marana2kc
/doevents
/keypress forward hold
/call zoner
/playfile kcsetup
/doevents
/playfile kcscarycaves
/doevents
/keypress forward hold
/call Zoner
/playfile KC2ScaryCaves
/doevents
/call cast Gate
/delay 10s
/playfile Marana2FM
/doevents
/keypress forward hold
/call Zoner
/playfile FM2Shilur
/doevents
/delay 1s
/target Shilur
/delay 1s
/hail
/delay 2s
/call cast Gate
/delay 10s
/echo Finished Scary Caves.
/return
Rich (BB code):
| Advanced Taskmaster
| Author: Alatyami, The Calendar Guy @ RedGuides.com
| Thanks to the authors of AdvPath.
| Last Modified: December 5, 2005a
| Usage: /mac advtask
#turbo 10
#include advpath.inc
#include SpellCast.inc
#event PlayFile "[MQ2] playfile #1#"
#Event Zoned "You have entered#*#"
#Event YouDied "You have been slain by#*#"
sub ReleaseNotes
sub ReleaseNotes
/echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/echo Mod Notes [12/5/2005a]: Alatyami
/echo * Fixed the Zone check.
/echo * Since Dov's can'd do events, fixed /dovevents
/echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/return
/return
sub Main
/call ReleaseNotes
|- ADVTASK.mac Variables ------------------------------------------------------|
/declare TaskPhrase string outer Might you have some tasks?
/declare TaskNPC string Marana
/declare TaskZone string Dreadlands
/declare CurrentTask1 string outer
/declare CurrentTask2 string outer
/declare CurrentTask3 string outer
/declare TaskSetting int outer 0
/declare ValidTask string outer
/ini "AdvTask.ini" "${Zone}" "${MyTasks}"
|- ADVPATH.inc Variables ------------------------------------------------------|
/call InitAPFVars 1 15 20
/squelch /alias /startrec /echo record
/squelch /alias /stoprec /echo stop
/squelch /alias /playfile /echo playfile
|- ZONER Variables ------------------------------------------------------------|
/declare Zn int outer
|- Ask the Taskmaster for a new task
:asktaskmaster
/if (${Zone.ShortName.NotEqual[${TaskZone}]}) {
/echo ERROR: You must be in ${TaskZone} to start this macro!
/end
}
/call AdvPathPoll
/delay 5
/doevents flush
/varset TaskSetting 0
/call GMCheck
/target ${TaskNPC}
/say ${TaskPhrase}
/delay 2s
|- Select the task window to set varaibles
/notify TaskSelectWnd TaskList leftmouseup
/varset CurrentTask1 ${Window[TaskSelectWnd].Child[TaskList].List[1]}
/varset CurrentTask2 ${Window[TaskSelectWnd].Child[TaskList].List[2]}
/varset CurrentTask3 ${Window[TaskSelectWnd].Child[TaskList].List[3]}
/if (${TaskSetting}==0) {
|- Check the first available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask1}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask1}]}
/varset TaskSetting ${Ini[AdvTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[1]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[1,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask1}
/call LoadTask
}
/delay 1s
}
/if (${TaskSetting}==0) {
|- Check the Second available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask2}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask2}]}
/varset TaskSetting ${Ini[AdvTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[2]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[2,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask2}
/call LoadTask
}
/delay 1s
}
/if (${TaskSetting}==0) {
|- Check the third available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask3}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask3}]}
/varset TaskSetting ${Ini[AdvTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[3]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[3,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask3}
/call LoadTask
}
/delay 1s
}
/notify TaskSelectWnd DeclineButton leftmouseup
/delay 9s
/goto :asktaskmaster
/exit
/return
sub Event_PlayFile(string Line, string PathFile)
/call PlayFunction "${PathFile} 1 nf nopp noz"
/call WaitTilThere
/return
sub WaitTilThere
:LoopTilThere
/if (${PathingFlag}==1) {
/call AdvPathPoll
/delay 1
/doevents
/goto :LoopTilThere
}
/return
sub LoadTask
/echo Loading: ${ValidTask}
/if (${ValidTask.Equal[Lookout Below]}) /call LookoutBelow
/if (${ValidTask.Equal[Mystic Ring]}) /call MysticRing
/if (${ValidTask.Equal[Giant Expedition]}) /call GiantExpedition
/if (${ValidTask.Equal[Scary Caves]}) /call ScaryCaves
/return
sub Zoner
/delay 60
:stillzoning
/doevents
/if (${Zn}!=1) /goto :stillzoning
/varset Zn 0
/delay 5s
/return
sub Event_Zoned
/call GMCheck
/varset Zn 1
/return
sub GMCheck
/if (${Bool[${Spawn[gm].ID}]}) {
/echo A GM or Guide has been detected. Waiting for five minutes to check again ...
/delay 300s
/call GMCheck
}
/return
Sub Event_YouDied
/echo You died at ${Time}, ending macro.
/end
/return
Sub LookoutBelow
|BuffCheck: get SoW and SuperCamo
/echo Starting Lookout Below
/playfile Marana2KC
/doevents
/keypress forward hold
/call zoner
/playfile KCSetup
/doevents
/playfile KCLookoutBelow
/doevents
/keypress forward hold
/call Zoner
/playfile KC2Teleport
/doevents
/playfile teleport2bridge
/doevents
/playfile Tunnel2FV
/doevents
/keypress forward hold
/call Zoner
/playfile FV2Telligron
/doevents
/delay 1s
/target Telligron
/doevents
/delay 1s
/hail
/delay 2s
/playfile Telligron2DL
/doevents
/keypress forward hold
/call zoner
/playfile DL2Marana
/delay 5s
/echo Finished Lookout Below.
/return
Sub MysticRing
|BuffCheck: get SoW and SuperCamo
/echo Starting Mystic Ring
/playfile marana2kc
/doevents
/keypress forward hold
/call zoner
/playfile kcsetup
/doevents
/playfile kcmysticring
/doevents
/keypress forward hold
/call Zoner
/playfile KC2druidring
/doevents
/playfile DruidRings2Bridge
/doevents
/playfile Tunnel2FV
/doevents
/keypress forward hold
/call Zoner
/playfile FV2socaldoor
/doevents
/delay 1s
/target Socaldoor
/delay 1s
/hail
/delay 2s
/playfile Socaldoor2DL
/keypress forward hold
/call zoner
/playfile DL2Marana
/delay 5s
/echo Finished Mystic Ring.
/return
Sub GiantExpedition
|BuffCheck: get SoW and SuperCamo
/echo Starting Giant Expedition
/playfile marana2kc
/doevents
/keypress forward hold
/call zoner
/playfile kcsetup
/doevents
/playfile kcgiantexp
/doevents
/keypress forward hold
/call Zoner
/playfile KC2GiantFort
/doevents
/playfile GiantFort2FM
/doevents
/keypress forward hold
/call Zoner
/playfile FM2Shilur
/doevents
/delay 1s
/target Shilur
/delay 1s
/hail
/delay 2s
/playfile shilur2dl
/keypress forward hold
/call zoner
/playfile FM2Marana
/doevents
/delay 5s
/echo Finished Giant Expedition.
/return
Sub ScaryCaves
|BuffCheck: get SoW and SuperCamo
/echo Starting Scary Caves
/playfile marana2kc
/doevents
/keypress forward hold
/call zoner
/playfile kcsetup
/doevents
/playfile kcscarycaves
/doevents
/keypress forward hold
/call Zoner
/playfile KC2ScaryCaves
/doevents
/playfile ScaryCaves2FM
/doevents
/keypress forward hold
/call Zoner
/playfile FM2Shilur
/doevents
/delay 1s
/target Shilur
/delay 1s
/hail
/delay 2s
/playfile shilur2dl
/keypress forward hold
/call zoner
/playfile FM2Marana
/doevents
/delay 5s
/echo Finished Scary Caves.
/return
AdvTaskWarp.mac
Rich (BB code):
|----------------------------- AUTOTASKWARP.MAC -------------------------------|
|- AUTOTASK, By Alatyami, ReGuides.com - modified by Raistlin8989
|- Special thanks to ASSWEASEL on the zoning and window focusing and on most of
|- the locs for the tasks. A thanks to laffertyb for the last three tasks listed
|- which are for levels 57 - 62
|- Last Modified: November 28, 2005, Alatyami
|- Usage: /mac autotask
|- Requirements: AutoTask.ini, /warp & /zone plugin
|------------------------------------------------------------------------------|
#turbo 10
#Event Zoned "You have entered#*#"
#Event YouDied "You have been slain by#*#"
sub ReleaseNotes
/echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/echo Mod Notes [11/28/2005]: Alatyami
/echo * Added custom start location.
/echo * Added a Zone check before requesting a new task.
/echo * Added Variables for TaskZone and the TaskGiver
/echo * Added Custom TaskRequest saying.
/echo * Added Death handling.
/echo * Added AdvTaskWarp to the AdvTask series.
/echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/return
sub main
/call ReleaseNotes
|~ Which Zone is your taskmaster?
/declare TaskZone string outer Dreadlands
|~ Custom task request saying.
/declare TaskRequest string outer Can I have a task?
|~ Custom TaskMaster
/declare TaskGiver string outer Marana
/declare MyStartLoc string outer ${Me.Y} ${Me.X} ${Me.Z}
/ini "AdvTask.ini" "${Zone}" "${MyTasks}"
/declare CurrentTask1 string outer
/declare CurrentTask2 string outer
/declare CurrentTask3 string outer
/declare TaskSetting int outer 0
/declare ValidTask string outer
/declare Zn int outer
/echo Task Zone: ${TaskZone}
/echo Task Giver: ${TaskGiver}
/echo Task Request Phrase: ${TaskRequest}
/echo Start Location: ${Me.Y} ${Me.X} ${Me.Z}
/echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:asktaskmaster
/if (${Zone.ShortName.NotEqual[${TaskZone}]}) {
/echo ERROR: You must be in ${TaskZone} to start this macro!
/end
}
/varset TaskSetting 0
/call GMCheck
/warp loc ${MyStartLoc}
/delay 2s
/target ${TaskGiver}
/face
/delay 2s
/say ${TaskRequest}
/delay 2s
|- Select the task window to set varaibles
/notify TaskSelectWnd TaskList leftmouseup
/varset CurrentTask1 ${Window[TaskSelectWnd].Child[TaskList].List[1]}
/varset CurrentTask2 ${Window[TaskSelectWnd].Child[TaskList].List[2]}
/varset CurrentTask3 ${Window[TaskSelectWnd].Child[TaskList].List[3]}
/if (${TaskSetting}==0) {
|- Check the first available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask1}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask1}]}
/varset TaskSetting ${Ini[AutoTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[1]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[1,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask1}
/call LoadTask
}
/delay 5
}
/if (${TaskSetting}==0) {
|- Check the Second available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask2}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask2}]}
/varset TaskSetting ${Ini[AutoTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[2]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[2,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask2}
/call LoadTask
}
/delay 5
}
/if (${TaskSetting}==0) {
|- Check the third available task listselect
/notify TaskSelectWnd TaskList listselect ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask3}]}
/notify TaskSelectWnd TaskList leftmouse ${Window[TaskSelectWnd].Child[TaskList].List[=${CurrentTask3}]}
/varset TaskSetting ${Ini[AutoTask.ini,${Zone},${Window[TaskSelectWnd].Child[TaskList].List[3]},${notFound}]}
/echo INI Check: ${Window[TaskSelectWnd].Child[TaskList].List[3,1]} = ${TaskSetting}
/delay 1s
/if (${TaskSetting}==1) {
/notify TaskSelectWnd AcceptButton leftmouseup
/varset ValidTask ${CurrentTask3}
/call LoadTask
}
/delay 5
}
/notify TaskSelectWnd DeclineButton leftmouseup
/varset CurrentTask1
/varset CurrentTask2
/varset CurrentTask3
/varset ValidTask
/delay 10s
/goto :asktaskmaster
/return
sub LoadTask
/echo Loading: ${ValidTask}
|-- Go Invis --|
/target ${Me.Name}
/keypress u
/delay 6s
/if (${ValidTask.Equal[Giant Expedition]}) /call Event_Task1
/if (${ValidTask.Equal[Lookout Below]}) /call Event_Task2
/if (${ValidTask.Equal[Mystic Ring]}) /call Event_Task3
/if (${ValidTask.Equal[Poor Old Tree]}) /call Event_Task4
/if (${ValidTask.Equal[One Dead Tree]}) /call Event_Task5
/if (${ValidTask.Equal[Ruins Everywhere]}) /call Event_Task6
/if (${ValidTask.Equal[Don't Drink That...]}) /call Event_Task7
/if (${ValidTask.Equal[Jailing the Dead]}) /call Event_Task8
/if (${ValidTask.Equal[What Place is This?]}) /call Event_Task9
/if (${ValidTask.Equal[It's Murky in There]}) /call Event_Task10
/if (${ValidTask.Equal[Scary Caves]}) /call Event_Task11
/if (${ValidTask.Equal[Big Holes Everywhere]}) /call Event_Task12
/if (${ValidTask.Equal[Hey, Watch Out Over There]}) /call Event_Task13
/if (${ValidTask.Equal[Lands of Dread]}) /call Event_Task14
/if (${ValidTask.Equal[To the Castle!]}) /call Event_Task15
/if (${ValidTask.Equal[Dreaded Giants]}) /call Event_Task16
/if (${ValidTask.Equal[Bridge and Beyond]}) /call Event_Task17
/echo Checking for GM's
/who all gm
/delay 1s
/echo Checking for PC's
/who
/delay 1s
/return
sub Zoner
/delay 60
:loop
/delay 5
/doevents
/if (${Zn}!=1) /goto :loop
/varset Zn 0
/delay 5
/return
sub Event_Zoned
/call GMCheck
/varset Zn 1
/return
sub GMCheck
/if (${Bool[${Spawn[gm].ID}]}) {
/echo A GM or Guide has been detected. Waiting for five minutes to check again ...
/delay 300s
/call GMCheck
}
/return
Sub Event_YouDied
/echo You died at ${Time}, ending macro.
/end
/return
|- SubFunctions containing task details ---------------------------------------|
|---------------------------------------------------------------------------------|
|--------------------------Giant Expedition----------------------------|
Sub Event_Task1
/doevents flush
/zone karnor
/call Zoner
/warp loc 170.49, -261.95, 46.00
/Delay 20
/zone dreadlands
/call Zoner
/warp loc -430, 1970, 325
/Delay 20
/zone frontiermtns
/call Zoner
/Target npc Shilur
/notify BuffWindow Buff${Math.Calc[${Me.Buff[Invisibility].ID}-1].Int} leftmouseup
/Hail
/target ${Me.Name}
/keypress u
/Delay 10s
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|--------------------------Lookout Below------------------------------|
Sub Event_Task2
/doevents flush
/zone karnor
/call Zoner
/warp loc 119.52 -32.67 32.19
/Delay 20
/zone dreadlands
/call Zoner
/warp loc 3069 9659 1047
/Delay 20
/zone firiona
/call Zoner
/Target npc Telligron
/notify BuffWindow Buff${Math.Calc[${Me.Buff[Invisibility].ID}-1].Int} leftmouseup
/Hail
/target ${Me.Name}
/keypress u
/Delay 10s
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|------------------------------Mystic Ring--------------------------------|
Sub Event_Task3
/doevents flush
/zone karnor
/call Zoner
/warp loc 108.11, -446.86, 2.75
/Delay 20
/zone dreadlands
/call Zoner
/warp loc 2480.67, 7751.34, 1049.22
/Delay 20
/zone Firiona
/call Zoner
/Target npc Socaldoor
/notify BuffWindow Buff${Math.Calc[${Me.Buff[Invisibility].ID}-1].Int} leftmouseup
/Hail
/target ${Me.Name}
/keypress u
/Delay 10s
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|-------------------------------Poor Tree----------------------------------|
Sub Event_Task4
/doevents flush
/zone Firiona
/call Zoner
/zone lakeofillomen
/call Zoner
/zone veksar
/call Zoner
/warp loc 113.79, 586.20, -26.25
/Delay 20
/zone lakeofillomen
/call Zoner
/warp loc -2547.02, 5022.31, 228.44
/Delay 20
/zone warslikswood
/call Zoner
/Target npc Juikull
/Delay 20
/zone lakeofillomen
/call Zoner
/zone Firiona
/call Zoner
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|----------------------------One Dead Tree-----------------------------|
Sub Event_Task5
/doevents flush
/zone Firiona
/call Zoner
/zone lakeofillomen
/call Zoner
/zone veksar
/call Zoner
/warp loc -340.70, 44.00, -26.25
/Delay 20
/zone lakeofillomen
/warp loc -3419.66, 592.44, 109.26
/Delay 20
/zone frontiermtn
/call Zoner
/Target npc Aurueen
/Delay 20
/Hail
/zone burningwood
/call Zoner
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|--------------------------Ruins Everywhere-------------------------|
Sub Event_Task6
/doevents flush
/zone Firiona
/call zoner
/zone lakeofillomen
/call zoner
/zone veksar
/call zoner
/warp loc -132.57, 427.11, -7.25
/Delay 20
/zone lakeofillomen
/call zoner
/warp loc 3308.81, -1766.17, 76.00
/Delay 20
/zone Firiona
/Target npc Syelissa
/Hail
/zone dreadlands
/call zoner
/return
|---------------------------------------------------------------------------------|
|--------------------------Don't Drink That----------------------------|
Sub Event_Task7
/doevents flush
/zone firiona
/call zoner
/zone swampofnohope
/call zoner
/zone trakanon
/call zoner
/zone sebilis
/call zoner
/warp loc -725 660 -69
/Delay 20
/zone trakanon
/call zoner
/warp loc -1671 -4765 -474
/Delay 20
/zone swampofnohope
/call zoner
/target npc Muirkiaz
/Delay 20
/hail
/zone firiona
/call zoner
/zone dreadlands
/call zoner
/return
|---------------------------------------------------------------------------------|
|--------------------------Jailing The Dead---------------------------|
Sub Event_Task8
/doevents flush
/zone firiona
/call Zoner
/zone swampofnohope
/call Zoner
/zone trakanon
/call Zoner
/zone sebilis
/call Zoner
/warp loc -422.09 515.63 -49.78
/Delay 20
/zone trakanon
/call Zoner
/warp loc -1757 3653.95 -282.70
/Delay 20
/zone emeraldjungle
/call Zoner
/target npc Gelliza
/Delay 20
/Hail
/delay 1m
/zone trakanon
/call Zoner
/zone swampofnohope
/call Zoner
/zone firiona
/call Zoner
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|------------------------What Place is This?-------------------------|
Sub Event_Task9
/doevents flush
/zone frontiermtns
/call Zoner
/zone lakeofillomen
/call Zoner
/zone veksar
/call Zoner
/warp loc -137.96 -545.09 -27.81
/delay 30
/zone lakeofillomen
/call Zoner
/warp loc 5526.5 -5285.08 33.19
/Delay 20
/zone warslikswood
/call Zoner
/target npc Juikull
/Delay 20
/say Hail
/zone lakeofillomen
/call Zoner
/zone frontiermtns
/call Zoner
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|--------------------------It's Murky in There------------------------|
Sub Event_Task10
/doevents flush
/zone firiona
/call Zoner
/zone swampofnohope
/call Zoner
/zone trakanon
/call Zoner
/zone sebilis
/call Zoner
/warp loc -283.57 -8.92 -32.25
/Delay 20
/zone trakanon
/call Zoner
/warp loc 2065.13 4418.97 -348.23
/Delay 20
/zone swampofnohope
/call Zoner
/Target npc gkoroza
/hail
/Delay 20
/zone
/return
|---------------------------------------------------------------------------------|
|-----------------------------Scary Caves-------------------------------|
Sub Event_Task11
/doevents flush
/zone karnor
/call Zoner
/warp loc -48.92 -277.16 2.19
/Delay 20
/zone dreadlands
/call Zoner
/warp loc -2514 3498 712
/Delay 20
/zone frontiermtns
/call Zoner
/Target npc Shilur
/notify BuffWindow Buff${Math.Calc[${Me.Buff[Invisibility].ID}-1].Int} leftmouseup
/Hail
/target ${Me.Name}
/keypress u
/Delay 10s
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|----------------------Big Holes Everywhere-----------------------|
Sub Event_Task12
/doevents flush
/zone burningwood
/call Zoner
/warp loc -324.42 2201.61 -492.53
/Delay 20
/zone skyfire
/call Zoner
/warp loc 2365.41 3735.16 -129.87
/Delay 20
/zone burningwood
/call Zoner
/zone dreadlands
/call Zoner
/Target npc korriz
/hail
/Delay 20
/return
|---------------------------------------------------------------------------------|
|-----------------------Hey, Watch Out Over There-------------|
Sub Event_Task13
/doevents flush
/zone frontiermtns
/call Zoner
/zone lakeofillomen
/call Zoner
/warp loc -1237 2341 295.97
/Delay 20
/zone frontiermtns
/call Zoner
/warp loc 4482 1350 372
/Delay 20
/zone lakeofillomen
/call Zoner
/Target npc Malkez
/hail
/delay 20
/zone firiona
/call Zoner
/zone dreadlands
/call zoner
/return
|---------------------------------------------------------------------------------|
|-----------------------Lands of Dread-------------|
Sub Event_Task14
/doevents flush
/zone karnor
/call Zoner
/warp loc -75.20 -593.49 15.88
/Delay 20
/zone dreadlands
/call Zoner
/warp loc -1556.41 -4869.58 56.29
/Delay 20
/zone frontiermtns
/call Zoner
/warp loc -278.86 -1526.50 -128.28
/Target npc dagor
/hail
/Delay 20
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|-----------------------To the Castle!-------------|
Sub Event_Task15
/doevents flush
/zone karnor
/call Zoner
/warp loc -148.00 -192.88 43.85
/Delay 20
/zone dreadlands
/call Zoner
/warp loc -454.49 3458.92 385.57
/Delay 20
/zone firiona
/call Zoner
/warp loc 1860.06 78.18 -4.56
/Target npc jith
/hail
/Delay 20
/zone dreadlands
/call Zoner
/return
|---------------------------------------------------------------------------------|
|-----------------------Dreaded Giants-------------|
Sub Event_Task16
/doevents flush
/zone karnor
/call Zoner
/warp loc 190.34 -216.08 43.85
/Delay 20
/zone dreadlands
/call Zoner
/warp loc 1817.81 941.19 92.76
/Delay 20
/zone firiona
/call Zoner
/warp loc 1328.20 3304.93 189.44
/Target npc Telli
/hail
/Delay 20
/zone dreadlands
/call Zoner
/return
AdvTask.ini
Rich (BB code):
[The Dreadlands]
Giant Expedition=1
Scary Caves=1
Poor Old Tree=1
Lookout Below=1
Mystic Ring=1
One Dead Tree=0
Ruins Everywhere=0
It's Murky in There=0
What Place is This?=0
Don't Drink That...=0
Jailing the Dead=0
Lands of Dread=0
To the Castle!=0
Dreaded Giants=0
Big Holes Everywhere=0
Hey, Watch Out Over There=0
NULL=
Last edited:




