Author Topic: Hi all newbie on non-OSI custom RunUO shard.  (Read 3854 times)

0 Members and 1 Guest are viewing this topic.

Offline uofreakTopic starter

  • Restricted
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • uofreak has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Hi all newbie on non-OSI custom RunUO shard.
« on: November 14, 2018, 04:29:10 PM »
0
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!!

Offline ZeroDX

  • Stealth Developer
  • Moderator
  • *****
  • Posts: 34
  • Activity:
    0%
  • Reputation Power: 1
  • ZeroDX has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: Hi all newbie on non-OSI custom RunUO shard.
« Reply #1 on: November 14, 2018, 07:54:49 PM »
0
Stealth supports pythons 2.6-3+, supports custom skills, can detect gumps. There is a wiki at the stealth webpage.

Offline uofreakTopic starter

  • Restricted
  • **
  • Posts: 12
  • Activity:
    0%
  • Reputation Power: 1
  • uofreak has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Hi all newbie on non-OSI custom RunUO shard.
« Reply #2 on: November 15, 2018, 05:32:20 AM »
0
Thanks zero, will go through the wiki for now and see if anything is too blurry for my newbness!

Post Merge: November 16, 2018, 05:13:04 AM
"Commands available in the client
To execute a command - you need to write it with a semicolon at the beginning, then a list of available commands, but here's an example:"

I can't seem to use any commands..

tried:

;info
,info
 with or without spaces, how to enter commands inside the launched client? I did launch from inside stealth.

Post Merge: November 16, 2018, 06:26:36 AM
Good news is I started with Pascal, a language I haven't touched since I was 12... and don't get any ideas I'm a great coder or anything. I spent most of my time playing games, making websites, graphics, boring *bleep* to get by haha

Hello world works, getting the hang of char variables, good so far. But still don't know how client commands work.

Post Merge: November 16, 2018, 09:02:00 AM
First healing script shared in the other board, having some issues with an arrow/item counter basic script:

How do I count items in stacks, like how many items are in a stack?

Quote
Program BackpackArrows;
Var arrowCount: integer;
begin
 //Body of Script   
 // FindTypeEx($0F3F; $0000; backpack; true)
 IF (FindTypeEx($0F3F, $0000, backpack, true)> 1) THEN   // If arrows present in pack then
 BEGIN
 //arrowCount=FindCount($0F3F);   how to add result to var in pascal?   
FindType($0F3F, backpack);
  addtosystemjournal('Arrows found: ' + IntToStr(FindCount($0F3F)));
 
 //addtosystemjournal ('Arrow count is: '+IntToStr(FindCount($0F3F,backpack)));
END
 
// if Count(runes) < 10 then

end.

Post Merge: November 16, 2018, 09:09:03 AM
Answered my own question, look at me and thanks API reference:
http://stealth.od.ua/Doc:Api/FindFullQuantity

Quote
FindType($0F3F, backpack);
  addtosystemjournal('Arrows found: ' + IntToStr(FindFullQuantity));
« Last Edit: November 16, 2018, 09:09:03 AM by uofreak »

Tags: