Stealth v6.0 + | (http://www.a3logics.com/blog/wp-content/uploads/2012/04/NET-framework-600x25011.png) |
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");
}
}
}
Stealth Client Topic | Stealth SUO Topic (http://www.scriptuo.com/index.php?topic=11628.0) | Main Stealth Release Thread |
DLL Download | BitBucket DLL Binaries (https://bitbucket.org/Stealthadmin/stealth-beta-client/downloads) | Latest Public DLL binaries |
Bug Tracker | BitBucket Issue Tracker (https://bitbucket.org/Stealthadmin/stealth-beta-client/issues?status=new&status=open) | Report Issues / Bugs Here! |
Stealth Home | Stealth Home (http://stealth.od.ua) | Stealth Webpage & Forums (English & Russian) |
Video Tutorial | oRune Tutorial Topic (http://www.scriptuo.com/index.php?topic=11675.0) | Basic C# Scripting Tutorial |
i cant execut that, the program dont work and the icon goes to system tray and if o put the mouse over its disapears.
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");
}
}
}
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, "")
Tried this codeCode: [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 thisCode: [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.
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#