Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Razor: The Cutting Edge UO Assistant

Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards.

Reply
 
Thread Tools Display Modes
Old 08-27-2004, 07:07 PM   #1 (permalink)
 
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
Default Macro assistance please? Thanks.

I just went from 16 to 17 and am running a complicated macro. It seems to be doing the same thing. It leaves a target recticle up. Is there a way to stop it from doing that? I can post the section that causes problems....I use it to move a boat around while I'm afk macro mining.

Code:
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.WalkAction|0
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.WalkAction|0
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.WalkAction|0
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.WalkAction|0
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.SpeechAction|0|603|3|ENU|32|44|6|176|raise anchor
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.SpeechAction|0|603|3|ENU|16|89|right one
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.SpeechAction|0|603|3|ENU|16|89|right one
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.SpeechAction|0|603|3|ENU|16|89|right one
 Assistant.Macros.UseSkillAction|14
 Assistant.Macros.WaitForTargetAction
 Assistant.Macros.PauseAction|00:00:02
yeah, it's raw code... but the "target self" breaks between the moves and the speaking is to catch the world save events. Is there a better way for me to code this?
blue_drac is offline   Reply With Quote
Old 08-27-2004, 07:51 PM   #2 (permalink)
 
Join Date: Jun 2004
Age: 22
Posts: 173
Default

If your talking about Wait For Target and Exec. Target X
It doens't work that well together, just remove all the WaitForTarget.
Zero_X is offline   Reply With Quote
Old 08-27-2004, 07:57 PM   #3 (permalink)
 
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
Default

Ok, I could do that if I had some other way to look for a world save.

what about....

Code:
 if "xyz"  is in the system message
 	 wait 90 seconds
 endif
I could use that instead of the darn "detect hidden , wait for target, target self" timer I use now.....

I'd use it if I knew how to make Razor look in the journal. >
blue_drac is offline   Reply With Quote
Old 08-28-2004, 12:47 AM   #4 (permalink)
 
Join Date: Aug 2004
Location: Fort Worth Texas, USA
Age: 40
Posts: 114
Default

say, can you type up the macro as it is in Razor I think you may have a problem with your waitfortarget action but to see the action I need to see it in razor GUI format, also type the whole macro not just part of it.
KoJawn is offline   Reply With Quote
Old 08-28-2004, 08:59 AM   #5 (permalink)
 
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
Default

Quote:
Originally Posted by KoJawn
say, can you type up the macro as it is in Razor I think you may have a problem with your waitfortarget action but to see the action I need to see it in razor GUI format, also type the whole macro not just part of it.
The whole macro is 80k, so I'm not going to post it....I don't have a problem with the entire thing, just the sections that look like what I posted. I've tested the entire thing for a week to nail down the problem area.

Basically, I'm looking for the syntax for executing an if-then-else after a specific pattern appears in the journal or system message area.
blue_drac is offline   Reply With Quote
Old 08-28-2004, 01:14 PM   #6 (permalink)
 
Join Date: Aug 2004
Location: Fort Worth Texas, USA
Age: 40
Posts: 114
Default

ok, I copied and pasted the part you posted wait for target has had problems for some time now try simply removing it and make your pause a tad bit longer. Also, if you are making this for non attended you have to have a target. And, if your on a boat remove all the walk statments.
KoJawn is offline   Reply With Quote
Old 08-28-2004, 01:47 PM   #7 (permalink)
 
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
Default

Quote:
Originally Posted by KoJawn
ok, I copied and pasted the part you posted wait for target has had problems for some time now try simply removing it and make your pause a tad bit longer. Also, if you are making this for non attended you have to have a target. And, if your on a boat remove all the walk statments.
I can't remove the walk statements. The shard has made the tiller man deaf when you're standing on top of the hold, or next to the gang plank. So, to move the boat between mining spots, I have to make him walk.

The "wait for target" is for catching the world save events. The script will wait patiently through the world save (That is.... razor 0.14 would) and continue after it was done. I really wish that prior versions were available for download, because 0.14 didn't have this problem.
blue_drac is offline   Reply With Quote
Old 08-28-2004, 01:56 PM   #8 (permalink)
 
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
Default

Nevermind......................................... .............. I'm a bloody noob.

This is the kind of thing that requires a re-write of the code. Next question, is there a "Clear Journal" function?
blue_drac is offline   Reply With Quote
Old 08-28-2004, 03:46 PM   #9 (permalink)
 
Join Date: Aug 2004
Location: Fort Worth Texas, USA
Age: 40
Posts: 114
Default

Blue, did you ever set the target I noticed you wait for the target but never target anything.
KoJawn is offline   Reply With Quote
Old 08-28-2004, 06:50 PM   #10 (permalink)
 
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
Default

Yeah, it's a target self action..... but never mind, I'll not need it again.... Thanks anyway, I figured out how to use the system message checker for carrying me through a world save.
blue_drac is offline   Reply With Quote
Old 08-29-2004, 05:12 AM   #11 (permalink)
 
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
Default

Update on the timing code to carry me through the world saves....

Code:
Assistant.Macros.IfAction|4|0|will save in
 Assistant.Macros.UseSkillAction|21
 Assistant.Macros.PauseAction|00:01:45
 Assistant.Macros.ElseAction
 Assistant.Macros.PauseAction|00:00:02
 Assistant.Macros.EndIfAction
 Assistant.Macros.WalkAction|0
blue_drac is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5