Author Topic: How to Fix Problems With Reading Journal in Stealth  (Read 3889 times)

0 Members and 1 Guest are viewing this topic.

Offline graysontTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • graysont has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
How to Fix Problems With Reading Journal in Stealth
« on: August 01, 2016, 11:44:45 AM »
0
After spending many hours pulling my hair out wondering why none of the commands for reading the journal worked for me, I finally realized that in Settings > Common ...

you have to click "Show Cliloc text in journal" ...

It's the only way Stealth will be able to read your journal or be able to use the commands:

InJournalBetweenTimes
LastJournalMessage
etc.

Once I clicked that little box, my routine started working without a problem ...

Code: [Select]
   while(injournalbetweentimes('no metal',TimeParser,Now) = -1) do
    begin
        UseObject(FindType(Shovels,Backpack));
        shovelwait;
        TargetToXYZ(tX,tY,GetSurfaceZ(tX, tY, WorldNum));  
        Wait(1000);
    end;

Offline Crome969

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: How to Fix Problems With Reading Journal in Stealth
« Reply #1 on: August 02, 2016, 12:08:13 AM »
0
You are right and wrong. You can handle the clilocID yourself and not need to handle the text string.
This is much better, since it not depend on specific localisation but can handle it "raw" as it is.

Offline graysontTopic starter

  • Jr. Member
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • graysont has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: How to Fix Problems With Reading Journal in Stealth
« Reply #2 on: August 02, 2016, 09:56:54 PM »
0
You are right and wrong. You can handle the clilocID yourself and not need to handle the text string.
This is much better, since it not depend on specific localisation but can handle it "raw" as it is.

Thank you. I had no idea that cliloc's were for the purpose of processing messages like that. Makes it a whole lot easier.

Offline Crome969

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: How to Fix Problems With Reading Journal in Stealth
« Reply #3 on: August 03, 2016, 06:46:04 AM »
0

Tags: