Author Topic: [Release] Stealth .NET DLL [DLL Updated 11/27/13]  (Read 10477 times)

0 Members and 1 Guest are viewing this topic.

Offline OrichTopic starter

  • Jr. Member
  • **
  • Posts: 77
  • Activity:
    0%
  • Reputation Power: 3
  • Orich has no influence.
  • Respect: +12
  • Referrals: 1
    • View Profile
[Release] Stealth .NET DLL [DLL Updated 11/27/13]
« on: October 09, 2013, 08:38:35 PM »
0
Stealth v6.0 +


Following the release of Stealth v6.0 -- I am also proud to officially release the Stealth .NET DLL library.

Features

 - Built on .NET 4.5 (Requires 4.5)

 - ~99% Compliant with the Script.DLL API Standard [Some subtle differences]

 - External application support
      * You can bypass the "Open" -> "Play" mechanism in the Stealth GUI and run any Script externally.  The DLL handles the rest.

 - Supports most (if not all) .NET CLI Languages (VB, C#, etc.)

 - Included SafeInvoke() extension for thread-safe calls between the UI thread and Script thread.
      * For WinForms Users

Code: [Select]
using System;
using ScriptDotNet; // Use the ScriptDotNet Namespace

namespace MyFirstConsoleScript
{
    class Program
    {
        static void Main(String[] args)
        {
            // Wait until Stealth is connected to an Ultima Shard
            while (Stealth.Script_GetConnectedStatus() == false) ;

            // Print a string to the Stealth System Journal
            Stealth.Script_AddToSystemJournal("Hello World to Stealth GUI!");

            // Print a string to the Ultima Online Game Client Window!
            Stealth.Script_ClientPrint("Hello World to Game Client");
        }
    }
}

How To Use

 - In your project under "Solution Explorer", right click "References"
 - Select "Add Reference"
 - On the left hand side, click "Browse" tab
 - On the bottom right click "Browse" button
 - Locate the ScriptDotNet.DLL
 - Done!

Once you see "ScriptDotNet" under References (in Solution Explorer), double click it and explore the DLL.  You'll find all member functions and properties that you require.


Lazy ChangeLog
10/27/2013
  - Script_GetStaticTileData() fixed
  - Script_GetAboutData() fixed
  - Many other fixes I didn't keep track of
11/27/2013
  - Support for Script_GetContextMenuRec , Script_GetMultis (requires Stealth 6.1.4 or greater)
  - Various bug fixes

Resources

Stealth Client Topic   Stealth SUO Topic    Main Stealth Release Thread
DLL DownloadBitBucket DLL BinariesLatest Public DLL binaries
Bug TrackerBitBucket Issue Tracker   Report Issues / Bugs Here!
Stealth HomeStealth HomeStealth Webpage & Forums (English & Russian)
Video Tutorial   oRune Tutorial TopicBasic C# Scripting Tutorial


Note:  Not 100% of the functions in this DLL have been tested.  This doesn't mean anything dangerous -- It just means sometimes something may not work right.  I will be very diligent to fix bugs, I just need to know about them :-)   Please don't hesitate to let me know what to fix.
« Last Edit: November 26, 2013, 11:56:29 PM by Orich »
Member of the Stealth development team.
Author of Stealth .NET DLL

Offline OrichTopic starter

  • Jr. Member
  • **
  • Posts: 77
  • Activity:
    0%
  • Reputation Power: 3
  • Orich has no influence.
  • Respect: +12
  • Referrals: 1
    • View Profile
Re: [Release] Stealth .NET DLL
« Reply #1 on: October 09, 2013, 08:42:39 PM »
0
Reserved
Member of the Stealth development team.
Author of Stealth .NET DLL

Offline Ycon

  • Jr. Member
  • **
  • Posts: 20
  • Activity:
    0%
  • Reputation Power: 0
  • Ycon has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: [Release] Stealth .NET DLL [DLL Updated 11/27/13]
« Reply #2 on: December 21, 2013, 10:22:20 AM »
0
i cant execut that, the program dont work and the icon goes to system tray and if o put the mouse over its disapears.

Offline OrichTopic starter

  • Jr. Member
  • **
  • Posts: 77
  • Activity:
    0%
  • Reputation Power: 3
  • Orich has no influence.
  • Respect: +12
  • Referrals: 1
    • View Profile
Re: [Release] Stealth .NET DLL [DLL Updated 11/27/13]
« Reply #3 on: December 23, 2013, 01:49:36 PM »
0
i cant execut that, the program dont work and the icon goes to system tray and if o put the mouse over its disapears.

No C# scripts work with 6.1.5 right now.

Only 6.1.4 supported.
Member of the Stealth development team.
Author of Stealth .NET DLL

Node

  • Guest
Re: [Release] Stealth .NET DLL [DLL Updated 11/27/13]
« Reply #4 on: March 24, 2014, 01:08:05 AM »
0
Tried this code

Code: [Select]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptDotNet;

namespace Hello
{
    class Program
    {
        static void Main(string[] args)
        {
            Stealth.Script_ClientPrint("test");
        }
    }
}

and got this
Code: [Select]
An exception raised at 09:01:47:382
'$C:\steal' is not a valid integer value
(00021A06){Stealth.exe } [00422A06] System.SysUtils.ConvertErrorFmt (Line 5388, "System.SysUtils.pas")
Call stack:
  (00021A01){Stealth.exe } [00422A01] System.SysUtils.ConvertErrorFmt (Line 5387, "System.SysUtils.pas")
  (0020FAC9){Stealth.exe } [00610AC9] Vcl.Controls.TControl.WndProc (Line 7224, "Vcl.Controls.pas")
  (002144B5){Stealth.exe } [006154B5] Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas")
  (001DE805){Stealth.exe } [005DF805] Vcl.Forms.TCustomForm.WndProc (Line 4388, "Vcl.Forms.pas")
  (00213AF8){Stealth.exe } [00614AF8] Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas")
  (000B5BE8){Stealth.exe } [004B6BE8] System.Classes.StdWndProc (Line 17013, "System.Classes.pas")
  (00559248){Stealth.exe } [0095A248] CoolTrayIcon.TCoolTrayIcon.HookFormProc (Line 1013, "CoolTrayIcon.pas")
  (000B5BE8){Stealth.exe } [004B6BE8] System.Classes.StdWndProc (Line 17013, "System.Classes.pas")
  (001E7858){Stealth.exe } [005E8858] Vcl.Forms.TApplication.ProcessMessage (Line 10267, "Vcl.Forms.pas")
  (006985BE){Stealth.exe } [00A995BE] Stealth.Stealth (Line 251, "")

can someone tell me what has gone wrong ?

Offline dxrom

  • Master of the milestones!
  • Elite
  • *
  • *
  • Posts: 1080
  • Activity:
    0%
  • Reputation Power: 15
  • dxrom is working their way up.dxrom is working their way up.dxrom is working their way up.
  • KEYBOARD COWBOY, GREAT SAMURAI OF THE INTERNET.
  • Respect: +100
  • Referrals: 1
    • View Profile
Re: [Release] Stealth .NET DLL [DLL Updated 11/27/13]
« Reply #5 on: March 24, 2014, 01:32:25 AM »
0
Tried this code

Code: [Select]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ScriptDotNet;

namespace Hello
{
    class Program
    {
        static void Main(string[] args)
        {
            Stealth.Script_ClientPrint("test");
        }
    }
}

and got this
Code: [Select]
An exception raised at 09:01:47:382
'$C:\steal' is not a valid integer value
(00021A06){Stealth.exe } [00422A06] System.SysUtils.ConvertErrorFmt (Line 5388, "System.SysUtils.pas")
Call stack:
  (00021A01){Stealth.exe } [00422A01] System.SysUtils.ConvertErrorFmt (Line 5387, "System.SysUtils.pas")
  (0020FAC9){Stealth.exe } [00610AC9] Vcl.Controls.TControl.WndProc (Line 7224, "Vcl.Controls.pas")
  (002144B5){Stealth.exe } [006154B5] Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas")
  (001DE805){Stealth.exe } [005DF805] Vcl.Forms.TCustomForm.WndProc (Line 4388, "Vcl.Forms.pas")
  (00213AF8){Stealth.exe } [00614AF8] Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas")
  (000B5BE8){Stealth.exe } [004B6BE8] System.Classes.StdWndProc (Line 17013, "System.Classes.pas")
  (00559248){Stealth.exe } [0095A248] CoolTrayIcon.TCoolTrayIcon.HookFormProc (Line 1013, "CoolTrayIcon.pas")
  (000B5BE8){Stealth.exe } [004B6BE8] System.Classes.StdWndProc (Line 17013, "System.Classes.pas")
  (001E7858){Stealth.exe } [005E8858] Vcl.Forms.TApplication.ProcessMessage (Line 10267, "Vcl.Forms.pas")
  (006985BE){Stealth.exe } [00A995BE] Stealth.Stealth (Line 251, "")

can someone tell me what has gone wrong ?

Looks like an error, with your clearance level that's all I am permitted to tell you.



 ​_██​_
(ಠ​_ృ)
I do say, ol' Chap! Come play EVE Online! Why here is a 21 Day Free Trial!

Node

  • Guest
Re: [Release] Stealth .NET DLL [DLL Updated 11/27/13]
« Reply #6 on: March 24, 2014, 01:36:59 AM »
0
Looks like an error, with your clearance level that's all I am permitted to tell you.

That's totally does not make any sense what you have said to be honest

Offline Crome969

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Release] Stealth .NET DLL [DLL Updated 11/27/13]
« Reply #7 on: March 24, 2014, 02:21:35 AM »
0
Looks like an error, with your clearance level that's all I am permitted to tell you.

That's totally does not make any sense what you have said to be honest

He want to tell you, you should introduce yourself before asking questions.
We also need more informations how this occured.

Stealth Client Version
Client Version

The Exception wich raised up is from internal Delphi Code.
It maybe possible you use the wrong Stealth version. Until orich update his dll, you are limited to use Stealth 6.2.1 in case if C#

Node

  • Guest
Re: [Release] Stealth .NET DLL [DLL Updated 11/27/13]
« Reply #8 on: March 24, 2014, 04:10:34 AM »
0
He want to tell you, you should introduce yourself before asking questions.
We also need more informations how this occured.

Stealth Client Version
Client Version

The Exception wich raised up is from internal Delphi Code.
It maybe possible you use the wrong Stealth version. Until orich update his dll, you are limited to use Stealth 6.2.1 in case if C#

I come from the internet, I picked up UO again so I have something to do and maybe even learn more scripting, I'm using the latest Stealth client (6.4) (UO Client 7.0.15.1), seems like also it does not work without Python installed, it will just never launch, and well the error occurred when I tried to follow the YT video tutorial

Tags: Stealth DotNet