Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - playforfun

Pages: [1] 2
1
Stealth Client / Help setting up C# SDK
« on: February 08, 2019, 01:24:39 AM »
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.

2
Stealth Client / Re: C# Compatibility
« on: February 06, 2019, 11:33:23 PM »
Thanks you're the best!

Seems a little obsessive to have to write; Stealth.Default.......

For every call to the API is there a way to shorten this?

Also I'm trying to search the APK for how to call upon the Attack service, can't seem to figure it out.

Tried to do:

Code: [Select]
        ScriptDotNet2.Services.AttackService()

3
Stealth Client / Re: C# Compatibility
« on: February 01, 2019, 10:40:21 PM »
Trying my best to help out here, tried to debug the solution so I could get the .dll in the din folder, but it's not appearing.

4
Stealth Client / Re: C# Compatibility
« on: January 31, 2019, 11:54:14 PM »
I get this error when I try to run a simple hello world script, am I calling upon the API incorrectly?

"Error, Unfinished Socket Stream - Len < 6"



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

namespace test1
{
    class Program
    {
        static void Main(string[] args)
        {
            Stealth.Default.Client.UOSay("Hello World.");
        }
    }
}

5
Stealth Client / Re: C# Compatibility
« on: January 31, 2019, 10:27:04 PM »
Noob question: How do I implement this into VisualStudios so I can call for them? thanks.

You need to make a reference to it in your Application.  Once you reference the DLL make sure that it accompanies your exe file whenever you compile it and share.

Not sure how to do this, spent the last 20 minutes playing around trying to figure it out, tried dragging and dropping into reference, also curios as to why there is 2 different scrptdotnet folders which seem to contain the same files.

6
Stealth Client / Re: C# Compatibility
« on: January 30, 2019, 11:41:45 PM »
Noob question: How do I implement this into VisualStudios so I can call for them? thanks.

7
Stealth Client / C# Compatibility
« on: January 30, 2019, 11:00:40 PM »
Trying to find the SDK for C# for stealthuo and the new Stealth Client, seems everything was removed and dead end links? Is it no longer supported?

8
Stealth Client / Please help with Python
« on: August 06, 2017, 06:31:14 PM »
Hello I'm trying to convert to python however I need help... writing such a simple task has got my mind exploding.. I want to client target request a object and return its name....

Code: [Select]
ClientRequestObjectTarget()
while not ClientTargetResponsePresent() :
 Wait(100)
ClientPrint(GetName(ClientTargetResponse))

9
Stealth Client / Re: [Release] ScriptSDK 0.9.3 [UPDATED 28.05.2016]
« on: March 25, 2017, 09:25:23 PM »
Hello, I have downloaded this SDK and successfully added this into my reference in Studios, however I've learned pascal I now want to learn C#... I'm having a hard time to find all the API's in C# and in this SDK... not sure how to access them it's easy to find the API for pascal functions but I can't seem to find the proper ones here. Makes it very hard to learn can someone please point me in the proper direction? Thanks.

EDIT: Also when I run the application straight from visual studios the script does not process to stealth, but if I open the application through stealth to the application the script will run flawlessly.. I used the Hello World tutorial.

10
Stealth Client / Re: Stealth - Developer or Enduser ?
« on: November 13, 2016, 07:57:39 PM »
I guess I will reply to this post since I originally made it, I've gotten some help when I first started (@Drabadan, thanks a ton!); lots of thing looked very foreign to me but instead of throwing it aside and just copy pasting peoples code I implemented their snippets into my personal codes to do small things altered what they showed me to my liking. Helped me a ton to understand how things worked, no I'm no amazing scripter; BUT I can practically write anything I want stealth to do using pascal ( wish I learned python; as it has more real world benefits... BUT PASCAL is NOOBIE friendly).

With that said I wish I knew how to use Pascal API instead that way I could make like GUI's and make more niffty optimal code but as of now I just really know stealth API which is OK for my basic need, if anybody would like to help me learn more or teach me for fun I'am open to anything or if you are a NOOBIE yourself and want some help from a seasoned NOOBIE I can help ya too lol.

11
Stealth Client / Re: Is Stealth 6.7.x more stable than 7.4.x
« on: September 20, 2016, 01:08:18 PM »
I recently switched to 6.7 and I can confirm it is MORE stable.

I had crashed plenty of times on 7.4 but I don't get any on 6.7

12
Stealth Client / Re: CheckLOS function broken?
« on: September 17, 2016, 12:23:37 AM »
Nice find, I tried to add the missing parameters but stealth doesn't recognize them and says I have too many =(

13
Stealth Client / Re: Stealth Becomes Unresponsive
« on: September 09, 2016, 10:03:15 AM »
Using the newest version, hmm I click on 6.7.1 forum post of stealth and there is no file to download or link?

Downloaded from stealth site but don't think I will use for now because it does not know the function Odd. But newer version recognizes this...

14
Stealth Client / Re: Stealth Becomes Unresponsive
« on: September 07, 2016, 01:42:04 AM »
buuuump

seems to only happen when I try to run 2 separate accounts with a script.

anybody else had/have this issue?

15
Stealth Client / Re: CheckLOS function broken?
« on: September 04, 2016, 06:50:22 PM »
hmm I'm playing on a RunUO server.

I guess I will have to create my own LOS Function, I'm guessing the function is determining if it's in sight based off range and the tile between the two targets?

Pages: [1] 2