Author Topic: [Release] ScriptSDK in Java  (Read 275 times)

0 Members and 1 Guest are viewing this topic.

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2097
  • Activity:
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
[Release] ScriptSDK in Java
« on: November 03, 2022, 06:26:01 AM »

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


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.


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.


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.


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.



Offline Neo

  • Prime Program
  • Elite
  • *
  • *
  • Posts: 814
  • Activity:
  • Reputation Power: 13
  • Neo barely matters.Neo barely matters.
  • Respect: +155
  • Referrals: 3
    • View Profile
Re: [Release] ScriptSDK in Java
« Reply #1 on: December 26, 2022, 05:06:19 PM »
Hey buddy, how you've been? Great job on this! Would love to try it out, now that I'm back(ish) to UO! Thank you for sharing with us!
Never refuse an invitation.
Never resist the unfamiliar.
Never fail to be polite.
And never outstay your welcome.