[Development] Soul of the Ultimate Nation - Server Emulator

Page 4 of 10 FirstFirst 12345678910 LastLast
Results 46 to 60 of 139
  1. #46
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

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

    [Development] Soul of the Ultimate Nation - Server Emulator
    Sorry took me a while to upload it.

    https://drive.google.com/file/d/1d1y...w?usp=drivesdk

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

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

    Hi, I looked at these files and it looks like there are a lot of new things in them . Maybe I will finally be able to fix the transition between lands. It would be great if you could also help with programming .

  3. #48
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

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

    Quote Originally Posted by CwaniX View Post
    Hi, I looked at these files and it looks like there are a lot of new things in them . Maybe I will finally be able to fix the transition between lands. It would be great if you could also help with programming .
    Hey i hope its helps a litte.
    i would love to help you with Programming,
    what IDE do you use? My Visual Studio doesnt like the project structure :p

  4. #49
    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
    what IDE do you use? My Visual Studio doesnt like the project structure :p
    I'm using IntelliJ IDEA Ultimate but Eclipse also works well .

  5. #50
    Registered akronis is offline
    MemberRank
    Dec 2006 Join Date
    23Posts

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

    nice work : thumbup1:

  6. #51
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

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

    Sadly im getting some errrors so i cant build it. Could you help me fix them?


  7. #52
    Member CwaniX is offline
    MemberRank
    May 2019 Join Date
    PolandLocation
    38Posts

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

    Hi, try to download the latest version - i just sent a patch. You also need the lombok plugin (if you don't have it yet). Then when you manage to build the project you have to set the path to the configuration files:
    Click image for larger version. 

Name:	sun_config.png 
Views:	50 
Size:	365.2 KB 
ID:	167024
    Put the configuration files into the "config" directory inside the path you specified. Sample files are included in the project. I hope it will help

  8. #53
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

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

    Ok nice everything is running, i got my DB and can run my Client. But i cant login. I created a user in the DB like you specified earlier. Problem I am not used to Postgresql so i have no idea how to verify if my account actually was created.

    EDITED:
    ok so the account is there, the only thing not running is the common server. It runs on the same port as the world server.
    Is there a correct order to start the servers?

    - - - Updated - - -

    Everything works :) Sadly i get this error when i try to login.

    Last edited by Alex Mgh; 12-04-20 at 12:50 PM.

  9. #54
    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
    Everything works :) Sadly i get this error when i try to login.
    Try to add
    Code:
    opensun.agent.ip=127.0.0.1
    opensun.agent.port=9000
    to auth-server.properties file. I see that this is missing in the sample file.

    Quote Originally Posted by Alex Mgh View Post
    ok so the account is there, the only thing not running is the common server. It runs on the same port as the world server.Is there a correct order to start the servers?
    There is no need to run common-server - this is just a library/framework used in other servers. Applications can be started in any order .

  10. #55
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

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

    Ok i tried to figure out myselft what was wrong for a while but i cannot solve it. I got to selecting a Channel. But Aftwards the game Crashes. This is the error i get, right when i start the game, and when i select a Channel.

    it Says: "session closed from remote host" in english :)

    I am by no means new to Java but getting into someone elses project can be tough

    [IMG]blob:https://imgur.com/10f9409a-37fc-47d4-be64-18e1165e2602[/IMG]

  11. #56
    Member CwaniX is offline
    MemberRank
    May 2019 Join Date
    PolandLocation
    38Posts

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

    Maybe try to change the port in the server list in the database. There should be the Agent Server address (probably port number 44406).

    Code:
    UPDATE config.server_instance SET port = '44406'
    Quote Originally Posted by Alex Mgh View Post
    I am by no means new to Java but getting into someone elses project can be tough
    Yes, I know it can be difficult, especially because that the configuration of this project is a bit chaotic
    Last edited by CwaniX; 15-04-20 at 11:49 AM.

  12. #57
    Hardcore Member skronix is offline
    MemberRank
    Apr 2014 Join Date
    RussiaLocation
    103Posts

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

    Quote Originally Posted by CwaniX View Post
    Maybe try to change the port in the server list in the database. There should be the Agent Server address (probably port number 44406).
    Code:
    UPDATE config.server_instance SET port = '44406'
    Yes, I know it can be difficult, especially because that the configuration of this project is a bit chaotic
    can you a link to the database server and client?

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

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

    HAHA nice got IN!
    either your SQL Script func_create_character is wrong or your table definition. Once the Column is named Intelligence but the script tries to enter in Inteligence :)

    My first Bug Fix! (though you probably already noticed it).
    Fuck YEAH

  14. #59
    Hardcore Member skronix is offline
    MemberRank
    Apr 2014 Join Date
    RussiaLocation
    103Posts

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

    Quote Originally Posted by Alex Mgh View Post
    HAHA nice got IN!either your SQL Script func_create_character is wrong or your table definition. Once the Column is named Intelligence but the script tries to enter in Inteligence :)My first Bug Fix! (though you probably already noticed it).Fuck YEAH
    You can give a link to the client, server and database?

  15. #60
    Member Alex Mgh is offline
    MemberRank
    May 2014 Join Date
    33Posts

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

    Quote Originally Posted by skronix View Post
    You can give a link to the client, server and database?
    The links are on Page 1 i think!

    - - - Updated - - -

    Quote Originally Posted by CwaniX View Post
    Maybe try to change the port in the server list in the database. There should be the Agent Server address (probably port number 44406).

    Code:
    UPDATE config.server_instance SET port = '44406'

    Yes, I know it can be difficult, especially because that the configuration of this project is a bit chaotic
    Ok do you have any ByteConverterTool? Or do you already know what most Bytes represent?
    2020-04-15 15:24:19.785 DEBUG 1444 --- [ntLoopGroup-6-1] p.c.o.c.server.messages.PacketEncoder : [ PACKET ENCODER] [userId: ] Outgoing data: 48 83 01 00 00 00 2020-04-15 15:24:30.364 ERROR 1444 --- [ecutorGroup-2-1] p.c.o.c.server.SUNServerChannelHandler : [ SUN SERVER] [userId: 1] An error occured

    Server crashes with these bytes while trying to enter the game with my characer

    EDIT: NVM this time i got in, now i can see Bytes going out and in and can start using them to see how everything works

    - - - Updated - - -

    Do you know how to repack Files with the WPK tool?

    - - - Updated - - -

    Ok i was able to translate alot of the game with some files i had, problem is that the text is somehow too big :)
    I will stay on it and upload a Client when its more readable.

    Last edited by Alex Mgh; 15-04-20 at 03:37 PM.



Advertisement