Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 11:16

  • Please register to post and access all features, it's quick, easy and FREE!

 

[Tut]How to Setup SagaRO2 Server Files

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2007
Posts: 310
Received Thanks: 92
[Tut]How to Setup SagaRO2 Server Files

This tutorial was written by phr34k from .

Guide: Setting up Saga Revised.

The following tutorial instructions are based on a machine running the following hardware & settings: MySQL 6.0, .Net 3.5, 3.0, 2.0, 1.1, x86 OS (32Bit), 3GB of Memory, 1GB Shared Video-Card memory. Other hardware might require additional procedures.

Prerequisites:
1. Saga Binaries & Associated Data folder(s)
2. MySQL Server
3. MySQL Query Browser (MySQL GUI Tools)

Chapter 1 - General Architecture & Design.
To acquire maximum performance while maintaining scalability and extensibility, the latest saga branch, formerly known as Saga revised, has been rewritten based upon the legacy code from scratch.

Chapter 2 - Installation of MySQL

1. Go to the MySQL Site () and download one of the MySQL Servers. We recommend you to use MySQL 6.0.
2. Run the Setup.
3. Agree to the License Terms and press Next.
4. Select Typical Installation, and press Install.
5. Skip the Sign Up, and press Next.
6. Configure MySQL Server now, and press Next.
7. Standard Configuration, and press Next.
8. Install as Windows Service, and press Next.
9. Modify Security Settings, and press Next.
10. Press Execute.

Chapter 3 - Configuration of MySQL

1. Open the Saga Directory.
2. In the database folder create two folders called saga_login, and saga_world.
3. Copy the following list of files to saga_login directory: login.sql, list_worlds.sql, list_worldcharacters.sql, list_acl.sql.
4. Copy the remaining files to saga_world directory.
5. In the folders saga_login and saga_world create a bat file with the following content: "COPY *.sql install.sql"
6. In the saga_login and saga_world run the bat file. It now generates a file called install.sql that contains all files of a folder merged together.
7. Open the MySQL Query Browser.
8. Create two schema's (databases) called: saga_login, saga_world.
9. Set database saga_login as default schema.
10. Open script (Menu -> File -> Open Script) and browse for install.sql in the saga_login directory.
11. Remove the last line from the sql, there is a weird sign, that causes an SQL Error. Removing this sign will fix the error.
12. Press the "Execute" button.
13. Repeat Steps: 8, 9, 10, 11, 12 for saga_world.

Chapter 4 - Initial Configuration of the Server

Sub-Section 1 - Authentication Configuration

1. Open the Binary Directory

2. Run Saga.Authetnication.exe

3. At [Enter the number for the corresponding plugin] Press 1, which maps to: [1.Saga.Authentication.Data.Mysql.MysqlProvider]

4. At [Do you want to configure authentication-gateway settings Y/N?] Press N and Enter.

5. At [Do you want to configure authentication-map settings Y/N?] Press N and Enter.

6. At [Do you want to configure database settings Y/N?] Press Y and Enter.

7. At [What is the database name?] type in saga_login and Press Enter.

8. At [What is the database Username?] type in your database username (see installing mysql).

9. At [What is the database password?] type in your database password (see installing mysql).

10. At [What is the database port?] type in 3306 (default)

11. At [What is the database host?] type in the IP-Address for an external databases or localhost/127.0.0.1 for locally installed database.

12. The Authentication will display:
[Accepting gateway connections from: 64001]
[Accepting gateway connections from: 64002


13. On server type:
Code:
world -add worldname worldpassword (replace worldname and worldpassword by any name and password of YOUR choice.) The server will now add all required database dependencies for that specific World.
14. At [World is created. World id is 1] Remember the world id, and the password. They are needed for setting up the world server discussed in Subsection 3.

Sub-Section 2 - Map Configuration

1. Make sure the authentication server is already running and is configured.

2. At [What is the world id of this server?] type the corresponding world-id (1 in this example) and press enter.

3. At [What is the player limit of this server?] type in the player-limit a server can handle, and press enter. "The rule of thumb is that saga needs 80~ Mebibytes of memory without players. And for every player we advise 200 kibibytes. And have 100~ Mebibytes for reserve.
Thus on a machine of 3 Gibibytes this means:

Maximum Player Limit = (3x1024x1024) - (180x1024) / 200

4. At [What is the authentication proof of this server?] type in the world's password (See Sub-Section 1 - Authentication Configuration).

5. At [What are the cexp rates of this server?] type in any number of choice between 1 and 30.

6. At [What are the jexp rates of this server?] type in any number of choice between 1 and 30.

7. At [What are the wexp rates of this server?] type in any number of choice between 1 and 30.

8. At [What are the item drop rates of this server?] type in any number of choice between 1 and 30.

10. At [Enter the number for the corresponding plugin] Press 1, which maps to: [1.Saga.Map.Data.LuaQuest.LuaQuestProvider]

11. At [Enter the number for the corresponding plugin] Press 1, which maps to: [1. Saga.Map.Data.LuaQuest.ScenarioLuaQuest]

12. At [Enter the number for the corresponding plugin] Press 1, which maps to: [1. Saga.Map.Plugins.MultifileSpawnWorldObjects]

13. At [Enter the number for the corresponding plugin] Press 1, which maps to: [1. Saga.Map.Plugins.MultifileSpawnMultiWorldObjects]

14. At [Enter the number for the corresponding plugin] Press 1, which maps to: [1. Saga.Map.Data.LuaQuest.EventInfo]

15. At [Do you want to configure gateway-map network settings Y/N?] press N and Enter.

16. At [Do you want to configure authentication-map network settings Y/N?] press N and Enter.

17. At [Do you want to configure the database settings Y/N?] press Y and Enter.

18. At [What is the database name?] type in saga_world and press Enter.

19. At [What is the database username?] type in your database password (see installing mysql).

20. At [What is the database password?] type in your database password (see installing mysql).

21. At [What is the database port?] type in 3306 (default)

22. At [What is the database host?] type in the IP-Address for an external database or localhost/127.0.0.1 for locally installed database.

23. At [Do you want to detect other plugins?] Press N and Enter.

24. The map server will display a series of progress bars that indicates the loading of the server, and finally:
[Connect to authentication server: 127.0.0.1:64002]
[Accepting gateway connections from: 127.0.0.1:64403]

25. The authentication server will display: World Connection Established.

Sub-Section 3 - Gateway Configuration

1. Make sure the authentication server is already running and is configured.
2. Open the Binary Directory
3. Run Saga.Gateway
4. At [Do you want to configure network settings Y/N?] Press N
5. At [Do you want to configure authentication network settings Y/N?] Press N
6. At [Do you want to configure gateway-guid-settings Y/N?] Press N.
7. The map server will display a series of progress bars that indicates the loading of the server, and finally:
[Accepting connections from: 0.0.0.0:64000]

Chapter 5 - Adding Accounts

Sub-Section 1 - Test Accounts
1. Make sure the Authentication server runs, if not start it.
2. Make sure the map server runs, if not start it.
3. After the map server is finished loading type "account -create username password [male\female] gmlevel"
**Replace the username, password, and gender as you desire.
**Example: account -create adhdkid test1234 male.

Sub-Section 2 - Normal Accounts
1. To register normal accounts an additional control panel is required. There are no known control panels available at this time.

Chapter 6 - Connecting your first client

1. Make sure the Authentication server runs, if not start it.
2. Make sure the map server runs, if not start it.
3. Make sure the gateway server runs, if not start it.

4. Create a bat (batch) file with the following content in it:
"system\ragii.exe ServerIP=127.0.0.1 ServerPort=64000 WindowSizeX=1024 WindowSizeY=768 WindowHz=60 WindowMode=2". The bat file should be placed in the main directory of the game is at (Where the patcher is located).

5. Login using your account you created.

Credits: Zenzija & phr34k

If you have any questions, please post them on the Forums.

SagaRO2 Does not Deal with CLIENT Related Questions. Do not post Client related Questions there.



ADHDKiD is offline  
Thanks
6 Users
Old   #2
 
elite*gold: 0
Join Date: Jun 2009
Posts: 2
Received Thanks: 0
hellow master o(^_^)o i'm a noobei.. on ro2 and mysql i'm getting stuck on mysql, when i'm trying to configure it and try to execute it a error appears... by the way i'm using windows vista. and i dn't know how to open port's 3306 i think it's about my firewall ..but the thing is i also dn't know how to setup my firewalls , i hope you can help me thx and more power.. ,\m/

sorry for my english lol



ERROR___________


g3tlost is offline  
Old   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3
Received Thanks: 1
got it running now... trying to fix bugs and creating npcs... thnx
himura012506 is offline  
Old   #4
 
elite*gold: 0
Join Date: Oct 2007
Posts: 1
Received Thanks: 0
do not connected ...
saga authentication.exe console message for this
"connection did not authenticate himself withing 10 seconds. Closed Connection"
my server windows server 2003 installed on plesk 8.2
I m open my computer on localhost running server but don't running windows server


raventr is offline  
Old   #5
 
elite*gold: 0
Join Date: Apr 2009
Posts: 2
Received Thanks: 0
hi i have a problem...

why i dont have NPC's in my server??

how i can activate it?
keltot is offline  
Old   #6
 
elite*gold: 0
Join Date: Aug 2009
Posts: 345
Received Thanks: 114
Help!!?...
i get this erro...
how to fix it???
matrix89 is offline  
Old   #7
 
elite*gold: 0
Join Date: Nov 2008
Posts: 12
Received Thanks: 1
Hmm I thought it was working but the MYSQL keeps freezing.
drkfirwnds is offline  
Old   #8
 
elite*gold: 0
Join Date: Nov 2007
Posts: 466
Received Thanks: 29
Perhaps I will give it a try later on.
FLooD420 is offline  
Old   #9
 
elite*gold: 0
Join Date: Dec 2010
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by drkfirwnds View Post
Hmm I thought it was working but the MYSQL keeps freezing.
What you mean freezing? if the problem you mean is that u cannot connect to ur sql host, i can help u..
nostraflexum is offline  
Old   #10
 
elite*gold: 0
Join Date: Dec 2010
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by matrix89 View Post
Help!!?...
i get this erro...
how to fix it???
Delete all server files and re run it just follow instruction carefully, i got my server up at my 1st try.
nostraflexum is offline  
Old   #11
 
elite*gold: 0
Join Date: Sep 2007
Posts: 2
Received Thanks: 0
link server file where??
dakosmu is offline  
Old   #12
 
elite*gold: 0
Join Date: Jan 2011
Posts: 14
Received Thanks: 0
this theard is dead ??????

I Have A Problem With Hack Shield Error 203 And 101 Anyone Can Help ???


PrinceKeke is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
all in one dekaron private server files and setup
i can send you my dekaron server pack with everything in there to start a server just pm me on yahoo: k1ll3r_4ss4ssin or msn: k1ll3r_4ss4ssin ...
12 Replies - Dekaron Private Server
Setup Real Files?
Hello All, I am gonna use the files for private use - it's for my internet cafe, but I have some problems setting it up - i could use some help...
1 Replies - Flyff PServer - Discussions / Questions
[REQUEST] I need guide to setup a server using ini files.
I need guide to setup a server using ini files. Please someone help me.
1 Replies - CO2 PServer - Discussions / Questions
[FREE]Paladin Database|Server Files|Setup Guide[FREE]
o well, Here you go
2 Replies - EO PServer Guides & Releases



All times are GMT +1. The time now is 11:16.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.