Install lation Guid, By Eijiyu
---------------------------------------------------------------
add new login for sql
1. install Microsoft SQL SERVER
2. Enterprise Manager.
3. Double click Security,
4. rigth click Logins, select New Login
5. type lunentia(or whatever you want) in Name,
6. choose SQL Server Authentication, put your password(whatever you want),
7. click ok. your new login is made.
------------------------------------------------------------
Setting for Dir.ini, luentia.ini, and service.ini
service.ini
1. change ZONE_ADDR to your IP address
2. change UID to your new SQL login or leave it as lunentia
3. change PWD the password you just made for lunentia.
below is a example:
[MAIN]
SERVER_NAME=LOGIN_SERVER_00
GAME_NAME=Lunentia
LISTEN_PORT=15100
LISTEN_ADMINPORT=13100
LISTEN_GAMESERVERPORT=15000
UDPLISTEN_PORT=12002
ZONE_ADDR=192.168.0.1
DSN=ODBC;DSN=AccountDB;UID=lunentia;PWD=test
Dir.ini
change SVR01_ZONE_ADDR=127.0.0.1 to your ip
Lunentia.ini
Change all IP 127.0.0.1 to your ip
change UID to your login or leave it lunentia
change PWD to the password you just made for lunentia.
--------------------------------------------------------------------
10/31/2004 by StarWord
1.How to restore DB?
Look the top post.
create db AccountDB , restore from AccountDB backup, ODBC name:AccountDB
create db LunentiaTest, restore from LunentiaTest backup, ODBC name LunentiaTest
create db LuCommon, restore from LuCommon backup
2.How to run the server files?
start session.exe //LoginServer
start TzDbAgent_TW.exe
start DBAgentServer_TW.exe
start LunentiaServer_TW.exe //GameServer
3.How to start the tw client?
field xxx.xxx.xxx.xxx 15100
xxx.xxx.xxx.xxx your server ip
15100 LoginServer port
it skip the version check, and some setting.
5.DB OPEN ERROR OCCURED
-- setting the odbc name, UID, PASSWORD error in Lunenita.ini and service.ini
6.DB Load Failed InitLevelInfo()!
[DATABASE]
SERVER=127.0.0.1
UID=lunentia
PWD=password
DB=LunentiaTest
9.some table
USERINFOBASE ----user account
ACCOUNT_CHAR ----user charactor
GAMESERVERINFO ----game server info
SERVERNAME ----game server name
---------------------------------------------------------------------------------------
How to set GM account and Gm command 11/01/2994 By Eijiyu
1. GM Account
SQL Database
AccountDB
Open TB_ADMIN table
put the account id you want to be GM in strAccountID,
put 2 or 1 in bType, this is for type GM power.
2, GM Command
Some GM commands are in traditional chinese so i won't show it here.
/go is map move command, for example
/Go 11 30000 8000
First is map number, Second is the value of x coordinate(0 ~ 60000), Third is the value of y coordinate.(0~60000)
and below is mapinfo
Map Name Map Number
Winian Port 5
Adelbarun Basin 6
Silver Beach 7
The Site of Warrior 8
Winian City 9
The Beach of Shark 10
Benecha City 11
Silent plain 16
Goblin swamp 16
Island of whale 23
Tear of Regina 19
Toe Island 18
Island of Macho Sailor 17
Fruits Island 13
Deck of pirate 25
Anadir City 41
Ice desert 47
Ice plain 46
Azer city 31
Too hot desert 37
Dungeon 1B 51
Dungeon 2B 52
Dungeon 3B 53
Dungeon 4B 54
Dungeon 5B 55
Dungeon 6B 56
Dungeon 7B 57
/HP Your Hp will be full
/CP Your Cp will be full
/Level Your character will be specific level, For example:
/Level 10 Your level will be 10
look it why NO.4 NO.7 NO.9 disappear? someone del it!