Jump to content
  • 0

tutorial updated?


Question

2 answers to this question

Recommended Posts

Posted

Guide : on how to create your own offline server.

 

 

Basic Software Need : to start your own server good for localhost only. 

 

 

Data & Other Files Need : It means, the files that you need for Client & Server side.

 

 

Part 1 : Guide

 

Now make sure you installed the 3 Basic Software . Now open your Mysql Workbench create 2 database for the main & logs (ex: database1 = main & database2 = logs ). when you are done let's move to the part 2 of the Guide.

 

Part 2 : Guide

 

Now create a new folder in your desktop name it whatever you like. right click it. ( I use TortoiseGIT but it's up to you which of those two software you will use but for this guide I use Tortoise ) refer to the images below..

IA9KyyO.png

 

As you can see the image you can see => " SVN Checkout " it should show up if you install Tortoise. now after you click the SVN Checkout. refer the images below...

8wi8QYw.png

 

Now you need to go to ( https://github.com/rathena/rathena ) copy the link and paste it on the " URL of Repository: " and then press OK. It looks like this when its working..

h2yMCLF.png

 

All you need to do is wait untill its done...

 

 

 

Part 3 : Guide

 

  • When transferring is finished. open your trunk/conf/char_athena.conf
// Athena Character configuration file.

// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.

// Server Communication username and password.
userid: s1 <= Replace this to your desired username.
passwd: p1 <= same thing change it to your desired password

// 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: rAthena

// 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 <= On this part remove the " // " after login_ip:

// 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 <= Same thing with the login_ip remove the " // " after char_ip:

// Character Server Port
char_port: 6121
  • Now open trunk/conf/map_athena.conf
//--------------------------------------------------------------
//rAthena Map-Server Configuration File
//--------------------------------------------------------------

// Note: "Comments" are all text on the right side of a double slash "//"
// Whatever text is commented will not be parsed by the servers, and serves
// only as information/reference.

//--------------------------------------------------------------
// Configuration Info
//--------------------------------------------------------------
// Interserver communication passwords, set in account.txt (or equiv.)
userid: s1 <= This must be the same username with the char_athena.conf
passwd: p1 <= Also this, It must be the same with char_athena.conf (this is important)

// 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 <= Now for this remove the " // " after char_ip:

// 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 <= Also this one, make sure that the " // " after map_ip: must be remove.

// Map Server Port
map_port: 5121

Since this guide if good for localhost only. using 127.0.0.1 is fine...

 

 

  • Now open trunk/conf/inter_athena.conf this part is also important make sure all the details are correct..
// MySQL Login server
login_server_ip: 127.0.0.1
login_server_port: 3306
login_server_id: ragnarok <= Change this to the username you use for Mysql Workbench (default username: root) but make sure you use the correct one.
login_server_pw: ragnarok <= Change this to the password of the username of your Mysql Workbench.
login_server_db: ragnarok <= This one is for the database1(main.sql) hmm? (you remember on the Part 1 Guide. You create 2 database for main & logs.
login_codepage:
login_case_sensitive: no

ipban_db_ip: 127.0.0.1
ipban_db_port: 3306
ipban_db_id: ragnarok <= Same thing username of the Mysql Workbench.
ipban_db_pw: ragnarok <= Password of Mysql Workbench same thing.
ipban_db_db: ragnarok <= same thing. change this to the database1 (main.sql)
ipban_codepage:

// MySQL Character server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: ragnarok <= Same thing username of the Mysql Workbench.
char_server_pw: ragnarok <= Password of Mysql Workbench same thing.
char_server_db: ragnarok <= same thing. change this to the database1 (main.sql)

// MySQL Map Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: ragnarok <= Same thing username of the Mysql Workbench.
map_server_pw: ragnarok <= Password of Mysql Workbench same thing.
map_server_db: ragnarok <= same thing. change this to the database1 (main.sql)

// MySQL Log Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: ragnarok <= Same thing username of the Mysql Workbench.
log_db_pw: ragnarok <= Password of Mysql Workbench same thing.
log_db_db: ragnarok <= Now for this one its for (logs.sql) soo put the database2 name here.
log_codepage:
log_login_db: loginlog

Now you are done setting..

 

This one is not yet finish but the rest can be answered on the other topics.

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...