rogue.mac - AutoRogue v. 2.0j *New Parm Rdy* (4/25/2004)

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

ucfusion
orc pawn
orc pawn
Posts: 24
Joined: Mon Mar 15, 2004 2:14 am

Post by ucfusion » Mon Apr 19, 2004 2:24 pm

works very well for me cunning. I dont know what the collision code is supposed to do though... If the mobs back goes into the wall I still run into the wall just i pause for a second or two before i continue running...

Overall 2.0e works well for me... Hopefully version 3.0 will see that straffe code included if it works well enough.

Cunning
a lesser mummy
a lesser mummy
Posts: 61
Joined: Tue Mar 23, 2004 4:42 pm

Post by Cunning » Mon Apr 19, 2004 4:27 pm

2.0f is out. I added GM detection and did some more housecleaning. Tested and working 100%. Now that it's stable I'm going to fix the wall bug on getbehind. I've got some neat ideas for it.

Spanky_Monkey
a ghoul
a ghoul
Posts: 103
Joined: Wed Feb 19, 2003 3:10 pm

request

Post by Spanky_Monkey » Mon Apr 19, 2004 5:48 pm

Could we have a check for a mob gating and a radius or distance check? I don't wanna be running around BoT chasing the gate mobs cause my stupid cleric or chanter didn't stun.

Mob_01 gates.
/delay 1s
get distance to mob.
if distance > @chaserange return to anchor and wait for tank to pick up a new target

Just a thought, chasing mobs half way across a zone could cause some nasty problems, like dying :P

Spanky

Cunning
a lesser mummy
a lesser mummy
Posts: 61
Joined: Tue Mar 23, 2004 4:42 pm

Post by Cunning » Mon Apr 19, 2004 6:25 pm

That's a good idea. I will add it to my list of things to add this week. I'm thinking it'll use a event for mob gated like:

Code: Select all

#Event MobGated "gates."
and a event sub that pauses movement/attack until after the mob is in range or :

Code: Select all

Sub Event_MobGated
    /declare mobhpcur local
    /varset mobhpcur $target(hp,cur)
    
    /keypress forward | stop moving forward
    /attack off
    /target $char(name,clean)
    /call SneakHide | free evade, and I won't catch agro if I get popped on

:gatedoutofrange        
    /if (n $target(distance)>$calc($target(maxrange)*3) || $target==NULL) {
        /delay 4 | wait some time interval
        /if n @mobhpcur>$target(hp,cur) /return
        /goto :gatedoutofrange
    }
/return 
Something like that...don't assume I'm going to use that code above, just typing out an idea...I need to factor in the possibility of getting summoned (and when I incorporate the above code in it will do that). Hopefully this will help anyone who needs this functionality get started until I can pop the new code out.

Omiime
a ghoul
a ghoul
Posts: 92
Joined: Tue Mar 30, 2004 9:53 pm

Post by Omiime » Tue Apr 20, 2004 11:04 am

nice script. was using it for 14hours in EF adv's.

how do I make it so the rogue doesn't look up all the time?
or is that something you have to live with?

need to add something, that if npc is in wall, stop trying to go behind him, for while then check again. Otherwise the rogue will just run into wall for hour.



Randomly the rogue would decide to make a train. He'd run away. come back with 5-6 npc's :) Think this has to do with trying to get behind npc (who is in wall)


Sub Event_Zonechange
/keypress up
/endmacro
/return

Doesn't work. When autoported out of adv. Rogue ran off for miles :)
Didn't stop when I succorred either.

Sub Event_Enraged
/varset attacktarget 0
/attack off
/return


Didn't seem to work either. when named npc in EF adv enraged. rogue didn't stop.


wroks pretty good tho. nice job. some of the problems I've noticed are probly related to the zones I was in. Not alot room in those places.

Cunning
a lesser mummy
a lesser mummy
Posts: 61
Joined: Tue Mar 23, 2004 4:42 pm

Post by Cunning » Wed Apr 21, 2004 1:10 am

If you don't want the pitch to change (the "looking up" effect) you can add a nolook parameter to the /face calls. Instead of:

Code: Select all

/face fast
Try:

Code: Select all

/face nolook fast
The getbehind and walls bug is a known issue and it is being worked on I promise =).

As far as the enrage problem, I can't reproduce it. I tested it tonight and my attack went off fine. It's possible that I missed it in some loop. I'd need to see a copy of your custom.inc as well as a description of your character's behavior when the enraged event should have fired.

The zone event endmacro is a puzzle. I'm working on it and will try to get working in the next version.

Thanks for your input.

Omiime
a ghoul
a ghoul
Posts: 92
Joined: Tue Mar 30, 2004 9:53 pm

Post by Omiime » Wed Apr 21, 2004 3:03 am

Cunning wrote:
As far as the enrage problem, I can't reproduce it. I tested it tonight and my attack went off fine. It's possible that I missed it in some loop. I'd need to see a copy of your custom.inc as well as a description of your character's behavior when the enraged event should have fired.

The zone event endmacro is a puzzle. I'm working on it and will try to get working in the next version.

Thanks for your input.
would lag have anything do with it?

I like your macro. need to take it merge it with bard one I was trying.

think rzmonk wrote it. it works ok, but bard never hits the npc cause he runs all aroundthe place. :)


/varset sneakhide 0
/varset engagedistance 200
/varset doabilityhide 0
/varset usespecial 0
/varset discactive 0
/varset nimblepct 35
/varset escapepct 0
/varset healpausepct 70
/varset attackdiscpct $calc(@assisthealth-10)
/varset regenend 0
/varset regenendpct 20
/varset maxendurance 5900
/varset strikedisc "Assass"
/varset hiderefresh 75
/varset followdistance 10

dirx
orc pawn
orc pawn
Posts: 21
Joined: Fri Dec 05, 2003 1:00 am
Location: orlando

Best Thing Ever

Post by dirx » Wed Apr 21, 2004 10:44 am

Cunning,

First of all I just wanted to say that this script is the best thing ever. I love the new Disc additions especially the Assassin's Strike. I was wondering if you will be converting this to the new MQData system. Just curious about the ETA so I dont keep checking the thread every 5 mins :) Thanks again for all the work you have put into this script I have been using it for a long time and I was sick of constantly facing the assist tank ( Im sure he was sick of it too :)

Thanks,

Dirx

Epsilon
a lesser mummy
a lesser mummy
Posts: 61
Joined: Wed Apr 30, 2003 5:46 pm

Post by Epsilon » Wed Apr 21, 2004 11:29 am

very well done macro but i miss a toggle for getbehind on or off..is that doable?

Cunning
a lesser mummy
a lesser mummy
Posts: 61
Joined: Tue Mar 23, 2004 4:42 pm

Post by Cunning » Wed Apr 21, 2004 2:56 pm

Hi folks,

Right now my focus is a solid getbehind function which I will release as part of a new version of AutoRogue in the next few days (I have lots of testing/tweaking to do as well as convert code to the new mq2data schema). I'm also going to make all movement code optional (e.g. getbehind, chase mob etc.) for those of you who just want to play w/o banging 1,2,3.

Again feedback/suggestions/comments/bugreports are always appreciated.

Smitty
orc pawn
orc pawn
Posts: 25
Joined: Sun Dec 21, 2003 8:56 pm

Post by Smitty » Wed Apr 21, 2004 5:25 pm

great script I was enjoying it till today .. now getting an error..

rogue.mac@78 (main):/if n @setanchor==1{

Cleared the following:Timers Arrays
the current macro has ended

(in red)
Usage:/if(<conditions>) <commands>


no idea whats wrong .. using the most curent file from today
Smitty

Midnight
a lesser mummy
a lesser mummy
Posts: 68
Joined: Wed Nov 12, 2003 12:51 pm

Post by Midnight » Wed Apr 21, 2004 5:47 pm

Has nothing to do with the macro. It's right.. the new .zip is having issues with /newif (or /if) with open ended { calls atm. Lax fixing it as we speak

Smitty
orc pawn
orc pawn
Posts: 25
Joined: Sun Dec 21, 2003 8:56 pm

Post by Smitty » Wed Apr 21, 2004 6:08 pm

WEE great thanks!
Smitty

Smitty
orc pawn
orc pawn
Posts: 25
Joined: Sun Dec 21, 2003 8:56 pm

Post by Smitty » Wed Apr 21, 2004 9:10 pm

arg dled the newest file and still has problems with the ifs.. damn

Well guess it will be a night without MQ hehe
Smitty

Tinkoman
orc pawn
orc pawn
Posts: 10
Joined: Tue Apr 06, 2004 12:04 pm

Post by Tinkoman » Thu Apr 22, 2004 12:36 pm

Nice work on this so far.

I was bored, so started the converstion to MQ2Data.. not time to test yet, but will work on that in a couple hours when I get home.

Posting now, so that someone doesn't have to repeat all the effort.

Code: Select all

Removed for Clarity sake
Probably broken due to lack of testing, but a good start, i will update later today.
Last edited by Tinkoman on Fri Apr 23, 2004 2:36 pm, edited 1 time in total.