Author Topic: Journal Scanning problem  (Read 2409 times)

0 Members and 1 Guest are viewing this topic.

Offline The GhostTopic starter

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Journal Scanning problem
« on: July 14, 2013, 02:50:56 PM »
0
Good day Folks

TM ( like always thx)  have try to help me but I don't want to fill up is page about this problem, so I have started a new page in this section and I'm seeking ur help.

 I'm trying to insert TM_AdvJournalScan to improve my script. It seen that the more I try to fix it, the worst it get.  any suggestion will be more them welcome.

The event SysMessage  and Pause are only their to help troubleshooting.
The major problem result with
1) Someone_else_is_already_taming_this     <-----  that don't seen to get pick up by the journal.


Code: [Select]
.
; ver 1.3d  _Someone_else_is_already_taming_this. don't work in journal
;==================================
 gosub Setup
;---------------------------------- Main Loop --------
repeat
gosub targethole
gosub HuntEgg
until #charghost = yes
; *********************************
sub Setup
   ; set %nest PBN
    set %flute RGP_PGP   ; Charmer Flute
    set %snakes QE_JD_FB
    gosub TM_AdvJournalSync snake 100
return
;==================================
; Sub Taget Hole
;===================================
sub targethole
; event SysMessage Target the hole
    display Hover mouse over Nest
    wait 3s
    set %lootx #cursorx
    set %looty #cursory
return
;======================================================
;  Sub Find Charmer Flute  and Snake
;======================================================
sub HuntEgg
UseFlute:
gosub TM_AdvJournalScan snake VALID _Someone_else_is_already_taming_this. ; where_it_was_instructed_to
  if #RESULT = #TRUE
   {
    event SysMessage SERPENT new one
    pause
    gosub TM_AdvJournalSync snake
    ignoreitem %snake
;   pause
   wait 6s
    goto UseFlute
   }
gosub TM_AdvJournalScan snake VALID the_nest_collapses Target_cannot_be_seen
  if #RESULT = #TRUE
   {
   event SysMessage perdu trou
   gosub TM_AdvJournalSync snake
;    pause
    gosub ignore
   Return  ;  go back to beginning to target a new hole
   }
;======================================================
; Goto Target Snake
;======================================================
FindSnake:
  finditem %snakes G_8
  set #ltargetid #findid
  set #ltargetkind 1
  set %snake #findid
  target
  event macro 22    ;  Last Target
  wait 5
  click %lootx %looty d
  wait 1s
gosub TM_AdvJournalScan snake VALID to_persuade_that_to_move moment_for_it_to_recharge
   if #RESULT = #TRUE
   {
   event SysMessage refuse de bouger
   gosub TM_AdvJournalSync snake
;    pause
   wait 6s
   goto UseFlute
   }
event SysMessage back to Flute
goto UseFlute
;======================================================
; Sub Ignore snake
;======================================================
sub ignore
  ignoreitem reset  ;Reset all snake
return
;=================================================================
; Script Name: TrailMyx's Advanced Journal Scanner
; Author: TrailMyx
; Version: 1.2


Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Journal Scanning problem
« Reply #1 on: July 14, 2013, 04:25:52 PM »
0
Try 2 things:

Change this:
Code: [Select]
  gosub TM_AdvJournalScan snake VALID _Someone_else_is_already_taming_this. ; where_it_was_instructed_to

to this:
Code: [Select]
  gosub TM_AdvJournalScan snake VALID already_taming ; where_it_was_instructed_to

And if that DOESN'T works, change this:
Code: [Select]
  gosub TM_AdvJournalScan snake VALID already_taming ; where_it_was_instructed_to

to this:
Code: [Select]
  gosub TM_AdvJournalScan snake NONE already_taming ; where_it_was_instructed_to

Please read the ScriptUO site RULES
Come play RIFT with me!

Offline The GhostTopic starter

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Journal Scanning problem
« Reply #2 on: July 14, 2013, 05:36:54 PM »
0
Try both ways and it didn't work.  Wonder if I need to add a wait time before uy journal scan , I might have a small lag that crew up my journal.   

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Journal Scanning problem
« Reply #3 on: July 14, 2013, 05:58:24 PM »
0
Shouldn't have to.  It would just loop around again and catch it on the next few loops.  You can certainly try though.  What happens if you remove the other check and just look for the taming one?  Best to layer them in one at a time.  If the other one triggers, then there's no reason why that one shouldn't.  Also, is the spelling correct of your trigger words?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Journal Scanning problem
« Reply #4 on: July 14, 2013, 06:45:38 PM »
0
Here's the line out of my unicorn tamer that also looks for this text:

Code: [Select]
gosub TM_AdvJournalScan TAMING NONE that_creature_cannot you_can't_tame_that someone_else_is_already you_cannot_tame

These are all messages that happen when taming is prevented.  There is a wait I use, so perhaps you might want to try that.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline The GhostTopic starter

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Journal Scanning problem
« Reply #5 on: July 14, 2013, 09:38:40 PM »
0
So look like I scan to much.  I need to learn how and where to insert the scan journal.    Did a few run and it work, seen a bit slow but it work.

Code: [Select]
;======================================================
;  Sub Find Charmer Flute  and Snake
;======================================================
sub HuntEgg
UseFlute:
gosub TM_AdvJournalScan snake VALID nest_collapses
  if #RESULT = #TRUE
   {
   gosub TM_AdvJournalSync snake
    gosub ignore
   Return
   }
; ignoreitem %snake
finditem %flute C_ , #BACKPACKID ; Charmer Flute fcing west, north
     event property #findid
  if Charmer in #property
     set %flute #findid   ; find only charmer flute
else
    {
    ignoreitem #findid
    goto UseFlute
    }
    set #lobjectid %flute
    event macro 17 0
;======================================================
; S Goto Target Snake
;======================================================
FindSnake:
  finditem %snakes G_8
  set #ltargetid #findid
  set #ltargetkind 1
  set %snake #findid
  target
  event macro 22
  wait 5
  click %lootx %looty d
  wait 1s
gosub TM_AdvJournalScan snake NONE already_taming
  if #RESULT = #TRUE
   {
   gosub TM_AdvJournalSync snake
   ignoreitem %snake
   wait 5s
    goto UseFlute
   }
goto UseFlute
;======================================================
; Sub Ignor snake
;======================================================
sub ignore
  ignoreitem reset  ;Reset all snake
return

;==========================

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Journal Scanning problem
« Reply #6 on: July 14, 2013, 10:16:32 PM »
0
Well it could be slow if you have a bunch of journal entries the script has to sort through.  Plus, EUO only has 200 entries in the journal before you start losing them.  If you have a tight scan loop, then it's not an issue.
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: