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 - Crome969

Pages: [1] 2 3 ... 119
1
General UO Chat / Re: is easy uo not working at the moment?
« on: December 07, 2023, 08:16:39 AM »
Bitter sweet though.  If you guys/gals have a chance, head over to EasyUO and give Cheffe the proper kudos he deserves for all the work he's done over the years on this tool we all have loved and used.

http://www.easyuo.com/forum/viewtopic.php?f=14&t=54476

Maybe it was time... I digged a bit into his code, sadly the magic happens in assembler and not delphi  :-\\

2
Stealth Client / [Release] ScriptSDK in Java
« on: November 03, 2022, 06:26:01 AM »

Summary
ScriptSDK is an implementation of an external API for Stealth Client.

The first introduction of an external API written in C# happened here about 2015.
Since then there have been a few implementations of external API in many languages but for a very small audience.

ScriptSDK was a vision of me (Crome696) of building an advanced library for scripting by offering an object orientated library with a set of predefined functions and features.

The first library was written in C# around 2016 and can be found as  here as legacy reference.

The second implementation has been written in Java around 2022. One of its targets is an API where user can simply write scripts or utilize the power of spring to have a new standard for API implementations.

Project Overview
The project is based on 3 different layers of implementation:

  • Core - Raw Socket Communication
  • API - Standalone Implementation for Java EE or Spring Developers
  • Web - Spring Boot implementation for multi scripting and\or multilingual implementation of external API

Core

The Core Package is a collection of classes to connect to a stealth client. It only offers a very basic socket- and packet client to establish a connection through client and stealth client. Its recommend for developers with a certain degree about TCP/IP packets and stealth external API protocol. The package also provides a very basic Delphi date time converter for your own purposes.

API

The API Package is a very simple implementation of stealth external API. As we speak, it implements 389 of 404 API methods and ~ 30 custom methods. In order to test the communication with stealth, the project includes 418 java unit tests. in order to run the unit tests, it's recommend to use a separated stealth client with access to a local servo server. The tests are unable to catch your local settings and just test communication by sending and exchanging packets. This might result in loss of items or mobiles ingame.

Web

The Web Package is a spring boot based implementation of a web service with full functionality of API Package. Together with the Open API initiative, it allows developer to implement their own custom clients using the service as man in the middle to communicate through a REST API.

In order to start communication, a developer either must generate themselves a client in a language of their choice or write their own implementation.

Its recommend to wrap the service to a Windows service by utilizing WinSW and run a compiled web service in background.

Once the service runs, a user must create a new client through client-controller, this is the core of every communication. With the ID of a client, a user can exchange information through rest to stealth at any time. At the end of scripting, either close service fully or remove the client from client manager through rest API.

Testing

Each project contains multiple automated unit tests. They are testing the general implementation and communication between ScriptSDK and Stealth Client.
They are not suited for productive servers and should never be executed there.

Sources

Overview
Wiki

3
Razor Enhanced / Re: Razor Enhanced section
« on: September 05, 2018, 12:23:35 AM »
Well C# without debugging is like grabbing the engine but dont take the car

4
Razor Enhanced / Re: Razor Enhanced section
« on: September 04, 2018, 02:45:07 AM »
I will look into it. Seems like an interesting feat. Maybe writing some SDK for that would be worth  :o

5
Stealth Client / Re: Easy uo dll?
« on: September 04, 2018, 02:44:34 AM »
No idea about that... I dont code much at all.. i rework the SDK for Stealth atm and do paid projects here and there.

6
Stealth Client / Re: Easy uo dll?
« on: September 03, 2018, 08:42:49 AM »
All you really need to do is look at the scripts page... There's 4 or 5 current scripts in stealth and 100s in easyuo. Most of the scripts for stealth are from 2015 and back! Why not make it easier to code in?
Stealth has non sharing community most of them not play EA, most of them use scripts to make some money by it or pvp. Its a russian driven community.
Easyuo sounds easy as languange but it is not. Reach the peak of performance for specific scripts is very hard to accomplish.

And i think a strong generation of devs also use my SDK.

7
Stealth Client / Re: Easy uo dll?
« on: September 03, 2018, 08:40:38 AM »
I get it...and I picked up a lesson in python and pascal this weekend when they were on sale...But it would be helpful to understand the basics first. One of the things I have an issue with is that the examples of coding on the stealth site...I cant get to work at all...Like this is taken right from the page:

function Hidden():Boolean
if(not Hidden) then
begin
  UseSkill('Hiding');
end;

doesn't work. Even is I add the
program new;

The only thing I can get to work is:
UseSkill('Hiding');

as a single line of text. Also it fails to compile anything I type in the edit script tab..I've added spaces in where it says if (not Hidden) then I've added ; in..If I cant copy and paste code right from the webpage...Learning is going to be fun...Now with easyuo you can copy and paste right from the site...its easy to string together a simple script to start to learn to code.

So please PM me or post whats missing and why coping and pasting from the site wont work!

Thanks

Quote
Unit Test;

function myHiding():Boolean;
if(not Hidden) then
begin
  UseSkill('Hiding');
  Result := Hidden;
end;

begin
 if(myHiding()) then
 begin
  AddToSystemJournal('Yes i did it');
 end;
end.

 untested but might work

the issue i saw in your code : You defined a function which exist already as a property.

8
Stealth Client / Re: Easy uo dll?
« on: September 03, 2018, 04:13:25 AM »
Can someone write a dll add in... So us easyuo coders can code in stealth?
This is a discussion between people in past and will be also a discussion for future.
EasyUO itself has a lot of features Stealth not even need. And there would be no benefit adding them. Just like OCR, String functions and more.
If we talk about normal functions like walk\attack interact it might be possible but not for the other things.
And adding easyuo as interpretable languange would slow the engine down.

9
UO Client Modifications/Tools / Re: Compile EasyUO (Window 10)
« on: August 19, 2018, 04:59:38 AM »

10
Stealth Client / Re: Trojan in last stealth
« on: April 29, 2018, 10:57:20 AM »

11
Stealth Client / Re: scriptAPI for dot net
« on: March 26, 2018, 12:31:51 AM »

12
Stealth Client / Re: HeybGuys I have about 20 questions
« on: January 08, 2018, 05:01:17 AM »
if someone makes a list of all EUO Functions i can look if i find an equivalent.
if Someone helps filling the list i would push it to my website and add equivalent in SDK

13
Stealth scripts / Re: Magery Trainer
« on: December 26, 2017, 12:05:10 PM »
if i remember properly me.skills.Meditation.use() should work. If there are any bugs in that way i need reports at github about and i can check if i can fix it.

14
Stealth scripts / Re: [V6.7.1,ScriptSDK] FAIL - Fully Automated IDOC Looter
« on: December 22, 2017, 01:34:28 AM »
it searchs for the xml.. thats a FAIL issue because he stores the data in an xml. Check if there is a way either to genrrate the rail or what datastructure is behind and then reproduce.

15
Stealth scripts / Re: Magery Trainer
« on: December 21, 2017, 11:32:23 PM »
yes, i can reoppen it just after without bug and see the work doing.
Well your char doesnt disconnect, means it will still perform the script and all regardless if client.exe is running or not.

Edit : Finally found the Edit button...

Your code looks good, but did   PlayerMobile.Skills.Magery.Value and PlayerMobile.Skills.Magery.Cap not working? SDK is designed that you can ignore all exposed Stealth.XXX functions at upmost.

Reminds me to work further on scriptsdk.com next year.. Job change will give 20 hours a week more freetime...

Pages: [1] 2 3 ... 119