Batwing Quest (and question for Devs)

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Batwing Quest (and question for Devs)

Post by JGC84 » Tue Mar 23, 2004 9:10 am

before i get to my accutal macro that i could use some help on i have a quick question:

i wrote a macro script that pretty much does that batwing quest for you, if your a teleporting class. (afk macro oh no!!1!!1!) can i post the code for the whole macro (minus the movment ini) w/o getting banned for posting afk macro, all its for is fixing faction, no profit can be made of the quest, and by the tiem your high enough level to have the pok port spell the batwing quest is 0 experence.

now on to what i need help:

for some reason, when the macro ports me to pok, doesnt move me from the port in spot, but if i start the macro from that same spot, it works just fine.. which is wierd 'cause it should be the same script.

Code: Select all

#Event PoK "You have entered The Plane of Knowledge."
.....
Sub Main 
  /doevents PoK
  :MainLoop
    /doevents 
    /delay 1
  /goto :MainLoop 
/return 
....
Sub Event_PoK
  /delay 5s
  /call PlayFunction "PoKToVendor 1 cf nopp noz" 
  /call WaitTilThere
  /target Darius
  /face
  /click right target
  /delay 3s
  /call buyitems "Bat Wing" 200
  /delay 3s
  /sendkey down s
  /delay 1s
  /sendkey up s
  /delay 1s
  /echo Gating Now
  /call Cast "Gate"
/return
edit: 'cause i made no sence the first time
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Post by JGC84 » Thu Mar 25, 2004 8:25 am

no ideas? :(
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.

MrSmallie
a hill giant
a hill giant
Posts: 167
Joined: Fri Oct 11, 2002 11:18 am

Post by MrSmallie » Thu Mar 25, 2004 1:30 pm

Without seeing the code you have after you cast your port to PoK, it looks fine. Add in an /echo at the beginning of the PoK Sub to see if it's triggering?
Me
[img]http://home.comcast.net/~mrsmallie/ches.JPG[/img]

gameboy
a lesser mummy
a lesser mummy
Posts: 64
Joined: Fri Nov 08, 2002 12:28 pm

Post by gameboy » Thu Mar 25, 2004 1:47 pm

Code: Select all

#Event PoK "You have entered The Plane of Knowledge." 
I believe should be

Code: Select all

#Event PoK "You have entered Plane of Knowledge." 

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Post by JGC84 » Thu Mar 25, 2004 2:25 pm

already checked that gameboy, its correct as is, thank you though.

and mrsmallie, i checked it, its firing its just not moving me for some reason, i'm using, advpath.inc from snippits: http://macroquest2.com/phpBB2/viewtopic.php?t=5086

rather annoying that this doesnt work :(
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Thu Mar 25, 2004 2:31 pm

Its impossible to know how you recorded your pathfile but try changing this:

Code: Select all

/call PlayFunction "PoKToVendor 1 cf nopp noz"
To this:

Code: Select all

/call PlayFunction "PoKToVendor 1 cr nopp noz"
or this:

Code: Select all

/call PlayFunction "PoKToVendor 1 f nopp noz"
or finally this:

Code: Select all

/call PlayFunction "PoKToVendor 1 r nopp noz"
I've had similar questions regarding this in the past and it was usually the fact that they had recorded the path in the opposite direction. If you choose to playback a pathfile with "cf" (which means closest point to you, then forward) and you are already at the destination or very close to the destination it would simply stop.

But just in case you actually recorded it in the proper direction you can try to remove the "closest" part and see if it helps. I.E. "f" or "r" depending on the direction.

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Post by JGC84 » Thu Mar 25, 2004 3:05 pm

thanks ml i'll give that a try later :)
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.