Author Topic: Journal Scanner  (Read 3176 times)

0 Members and 1 Guest are viewing this topic.

Offline TholomewTopic starter

  • Newbie
  • *
  • Posts: 9
  • Activity:
    0%
  • Reputation Power: 0
  • Tholomew has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Journal Scanner
« on: January 22, 2009, 12:54:27 AM »
0
Hey Trail

Im using your Journal scanner, I am wondering if its possible to ignore things in journal. I will paste basically what im doing, its probably basic i know, but gets job done.
Code: [Select]
gosub TM_AdvJournalSync container 100

mainloop:
gosub scan
goto mainloop


sub scan
gosub TM_AdvJournalScan container none tosh toshiyuki you_there you_are_invited powerscrolls power scrolls
IF #RESULT = #TRUE
 {
  sound ringtone.wav
 }
 gosub TM_AdvJournalSync container
 return

What Im wanting to do, because I want to have a msg saying something every 10minutes, I dont want the alarm to go off when I say something can I somehow ignore "Toshiyuki:"

Thanks for any input!

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 Scanner
« Reply #1 on: January 22, 2009, 01:20:56 AM »
0
Well the safeguard "VALID" is meant to filter out what other people might say, but there's not a way to kinda reverse that.  You're lookin at a major re-write to do something like that.  You might try and re-think what you are trying to do.  Do you actually have to say those things, or can you say something else in response?
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TholomewTopic starter

  • Newbie
  • *
  • Posts: 9
  • Activity:
    0%
  • Reputation Power: 0
  • Tholomew has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Journal Scanner
« Reply #2 on: January 22, 2009, 01:26:50 AM »
0
Hehe, the thing is my name is "Toshiyoki in game, thats the problem I face :P

Offline TholomewTopic starter

  • Newbie
  • *
  • Posts: 9
  • Activity:
    0%
  • Reputation Power: 0
  • Tholomew has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Journal Scanner
« Reply #3 on: January 22, 2009, 01:41:11 AM »
0
Another thing I have noticed with the script, It misses a lot of the time, when it should be hitting the alert, it must not be reading journal precisely every time. I have version 1.0

Cheers

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 Scanner
« Reply #4 on: January 22, 2009, 10:08:18 AM »
0
Well, you do need to change the "none" to "advance".  It's not really missing, but you are not clearing out the queue, so it just takes longer and longer to process.  "advance" will keep the pointer up to date.

If you use these right, it'll never miss.  However, there's still times when you are clearing the queue and you get a message at the totally wrong time, you might miss that.  Luck I guess.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline TholomewTopic starter

  • Newbie
  • *
  • Posts: 9
  • Activity:
    0%
  • Reputation Power: 0
  • Tholomew has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Journal Scanner
« Reply #5 on: January 22, 2009, 11:55:16 PM »
0
Yea ok, changed that seems to be working bit better, probably just getting unlucky.

So there is no way really to ignore "Toshiyuki:" but still pick up on Toshiyuki

Tags: