I started back up the [SUN Online] Encryption Algorithm discussion. I posted some information about what I think on the packet encryption. Check it out at your convenience. Thank you!
Printable View
I started back up the [SUN Online] Encryption Algorithm discussion. I posted some information about what I think on the packet encryption. Check it out at your convenience. Thank you!
Hello, sorry for the long absence :):. Unfortunately, I do not have much new information on my part. I started implementing map file support but I miss some data about the format. When it comes to encryption, I'm not dealing with the implementation of algorithms yet, I am trying to bypass encryption in the original client and read unencrypted packets. I will let you know when I can read something. For now I have no more news :(:.
I respect your answer, but keep in mind that figuring out the encryption results in being able to read and implement retail server packets quicker. We would not have to guess or dig for answers elsewhere. I will continue to figure out the encryption algorithm, then I will create a proxy server to decrypt packets. I'm not sure on how you are doing it. Good luck.
@CwaniX
I updated TEA.java on my version of the project. I believe I did the pull request correctly. Let me know if nothing shows up for you or if you have any questions about what I changed. Thanks!
@Alex Mgh @Ashime @ashlay
Hey there, could you be so nice and let me know how you injected translations into the wpk? Im trying to translate JP version of SUN, since me and few other folks still play it these days. KR version had all the .txt files in game folder and it was super easy to translate, but JP is different story. WPKTool doesnt work for me.
Please help.
Edit:
Ok, ive manage to extract one file - system.wpk, but there is no .txt with translations t_t.
And bigger file (7GB+) throw error.
Use those commands to merge your translation with the system.wpk
the files need to be exactly the same size as the extracted files.
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
ive created the guide how to translate JP client.
https://drive.google.com/file/d/1Ul7...ew?usp=sharing
https://imgur.com/jbjluhr
maybe it will help someone, somewhere, sometime ;)
They way you can inject almost any File in the wpk is by using the memory addresses instead of the filenames.
So the command would be wpktool.exe -m Resource.wpk messagetext.txt [address]
then the size of the file doesnt matter.
you can get the addresses by calling wpktool.exe -l
Its nice to put that into a batch file and echo the output to a txt file so you can search it better.
I am currently still working on the Server. I made some good progress.
What is done so far:
Authentification,
Entering the Game,
Moving to ALL Maps (not tried Missions yet).
I can create Items including(Grade,Enchant,Devine,Sockets,9 Grade Boni)
I can equip those items.
I can Drop those Items into the world and Drop Heim
I can Buy and Sell items with merchants
I can spawn any Monster that i want (achieved this today and had some fun spawning Bishop in Etherain)
those mobs dont attack yet tho.
I am currently working on Auto Attacking.
I made my own Server in C# because i was to dumb to understand the Project Structure and the new kind of Java that @CwaniX used.
As its still early and the main focus is figuring out the packets I hope this doesnt upset anybody.
The Server is a Master Type Server and a Windows From, so you can start/stop/restart it with 1 Button.
The only thing you need is an SQL Server.
If there are more people willing to help I will gladly share my Github after I did some Code cleanup :P
@xsaidou if you upload or tell me where you downloaded your Client i would be happy.
Greetings Nightmore
working is kind of an over statement :P
But yeah i tried to build the server focusing on figuring out packets.
The Server will log all unkown packets to the Console and all known Packets to a file (one logfile for each kind of packet).
This way you can run some tests in the client and inspect all the packets later.
This week i will focus on stability of the Server and readability of the Code, aswell as some basic instructions how to handle things.
Remember that until now there is not alot of server logic yet.
My first goal was to figure out packets so the game can basicly be run as a single player game.
Thats because most of the synchronisation logic needs to have the rest of the logic already implemented.
An example for that would be that spawning monsters and items into the game is hardcoded.
Since this is a windows Form i will try to add some Buttons for specific actions.
Then client i am running is the 1007 chinese client that i translated 80% to english, some missing IDs and a couple of Quests, but most are in english. I will still gladly see if the JP Client is as easy to handle or even better.
Anyway i will try to make the Server as easy to handle as i can, so everyone can start using it.
One thing i saldy cannot make easier is installing an Sql Server but this should be pretty easy with SQl Express etc.
Greetings Nightmore
@Alex Mgh
Did you figure out the packet encryption or did you use a bypassed client?
Hi , im just a bypasser but i've played sunonline in its glory days. And would like to play it again if possible. And saw the amazing effort that you guys try to do. There actually is an client for the game on webzen but you pretty much get stuck at some point. How is the difficult work going. Will it take a long time to get the server up ?