Scripting Resources & Utilities > Stealth Client

[Release] ScriptSDK 0.9.3 [UPDATED 28.05.2016]

<< < (2/3) > >>

Stealthnoob:
i have found a little tutorial http://scriptsdk.com/?p=91
but it still doesnt show the stealth commands in virtuell studio, after setting it up

playforfun:
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.

Tidus:

--- Quote from: playforfun on March 25, 2017, 09:25:23 PM ---
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.

--- End quote ---

Make sure you are running Visual Studio as an administrator or else it will not talk with Stealth.

Test3Imolesi:
Hi all,
Im trying to use Find Mobiles but it never find nothing, follow 2 examples:


--- Code: ---ScriptSDK.SDK.Initialize();
ScriptSDK.Engines.Scanner.Initialize();
ScriptSDK.Engines.Scanner.Range = 20;
ScriptSDK.Engines.Scanner.ClearIgnoreList();
List<Mobile> nearMobs = ScriptSDK.Engines.Scanner.FindMobiles();

result:
nearMobs.Count = 0


--- End code ---

The same occurs with Mobile.Find():


--- Code: ---
List<Mobile> nearMobs = Mobile.Find(typeList, Stealth.GetGroundID(), true);

result:
nearMobs.Count = 0


--- End code ---

The function GetLandTilesArray doesn't working too:


--- Code: ---ushort posOffset = 20;
ushort myPosX = Convert.ToUInt16(Player.Location.X);
ushort myPosY = Convert.ToUInt16(Player.Location.Y);
ushort minX = Convert.ToUInt16(myPosX - posOffset);
ushort minY = Convert.ToUInt16(myPosY - posOffset);
ushort maxX = Convert.ToUInt16(myPosX + posOffset);
ushort maxY = Convert.ToUInt16(myPosY + posOffset);
TileReader.Initialize();

List<FoundTiles> foundTiles = TileReader.GetLandTilesArray(minX, minY, maxX, maxY, tileType);

result: foundTiles.Count = 0;

ps: The TileType I already tried from 0 to 20000, I dont know what is it and just found one reference from EasyUO here: http://www.scriptuo.com/index.php?topic=10944.0

--- End code ---

This functions really doesn't work or I'm doing something wrong?
tkz in advance!

ZeroDX:
the last known working dll. author - Maxwell. stealth version 8.8.7

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version