Author Topic: Is there any tutorial to start learning C# scripts for stealth? Need Help!  (Read 4383 times)

0 Members and 1 Guest are viewing this topic.

Offline blackbeardTopic starter

  • Restricted
  • **
  • Posts: 10
  • Activity:
    0%
  • Reputation Power: 1
  • blackbeard has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
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");
        }
    }
}

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Is there any tutorial to start learning C# scripts for stealth? Need Help!
« Reply #1 on: December 10, 2019, 05:24:11 AM »
0
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
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Offline Tidus

  • Lazy
  • Administrator
  • *
  • *
  • Posts: 1291
  • Activity:
    0%
  • Reputation Power: 15
  • Tidus is working their way up.Tidus is working their way up.Tidus is working their way up.
  • Gender: Male
  • Mind Blown
  • Respect: +151
  • Referrals: 2
    • View Profile
    • Ultimate Apparel
Re: Is there any tutorial to start learning C# scripts for stealth? Need Help!
« Reply #2 on: December 10, 2019, 05:49:37 AM »
0
blackbeard are you Rahto on Discord in the Stealth Channel?
For those who have fought for it, freedom has a taste the protected will never know ~ Anonymous, Vietnam, 1968

Offline unisharp

  • Moderator
  • ***
  • *****
  • Posts: 196
  • Activity:
    0%
  • Reputation Power: 4
  • unisharp has no influence.
  • Gender: Male
  • Respect: +40
  • Referrals: 0
    • View Profile
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.

Tags: