[Development] Soul of the Ultimate Nation - Server Emulator

Page 9 of 10 FirstFirst 12345678910 LastLast
Results 121 to 135 of 139
  1. #121
    Ultimate Member Ashime is offline
    MemberRank
    Oct 2013 Join Date
    189Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    [Development] Soul of the Ultimate Nation - Server Emulator
    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!

  2. #122
    Member CwaniX is offline
    MemberRank
    May 2019 Join Date
    PolandLocation
    38Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    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 .

  3. #123
    Ultimate Member Ashime is offline
    MemberRank
    Oct 2013 Join Date
    189Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    Quote Originally Posted by CwaniX View Post
    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.

  4. #124
    Ultimate Member Ashime is offline
    MemberRank
    Oct 2013 Join Date
    189Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    @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!

  5. #125
    Newbie xsaidou is offline
    MemberRank
    Oct 2020 Join Date
    3Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    Quote Originally Posted by Alex Mgh View Post
    Thanks for the advise.
    I have a way to inject everything i want into the WPK, regardless of size :) I can even add new stuff if i want.
    Problem is that sometimes the the Client gets error messages if the translated file contains stuff the client cannot handle and crashes.
    I am pretty sure i will get a solid full translated client in a week depending how much time i have.
    @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.
    Last edited by xsaidou; 19-10-20 at 02:34 PM.

  6. #126
    ^_^ ashlay is offline
    True MemberRank
    Jun 2010 Join Date
    BrazilLocation
    656Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    Quote Originally Posted by xsaidou View Post
    @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

  7. #127
    Newbie xsaidou is offline
    MemberRank
    Oct 2020 Join Date
    3Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    Quote Originally Posted by ashlay View Post
    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

    Thank you a lot, i've manage to translate JP client, its not perfect, but its night and day.

  8. #128
    Newbie xsaidou is offline
    MemberRank
    Oct 2020 Join Date
    3Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    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 ;)

  9. #129
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    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

  10. #130
    Account Upgraded | Title Enabled! marelegg is offline
    True MemberRank
    Jul 2008 Join Date
    363Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    Quote Originally Posted by Alex Mgh View Post
    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
    Thats a super progress!!!Would be very useful if you would start to share the github,and finally have a working emulator!

  11. #131
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    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

  12. #132
    Ultimate Member Ashime is offline
    MemberRank
    Oct 2013 Join Date
    189Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    @Alex Mgh
    Did you figure out the packet encryption or did you use a bypassed client?
    Last edited by Ashime; 24-10-20 at 03:30 PM.

  13. #133
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    Quote Originally Posted by Ashime View Post
    @Alex Mgh
    Did you figure out the packet encryption or did you use a bypassed client?
    Sadly I did not figure it out. If I would have done that, you would be the first to know :)

  14. #134
    Newbie Appiebello is offline
    MemberRank
    Oct 2020 Join Date
    1Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    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 ?

  15. #135
    Member CwaniX is offline
    MemberRank
    May 2019 Join Date
    PolandLocation
    38Posts

    Re: [Development] Soul of the Ultimate Nation - Server Emulator

    Quote Originally Posted by Alex Mgh View Post
    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
    Wow, it's nice to see that the topic is still alive . Unfortunately I have too many commercial projects at the moment, therefore I am not able to develop my own, but i can't wait to see your code .



Advertisement