|
||
|
|||||||
| Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Aug 2004
Age: 24
Posts: 1
|
I'm working on a fishing macro. I have a problem, and a question. I'm wondering if there's a way to include hiding in an If statement, so that if I'm not hiding, it will use the hiding skill until I am, then continue fishing. I'm using this with a boat.
Also, I'm having problems with the If sysmessage command. I'm using it when an area runs dry, on the "The fish don't seem to be biting here." message, then moving the boat, but it doesn't seem to be working. Any suggestions? Current script: Double Click (fishing pole) Wait for Target Pause 8.00 Sec //Wait until skill used again Target RelLoc (x,y) //Relative location used to switch target when boat moves if (JournalContains "The fish don't seem to be biting here.") Say: forward Pause 4.00sec Say: stop End If |
|
|
|
|
|
#2 (permalink) |
|
Join Date: Aug 2004
Location: Fort Worth Texas, USA
Age: 40
Posts: 114
|
Try this script:
Double Click (fishing pole) Wait for Target Target RelLoc (x,y) //Relative location used to switch target when boat moves Pause 8.00 Sec //Wait until skill used again if (JournalContains " fish don't seem.") Say: forward one..........\ Pause .650sec...............| Say: forward one.......... | Pause .650sec...............| Say: forward one.......... | Pause .650sec...............| Say: forward one.......... | Pause .650sec............... > Or you can use a program called 8x8 Say: forward one.......... | Pause .650sec...............| Say: forward one.......... | Pause .650sec...............| Say: forward one.......... | Pause .650sec...............| Say: forward one.......... | Pause .650sec…………….. / End If UseSkill Hiding If (JournalContains “can’t seem to hide” UseSkill Hiding Else End If If (JournalContains “can’t seem to hide” UseSkill Hiding Else End If If (JournalContains “can’t seem to hide” UseSkill Hiding Else End If If (JournalContains “can’t seem to hide” UseSkill Hiding Else End If |
|
|
|
|
|
#4 (permalink) | |
|
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
|
Quote:
Code:
If (JournalContains “can’t seem to hide”
UseSkill Hiding
Else
Useskill Hiding
If (JournalContains “can’t seem to hide”
UseSkill Hiding
Else
Useskill Hiding
If (JournalContains “can’t seem to hide”
UseSkill Hiding
Else
Useskill Hiding
If (JournalContains “can’t seem to hide”
UseSkill Hiding
Else
Useskill Hiding
If (JournalContains “can’t seem to hide”
UseSkill Hiding
Else
Useskill Hiding
EndIf
EndIf
EndIf
EndIf
EndIf
|
|
|
|
|
|
|
#5 (permalink) | |
|
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
|
Quote:
|
|
|
|
|
|
|
#6 (permalink) | |
|
Join Date: Aug 2003
Posts: 8
|
Quote:
|
|
|
|
|
|
|
#7 (permalink) | |
|
Join Date: Aug 2004
Age: 34
Posts: 12
|
Quote:
I contrast the sequential ifs will do exactly what you want. Since ifYournal... Only checks back to the point where it last checked. So if the 1st IF finds a failed Hide attempt then the 2nd IF will only find a failed HIDE SINCE the last check. If you succeeded then there wont be an entry and Razor will skip all your futher hiding ifs... Hope this makes sense... [Edited for better explanaition why this setup fails] |
|
|
|
|
|
|
#8 (permalink) | |
|
Join Date: Mar 2004
Location: Skei's Haven, Krynn
Age: 34
Posts: 38
|
Quote:
Type "forward one" in the main UO screen and hit Enter. Your avatar will speak "forward one", the tiller will hear it, and move the boat forward at a fast speed one tick. That's a total of two tiles. Unfortunately, "ahead slow one" is not a command your tiller recognizes, if you only want to move ahead one tile. I generally use the "back one" or "right/left one" commands for moving single tiles |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|