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
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 ChangeLog10/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
ResourcesNote: 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.