Initiate Mage
- Joined
- Apr 19, 2020
- Messages
- 2
- Reaction score
- 0
It takes the most time to guess the packets structure. You can try to code some missing ones. You just have to add classes annotated IncomingPacket, packetProcessor and OutgoingPacket to AgentServerI will try to help out on what I can. What are you needing help with?
At the beginning I tried to build a structure similar to the original one:Also, why is there so many servers? Wouldn't it be better to merge some so there is less to update and maintain long term? Is there anything for a developer to look at visually that would help break down the what each server does by feature or function or role?
No, i haven't finished the server. I probably don't even have 1%.[QUOTE = CwaniX; 8999371] Привет, я посмотрел эти файлы, и похоже, что в них много новогоtt:. Возможно, я наконец смогу исправить переход между землями. Было бы здорово, если бы вы могли также помочь с программированием :. [/ QUOTE]
You finished work on server? I want play ))
@CwaniX
In the mean time, I will look over the source code. Do you have all bugs and errors listed on GitHub? If so, I will just start there. I'm not very good at packet analysis, but I will look at that as well.
byte[] encKey = new byte[4];
SecureRandom secureRandom = new SecureRandom();
secureRandom.nextBytes(encKey);
encKey[0] = 0x00;
/*
SERVERS ONLY:
Size (2 bytes)
Category (1 byte - 0x33)
Protocol (1 byte - 0x11)
# of Servers (1 byte)
Server Name (32 bytes)
Unknown (1 byte)
Server # (1 byte)
Unknown (1 byte)
Unknown (1 byte) - filler/separator (0x00)
Server Name (32 bytes)
Unknown (1 byte)
Server # (1 byte)
Unknown (1 byte)
*/
/*
CHANNELS ONLY:
Size (2 bytes)
Category (1 byte - 0x33)
Protocol (1 byte - 0x12)
# of Channels (1 byte)
Channel Name (33 bytes)
Server # (1 byte)
Channel # (1 byte)
Unknown (1 byte) - terminator byte (cannot be 0x00)
Unknown (1 byte) - filler/separator (0x00)
Channel Name (33 bytes)
Server # (1 byte)
Channel # (1 byte)
Unknown (1 byte) - terminator byte (cannot be 0x00)
Unknown (1 byte) - filler/separator (0x00)
Channel Name (33 bytes)
Server # (1 byte)
Channel # (1 byte)
Unknown (1 byte) - terminator byte (cannot be 0x00)
*/
@CwaniX
Can you help me with these errors? I have installed the Lombok plugin on IntelliJ.
Alex MghYou have to set the application.location variable in your run/debug configuration.
in Eclipse/SpringSuite it looks like this. In IntelliJ almost the same.
Then you have to save the Config files (you can find them in each server as a .PROPERTY_TEMPLATE file)
into a config folder. The config folder must be inside the path you specified as the application.location.
The auth server config is missing two lines, CWanix posted them in page 4 i think
EDIT: here
opensun.agent.ip=127.0.0.1
opensun.agent.port=9000
mareleggNeed simplify and clean a bit the code / plan a structure.
Im glad the project will continue!
@Alex Mgh
@Alex Mgh
Spring Boot is only available in IntelliJ Ultimate, as mentioned on IntelliJ's support pages.
LINK: https://www.jetbrains.com/help/idea/spring-boot.html
Yeah thats why i swapped to spring suite 4 for Eclipse. Worked alot better for me. https://spring.io/tools
Okay. I will have to install Eclipse and MySQL. The ReadMe on GitHub is getting updated today, whether it's by you, CwaniX or I.
Anyway GOOD NEWS!
English translation works !
Translated and Injected most Strings.
Missing:
-Names
-QuestText
-Error/Warning/Loading Messages
here is link to some more screenshots:
https://imgur.com/a/ebp4mUc
Alex MghYou have to set the application.location variable in your run/debug configuration.
in Eclipse/SpringSuite it looks like this. In IntelliJ almost the same.
Then you have to save the Config files (you can find them in each server as a .PROPERTY_TEMPLATE file)
into a config folder. The config folder must be inside the path you specified as the application.location.
The auth server config is missing two lines, CWanix posted them in page 4 i think
EDIT: here
opensun.agent.ip=127.0.0.1
opensun.agent.port=9000
Yes you need PostgreSQL, but the only thing you need to do is create an empty database and a user for it. You do not have to manually execute any scripts. The entire base structure will be created the first time the server is started. The only thing you have to do manually is to create a player account with the command:
Code:SELECT public.func_create_user_and_account(<username>, <password>)
I cannot update your project in GitHub. All it did was fork the project and the commits I made to README.md is made on my end in my version of the project. Check out the link to see the README.md.
LINK: https://github.com/Ashime/OpenSUN-Server/tree/patch-1
Due to the fact this is my first time doing GitHub, I apologize for the lack of understanding.