Crashing while twisting

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

Greyhare
orc pawn
orc pawn
Posts: 10
Joined: Wed Oct 02, 2002 2:50 pm

Crashing while twisting

Post by Greyhare » Sun Oct 27, 2002 10:13 pm

Ok, I am using one of the twisting macros from the depot and if I die or zone while twisting I crash to the desktop everytime. Is it something in the macro or perhaps some other instability that I can fix?


==EDIT to add macro info==

The macro I am using is Twist.mac By Phantal

Lurker_005
a lesser mummy
a lesser mummy
Posts: 51
Joined: Thu Oct 17, 2002 12:08 pm

Post by Lurker_005 » Sun Oct 27, 2002 10:30 pm

Possibly a bad offset still, but I don't know. Another thing is that there is a bug that may cause you to lose all your items when zoning with a macro running (dieing and spawning in another zone too) I highly recommend setting up a social with /macroend and making it 1 of your buttons.

Perhaps put a check in the macro if health < 10% exit

Greyhare
orc pawn
orc pawn
Posts: 10
Joined: Wed Oct 02, 2002 2:50 pm

Post by Greyhare » Sun Oct 27, 2002 10:36 pm

That is exactly what happened, both when I zoned and when I died. I lost everything both on me and in my bank. So I need to be more careful and end a macro if I am going to die.

I will try to add that code, off to do a search to see if I can find something similar that I might be able to modify. If anyone has a suggestion I would appericate it.

Ariain
a ghoul
a ghoul
Posts: 88
Joined: Fri Oct 11, 2002 10:35 am

This may work still not sure.

Post by Ariain » Mon Oct 28, 2002 9:52 am

Code: Select all

|  - Twist.mac -
|  - By Ariain ariain@earthlink.net -
|  Twisting with no delays so it can be run in other macros such as a hunting macro.
|  If you have an requests please email me.


#turbo
#define SONG1 t1
#define SONG2 t2
#define SONG3 t3
#define SONG4 t4

#event MissedNote "You miss a note, bringing your song to a close!" 
#event Stunned "You are unstunned."
#event Cantuse "You can't use that command"
#event Notarget "You must first select a target for this spell"
#event Zoning "LOADING, PLEASE WAIT"

Sub Main
/varcalc v5 $v0+1
/varset v1 $p0 
/varset v2 $p1
/varset v3 $p2
/varset v4 $p3
/varset v0 1
/call Sing1
:Mainloop
/doevents
/doability "sense heading"
/goto :Mainloop

Sub Songstopped
/varset SONG1 50s
/varset SONG2 50s
/varset SONG3 50s
/varset SONG4 50s
/goto :$v0

Sub Sing1
:1.00
/varset v0 1.00
/stop song
/delay 2
/cast $v1
/varset SONG1 50s
/varset SONG2 31
/goto :Mainloop


Sub Sing2
:2.00
/varset v0 2.00
/stop song
/delay 2
/cast $v2
|/click left hotkey 6
|/click left hotkey 8
|/click left hotkey 9
|/click left hotkey 7
/varset SONG2 50s
/varset SONG3 31
/goto :Mainloop


Sub Sing3
:3.00
/varset v0 3.00
/stop song
/delay 2
/cast $v3
|/click left hotkey 7
|/click left hotkey 9
|/click left hotkey 8
|/click left hotkey 6
/varset SONG3 50s
/varset SONG4 31
/goto :Mainloop


Sub Sing4
:4.00
/varset v0 4.00
/stop song
/delay 2
/cast $v4
/varset SONG4 50s
/varset SONG1 31
/goto :Mainloop


Sub Event_Timer

/if n $SONG1==0 /call Sing1
/if n $SONG2==0 /call Sing2
/if n $SONG3==0 /call Sing3
/if n $SONG4==0 /call Sing4
/doevents
/goto :Mainloop

Sub Event_Zoning
/endmacro

Sub Event_Missednote
/call Songstopped


Sub Event_Stunned
/call Songstopped

Sub Event_Cantuse
/call Songstopped

Sub Event_Notarget
/goto :$v5
#event Zoning "LOADING, PLEASE WAIT"

Sub Event_Zoning
/endmacro

Not sure if that will work been to scared to test it after losing my items twice but Ill make a naked char in a bit to test it.

eqaddict
a lesser mummy
a lesser mummy
Posts: 74
Joined: Sun Sep 15, 2002 10:05 pm

Near Death

Post by eqaddict » Mon Oct 28, 2002 12:35 pm

If the zoning pleaze wait .. does not work, then may I suggest a timer that fires every X seconds and ends the macro when your health is below Y%. Obviously X and Y will need to be tweaked for you.

--EqAddict

Bonkey
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sun Oct 27, 2002 9:08 am

Post by Bonkey » Mon Oct 28, 2002 2:25 pm

I have a twisting macro, and it doesnt crash. I'll post it when I get home tonight.

Phantal
orc pawn
orc pawn
Posts: 18
Joined: Tue Aug 13, 2002 7:57 pm

...

Post by Phantal » Thu Oct 31, 2002 5:51 pm

That twist macro i wrote is more for going afk, or for just handling a simple twist while exping or whatnot. I haven't done much in the way of rigorous testing (ie., raid conditions), and especially dying or zoning. I always turn off a macro before I zone.

-Phantal