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 - Mobeater_Again

Pages: [1]
1
Stealth Client / Just a question, and a thought
« on: October 22, 2015, 05:13:58 PM »
Quoted from Crome969 from a response a previous thread of mine
"GetGumpInfo(GumpIndex, gi); => you give correct index and pass object you want to be written and stealth generate the object."

could someone please explain how I go about knowing the correct index or go about getting it?

I am trying to learn this, but for the life of me, I can not grasp it. I learned EasyUO by using peoples scripts and seeing what they did, and alas writing simple scripts. The difference is, there is alot of understandable documentation for the EasyUO script language.

I have tried to use the docs at stealth's main site, the problem is they seem to be written for programmers. I would venture to say, a vast majority of people who use EasyUO are not programmers in the sense of writing strict code.

The transition from one to the other is a vast gap, as stealth is written in a strict programming language, and thus is not easily comprehensible from non programming type people. If it was a little more user friendly, I would guess more people would venture in to the Stealth community.

I am not trying to discount stealth, I really see what it can do, and how powerful it is, it truly  is > EasyUO, of that I have no doubt. But the need to basically learn an entire programming language to write scripts for it, seems a little daunting....to say the least.

Thank You,
Mobeater_Again

2
Stealth Client / Click gump button random return_value??
« on: October 15, 2015, 04:39:37 PM »
I shaemlessly used code from
Crome969

Thank you for posting so I could start to make sense of some of this stealth stuff.

Here is what I have. It was written in the Stealth script editor

Code: [Select]
Program BeeWork; // Program name

// Set Constants and setup vars
//var i : Integer; // we declare this for loop
const Hive = $5AE9082C; // type for Beehive gumps
const HoneyComb = $467E439F; // type for Honeycomb gumps
const StrengthButton = 8; // Button # to "Add Strength" from beehive gump

// Need help here
const RedDot = ??; // This button number is never the same when a new gump is opened from the Honeycomb Gump ???

Procedure GetHive(ID:Cardinal);
var ii : Integer; // Loop Check
begin
      for ii := 0 to GetGumpsCount() - 1 do // Checking all Gumps
      begin
        if (( GetGumpID(ii) = Hive)) then // If Gump popped up
        begin
          if ( NumGumpButton(ii,StrengthButton) ) then // click strength pot
          begin
            exit; // Exit this procedure
          end;  
        end;
      end;
end;

Procedure HoneyComb(ID:Cardinal);
var ii : Integer; // Loop Check
begin
      for ii := 0 to GetGumpsCount() - 1 do // Checking all Gumps
      begin
        if (( GetGumpID(ii) = Honeycomb)) then // If Gump popped up
        begin
          if ( NumGumpButton(ii,RedDot) ) then // Right here I need to get the "Return_value" of all the buttons that are available when
                                                            //the gump appears, after it is clicked gump goes away and comes back with same dots
                                                           // Minus the last one that was clicked, until all dots are gone, then gump goes away entirely
          begin
            exit; // Exit this procedure
          end;  
        end;
      end;
end;


 

begin //This where everything is called from
 //Body of Script
GetHive(Hive);
wait(500);
PourPot(HoneyComb);
wait(500);
end.

Note that the GetHive Procedure is working fine, unless someone has a better way to do that as well.

If anyone has any idea how to go about clicking ANY buttons on a gump, not knowing the "Return_value" before hand, As well as not knowing the number of buttons, the range of buttons anywhere from 1 to 6 buttons total.

Should be noted that to call me a novice script writer is an over-statement, came from EasyUO and struggling to make sense of Stealth all together.

Thank You Kindly in advance for any help!!!

- Mobeater

3
New member introductions / Taking a stab at this!
« on: September 27, 2015, 08:12:23 AM »
Hello all,
 My name is Mobeater_Again, as you might all ready see. I started playing UO way back when... LOL '97 or '98 if my old man memory serves me correct, I played on Great Lakes to start and then transferred to Drachenfels(sp?). Played OSI for a couple few years, took a break and started on Free Shards.

I remember using some generic program back then to macro, I do remember shoving a piece of paper into my keyboard to keep my number 8 key pressed to continue the macro running over and over, for the life of me, I could not tell you what I was looping. Since leaving OSI (thinking of coming back), I have made my home on a few different free shards. My favorite was called Allure of The Uknown, I was there for almost 6 years and they decided to close the doors this september 6th. My new home is Excelsior, and I again am in the advancing stages and crafting as well.

I have been using eUO for some time now, I used to go by PhreekyStylze over there many moons ago, that was also my name on Drachenfels.

I do enjoy scripting, and written quite a few that were shard specific, and task specific, I am no genius at it, and would almost be ashamed to show my skills to people like TrailMyx, CEO, Snicker7, and of course RoadKill, and any of the other amazing scripters of eUO that have made my life and learning of scripting/UO 100% easier and a whole ton more fun!

I am glad another sight is picking up where sadly easyuo.com feels like it is leaving off, as far as script support at least, good to see an active community, I hope to be part of it.

Have a great day everyone, see ya on the inside...me hopes!

-Mobeater
a.k.a PhreekyStylez

Pages: [1]