Author Topic: Help setting up C# SDK  (Read 3404 times)

0 Members and 2 Guests are viewing this topic.

Offline playforfunTopic starter

  • Restricted
  • **
  • Posts: 28
  • Activity:
    0%
  • Reputation Power: 1
  • playforfun has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Help setting up C# SDK
« on: February 08, 2019, 01:24:39 AM »
0
Can someone please help me setup the new C# SDK with visual studios get my feet wet? I don't want you to write me scripts or hold my hand through the whole thing. I just need help getting the bare minimum going from there I can learn from discovering...

I debugged the new SDK provided by Zero, and have referenced the .dll to my program; however I have some questions.

1) which do I reference ScriptDotNet2 or ScriptDotNetCore?
2) when trying to type code I can't seem to find a lot of the API's such as Attack.
3) is there an easier way to grab item types in C#? Since it doesn't recognize the typical d Types ex: $FFFF
I created a snippet to grab items and find out there type... how I managed that I have no clue. ex:

Code: [Select]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ScriptDotNet2;

namespace mine
{
    class Program
    {
        static void Main(string[] args)
        {
            var backpack = Stealth.Default.Search.Backpack;

            Stealth.Default.Target.ClientRequestObjectTarget();
            Stealth.Default.Target.WaitForClientTargetResponse(50000);

            var test = Stealth.Default.Target.ClientTargetResponse.ID;
            var test1 = Stealth.Default.GameObject.GetType(test);

            Stealth.Default.GameObject.ClickOnObject(test);
            Stealth.Default.Client.ClientPrint(test1.ToString());


            Stealth.Default.Search.FindTypeEx(3718, 0, backpack, true);
            Stealth.Default.GameObject.UseType(3718, 0);
        }
    }
}

I feel like Im referencing the wrong thing... also whats all these files named Ninject?

Thank You.

Tags: