How setup your server - Local and Online

Page 2 of 5 FirstFirst 12345 LastLast
Results 16 to 30 of 68
  1. #16
    Life is beautiful, after Ledie is offline
    MemberRank
    Aug 2019 Join Date
    /tp homeLocation
    569Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by skycelg1 View Post
    simple question: where can i get the files and the client from?

    This will depend on which version you want. If it's a more stable version, I recommend the 491 (older), if it's a version that already has lahn and mystic but you want to repair it (795) and if it's a remastered version, I recommend the 2100 remastered ODO (needs to work her yet.


    v491
    Spoiler:

    Link Server


    v795
    Spoiler:

    Link Server


    v2100 ODO Re

  2. #17
    Apprentice xvengez is offline
    MemberRank
    Oct 2020 Join Date
    5Posts

    Re: How setup your server - Local and Online

    I tried to setup my own laptop as server with online configuration, so after i follow your guide, i always stuck here
    seems that i cant connect to the loginserver. Is there any other config i need to do?

  3. #18
    Life is beautiful, after Ledie is offline
    MemberRank
    Aug 2019 Join Date
    /tp homeLocation
    569Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by xvengez View Post
    I tried to setup my own laptop as server with online configuration, so after i follow your guide, i always stuck here
    seems that i cant connect to the loginserver. Is there any other config i need to do?
    Wich version are you using ?

  4. #19
    Novice Newbie46 is offline
    MemberRank
    Oct 2020 Join Date
    4Posts

    Re: How setup your server - Local and Online

    thank i follow online setup at my vps.. work as well but , how to make admin account??
    Quote Originally Posted by Ledie View Post



    First of all let's get started.

    Local tutorial / LAN (Setup)
    Spoiler:



    Step 1 - Database
    Spoiler:

    Extract your files.













    And here we finish the database configuration.

    Step 2 - Loginserver
    Spoiler:























    Let's start with the file called database.







    Now, let's go to the "login.properties" file



    Place this setting in login.properties.This configuration is for you to register your account automatically, basically put a login or email in the launcher, a password and when you click "play" it will automatically register in the database.



    Now, let's go to the "network.properties" file



    You will follow the following configuration below.



    I'll explain it very simple.The ip "127.0.0.1" is a local ip, so you don't need to put your ipv4 on.

    Regarding ports 9000 and 8888, you do not need to open them on the firewall, as you are playing locally, so there is no need to open them.

    In relation also to the "0.0.0.0" ip you do not need to change, as it is an ip that redirects, so it will automatically redirect the ip to your ip.



    Step 3 - Gameserver
    Spoiler:
    Let's go back to the root and open the gameserver folder.












    What are these below




    We will again be in order of the image.Let's open the rate.properties fileYou can open them with any text editor





    I'm sorry for not explaining much about the item drop rate and others. I will explain it better in another tutorial.

    Let's go to the next file.The network.properties.



    Here will be the same network settings as the loginserver. However, with a difference in ports, from 8888 to 8889.

    You will follow the following configuration below.



    I'll explain it very simple.The ip "127.0.0.1" is a local ip, so you don't need to put your ipv4 on.

    Regarding ports 9000 and 8889, you do not need to open them on the firewall, as you are playing locally, so there is no need to open them.

    In relation also to the "0.0.0.0" ip you do not need to change, as it is an ip that redirects, so it will automatically redirect the ip to your ip.





    Here it will be very quick. Just follow the short explanation below



    Now let's configure the debug.properties file



    Here we will configure to disable server logs, and avoid using high memory and high cpu.Just follow the settings below and the explanation of what each one is.



    "debug.collections.spawn.disable" if you set "true" to this setting, it will disable collections from your server, this is a way to further optimize the game. And any form of collection, by mining, collecting trees, etc. will be disabled.

    "debug.region.dataload.disable" This setting if you put "True" it will disable the background landscapes when walking the map, when you walk, you can see landscapes very deep, it consumes a little RAM and CPU of your server, but, if you put " true "these landscapes can disappear.

    "debug.actions.enable" This setting if you set it to "true" it will show each step of each player, each action he does, with each NPC he speaks, and all of that will show on gameserver.batso it will consume a lot, but, a lot of cpu and ram.

    "debug.aiscriptloader.enable" This one applies the same as above, the difference is that it applies to monsters and npcs.





    Well, basically this file is an event file, here you can configure the daily rewards (just activate and deactivate)and also the rewards for time online (Yes, you can put pearls for time online and any other item)I will be very brief, because it is not that important, but it is also not useless.

    Follow the settings below if you wish to have rewards for logged in time.



    Let's go to the explanations.

    "events.auto.reward.enable" It is basically if you want to activate this reward for logged time or not, "true" in case you want to leave it activated and "false" in case you don't want to.

    "events.auto.reward.time" Basically here you set the time when each reward will come.30 Minutes is the default, so every 30 minutes online the player will earn this reward.

    "events.auto.reward.mail.name" Here is basically the name of the email that will come in the "B" tab.You can rename the message to whatever you want.

    "events.auto.reward.mail.subject" Here is the name of the subject who sent the email. For example: Staff or Admin.

    "events.auto.reward.mail.message" Here is the message you will send via this email, thanking you for playing or anything else.

    "events.auto.reward.items" Here basically will be the items that you will send.
    The example of 6; 0; 1000It works like this:
    6 is the pearl (pearl id = 6)
    0 is the enchantment level, you cannot send a pearl in the PEN, right.
    1000 is the amount of pearls to be sent.

    Here we finish the tutorial, if I forgot something, let me know.


    Online tutorial (Setup)
    Spoiler:

    Step 1 - Database
    Spoiler:

    Extract your files.













    And here we finish the database configuration.


    Step 2 - Loginserver
    Spoiler:


























    Let's start with the file called database.







    Now, let's go to the "login.properties" file



    Place this setting in login.properties. This configuration is for you to register your account automatically, basically put a login or email in the launcher, a password and when you click "play" it will automatically register in the database.



    Now, let's go to the "network.properties" file



    You will follow the following configuration below.



    "network.rmi.host" I'll explain, basically you need to put your ipv4 here, as the players will connect to it..

    Regarding port 9000 you don't need to open it.But as I said at the beginning, you need to open ports 8888 and 8889. Never open port 27017, it is the location of your database, if you intend to open an online server for everyone to enter, never open port 27017, because if you open , some people like me, will connect to your port 27017 and I will place my account as an administrator account.

    In relation also to the "0.0.0.0" ip you do not need to change, as it is an ip that redirects, so it will automatically redirect the ip to your ip.




    Step 3 - Gameserver
    Spoiler:
    Let's go back to the root and open the gameserver folder.












    What are these below




    We will again be in order of the image.Let's open the rate.properties fileYou can open them with any text editor





    I'm sorry for not explaining much about the item drop rate and others. I will explain it better in another tutorial.

    Let's go to the next file.The network.properties.



    Here as you already opened ports 8888 and 8889 as TCP ports on the firewall, now we can just configure and place IPV4, as we did on the loginserver.

    Follow the tutorial below.



    "network.rmi.host" I'll explain, basically you need to put your ipv4 here, as the players will connect to it..

    Regarding port 9000 you don't need to open it.But as I said at the beginning, you need to open ports 8888 and 8889. Never open port 27017, it is the location of your database, if you intend to open an online server for everyone to enter, never open port 27017, because if you open , some people like me, will connect to your port 27017 and I will place my account as an administrator account.

    In relation also to the "0.0.0.0" ip you do not need to change, as it is an ip that redirects, so it will automatically redirect the ip to your ip.





    Here again you will place your IPV4



    Now let's configure the debug.properties file



    Here we will configure to disable server logs, and avoid using high memory and high cpu.Just follow the settings below and the explanation of what each one is.



    "debug.collections.spawn.disable" if you set "true" to this setting, it will disable collections from your server, this is a way to further optimize the game. And any form of collection, by mining, collecting trees, etc. will be disabled.

    "debug.region.dataload.disable" This setting if you put "True" it will disable the background landscapes when walking the map, when you walk, you can see landscapes very deep, it consumes a little RAM and CPU of your server, but, if you put " true "these landscapes can disappear.

    "debug.actions.enable" This setting if you set it to "true" it will show each step of each player, each action he does, with each NPC he speaks, and all of that will show on gameserver.batso it will consume a lot, but, a lot of cpu and ram.

    "debug.aiscriptloader.enable" This one applies the same as above, the difference is that it applies to monsters and npcs.





    Well, basically this file is an event file, here you can configure the daily rewards (just activate and deactivate)and also the rewards for time online (Yes, you can put pearls for time online and any other item)I will be very brief, because it is not that important, but it is also not useless.

    Follow the settings below if you wish to have rewards for logged in time.



    Let's go to the explanations.

    "events.auto.reward.enable" It is basically if you want to activate this reward for logged time or not, "true" in case you want to leave it activated and "false" in case you don't want to.

    "events.auto.reward.time" Basically here you set the time when each reward will come.30 Minutes is the default, so every 30 minutes online the player will earn this reward.

    "events.auto.reward.mail.name" Here is basically the name of the email that will come in the "B" tab.You can rename the message to whatever you want.

    "events.auto.reward.mail.subject" Here is the name of the subject who sent the email. For example: Staff or Admin.

    "events.auto.reward.mail.message" Here is the message you will send via this email, thanking you for playing or anything else.

    "events.auto.reward.items" Here basically will be the items that you will send.
    The example of 6; 0; 1000It works like this:
    6 is the pearl (pearl id = 6)
    0 is the enchantment level, you cannot send a pearl in the PEN, right.
    1000 is the amount of pearls to be sent.
    Here we finish the tutorial, if I forgot something, let me know.



    If you want a video tutorial, comment below.It may take a while to make the video, but I will.

  5. #20
    Life is beautiful, after Ledie is offline
    MemberRank
    Aug 2019 Join Date
    /tp homeLocation
    569Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by Newbie46 View Post
    thank i follow online setup at my vps.. work as well but , how to make admin account??
    For put yourself as admin you will install studio3t in your vps.

    Open It and connect into localhost, and Port 27017

    It Will appears some options like gameserver etc, If im not sure you open the options of loginserver, Go into accounts options and find your account and in table "AccessLvl" you Will put number "4"

  6. #21
    Member blackss is offline
    MemberRank
    Oct 2010 Join Date
    Kyoto, Japan, JLocation
    52Posts

    Re: How setup your server - Local and Online

    Hello I would like to take a question for example, I have the server hosted on my machine but I can't access it but the players can, is there any configuration to be done where I can access and the players too? example: lineage 2 has lines in the code that allow you to put the external ip address for the players to enter but also allows the internal ip to access

  7. #22
    Apprentice TbBmAllDead is offline
    MemberRank
    Jun 2020 Join Date
    20Posts

    Re: How setup your server - Local and Online

    1. Modify the listening IP in the following 2 files

    loginserver/configs/network.properties
    gameserver/configs/network.properties

    #Listening ip, 0.0.0.0 is all ip
    network.host = 0.0.0.0

    2.The most critical place
    gameserver/configs/server.properties
    #192.168.1.99 Change to the local area network ip of the computer running the server, or the external network ipserver.ip = 192.168.1.99

    3. Log in to bat's 127.0.0.1 and change the above server.ip

    Note: other settings remain as stand-alone.

  8. #23
    Member blackss is offline
    MemberRank
    Oct 2010 Join Date
    Kyoto, Japan, JLocation
    52Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by TbBmAllDead View Post
    1. Modify the listening IP in the following 2 files

    loginserver/configs/network.properties
    gameserver/configs/network.properties

    #Listening ip, 0.0.0.0 is all ip
    network.host = 0.0.0.0

    2.The most critical place
    gameserver/configs/server.properties
    #192.168.1.99 Change to the local area network ip of the computer running the server, or the external network ipserver.ip = 192.168.1.99

    3. Log in to bat's 127.0.0.1 and change the above server.ip

    Note: other settings remain as stand-alone.

    if your message was for me i have to inform you that in the test i did if i put ipv4 in place "2.The most critical place
    gameserver / configs / server.properties
    # 192.168.1.99 Change to the local area network ip of the computer running the server, or the external network ipserver.ip = 192.168.1.99 "
    it doesn't work because my colleague tries to open the game and it closes on time, but when I try to open it goes normal, if I use the external ip the game opens normal for him and for me it closes on time that's the problem.

  9. #24
    Apprentice TbBmAllDead is offline
    MemberRank
    Jun 2020 Join Date
    20Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by blackss View Post
    if your message was for me i have to inform you that in the test i did if i put ipv4 in place "2.The most critical place
    gameserver / configs / server.properties
    # 192.168.1.99 Change to the local area network ip of the computer running the server, or the external network ipserver.ip = 192.168.1.99 "
    it doesn't work because my colleague tries to open the game and it closes on time, but when I try to open it goes normal, if I use the external ip the game opens normal for him and for me it closes on time that's the problem.

    gameserver/configs/server.properties
    server.ip = 192.168.1.99

    There is a problem with the format of this website.This IP is sent by the server to the client.

  10. #25
    Member blackss is offline
    MemberRank
    Oct 2010 Join Date
    Kyoto, Japan, JLocation
    52Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by TbBmAllDead View Post
    gameserver/configs/server.properties
    server.ip = 192.168.1.99

    There is a problem with the format of this website.This IP is sent by the server to the client.
    on the gameserver serverip I put the external ip and not the ipv4

  11. #26
    Apprentice lizorama is offline
    MemberRank
    Apr 2019 Join Date
    7Posts

    Re: How setup your server - Local and Online

    Great tutorial
    looking forward to the video tutorial

  12. #27
    Life is beautiful, after Ledie is offline
    MemberRank
    Aug 2019 Join Date
    /tp homeLocation
    569Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by lizorama View Post
    Great tutorial
    looking forward to the video tutorial
    I can create a one, but it will take time..

  13. #28
    Enthusiast cyberbee is online now
    MemberRank
    Nov 2020 Join Date
    27Posts

    Re: How setup your server - Local and Online

    any tutorial for 491??

  14. #29
    Life is beautiful, after Ledie is offline
    MemberRank
    Aug 2019 Join Date
    /tp homeLocation
    569Posts

    Re: How setup your server - Local and Online

    Quote Originally Posted by cyberbee View Post
    any tutorial for 491??
    I can do it without any problems, but it will take time, because I am too out of time and then I can make available the files that I used in the tutorial

  15. #30
    Novice kaonik is offline
    MemberRank
    May 2021 Join Date
    4Posts

    Re: How setup your server - Local and Online

    I'm attempting to install the 491 sever, I've tried the unknown maybe ODO and Hades server but each of them give the error below. I've tried looking you need Java 8 so I have reinstalled that but same error occurs. Any ideas? Edit: This is login server error, game server starts no issue

    Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/SharedSecrets
    at com.bdoemu.login.LoginServer$2.?(Unknown Source)
    at com.bdoemu.login.LoginServer.?(Unknown Source)
    at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:206)
    at java.base/java.lang.invoke.BootstrapMethodInvoker.invoke(BootstrapMethodInvoker.java:90)
    at java.base/java.lang.invoke.CallSite.makeSite(CallSite.java:315)
    at java.base/java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:271)
    at java.base/java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:261)
    at com.bdoemu.login.LoginServer.<init>(Unknown Source)
    at com.bdoemu.login.LoginServer.main(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: sun.misc.SharedSecrets
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    ... 9 more
    Last edited by kaonik; 30-05-21 at 02:29 AM.



Page 2 of 5 FirstFirst 12345 LastLast

Advertisement