Conect java code to Interface.u/xdat

fa1th.DEV

Путник
Участник
Сообщения
12
Розыгрыши
0
Репутация
20
Реакции
16
Баллы
93
Hi, I don't really know where to post this, because the page is 100% in Russian, even though it is in English.

I have a question that is rarely asked, my idea is to create a java system that only works if the .u and .xdat interface are connected to it


but I have many doubts...

How do I connect a java action to an interface.u action?
in other words, connect the java code to the interface.u buttons and so on?
 
There are slight differences of how to implement this based on the server code and client version you want to do this for.

Are you using L2JServer? What client you want this for?

Now for your question:

To create a java system that only works if the .u and .xdat interface are connected to it.


Can you elaborate on the "connected" part?
1. Do you mean the system to work only in case if .u and .xdat file metadata and/or contents match a certain check?
2. Do you want to send some new data dynamically to the interface? What part of the interface are you interested to show it in?
3. Do you want two-way communication between UI <-> Server, request fetch data, await loading, display data?
 
Последнее редактирование:
Can you elaborate on the "connected" part?
1. Do you mean the system to work only in case if .u and .xdat file metadata and/or contents match a certain check?
2. Do you want to send some new data dynamically to the interface? What part of the interface are you interested to show it in?
3. Do you want two-way communication between UI <-> Server, request fetch data, await loading, display data?
I think there only a few cases. Most of them involve communication using existing packets (at least decoding part does not need to be implemented). And perhaps custom packets? Say you want to send a particular packet from UI (actionable by user click), is it possible? And same thing in reverse, if server sends you a packet, what are options in client to display it? Perhaps repurpose a particular packet in certain ways? I think that should cover what OP is asking about.

I am interested in those questions as well. How much is possible? And if there are existing examples. I'm sure we there are complicated examples too, since there was a topic earlier about JSON and parsing of it. It would be good to list examples and tools.
 
Ис вери посибл. Ю кен сьорч екземпльі в олдовьіх и трушньіх защитах типа р-гвард или как его там. Екст на пакетку, по опкоду найти нужньій и модифицировать, актуально как для клиентских, так и о серверньіх пакетов.

Btw,without ext & moding packages - https://mmo-dev.info/threads/3-Учим...-сервер-клиент-без-особых-заморочек-it.17834/
 
The easiest way is through a well-placed RequestServerBypass() packet (in Interface.u), which you will intercept at a very specific point. If it is not sent, then you deduct they are not using your interface and you kill the connection.
 
There are slight differences of how to implement this based on the server code and client version you want to do this for.

Are you using L2JServer? What client you want this for?

Now for your question:

To create a java system that only works if the .u and .xdat interface are connected to it.


Can you elaborate on the "connected" part?
1. Do you mean the system to work only in case if .u and .xdat file metadata and/or contents match a certain check?
2. Do you want to send some new data dynamically to the interface? What part of the interface are you interested to show it in?
3. Do you want two-way communication between UI <-> Server, request fetch data, await loading, display data?
I use Fafurion 166, Lucera classic pack L2J

For example, I want add items like "Appaerance system" or "Prime Shop", I add one item in the XML, and the server check this, and sent to Client (game), and the interface shows the items, in my case I create a Dress Me system, and I want show some buttons for try, buy, equip, unequip etc., but for that I need connect my code to the interface and the interface connect to my java extension (ext.jar)

If I make via HTML, html not support to many boxes of skins and explode the HTML xD
 
I use Fafurion 166, Lucera classic pack L2J

For example, I want add items like "Appaerance system" or "Prime Shop", I add one item in the XML, and the server check this, and sent to Client (game), and the interface shows the items, in my case I create a Dress Me system, and I want show some buttons for try, buy, equip, unequip etc., but for that I need connect my code to the interface and the interface connect to my java extension (ext.jar)

If I make via HTML, html not support to many boxes of skins and explode the HTML xD
For this, you need to create custom packet(s), for which Rolo has already presented a link to the guide. It is the easiest/most straight-forward way that I know of, and the best thing is - it works. 😁
 
Назад
Сверху