Junior Spellweaver
- Joined
- Oct 20, 2013
- Messages
- 193
- Reaction score
- 56
@CwaniX
What must you do in the Environment tab to make the Debugging Configuration settings work for Spring Boot? I have all of the property_template files in a folder called config. Thank you.
I don't have console-server.properties_template. I will change their extension to .properties. What do you do after that?Did you change the file names accordingly? It should look like this:
View attachment 167118
https://drive.google.com/open?id=1XI56TimLw2QcCPWHe1_nzgY_6Ll9HBDh
English translate for last update in korean server
Thanks for that, but this server will be EP 1.
We got all the translation files, problem is injecting them into the client. Tho i figured that out too. Any help is appreciated
wpktool -m Resource.wpk Data\messagetext.txt Inter\messagetext.txt
wpktool -m Resource.wpk Data\Interface\StringTable.txt Inter\Stringtable.txt
wpktool -m Resource.wpk Data\Interface\Stringtableforname.txt Inter\Stringtableforname.txt
wpktool -m Resource.wpk Data\Interface\StringTableForProgram.txt Inter\StringTableForProgram.txt
you can merge the translated files using wpktool
Ex:
Code:wpktool -m Resource.wpk Data\messagetext.txt Inter\messagetext.txt wpktool -m Resource.wpk Data\Interface\StringTable.txt Inter\Stringtable.txt wpktool -m Resource.wpk Data\Interface\Stringtableforname.txt Inter\Stringtableforname.txt wpktool -m Resource.wpk Data\Interface\StringTableForProgram.txt Inter\StringTableForProgram.txt
But the problems is the file size need to match with the original files so the right way is to make a tool to unpack/repack the wpk file.
❈ ServerList Packet
I was able to figure out majority of the bytes for the ansServerList packet. I was able to have two servers, one server with one channel, and the second server with two channels. Please review the packet structure below the protocols listed below.
The protocols for ServerList follow as:
byte S2C_ansSrvList_Srv = 0x11;
byte S2C_ansSrvList_Chn = 0x12;
Use this information below to create a dynamic server list packet on the auth/agent server. Couldn't tell if your server has this setup or not.
Code:/* 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
Alex MghVery very nice.
I will upload the english client tomorrow.
Its 95% english appart from quests. But its going to be along time until we can need to think about that.
@CwaniX could you try and help me understand the way you process packets from client and send them back. It seems so different from what I am used to in c#.
I implemented a small framework for handling incoming and outgoing packets. All you have to do is add three classes with the appropriate annotations: IncomingPacket, PacketProcessor and OutgoingPacket. You can look at classes C2SAskSrvSelectPacket, C2SAskSrvSelectProcessor and S2CAnsSrvSelectPacket as a simple example. If you use some packet capture utility, you will probably get something like this from the client:@CwaniX could you try and help me understand the way you process packets from client and send them back. It seems so different from what I am used to in c#.
Anyway, here is the link to the English Resource file.
If there are any issues i will upload the full Client but it should be the same:
https://drive.google.com/file/d/1QDldFiURCpa1FtpgodqgtckRMfwjwfWK/view?usp=drivesdk
hey guys .
how is it going with the server?
is it running yet? im willing to help
if its running maybe even with some $
Well heavily depends on your definition of running
If you would like to help i would consider trying to get the server running on your computer as a first step.
If you encounter any problems feel free to reply
I found out that there are packets that have no Content. For example when the Client crashes he will sent a message to the server directly before loading characters. Problem is the Packet Decoder throws an error because it cant handle the packet. I tried to add a knew C2S Packet for that case but it doesnt get recognized. Maybe the decoder doesnt allow packets with no content? I tried to check myself but i dont know if i am right
askServerList Packet
------------------------------
Size (2 bytes)
Category (1 byte - 0x33)
Protocol (1 byte - 0x0F)
Some packets will not have any content, especially from the client. As an example, this one packet that is sent to the Auth Server from the client:
Code:askServerList Packet ------------------------------ Size (2 bytes) Category (1 byte - 0x33) Protocol (1 byte - 0x0F)
Also, what packet are you exactly talking about? I will look at the PacketDecoder and see what's wrong.
No need to worry, i was wrong about that. It only happens in debug mode so i have to see why it happens.
Ok guys I have the best NEWS ever. I found a way to unpack the Resource.wpk and tell the client to use the unpacked files and not the Resource.wpk. Now we can edit everything we want !!!
2020-04-30 00:09:21.454 DEBUG 25588 --- [ntLoopGroup-6-1] p.c.o.c.server.messages.PacketDecoder : [ PACKET DECODER] [userId: ] Incoming data: 48 76 00 00 01 00 00 00 00 32 30 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 40 00 03 00 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 20 00 00 20 00 00 20 81 07 20 42 00 20 0f 00 20 00 00 20 00 00 20 00 00 20 0e 00 20 07 08 66 bf 25 66
2020-04-30 00:09:21.455 ERROR 25588 --- [ntLoopGroup-6-1] p.c.o.c.server.messages.PacketDecoder : [ PACKET DECODER] [userId: ] Unknown packet: 48 76