Recent Posts

Pages: [1] 2 3 ... 10
1
Stealth Client / Re: How to debug C# scripts with Visual Studio
« Last post by Blacklisted on May 12, 2019, 03:54:03 AM »
I figured it out, just need to start bugging and it auomatictly start in steath, i didnt htink it would be that simple.
2
Stealth Client / How to debug C# scripts with Visual Studio
« Last post by Blacklisted on May 12, 2019, 03:21:13 AM »
Hi, does anyone know how I can debug scripts using c# when they are running n stealth? I was using a try catch and outputing the string to a listbox.
I have an issue where the .exe is crashing before it can write anything to the list box.

how do I debug c# while using stealth.
3
Stealth Client / How to find the Graphic ushort
« Last post by GreyWalker on May 10, 2019, 11:16:51 AM »
How do you find what the id is of the graphic , is there a list somwhere?

Like the ushort 0xE21  in the below code, I'm trying to find the id for corpses that I have killed.

Code: [Select]
[QuerySearch(new ushort[] { 0xE21 })]
 public class Bandage : Item
{
     public Bandage (Serial serial)
        : base (serial)
     {

     }
}

i wrote a simple method to try and find it from EasyUO ids but I dont think these are correct which gives 8198

Code: [Select]
private void BtnLoot_Click(object sender, EventArgs e)
        {
            var euids = new List<string>();
            euids.Add("YFM");
            euids.Add("G_2");

            foreach (var item in euids)
            {
               lvInfo.Items.Add(Stealth.Client.EUO2StealthID(item).ToString());
               lvInfo.Items.Add(Stealth.Client.EUO2StealthType(item).ToString());
            }

        }

thanks
4
Stealth Client / Using scanner to get a list of corpses
« Last post by GreyWalker on May 09, 2019, 01:05:43 PM »
I'm trying to get a list of coprses around my player using the scanner.  ive looked at a few of the other C# scripts around on the site.
How do i find out what the ushort of a corpse is so I can add it into the corpse method i have below instead of 0x2805

Ive tried to use stealth to find objects and object types but these values change for ever corpse around my player.

I hope im making sense.

Code: [Select]
private void BtnLoot_Click(object sender, EventArgs e)
{
    var corpses = Scanner.Find(typeof(Corpse), 0x0, false);
}

[QuerySearch(new ushort[] { 0x2805 })]
public class Corpse : Item
{
       public Corpse(Serial serial)
            : base(serial)
        {
        }
}
5
Razor Enhanced / Re: Trying enhanced..... failing a bit, could use a hand
« Last post by fallendeacon on May 02, 2019, 03:31:52 PM »
Hi,

Send me a message in the Razor E discord if you need any specific help on Razor E macros.

RazorEnhancedSupport is my name.
6
Razor Enhanced / Re: IDOC House Scanner (OSI/FS)
« Last post by fallendeacon on May 02, 2019, 02:52:39 PM »
Fixed version for non-OSI servers without properties:

7
Razor Enhanced / Re: Trying enhanced..... failing a bit, could use a hand
« Last post by Coolface on March 05, 2019, 01:48:46 PM »
Sorry for hijacking this old topic.
Im trying to make a macro for keeping Armor Ignore up all the time. I managed to make one sort of but I cant stop it from spamming while on low mana and when I tryed to add lightning strike when on lower mana then the real "u need xx mana" spam started. 

8
UOSteam / Re: Program or Plugin to help with Steam Coding
« Last post by ugvccw on February 15, 2019, 10:14:48 PM »
https://www.uoforum.com/threads/notepad-user-defined-language-pack-for-uosteam.78361/
Very useful. I'm using his method right now.

-  附件和其他选项
9
Stealth Client / Help setting up C# SDK
« Last post by playforfun 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.
10
Stealth Client / Re: C# Compatibility
« Last post by ZeroDX on February 07, 2019, 07:15:14 AM »
sorry, but i can't help with that. i am not the author, i just fixed errors
Pages: [1] 2 3 ... 10