l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com

Author Topic: [Guide]How to setup your own L2Server! + Images!  (Read 24443 times)

0 Members and 2 Guests are viewing this topic.

OfflineKiD

  • Newbie
  • *
  • Posts: 7
  • L2topzone Votes: 0
  • Servers reviews: 0
  • Reputation: +14/-0
    [Guide]How to setup your own L2Server! + Images!
    « on: August 01, 2009, 06:47:53 PM »
    Hello again  ;D.
    In this guide i will show you how to setup your own L2 Server. {Pictures Included}
    So lets start...
    You will need to download the following programms:


    MySQL Server {Select your OS and download the right installer for it.}
    Java Developer Kit [Click download at Java SE Development Kit (JDK) Bundles] {At Platform selection: Select your OS}
    Navicat for MySQL

    Also, download the L2J Pack
    L2JMatrix Compiled Pack

    Lets start installing! xD

    Open JavaDeveloperKit Installer and watch the pictures carefully!




    Open MySQL Installer and watch the pictures carefully!















    Open Navicat Installer and watch the pictures carefully!








    Now its time to configure the pack!
    Extract L2J_DataPack & L2J-Server to one folder
    Lets start...
    Open Login folder->Config and then open loginserver.properties
    And find this:

    Code: [Select]
    Login=root
    Password=
    Change it like that:
    Code: [Select]
    Login=root
    Password=root
    Save it and close it.

    Now, go back
    Open GameServer folder->Config and then open server.properties
    If you want your server to be on INTERNET find this: GameserverHostname=* and replace * with your ip
    If you want your server to be on LOCAL find this: GameserverHostname=* and replace * with your 127.0.0.1


    Also find this:
    Code: [Select]
    Login=root
    Password=
    Change it like that:
    Code: [Select]
    Login=root
    Password=root
    Also find this: AcceptAlternateID = True
    And replace it with this: AcceptAlternateID = false

    Save it and close it.

    Go back, and open folder TOOLS find database_installer.bat make a right click on it and edit

    Find these:
    Code: [Select]
    REM LOGINSERVER
    set lsuser=root
    set lspass=
    set lsdb=l2jdb
    set lshost=localhost

    REM GAMESERVER
    set gsuser=root
    set gspass=
    set gsdb=l2jdb
    set gshost=localhost
    And replace them with these:
    Code: [Select]
    REM LOGINSERVER
    set lsuser=root
    set lspass=root
    set lsdb=l2jdb
    set lshost=localhost

    REM GAMESERVER
    set gsuser=root
    set gspass=root
    set gsdb=l2jdb
    set gshost=localhost
    Save and close the file ;D

    Ok now go to Pack Folder and then Tools run database_installer.bat
    It should say something like that:

    Code: [Select]
    WARNING: A full install (f) will destroy data in your
             `accounts` and `gameserver` tables.
             Choose upgrade (u) if you already have an `accounts` table but no
             `gameserver` table (ie. your server is a pre LS/GS split version.)
             Choose skip (s) to skip loginserver DB installation and go to
             gameserver DB installation/upgrade.
    LOGINSERVER DB install type: (f) full or (s) skip or (q) quit?
    Type F
    And to this one:

    Code: [Select]
    WARNING: A full install (f) will destroy all existing character data.
    GAMESERVER DB install type: (f) full install or (u) upgrade or (q) quit?
    F again, and wait the install to be done.
    To this one:

    Code: [Select]
    Do you want to update your database with files in update folder, which are alrea
    dy included in the main files? (RECOMMENDED: NO)
    UPDATE your database: (y) yes or (n) no?
    Type N

    Now go back, and open Login folder, and then run RegisterGameServer.bat
    It should say something like that: Your choice: type 1 and press enter.
    Now in login folder these should be a file named hexid(server 1).txt rename it to hexid.txt and Cut or Copy to folder gameserver/config.
    {Note: If you want to create your account go to Login folder and then run startSQLAccountManager.bat type 1 and then type your username & password and at access level type 100}

    --- If you want to set GM Access to your character go to Navicat->Open l2jdb->characters->and find the field access and set it to your char to 1 ---
    [If you want to run the server go to Login folder and open loginserver.bat and then go to gameserver folder and run gameserver.bat]

    Credits: www.dev-spot.eu

    Linkback: https://l2topzone.com/forum/index.php?topic=44.0

     

    Sitemap