Noob guide for setting up ko server

View previous topic View next topic Go down

Noob guide for setting up ko server

Post by  on Mon Dec 31, 2007 6:22 pm

Here it is my noob guide for setting up ko server


Setting up SQL


Run SQL Setup
Select "SQL Server 2000 Components"

1. Click "Install Database Server"

2. Click Next

3. Click dot in Local Computer and Next

4. Click dot in "Create a new instance of SQL Server,or install Client Tools" and
next

5. Put name and company Click Next

6. Click Yes to Agreement

7. Click dot in Server and Client Tools and Next

8. Click dot in Default at top and Click Next

9. Click dot in Typical Click Next

10. Click dot in "Use the same account for each service.Auto start SQL Server
Service"

11. Click dot in "Use the Local System account" Click Next

12. Click dot in "Mixed Mode." and enter a password Click Next

13. Click Next and install

14. When installed reboot so server starts.

-----

Restoring Database


1. Open Enterprise Manager (Start -> Programs -> Microsoft SQL Server ->
Enterprise Manager)

2. Console Root -> Microsoft SQL Servers -> SQL server Group ->

3. Right click (local)(windows) -> Edit SQL server Registration properties

4. Click dot in Use SQL Server authentication -> Login name sa -> leave
password blank -> click dot in Always prompt for login name and password


***LOGIN WITH THE USER/PASS sa/yourpasshere***

and go to Databases.

5. Create a new database, name it KN_online

6. After that, right click on KN_online database then click all tasks and
then "Restore Database".

7. Click on "From Device" and then click on "Select Devices".

8. Click Add and then choose the destination of the backups to Restore into
KN_online.

9. Press OK 3 times to continue, then press the Options tab.

10. Click dot in "Force restore over existing database",

11. Make sure the path of the MDF and LDF files is the same of your server files
(KNonline_data and KN_online_log)

12. Press OK to import the database.

13. Console Root -> Microsoft SQL Servers -> SQL server Group ->
(local) (windows)

14. Go to Security -> Login -> Right click -> New Login

15. Put name knight -> Click dot in sql server authentication

16. use knight as password -> Choose KN_online as database

17. Go to tab Database access -> click on database KN_online

18. In permit in database role click on db_owner -> ok

19. Go to database KN_online -> Right Click -> Properties -> Permission
Click all of them on user knight

20. Disconect from sql server and relog using the user knight in enterprise
manager.

-----

Adding Accounts


1. Open Enterprise Manager (Start -> Programs -> Microsoft SQL Server ->
Enterprise Manager) and go to Databases

2. Choose KN_online

3. Choose Tables

4. Edit ACCOUNT_CHAR and WHAREHOUSE and USERDATA ( by right click -> Open
table -> Return all rows)
They must be empty (Only for the first time)

5. Edit KNIGHT_USER ( by right click -> Open table -> Return all rows)
For adding accounts

-----

System DSN


1. Start Data Sources (ODBC) (Start -> Programs -> Administrative Tools -> Data
Sources (ODBC)), go to System DSN tab then click Add.

2. Select the SQL Server driver(bottom) and click Finish. Choose KN_online for
Name and your SQL Server for Server.

3. Choose sql server authentication -> connect to sql server to obtain settings
Use knight/knight as user

4. Change the default database to KN_online and click Next then Finish and OK.

5. Do the same for Knight_Account, knight, GameDB, AccountDB1, AccountDB.

-----

Edit the ini files


1. Open Aujard.ini -> should look like this

[ODBC]
ACCOUNT_DSN=KN_Online
ACCOUNT_UID=knight
ACCOUNT_PWD=knight
GAME_DSN=KN_Online
GAME_UID=knight
GAME_PWD=knight
LOG_DSN=KN_Online
LOG_UID=knight
LOG_PWD=knight

2. Open Version.ini -> should look like this

[DOWNLOAD]
URL=wizgate.nefficient.co.kr
PATH=pub/wizgate2/knight/upgrade

[ODBC]
DSN=KN_Online
UID=knight
PWD=knight
TABLE=VERSION

[CONFIGURATION]
DEFAULT_PATH=c:\Program Files\KnightOnline
[SERVER_LIST]
COUNT=1
SERVER_00=PUTYOURIPHERE!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!
NAME_00=BEGINNER

3. Open Server.ini -> should look like this

[TIMER]
YEAR=1
MONTH=2
DATE=5
HOUR=10
WEATHER=1
[LOGIN SERVER]
IP=PUTYOUIPHERE!!!!!!!!!!!!!!!!!!!!!!!!!
[CASTLE]
NATION=1
[ZONE_INFO]
MY_INFO=1
SERVER_COUNT=1
SERVER_00=1
SERVER_IP_00=PUTYOUIPHERE!!!!!!!!!!!!!!!!!!!!!!!!! !
SERVER_NUM=0
[BATTLE]
WEEK=5
START_TIME=20
END_TIME=0
[AI_SERVER]
IP=PUTYOURIPHERE!!!!!!!!!!!!!!!!!!!!!!!!!!!

4. Open Server2.ini -> should look like this

[LOGIN SERVER]
IP=PUTYOURIPHERE!!!!!!!!!!!!!!!!!!!!!!
[TIMER]
YEAR=1
MONTH=1
DATE=1
HOUR=1
WEATHER=1
[BATTLE]
WEEK=5
START_TIME=20
END_TIME=0
[CASTLE]
NATION=1
[ZONE_INFO]
MY_INFO=1
SERVER_NUM=0
SERVER_COUNT=1
SERVER_00=1
SERVER_IP_00=PUTYOURIPHERE!!!!!!!!!!!!!!!!!!!!!!!! !!!

-----

Starting the servers

1. Put the map files in \aiserver\map and ebenezer\map

2. Start Loginserver -> VersionManager.exe

3. Start Aiserver -> Server.exe

4. Start Ebenezer -> Ebenezer.exe
(if you get a notice.txt error just make one)

5. Start Aujard -> Aujard.exe

------

Connecting with client


1. Remove any version of ko client you have installed

2. Install KnightOnline_cn_1097.exe

3. Extract the patch1089.zip in the same folder of your knightonline client

4. Edit the Server.ini in your client folder, and it should look like this

[Server]
Count=2
IP0=PUTYOURIPHERE OR PUTIPOFREMOTESERVER!!!!!!!!!!!!!!!!!!
IP1=PUTYOURIPHERE OR PUTIPORREMOTESERVER!!!!!!!!!!!!!!!!!!

5. Start the game using KnightOnLine.exe

6. HAVE FUN!!!!


Favourite Game : MuOnline
Registration date : 1969-12-31

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum