ScriptUO
Scripting Resources & Utilities => Stealth Client => Topic started by: blackbeard on December 09, 2019, 03:09:19 AM
-
I'm very newbie in C#, and had some problem trying to solve something using python. So i want to learn C#. I downloaded ScriptSDK from Crome, add as refference on visual studio soluction, but when i run a simple script, simply nothing happens. How to solve this?
using System;
using ScriptSDK;
using StealthAPI;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Stealth.Client.AddToSystemJournal("Hello World");
}
}
}
-
I have not done any C#, but lots of C & C++. So I might be way out of my league on responding, please take that into account... ;)
Is Stealth auto instanced? (as in Stealth.Clent...)
Or do you have to instantiate Stealth before accessing it's class properties?
Gaderian
-
blackbeard are you Rahto on Discord in the Stealth Channel?
-
I had some problems with starting new projects in Visual Studio 2019. It was odd, I was able to bring in an old VS 2015 project into 2019 and it worked, but if I tried starting one from scratch in 2019 nothing would work.