-
Notifications
You must be signed in to change notification settings - Fork 13
Getting Started
GigaToni edited this page Jan 14, 2018
·
5 revisions
- Requirements
- Download Repository
- Building DCNC
- Setting up MySQL
- Configuring DCNC
- Starting DCNC
- Connecting to DCNC
- Visual Studio 2015 or higher (C#)
- MySQL >= 5.6 (DCNC was not tested against MariaDB)
- DCNC Hook & Injector or RiceLauncher
- Download the repository here
- Extract the .zip file in C: (You could also extract it somewhere else, but then you've to modify the paths in this guide.)
- Open src/NeoCity.sln with Visual Studio 2015
- Change from
DebugtoRelease - Click Build -> Build Solution (Or CTRL+SHIFT+B)
- Download and install MySQL Community Server (x86 or x64)
- Open a cmd window (Win+R and type in
cmd) - Execute the following command
- (Replace
123456with the password you specified in the installation at step Setting up MySQL)
mysql -uroot -p123456 -e create schema `DCNC`
- Import the Database tables by executing the following command
- (Replace
123456with the password you specified in the installation at step Setting up MySQL)
mysql -uroot -p123456 <> C:\DCNC\sql\DCMM.sql
- Go into the
systemdirectory and create a folder calleduser - In the user folder create another folder called
conf - Create a file called
database.confinside the newly created conf folder.
Your directory structure should look like this:
- system
-- conf
-- user
--- conf
---- database.conf
- Inside database.conf configure your password. (Replace
123456with the password you specified in the installation at step Setting up MySQL)
- Note: You can override any configuration file this way. It is however noted that you should NOT just edit the files inside
system/conf/because they'll be overwritten when you update DCNC. Always create the same file inside youruserdirectory. (Without the include line)
host : 127.0.0.1
port : 3306
user : root
pass : 123456
database : DCNC
- Congratulations on making it this far. Now you're ready to start the server. At the time of writing this guide there is no specified order in which you have to start the servers. It is however recommended to start the server BEFORE the client because in testing the client couldn't sometimes connect to the server when starting the client first.
- amPerl was so kind to release an injector with launcher called
RiceLauncherthis is the recommended method of running the client since DCNC Hook & Injector is still in early developmentphase. Please seek it out yourself.
DCNC Copyright ©️ 2017 GigaToni
- Home
- Cmd_UserAuth (20)
- Cmd_ServerList (23)
- Cmd_UserAuthAck (22)
- Cmd_ServerMessage (24)
- Cmd_ServerMessageAck (25)
- Home
- Cmd_AreaChat (571)
- Cmd_AreaChatAck (572)
- Cmd_AreaStatus (682)
- Cmd_AreaStatusAck (683)
- Cmd_EnterArea (562)
- Cmd_EnterAreaAck (563)
- Cmd_UdpTimeSync (540)
- Cmd_UdpTimeSyncAck (540)