ScriptUO

Scripting Resources & Utilities => Stealth Client => Topic started by: blackbeard on December 09, 2019, 03:09:19 AM

Title: Is there any tutorial to start learning C# scripts for stealth? Need Help!
Post 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?

Code: [Select]
using System;
using ScriptSDK;
using StealthAPI;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            Stealth.Client.AddToSystemJournal("Hello World");
        }
    }
}
Title: Re: Is there any tutorial to start learning C# scripts for stealth? Need Help!
Post by: Gaderian on December 10, 2019, 05:24:11 AM
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
Title: Re: Is there any tutorial to start learning C# scripts for stealth? Need Help!
Post by: Tidus on December 10, 2019, 05:49:37 AM
blackbeard are you Rahto on Discord in the Stealth Channel?
Title: Re: Is there any tutorial to start learning C# scripts for stealth? Need Help!
Post by: unisharp on May 26, 2020, 06:51:31 AM
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.