Page 1 of 1

Crashing while twisting

Posted: Sun Oct 27, 2002 10:13 pm
by Greyhare
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

Posted: Sun Oct 27, 2002 10:30 pm
by Lurker_005
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

Posted: Sun Oct 27, 2002 10:36 pm
by Greyhare
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.

This may work still not sure.

Posted: Mon Oct 28, 2002 9:52 am
by Ariain

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.

Near Death

Posted: Mon Oct 28, 2002 12:35 pm
by eqaddict
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

Posted: Mon Oct 28, 2002 2:25 pm
by Bonkey
I have a twisting macro, and it doesnt crash. I'll post it when I get home tonight.

...

Posted: Thu Oct 31, 2002 5:51 pm
by Phantal
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