Brief Guide to Training Stealth (w/Razor Macro)

Playguides written by Staff and Players.
Much more information on specific skills can be found in our T2A wiki.
Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

training stealth with high (90+) hiding.

Code: Select all

Exec: Stealth
Pause 10,20sec
If ( SysMessage "quietly" )
Else
Exec: Hiding
Pause 10,00sec
End If

Code: Select all

!Loop
Assistant.Macros.HotKeyAction|1044107|
Assistant.Macros.PauseAction|00:00:10.2000000
Assistant.Macros.IfAction|4|0|quietly
Assistant.Macros.ElseAction
Assistant.Macros.HotKeyAction|1044081|
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndIfAction
Last edited by Althathwe on Wed Feb 23, 2011 10:25 am, edited 1 time in total.
I don't know much English.

User avatar
Malaikat
Posts: 4533
Joined: Thu Dec 30, 2010 10:32 am

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Malaikat »

You have an unnecessary "else" statement in there.
Save yourself the shame and embarrassment and just assume that if you can't understand me...you're the one who's retarded.
Budner wrote:Your sig lets everyone know what an arrogant prick you are.

Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

Malaikat wrote:You have an unnecessary "else" statement in there.
Nope.
I don't know much English.

User avatar
Malaikat
Posts: 4533
Joined: Thu Dec 30, 2010 10:32 am

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Malaikat »

Uh. Yep.

Else is a conditional statement. You have no condition...just read it in a literal, English translation of the logic you've established:

Code: Select all

IF the system message includes "quietly" or ELSE hide. 
It makes no sense. Proper usage would sound more like so:

Code: Select all

IF the system message includes "quietly" THAN hide or ELSE do something other than hide...
Remove it and let me know if the world implodes.
Save yourself the shame and embarrassment and just assume that if you can't understand me...you're the one who's retarded.
Budner wrote:Your sig lets everyone know what an arrogant prick you are.

Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

If system message include "quietly" than nothing (start from the beginning). Else hide.
Difficult to understand?
I don't know much English.

User avatar
Malaikat
Posts: 4533
Joined: Thu Dec 30, 2010 10:32 am

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Malaikat »

Bah...just have the If check on failure rather than success.
Save yourself the shame and embarrassment and just assume that if you can't understand me...you're the one who's retarded.
Budner wrote:Your sig lets everyone know what an arrogant prick you are.

Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

Malaikat wrote:Bah...just have the If check on failure rather than success.
Just making more difficult?

Code: Select all

If ( SysMessage "quietly" )
Else
it "If (sysmessage not "quietly"). Razor script engine scanty.
Last edited by Althathwe on Wed Feb 23, 2011 1:10 pm, edited 1 time in total.
I don't know much English.

User avatar
Malaikat
Posts: 4533
Joined: Thu Dec 30, 2010 10:32 am

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Malaikat »

It removes a line of code and is therefore simpler. The else is implied...

Exec: Stealth
Pause 10,20sec
If ( SysMessage "fail" )
Exec: Hiding
Pause 10,00sec
End If
Last edited by Malaikat on Wed Feb 23, 2011 1:11 pm, edited 1 time in total.
Save yourself the shame and embarrassment and just assume that if you can't understand me...you're the one who's retarded.
Budner wrote:Your sig lets everyone know what an arrogant prick you are.

Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

Malaikat wrote:It removes a line of code and is therefore simpler. The else is implied...

Exec: Stealth
Pause 10,20sec
If ( SysMessage "failed" )
Exec: Hiding
Pause 10,00sec
End If
failed, not hide and other.
I don't know much English.

User avatar
Malaikat
Posts: 4533
Joined: Thu Dec 30, 2010 10:32 am

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Malaikat »

Oops. You're right.

I just checked my macro and you've got to account for failing the hide or being detected, so I had a handful of If statements in mine that would have been unnecessary if I would have used yours. However, your macro wastes 10 seconds waiting for a failed stealth attempt, so mine has a bunch of added code but may be a bit more efficient after all.

Exec: Stealth
Pause 10,00 sec
If ( SysMessage "fail" )
Exec: Hiding
Pause 10,00sec
End If
If ( SysMessage "you can't" )
Exec: Hiding
Pause 10,00sec
End If
If ( SysMessage "you must hide" )
Exec: Hiding
Pause 10,00sec
End If

You could probably clean that up a bit with an else statement for the failed hiding attempt, but whatever.
Save yourself the shame and embarrassment and just assume that if you can't understand me...you're the one who's retarded.
Budner wrote:Your sig lets everyone know what an arrogant prick you are.

Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

Malaikat wrote:Oops. You're right.

I just checked my macro and you've got to account for failing the hide or being detected, so I had a handful of If statements in mine that would have been unnecessary if I would have used yours. However, your macro wastes 10 seconds waiting for a failed stealth attempt, so mine has a bunch of added code but may be a bit more efficient after all.

Exec: Stealth
Pause 10,00 sec
If ( SysMessage "fail" )
Exec: Hiding
Pause 10,00sec
End If
If ( SysMessage "you can't" )
Exec: Hiding
Pause 10,00sec
End If
If ( SysMessage "you must hide" )
Exec: Hiding
Pause 10,00sec
End If
Althathwe wrote:Just making more difficult?
Just making more difficult!
I don't know much English.

User avatar
Malaikat
Posts: 4533
Joined: Thu Dec 30, 2010 10:32 am

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Malaikat »

More difficult yes but also more efficient. It's a better use of time rather than burning 10 seconds on every fail. Probably doesn't matter once you get into the 90s, but at this point I'll grasp at whatever straws I can to save face.

My internet dignity shall be avenged!
Save yourself the shame and embarrassment and just assume that if you can't understand me...you're the one who's retarded.
Budner wrote:Your sig lets everyone know what an arrogant prick you are.

Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

Malaikat wrote:More difficult yes but also more efficient. It's a better use of time rather than burning 10 seconds on every fail. Probably doesn't matter once you get into the 90s, but at this point I'll grasp at whatever straws I can to save face.

My internet dignity shall be avenged!
Failed hiding not have sysmessage.
I don't know much English.

User avatar
Malaikat
Posts: 4533
Joined: Thu Dec 30, 2010 10:32 am

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Malaikat »

Yes it does. "You can't seem to hide here", which is the "you can't" in my macro. Works fantastic.
Save yourself the shame and embarrassment and just assume that if you can't understand me...you're the one who's retarded.
Budner wrote:Your sig lets everyone know what an arrogant prick you are.

Althathwe
Posts: 29
Joined: Wed Jan 26, 2011 6:18 am
Location: Russia

Re: Brief Guide to Training Stealth (w/Razor Macro)

Post by Althathwe »

Malaikat wrote:Yes it does. "You can't seem to hide here", which is the "you can't" in my macro. Works fantastic.
Yep. I was wrong.

Code: Select all

Exec: Stealth
Pause 10,20 sec
If ( SysMessage "fail" )
Exec: Hiding
Pause 10,00sec
End If
If ( SysMessage "hide" )
Exec: Hiding
Pause 10,00sec
End If

Code: Select all

!Loop
Assistant.Macros.HotKeyAction|1044107|
Assistant.Macros.PauseAction|00:00:10.2000000
Assistant.Macros.IfAction|4|0|fail
Assistant.Macros.HotKeyAction|1044081|
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|hide
Assistant.Macros.HotKeyAction|1044081|
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndIfAction
But use "if else" possible.
I don't know much English.

Post Reply