C9 server installation tutorial.
1. MS SQL (2005 or higher, i'm use 2008 R2 )
***************************************
Big thank
Juntoa
He made for you a
video tutorial.
***************************************
I will not describe in detail the mssql server installation, configuration odbs - all as standard, as well as any other textbook. There are several features.
1.
You must be registered to see links
2. Open "01_CH_C9 DB Create.sql" and change ALL (16 times) path (here will be stored database on disk):
3. Execute the query in folder CH_C9_DB_server in order filenames (1-18).
4. Create ODBC for each database (C9World, C9Web, C9Unity, C9Service, C9Resource, C9Rank, C9Log, C9Audit ).
for x64 system cmd->odbcad32
5. Create account:
Code:
USE [C9Unity]
GO
INSERT INTO Auth.TblAccount([cAccId], [cPassword], [cAuthLevel])
VALUES ('you_login', 'you_pass', 'AuthLevel');
AuthLevel: 1- player; 6 - GM.
2. Server
-
note-
=======================================================================
Initially, the server files have been about six months ago share the Divine
they did not work "as is". What has been done me:
- found that the client was able to work with C9.exe (C9.exe was to assemble server)
- C9.exe patched (changed the type of authorization -> turn on window login and password)
- patched the login server (changed the type of authorization)
- patched all server modules (prohibition of rewriting the configuration files)
- patched gameserver (no binding to the key)
- and on the little things ... parse cfs format, parse C9CfsInfo, save the earth from alien invasion (the latter - just kidding)
=======================================================================
1.
You must be registered to see links
2. Run server (server is configured to IP = 127.0.0.1)
- start_min.bat -> only Lobby and 1 map, no Guild, no Arena, no Fortune Survival, no other maps (less demanding of computer resources)
- start_max.bat -> a full server with all maps (more demanding of computer resources)
- stop.bat -> i think no need to explain
script startup rewrites config (LMSConfig.DAT & ServerBaseConfig.dat) in folder ServerData
if you want to change the config (LMSConfig.DAT & ServerBaseConfig.dat), you need to edit folder max_config or folder min_config
a little bit about the maps can be found
here
3. Client
1. Download client (v.2000)
You must be registered to see links
You must be registered to see links
You must be registered to see links
You must be registered to see links
You must be registered to see links
2.
You must be registered to see links
3. About language patch can be read
here and
here
4. Some tools
1. Many thanks
LegalSin his version (GUI) tool for cfs
CHSC9FileManager
2.
You must be registered to see links
===============================================
Short instructions (for example translation maps):
The source files (donor) i used epic client (can be any other what you have and what have the necessary files)
1. Go to epic\Ui\ENG\ENG_Stagemap\ENG_TownMap\
put in ENG_TownMap folder
- cfsTool (cfsTool.exe & tool.exe)
2. Unpack CHI_TownMap.cfs (here are the files with maps in English)
Maps will be unpacked in the directory Unpack\CHI_TownMap\
3. Repeat steps 1 and 2 for our Chinese client (patient)
path - c9\Ui\CHI\CHI_Stagemap\CHI_TownMap\
4. We compare the extracted files in the donor and the patient:
You must be registered to see links
the same number of files, the files differ only in the file name prefix ENG_ - CHI_
5. The donor folder rename ENG_*.dds in CHI_*.dds
6. Create a new directory (eg 'temp'), put it:
- All of the renamed files
- CHI_TownMap.cfs (patient)
- From the root directory (the patient) C9CfsInfo.dat
You must be registered to see links
7. Add one files in the archive CHI_TownMap.cfs
Code:
cfsTool.exe CHI_TownMap.cfs CHI_Ensilrot.dds
rewritten archive will appear in the folder Repack\
8. Delete the added file (CHI_Ensilrot.dds) from the folder "temp", delete the folder "temp" CHI_TownMap.cfs (it does not interfere)
9.
-Important!-
Copy the newly created archive from the folder Repack\ to the root folder temp\
10. Repeat steps 7-9 for the remaining files *.dds
The output is 2 files:
-C9CfsInfo.dat
-CHI_TownMap.cfs
We put them in the appropriate folders of our Chinese client (patient)
that's it) Good luck! )
===============================================
3.
You must be registered to see links
(generates xml of C9CfsInfo.dat... put in the same folder and run ... it's a long time process )
4.
repack tool
5. Additions
1.
=============external ip!=============
Thats is true. LastFun alredy conected in my home server.
The magic is put you root gear in bridge mode.
Change the ip in sql conection to your external like this
You must be registered to see links
change all 127.0.0.1 from server config to external ip.
change your start.bat game ip to extenal ip and have fun.
Dont forget your root need to be in Bridge mode.
=====================================
2.======DB backup (at your own risk)======
You must be registered to see links
=====================================
3.=========translation pic maps==========
thanks
c9lover
https://forum.ragezone.com/redirect...a!gR3yU6pwHEiOTu4CHLp91Hr4Pq1HwHHqyboO29fD8Gc
=====================================
4.=========C9 - Adding Resurrection Scrolls into the Database. (author Juntoa)==========
https://forum.ragezone.com/f858/c9-adding-resurrection-scrolls-database-1084772/
=============================================================================
5.=========Add item, fashion to my character (author WildWild)==========
https://forum.ragezone.com/f858/video-guide-c9-server-databases-1085173-post8534110/#post8534110
=============================================================================
Big thanks:
Divin3 - for server files
Memiko and
c9lover +1 - language patch (thanks guys)
Achtung!!!
=====================================================================
All questions about installation, configuration, error, etc. - HERE.
In this topic, i will ignore such questions... and moderators will be put on a stake for them, he-he)
=====================================================================
p.s.
this post will be supplemented and edited