<?xml version="1.0" encoding="euc-kr"?><clientinfo><servicetype>America</servicetype><servertype>Primary</servertype><connection><display>DynamicRO</display> # Name of Server <balloon>Ragnarok Online</balloon><desc>A Dynamic Experience</desc><address>127.0.0.1</address><port>6900</port><version>46</version> ### 2013-08-07aRagexe # Change <version> to the one corresponding your client version. Refer to serverdbpacket_db.txt <langtype>0</langtype><registrationweb>flux.domain.com</registrationweb> # Registration URL <aid><yellow><admin>2000000</admin></yellow></aid><loading><image>loading00.jpg</image><image>loading01.jpg</image><image>loading02.jpg</image><image>loading03.jpg</image><image>loading04.jpg</image><image>loading05.jpg</image><image>loading06.jpg</image><image>loading07.jpg</image><image>loading08.jpg</image><image>loading09.jpg</image><image>loading10.jpg</image></loading></connection></clientinfo>
4) For the server side, these are the changes/guide I made:
1) Make the following changes in the following files:
A. Serverconf
a. inter_athena.conf or inter-server.conf
i.Change the following:// Global SQL settings sql.db_username: root # MySQL Account sql.db_password: root # MySQL Account sql.db_database: "emulator" # name of the database to be created later // MySQL Character SQL server char_server_id: root # MySQL Account char_server_pw: root # MySQL Account char_server_db: "emulator" # name of the database to be created later // MySQL Map SQL Server map_server_id: root # MySQL Account map_server_pw: root # MySQL Account map_server_db: "emulator" # name of the database to be created later // MySQL Log SQL Database log_db_id: root log_db_pw: root log_db_db: log log_login_db: loginlog
b. char_athena.conf or char-server.conf
i.Change the following:// Server Communication username and password. userid: admin # Inter-Server Communication Account passwd: 1or.)!LY # Inter-Server Communication Account // Server name, use alternative character such as ASCII 160 for spaces. server_name: DynamicRO // Amount of time in seconds by which the character deletion is delayed. char_del_delay: 86400 --> 60 // Pincode system pincode_enabled: 1 --> 0 ii. Remove "//" from the following lines: //login_ip: 127.0.0.1 //char_ip: 127.0.0.1
c. map_athena.conf or map-server.conf
i.Change the following to chosen credentials:// Interserver communication passwords, set in account.txt (or equiv.) userid: admin # Inter-Server Communication Account passwd: 1or.)!LY # Inter-Server Communication Account ii. Remove "//" from the following lines: //char_ip: 127.0.0.1 //map_ip: 127.0.0.1 d. login-server.conf i. Change the following: //If new_account is enabled, minimum length to userid and passwords should be 4? //Must be 'Yes' unless your client uses both 'Disable 4 LetterUserID/Password' Diffs new_acc_length_limit: no // Check The clientversion set in the clientinfo ? check_client_version: yes // What version we would allow to connect? (if the options above is enabled..) client_version_to_connect: 46
e. grf-files.txt
i.Change the following:// GRF Files grf: E:OnlineDynamicROdynamic.grf grf: E:OnlineDynamicROrdata.grf grf: E:OnlineDynamicROdata.grf // Data Directory data_dir: E:OnlineDynamicRO
a. mmo.h i.Change the following into the date of your chosen ClientVersion:#ifndef PACKETVER #define PACKETVER 20130807### 2013-08-07aRagexe #endif ii. Add "//" to the following lines since we are using ragexe.exe not ragexeRE.exe: // Comment the following line if your client is NOT ragexeRE (required because of conflicting packets in ragexe vs ragexeRE). //#define PACKETVER_RE
A.OpenMySQLWorkbench. B.Loginbydouble-clicking "Local instance MySQL Server". username: root # MySQL Account password: root # MySQL Account C. Create new Schemas: a. "emulator" Click on 'Create New Schema' and name it "emulator". Double click "emulator" schema. Click 'Open SQL Script' and open: Serversql-filesmain.sql Click 'Execute' button (Lightning symbol). Wait for it to finish. Make "emulator" the default schema. b. logs Click on 'Create New Schema' and name it "log". ### NOTE: log not logs = with an 's' Double click "logs" schema. Click 'Open SQL Script' and open: Serversql-fileslogs.sql Click 'Execute' button (Lightning symbol). Wait for it to finish. D. Edit Schemas a. Create Inter-Server Communication Account Double click "emulator" schema. Double click 'table'. Find 'login' and right click it. Choose select ‘Select Rows – Limit 1000’. Select first row with 'account_id' = 1 Change 's1' and 'p1' or 'userid' and 'user_pass' on the right table by double clicking. username: admin # Inter-Server Communication Account password: 1or.)!LY # Inter-Server Communication Account Click 'Apply'. Click 'Finish'. b. Create Game Master Account Go to Schema>"emulator">Table>Login> Right click Login. Click 'Select Rows - Limit 1000' Click "Edit" button to Create New Account. Right click on a new row and click 'Add Row'. Input "account ID" and press Enter. Double Click 'userid' and 'user_pass' rows and enter your username and password. Find 'group_id' table and edit it to 99. Simple mask: 0 - Simple User; 1 - Super User; 5 - Premium User; X - ......; 99 - Head Game Master (Administrator)
3) Compile the changes made in the server.
A.OpenVisualStudio. B.OpenProject: server-version.sln "emulator"9= VS 2009"emulator"10= VS 2010"emulator"11= VS 2012"emulator"12= VS 2013 C.Change'Debug'into'Release'. D.Select the following:char-server.sql login-server.sql map-server.sql mapcache E.Right click selection and click 'Build Selection'. F.Wait to Finish.### WARNING: Everytime you change anything in src, you have to recompile.
Added Codebox
Share this post
Link to post
Share on other sites