ScriptUO
Scripting Resources & Utilities => Stealth Client => Topic started by: graysont on August 01, 2016, 11:44:45 AM
-
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 ...
while(injournalbetweentimes('no metal',TimeParser,Now) = -1) do
begin
UseObject(FindType(Shovels,Backpack));
shovelwait;
TargetToXYZ(tX,tY,GetSurfaceZ(tX, tY, WorldNum));
Wait(1000);
end;
-
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.
-
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.
-