Jump to content
  • 0

How to Make an premade online server to offline.


Herrscher

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/06/20
  • Last Seen:  

Good day ! I would like to ask on how can I make my pre-made server files to get to work in offline ? I tried changing the ip address on the map,server, and login but it still connects on the online ip instead of the local ip address.

Can anybody help me or give me a link for a tutorial ? Thanks !

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3122
  • Reputation:   1615
  • Joined:  03/26/12
  • Last Seen:  

Offline means it doesn't work.

To use rAthena as a "local" server, you leave the IPs as 127.0.0.1

  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/06/20
  • Last Seen:  

On 9/4/2020 at 10:31 AM, Akkarin said:

Offline means it doesn't work.

To use rAthena as a "local" server, you leave the IPs as 127.0.0.1

Hi thanks it seems to connect to 127.0.0.1 now but I have another problem, my charserver gives an error. Maybe can you help me with this ? Thanks a lot

IMG_20200913_164410.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Please config this 4 file correctly.

Inter Athena is connection between your server to database ( IP , Ragnarok DB name & Ragnarok Log DB ) // Note: Please check carefully the main.sql for Ragnarok DB & log.sql for Ragnarok Logs DB

 

  • inter_athena.conf

    This is my offline server / Local Server :
    // MySQL Login server
    login_server_ip: 127.0.0.1
    login_server_port: 3306
    login_server_id: root
    login_server_pw: admin
    login_server_db: ragnarok_db
    login_codepage:
    login_case_sensitive: no
    
    ipban_db_ip: 127.0.0.1
    ipban_db_port: 3306
    ipban_db_id: root
    ipban_db_pw: admin
    ipban_db_db: ragnarok_db
    ipban_codepage:
    
    // MySQL Character server
    char_server_ip: 127.0.0.1
    char_server_port: 3306
    char_server_id: root
    char_server_pw: admin
    char_server_db: ragnarok_db
    
    // MySQL Map Server
    map_server_ip: 127.0.0.1
    map_server_port: 3306
    map_server_id: root
    map_server_pw: admin
    map_server_db: ragnarok_db
    
    // MySQL Log Database
    log_db_ip: 127.0.0.1
    log_db_port: 3306
    log_db_id: root
    log_db_pw: admin
    log_db_db: ragnarok_logs
    log_codepage:
    log_login_db: loginlog


    Database :

    Untitled.thumb.png.304b6db0acb02a40687395fcb136a0cd.png

     

This is 3 file below the main concern on this file is the port + the user & pass of the server from the database . 

  • char_athena.conf
    // Server Communication username and password.
    userid: s1
    passwd: p1
    
    // Server name, use alternative character such as ASCII 160 for spaces.
    // NOTE: Do not use spaces or any of these characters which are not allowed in
    //       Windows filenames \/:*?"<>|
    //       ... or else guild emblems won't work client-side!
    server_name: High Rate Server
    
    // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
    wisp_server_name: Server
    
    // Login Server IP
    // The character server connects to the login server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    //login_ip: 127.0.0.1
    
    // The character server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Login Server Port
    login_port: 6900
    
    // Character Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    //char_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121

     

  • login_athena.conf
    // Login Server Port
    login_port: 6900

     

  • map_athena.conf 
    //--------------------------------------------------------------
    //                     Configuration Info
    //--------------------------------------------------------------
    // Interserver communication passwords, set in account.txt (or equiv.)
    userid: s1
    passwd: p1
    
    // Character Server IP
    // The map server connects to the character server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    //char_ip: 127.0.0.1
    
    // The map server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121
    
    // Map Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    //map_ip: 127.0.0.1
    
    // Map Server Port
    map_port: 5121



    At this point i already give you the whole detail on making your offline server to online & making your Online to offline the difference is the IP used and it should be the computer is open for 24hours to make it online . That's why we are buying a hosting provider to make our server open 24/7 . You should get what i mean from this point have a great day ! 

Edited by Poring King
  • Like 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/06/20
  • Last Seen:  

10 hours ago, Poring King said:

Please config this 4 file correctly.

Inter Athena is connection between your server to database ( IP , Ragnarok DB name & Ragnarok Log DB ) // Note: Please check carefully the main.sql for Ragnarok DB & log.sql for Ragnarok Logs DB

 

  • inter_athena.conf

    This is my offline server / Local Server :
    
    // MySQL Login server
    login_server_ip: 127.0.0.1
    login_server_port: 3306
    login_server_id: root
    login_server_pw: admin
    login_server_db: ragnarok_db
    login_codepage:
    login_case_sensitive: no
    
    ipban_db_ip: 127.0.0.1
    ipban_db_port: 3306
    ipban_db_id: root
    ipban_db_pw: admin
    ipban_db_db: ragnarok_db
    ipban_codepage:
    
    // MySQL Character server
    char_server_ip: 127.0.0.1
    char_server_port: 3306
    char_server_id: root
    char_server_pw: admin
    char_server_db: ragnarok_db
    
    // MySQL Map Server
    map_server_ip: 127.0.0.1
    map_server_port: 3306
    map_server_id: root
    map_server_pw: admin
    map_server_db: ragnarok_db
    
    // MySQL Log Database
    log_db_ip: 127.0.0.1
    log_db_port: 3306
    log_db_id: root
    log_db_pw: admin
    log_db_db: ragnarok_logs
    log_codepage:
    log_login_db: loginlog


    Database :

    Untitled.thumb.png.304b6db0acb02a40687395fcb136a0cd.png

     

This is 3 file below the main concern on this file is the port + the user & pass of the server from the database . 

  • char_athena.conf
    
    // Server Communication username and password.
    userid: s1
    passwd: p1
    
    // Server name, use alternative character such as ASCII 160 for spaces.
    // NOTE: Do not use spaces or any of these characters which are not allowed in
    //       Windows filenames \/:*?"<>|
    //       ... or else guild emblems won't work client-side!
    server_name: High Rate Server
    
    // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
    wisp_server_name: Server
    
    // Login Server IP
    // The character server connects to the login server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    //login_ip: 127.0.0.1
    
    // The character server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Login Server Port
    login_port: 6900
    
    // Character Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    //char_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121

     

  • login_athena.conf
    
    // Login Server Port
    login_port: 6900

     

  • map_athena.conf 
    
    //--------------------------------------------------------------
    //                     Configuration Info
    //--------------------------------------------------------------
    // Interserver communication passwords, set in account.txt (or equiv.)
    userid: s1
    passwd: p1
    
    // Character Server IP
    // The map server connects to the character server using this IP address.
    // NOTE: This is useful when you are running behind a firewall or are on
    // a machine with multiple interfaces.
    //char_ip: 127.0.0.1
    
    // The map server listens on the interface with this IP address.
    // NOTE: This allows you to run multiple servers on multiple interfaces
    // while using the same ports for each server.
    //bind_ip: 127.0.0.1
    
    // Character Server Port
    char_port: 6121
    
    // Map Server IP
    // The IP address which clients will use to connect.
    // Set this to what your server's public IP address is.
    //map_ip: 127.0.0.1
    
    // Map Server Port
    map_port: 5121



    At this point i already give you the whole detail on making your offline server to online & making your Online to offline the difference is the IP used and it should be the computer is open for 24hours to make it online . That's why we are buying a hosting provider to make our server open 24/7 . You should get what i mean from this point have a great day ! 

Hi ! I already did this and it seems to work but on charserv it says some db are missing ? Maybe you know how to fix it ? The one I replied above yours.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

1 Table in char is missing ! Try delete your ragnarok db and create a new one use the latest main.sql & log.sql from sql folder inside rAthena server files . Connect your database and rAthena server using inter_athena.conf

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...