Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - uofreak

Pages: [1]
1
Stealth scripts / Simple Hiding Trainer [0.0.1]
« on: November 16, 2018, 11:28:37 AM »
Make sure to replace the X/Y values to where you are.
Moves between hiding, also may want to change timer per your Shard.

Quote
Program HidingTrain;
begin
 //Body of Script
 // debug addtosystemjournal(IntToStr(GetX($000007C3)));
 
 while(not Hidden) do
 begin
addtosystemjournal('char is visible'); 
Wait(10600);
UOSay('[hiding');
Wait(3000);
if GetX(Self)=350 THEN
if (Hidden) THEN
 NewMoveXY(349,3294,True,0,True); 
// NewMoveXY(100,100,True,0,True);
Wait(3000);
if GetX(Self)=349 THEN
if (Hidden) THEN
NewMoveXY(350,3294,True,0,True);
end; // end of loop   
end.

2
Stealth scripts / Simple Healing script [v0.0.1] RunUO RP shard Requiem
« on: November 16, 2018, 07:48:40 AM »
Works great on this shard.
For version 1 this is great, for a future version I may integrate
the specific journal messages. I still don't know how to detect recent messages,
and not old messages in journal.
   InJournalBetweenTimes
^ function seems confusing still... how do I calculate recent times and feed them into the arguments?

Quote
Program SimpleHeal;
Const mes = 'Char is hurt!';
mespos = 'Char is poisoned';

begin
  WHILE ( Connected() = True ) DO
  BEGIN
    IF (( ( Poisoned() = True ) OR ( HP < MaxHP ) ) AND ( Hidden() = False ) ) THEN
    BEGIN   
    addtosystemjournal (Mes + mespos);   
    UOSay('[aid');    // Requiem heal system
    WaitTargetSelf();  // Waits for target, THEN targets self.   
    Wait(10500);  // temporary time interval till healing is done
    END;
    Wait(50);
  END;
end.

Post Merge: November 16, 2018, 07:49:20 AM
Oh btw based on Crome969  's old script, thanks for the template! :)

Post Merge: November 16, 2018, 07:55:40 AM
Added a case/placeholder for what to do IF poisoned.
Not sure yet on this shard, will figure out.
Guessing probably some potion, so then have to do - find if there's itemtype in pack...


Quote
Program SimpleHeal;
Const mes = 'Char is hurt!';
mespos = 'Char is poisoned';

begin
  WHILE ( Connected() = True ) DO
  BEGIN
    IF (( ( Poisoned() = True ) OR ( HP < MaxHP ) ) AND ( Hidden() = False ) ) THEN
    BEGIN   
    addtosystemjournal (Mes);
    if (Poisoned) THEN       
    BEGIN
    addtosystemjournal (mespos);
    END;
    UOSay('[aid');    // Requiem heal system
    WaitTargetSelf();  // Waits for target, THEN targets self.   
    Wait(10500);  // temporary time interval till healing is done
    END;
    Wait(50);
  END;
end.

3
New member introductions / Intro old UOer
« on: November 16, 2018, 06:58:26 AM »
Hi all,

Been playing UO since 1997, and now I am finding one excuse to... make my gameplay easier with some smart scripts. Reducing the boring tasks, and having more fun focused gameplay.
Also improving my lame programming skills a bit. Mostly a gamer, very lazy coder. Even though I started early, basic at 8, pascal 12... perl by 14 to make website cgis. But I feel as if I never programmed haha. Also some Java in uni, and now I am VERY SLOWLY because I am lazy, working on python...

Started from nothing and reading about Pascal on stealth now... started a thread in the stealth thread if you want to drop by and check on me, encourage me to not go the lazy way of quitting again haha

4
Stealth Client / Hi all newbie on non-OSI custom RunUO shard.
« on: November 14, 2018, 04:29:10 PM »
Hey guys,
I love what stealth may be able to do but I need a way to put it together.

I have the latest version, would prefer to write in python, is it fully supported yet?

The shard has a lot of custom skills that look a bit like OSI but some not. Use custom gumps,
but should be fine if I can detect gumps.

I am used to UOsteam for macroing, is there any way to record and learn what uostealth sees?

Any advice to get me started appreciated!!

Pages: [1]