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.


Messages - Orich

Pages: 1 2 [3] 4 5 6
31
Fixed in new ScriptDotNet.DLL

The record was packed coming from Stealth ... Sorry about that.

32
In order to not get the exception, I had to run the command prompt as Administrator.

I haven't figured why my Python version crashes...


Is there a way you could compile the ScriptDotNet.dll with .NET 4 instead of .NET 4.5 so that I can run it on my XP machine?

I tried to simply change the target framework, but very strange things start happening and the DLL does not function correctly.

My time these days is very limited, so I can't promise when, but I'll try again at some point.

33
Stealth archive / Re: A problem on one of my computers
« on: November 20, 2013, 08:49:59 PM »
Are you connecting to OSI?

Did you check the client version you have configured?  There was a recent patch ... need to update the client version to 7.0.34

34
I tested... works fine.   Are you running ScriptDotNet.DLL that i uploaded yesterday?  If not, try it.

That exception happens in static classes ... need more information though.

Recommendations :

1.  Wrap the line in a try/catch
2.  Make sure you're running the program in the debugger (hit PLAY button) so you can see what's going on


Code: [Select]
try
{
   Console.WriteLine("Hex value from ScriptDotNet:  {0:X}", Stealth.Script_GetSelfID());
}
catch (TypeInitializationException ex)
{
   Trace.WriteLine(ex.InnerException); // System.Diagnostics
   throw;
}

35
Stealth archive / Re: A problem on one of my computers
« on: November 20, 2013, 10:38:48 AM »
If it works on 4 out of 5, it certainly sounds like a firewall problem.


EDIT:  Either windows firewall, or perhaps an Anti-virus suite firewall?

36
UO Client Modifications/Tools / Re: neo's uop2mul converter
« on: November 20, 2013, 12:38:11 AM »
Couldn't get this to work :c
But I had my friend send me all his old .mul files from an old install and it works now, i can finally macro mine.

I'm not entirely sure how you couldn't get it to work?  There isn't much to screw up.  It works fine.

Not to put a damper on things, but we are here to help people not put them down. It may not work "fine" for everyone and that is the reason why we have the ability for replies.  We are a community and there is no need for negative comments.

I certainly wasn't putting anyone down, nor did I intend on sounding overtly negative.  My apologies.

I meant to imply the utility is as simplistic as they come, there isn't really anything to do wrong.  Without more details, its impossible to understand what could not be working.

37
UO Client Modifications/Tools / Re: neo's uop2mul converter
« on: November 17, 2013, 12:47:16 AM »
Couldn't get this to work :c
But I had my friend send me all his old .mul files from an old install and it works now, i can finally macro mine.

I'm not entirely sure how you couldn't get it to work?  There isn't much to screw up.  It works fine.

38
Stealth archive / Re: How do you get a target cursor in Stealth?
« on: November 08, 2013, 07:43:37 PM »
I encourage you to peruse through the C# script tutorial.  It goes over this ... but here are two examples :


1.  Bring up a local client target, get an object ID


Using ScriptAPI.cs
Code: [Select]
   Item Result = Target.RequestTarget();

Using ScriptDotNet.DLL Normal API :
Code: [Select]
   Stealth.Script_ClientRequestObjectTarget(); // This brings up a target cursor in Client.exe

   while(Stealth.Script_ClientTargetResponsePresent() == false) // while Client.exe does NOT have a target
      Stealth.Script_Wait(100); // Wait 100ms, then loop

   var ChosenTarget = Stealth.Script_ClientTargetResponse(); // This function returns a TTargetInfo object with ID, Tile, X, Y, Z


Now, in those two examples this is bringing up a "Virtual Target" ... Meaning, we are requesting a target in Client.exe, but it will never send the result back to the game server.  This is a local interaction between Stealth and the Client.exe

If, say, you wanted to cast a spell and wait for the server's target :


Code: [Select]
   Stealth.Script_CastSpell("Greater Heal");  // same as Self.Cast()
   
   Stealth.Script_WaitForTarget(10000); // Wait for target to appear, timeout after 10,000 milliseconds (10 seconds)
   uint LastTarget = Stealth.Script_GetLastTarget();

39
Stealth archive / Re: Clarification of TUIWindowType
« on: November 06, 2013, 01:48:23 PM »
I know I'm late to the party, but if you haven't realized yet, Script_CloseClientUIWindow() are for Client-side only gumps (ie. Not sent by the server)

Indeed, that window is extended Character Status gump.

40
Stealth archive / Re: Gump issues?
« on: November 03, 2013, 09:14:54 AM »
Oh okay, np ... if you need anything else, just ask

41
Stealth archive / Re: Gump issues?
« on: November 03, 2013, 07:58:43 AM »
The setup tutorial video goes over important settings like that.

42
Stealth archive / Re: [V6, C#] Question regarding StealthAPI.cs
« on: November 01, 2013, 07:03:57 PM »
Hey, I've been super busy ... I'll try to release a new one on Sunday for you.

43
Stealth archive / Re: Is here anyone who scripts on Delphi for Stealth?
« on: November 01, 2013, 02:08:40 AM »
Examples :

http://www.scriptuo.com/index.php?board=146.0
and
http://www.scriptuo.com/index.php?board=147.0


API Documentation and Tons of help in Russian forums here :

http://stealth.od.ua

44
Stealth scripts / Re: [V6 , Pascal] Discord Trainer
« on: October 29, 2013, 12:14:00 PM »

And its clientless ;) no more running client over night :P
Somehow I missed this post/point, and it occurred to me that I've always missed this point about Stealth. With that said...

...WHAT?!?! Clientless? How did I never catch that before?? Stealth is authenticating itself against the servers then basically just injecting commands to the stream directly rather than through the client interface?

I don't mean to hijack this thread for something I should have probably read about already but holy frigging crap lol.

X
[/quote]

I made a video tutorial that explains all that, it's in the release thread

45
Stealth archive / Re: Documentation on FindTypesArrayEx?
« on: October 25, 2013, 07:35:57 AM »
Sorry for the delay Slyone.

Stealth keeps a cache of items in memory.

The Findxxxx() functions are simple search heuristics for this cache of items.

In this context, items have 3 properties we care about

Item.ID = Unique ID
Item.Color = Item's Color Hue
Item.Container = Item's parent container (0x0000 = ground, all non-zero are containers in the game)

My FindItem() wrapper functions might start becoming self explanatory now.

Code: [Select]
public static Item FindItem(ushort Type, uint Container = 0x00000000, bool Recursive = false, ushort Color = 0xFFFF)In plain english   "Search for an item of Type, inside of Container, `should i search inside other bags?`, that is of hue Color"


Code: [Select]
public static List<Item> FindItems(ushort Type, uint Container = 0x00000000, bool Recursive = false, ushort Color = 0xFFFF)In plain english   "Search for ALL items of Type, inside of Container, `should i search inside other bags?`, that is of hue Color"


Code: [Select]
public static List<Item> FindItems(ushort[] Types, uint[] Containers, ushort[] Colors, bool Recursive = false)In plain english   "Search for ALL items that are of any type inside Types, that are in any of the containers inside Containers, of any hue inside Colors, and should we search within all bags for these Types?"



Please be aware ... These functions don't actually send anything to the UO servers.  These are just search mechanisms for the cache of items that Stealth has stored.

If you have any other questions, feel free to ask.

-Orich

Pages: 1 2 [3] 4 5 6