Vet macro

Topics related to Second Age
Post Reply
Groucho
Posts: 464
Joined: Sun Apr 03, 2011 7:48 pm

Vet macro

Post by Groucho »

Problem:
trying to minimize the time between each use of a bandage on 2 polar bear fighting together, i tried to put the interval at 5.5 seconds. what happen is that i fall often on a "That being is not damaged", what cause the macro to use the pause of 5.5 seconds, this even i could probably go to the next step, so healing the next damaged bear without to have to wait on the first not damaged.

Macro is set that way:
double clic bandages
wait for target (set to 1 second)
target first bear
pause of 5.5 seconds

double clic bandages
wait for target (set to 1 second)
target second bear
pause of 5.5 seconds
what i loop, of course.

question:
How do i add a pause of, for example 0.1 second, to make the macro not to wait the indicated pause of 5.5 seconds in my macro, and to go heal the next bear who is damaged, instead of stupidly waiting like it was vet'ing as it is not?

is there a way to ask razor to go immediatly to the next pet to vet it instead of waiting? i tried the sysmessage to make it use a smaller pause, but it keep waiting instead of using something else (in this case, a pause of 0.1 second).

What i tried to have a pause of 0.1 seconds if being is not damage looks like this, but it seems not to really work, i do not know why, tell me waht could be wrong in it:
double clic bandage
wait for target (set to 1 second)
target first bear
if sysmessage not damaged
pause 0.1 seconds
else
pause of 5.5 seconds
endif

double clic bandage
wait for target (set to 1 second)
target second bear
if sysmessage not damaged
pause 0.1 seconds
else
pause of 5.5 seconds
endif
it is with that one that i do not understand. when the message that the being is not damaged appear, it goes to the pause of 5.5 seconds instead of making the one of 0.1 seconds, like if the IF was not here, the macro to check. I must be missing some knowledge.

vet is already hyper slow to raise. ^^
Last edited by Groucho on Sun Dec 29, 2013 2:52 am, edited 2 times in total.
Image

UsualSuspect
Posts: 415
Joined: Sat Feb 18, 2012 10:24 pm

Re: Vet macro

Post by UsualSuspect »

you could do if conditional sys message that is not being damaged

Groucho
Posts: 464
Joined: Sun Apr 03, 2011 7:48 pm

Re: Vet macro

Post by Groucho »

UsualSuspect wrote:you could do if conditional sys message that is not being damaged
the if message i was talking above is a if conditional message. :) i tried.... the macro seems just not to consider it and make only the else part... :/
Image

User avatar
Aeris
UOSA Subscriber!
UOSA Subscriber!
Posts: 663
Joined: Mon Mar 04, 2013 4:28 pm

Re: Vet macro

Post by Aeris »

You could try adding 100 or 500 pause after the target... there is a chance that the sysmessage hasn't registered with razor before the check.

Also, I've always used single worded sysmessage checks. I don't remember why, could have just been a bad dream I had, or that it actually once wasn't working for me with multiple words. Perhaps just try "if sysmessage damaged" but I'm sure someone will come and confirm that a string of words works in sysmessage as well.
Taboo wrote:News flash, you are weak as fuck and can do nothing to detour me.

You have a cat dancing around mixing a record on your signature. Shut the fuck up farnk.

/next

Groucho
Posts: 464
Joined: Sun Apr 03, 2011 7:48 pm

Re: Vet macro

Post by Groucho »

Seems to work better, at least for the firsts conditions it works ^^. tnx :mrgreen: !
Image

Missy B
Posts: 424
Joined: Sun Feb 19, 2012 2:19 am

Re: Vet macro

Post by Missy B »

ok, ive thought about this a little and i think if you set up 2 macros and have them loop around, it would fix this problem. one macro will be for the first animal and the second macro for the second animal.

macro 1

double click bandages
target animal 1
if system message "not damaged"
play macro 2
else
wait (whatever amount of seconds)
play macro 2
end if


macro2

double click bandages
target animal 2
if system message "not damaged"
play macro 1
else
wait (whatever amount of seconds)
play macro 1
end if
Image

Post Reply