Initiate Mage
- Joined
- Mar 12, 2024
- Messages
- 4
- Reaction score
- 17
## 2. Install compilation tools
-cmake(>3.0.2)
-g++
## 3. Connect resources
- In the roserver root directory
- ./create_make.sh ~/rores
- Comment out the files that are not found in the code
## 4. Install and compile dependent software
- Install mysql-devel, mysql version
```sh
yum install mysql-devel
yum install mysql-community-server.x86_64
```
## 5. Compile server
- cd to roserver/Build/Debug
- Enter the gameserver, controlserver, masterserver, dbserver, gateserver, loginserver directories respectively.
- Execute make
- Comment out the files that are not found in the code
## 6. Configure mysql
- Start mysql
- Run the .sql files under each folder in roserver/exe once
- Add a piece of server information to the gateinfo table under database login
(Example server_id channel state is_open server_name zone_name ipaddr free_ipaddr register_account online_role open_time full_register_time combine_serverid
11 1 1 1 mzx sywc 10.0.128.138:11110 0 0 2017-05-04 08:00:00 2017-05-04 08:00:00 0)
- **Possible problems:**
- (1) mysql cannot be started
The error message is that there is already a file in a certain folder. Modify the path pointed to by data in /etc/my.cnf.
- (2) mysql query and modify the initial password query and modify
```sh
grep "temporary password" /var/log/mysqld.log
mysqladmin -u root -p oldpasswd password newpasswd
```
- (3) Timestamp default value invalid when running .sql
The most direct way to modify sql_mode
```sh
set sql_mode='';
```
## 7. Generate and modify the server configuration file
- Run conf_create.py under roserver/Build/Debug/bin
- Modify the xml files of each server in roserver/Build/Debug/bin/conf. Fill in the mysql account password database information. Modify the host in the peer.
If you want to start multiple gameservers, copy gamserver.xml and modify the line information in it.
- Modify the information in loginserver.xml in roserver/Build/Debug/bin/conf.template.
## 8. Install screen
## 9. Start the server
```sh
cd ./Build/Debug/bin
./start [any name]
```
screen related commands
```sh
screen -ls //View started servers
screen -r [server name] //Switch to each server window to ensure there are no errors
First ctrl+A and then D to exit the screen
```
- **Possible problems:**
- (1) Connection to database refused
The settings of mysql do not allow connections to external services.
Modify the host list of the user used and add the wildcard character %
## 10. Start loginserver
```sh
./loginserver conf.template/loginserver.xml
```
## 11. Run the client and connect
- **Problems encountered**
- (1) There may be situations where the configuration of each server port is inconsistent, resulting in the connection being refused.
Check whether the port number configured in the login gateinfo table is consistent with the gateserver.xml port.
Centos 7 ? Windows ?Markdown (GitHub flavored):## 2. Install compilation tools -cmake(>3.0.2) -g++ ## 3. Connect resources - In the roserver root directory - ./create_make.sh ~/rores - Comment out the files that are not found in the code ## 4. Install and compile dependent software - Install mysql-devel, mysql version ```sh yum install mysql-devel yum install mysql-community-server.x86_64 ``` ## 5. Compile server - cd to roserver/Build/Debug - Enter the gameserver, controlserver, masterserver, dbserver, gateserver, loginserver directories respectively. - Execute make - Comment out the files that are not found in the code ## 6. Configure mysql - Start mysql - Run the .sql files under each folder in roserver/exe once - Add a piece of server information to the gateinfo table under database login (Example server_id channel state is_open server_name zone_name ipaddr free_ipaddr register_account online_role open_time full_register_time combine_serverid 11 1 1 1 mzx sywc 10.0.128.138:11110 0 0 2017-05-04 08:00:00 2017-05-04 08:00:00 0) - **Possible problems:** - (1) mysql cannot be started The error message is that there is already a file in a certain folder. Modify the path pointed to by data in /etc/my.cnf. - (2) mysql query and modify the initial password query and modify ```sh grep "temporary password" /var/log/mysqld.log mysqladmin -u root -p oldpasswd password newpasswd ``` - (3) Timestamp default value invalid when running .sql The most direct way to modify sql_mode ```sh set sql_mode=''; ``` ## 7. Generate and modify the server configuration file - Run conf_create.py under roserver/Build/Debug/bin - Modify the xml files of each server in roserver/Build/Debug/bin/conf. Fill in the mysql account password database information. Modify the host in the peer. If you want to start multiple gameservers, copy gamserver.xml and modify the line information in it. - Modify the information in loginserver.xml in roserver/Build/Debug/bin/conf.template. ## 8. Install screen ## 9. Start the server ```sh cd ./Build/Debug/bin ./start [any name] ``` screen related commands ```sh screen -ls //View started servers screen -r [server name] //Switch to each server window to ensure there are no errors First ctrl+A and then D to exit the screen ``` - **Possible problems:** - (1) Connection to database refused The settings of mysql do not allow connections to external services. Modify the host list of the user used and add the wildcard character % ## 10. Start loginserver ```sh ./loginserver conf.template/loginserver.xml ``` ## 11. Run the client and connect - **Problems encountered** - (1) There may be situations where the configuration of each server port is inconsistent, resulting in the connection being refused. Check whether the port number configured in the login gateinfo table is consistent with the gateserver.xml port.
คุณช่วยกรุณาให้รายละเอียดเพิ่มเติมได้ไหม? ฉันเป็นมือใหม่Markdown (GitHub flavored):## 2. ติดตั้งเครื่องมือคอมไพล์ -cmake(>3.0.2) -ก++ ## 3. ส่วนทรัพยากร - ในไดเร็กทอรีรากของ roseserver - ./create_make.sh ~/rores - ยืนยันไฟล์ที่ไม่พบในโค้ด ## 4. ติดตั้งและคอมไพล์โดยไม่ต้องเสียค่าใช้จ่าย - ติดตั้ง mysql-devel mysql ```ซ ยำติดตั้ง mysql-devel ยำติดตั้ง mysql-community-server.x86_64 - ## 5. คอมไพล์แขก - เห็นว่าเป็น roseserver/Build/Debug - ป้อนเซิร์ฟเวอร์เกม, ผู้โดยสารควบคุม, เซิร์ฟเวอร์หลัก, dbserver, เกตเวย์ผู้โดยสาร, ภายในห้องโถง ตามลำดับ - ดำเนินการทำ - ยืนยันไฟล์ที่ไม่พบในโค้ด ## 6. มะนิลา mysql - เริ่มต้น mysql - ไม่จำเป็นต้องดาวน์โหลดไฟล์ .sql สำหรับข้อมูลเพิ่มเติมใน rosever/exe - สามารถดูข้อมูลได้จากที่นั่นในขั้นตอน gateinfo ภายใต้การเข้าสู่ระบบเทคโนโลยี (ตัวอย่างสถานะช่อง server_id is_open server_name Zone_name ipaddr free_ipaddr register_account online_role open_time full_register_time รวม_serverid 11 1 1 1 mzx sywc 10.0.128.138:11110 0 0 2017-05-04 08:00:00 2017-05-04 08:00:00 0) - **ปัญหาด้านความปลอดภัย:** - (1) เริ่ม mysql ได้เลย คุณสมบัติของสายการบินคือมีไฟล์อยู่ในบางที่สามารถตรวจสอบเส้นทางที่ชี้ไปที่ข้อมูลใน /etc/my.cnf - (2) รองรับ mysql และแก้ไขฐานข้อมูลเริ่มต้นและแก้ไข ```ซ grep "รหัสผ่านชั่วคราว" /var/log/mysqld.log mysqladmin -u root -p รหัสผ่าน oldpasswd newpasswd - - (3) การสังเกตเวลาไม่จำเป็นต้องพูดถึง .sql วิธีตรงที่สุดใน sql_mode ```ซ ตั้งค่า sql_mode=''; - ## 7. สร้างและแก้ไขไฟล์ตามคำขอ - เรียก conf_create.py ใต้ roserver/Build/Debug/bin -การบันทึกไฟล์ xml เซิร์ฟเวอร์ใน roseserver/Build/Debug/bin/conf. คุณสมบัติของเทคโนโลยีประตูบัญชี mysql ส่วนที่เหลือในเพียร์รี ไม่ต้องเริ่มหลายที่เกมต้องรอ gamserver.xml และแก้ไขข้อมูลบรรทัดในนั้น - เผยแพร่ข้อมูลใน loginserver.xml ใน roseserver/Build/Debug/bin/conf.template ##8.ติดตั้งจอ ## 9.เริ่มต้นเซิร์ฟ ```ซ ซีดี ./Build/Debug/bin.cd ./start [ชื่อเชลซี] - ทำตามหน้าจอ ```ซ screen -ls //ดูเลานจ์ที่เริ่มต้น screen -r [ชื่อเซิร์ฟเวอร์] // บันทึกไปยังหน้าต่างเซิร์ฟเวอร์แต่ละรายการและไม่มีการรองรับ ขั้นตอนที่แรกให้ ctrl+A ทั้งหมด D เพื่อออกจากหน้าจอ - - **ปัญหาด้านความปลอดภัย:** - (1) เจ้าหน้าที่ทางเทคนิคถูกปฏิเสธ ของ mysql ไม่อนุญาตให้บริการภายนอก รายการแจ้งให้ทราบอย่างเป็นทางการเพื่อแสดงตัวแทน % ## 10. เริ่มต้นอีกครั้งในเวลานี้ ```ซ ./loginserver conf.template/loginserver.xml - ## 11. ไม่จำเป็นต้องทราบและในนั้น - **ปัญหาที่พบ** - (1) อาจรวมถึงสถานการณ์ที่เกิดขึ้นในหลาย ๆ พอร์ตของเซิร์ฟเวอร์โดยไม่มีการตัดสินที่ถูกปฏิเสธ หมายเลขพอร์ตที่สามารถดูได้ในตาราง Gateinfo เข้าสู่ระบบพอร์ต gateserver.xml
ส Hello, I'm a true beginner. Can you please explain in more detail? Thank you.Markdown (GitHub flavored):## 2. ติดตั้งเครื่องมือการคอมไพล์ -cmake(>3.0.2) -ก++ ## 3. เชื่อมต่อทรัพยากร - ในไดเร็กทอรีรากของ roseserver - ./create_make.sh ~/rores - แสดงความคิดเห็นไฟล์ที่ไม่พบในโค้ด ## 4. ติดตั้งและคอมไพล์ซอฟต์แวร์ที่ต้องพึ่งพา - ติดตั้ง mysql-devel เวอร์ชัน mysql ```ซ ยำติดตั้ง mysql-devel ยำติดตั้ง mysql-community-server.x86_64 - ## 5. คอมไพล์เซิร์ฟเวอร์ - ซีดีเป็น roseserver/Build/Debug - ป้อนเซิร์ฟเวอร์เกม, เซิร์ฟเวอร์ควบคุม, เซิร์ฟเวอร์หลัก, dbserver, เกตเซิร์ฟเวอร์, ไดเรกทอรีล็อกอินเซิร์ฟเวอร์ ตามลำดับ - ดำเนินการทำ - แสดงความคิดเห็นไฟล์ที่ไม่พบในโค้ด ## 6. กำหนดค่า mysql - เริ่ม mysql - เรียกใช้ไฟล์ .sql ในแต่ละโฟลเดอร์ใน rosever/exe หนึ่งครั้ง - เพิ่มข้อมูลเซิร์ฟเวอร์บางส่วนลงในตาราง gateinfo ภายใต้การเข้าสู่ระบบฐานข้อมูล (ตัวอย่างสถานะช่อง server_id is_open server_name Zone_name ipaddr free_ipaddr register_account online_role open_time full_register_time รวม_serverid 11 1 1 1 mzx sywc 10.0.128.138:11110 0 0 2017-05-04 08:00:00 2017-05-04 08:00:00 0) - **ปัญหาที่อาจเกิดขึ้น:** - (1) ไม่สามารถเริ่ม mysql ได้ ข้อความแสดงข้อผิดพลาดคือมีไฟล์อยู่ในโฟลเดอร์บางโฟลเดอร์อยู่แล้ว แก้ไขเส้นทางที่ชี้ไปตามข้อมูลใน /etc/my.cnf - (2) แบบสอบถาม mysql และแก้ไขแบบสอบถามรหัสผ่านเริ่มต้นและแก้ไข ```ซ grep "รหัสผ่านชั่วคราว" /var/log/mysqld.log mysqladmin -u root -p รหัสผ่าน oldpasswd newpasswd - - (3) ค่าเริ่มต้นการประทับเวลาไม่ถูกต้องเมื่อเรียกใช้ .sql วิธีที่ตรงที่สุดในการแก้ไข sql_mode ```ซ ตั้งค่า sql_mode=''; - ## 7. สร้างและแก้ไขไฟล์การกำหนดค่าเซิร์ฟเวอร์ - เรียกใช้ conf_create.py ภายใต้ roserver/Build/Debug/bin - แก้ไขไฟล์ xml ของแต่ละเซิร์ฟเวอร์ใน roseserver/Build/Debug/bin/conf. กรอกข้อมูลฐานข้อมูลรหัสผ่านบัญชี mysql แก้ไขโฮสต์ในเพียร์ หากคุณต้องการเริ่มหลายเซิร์ฟเวอร์เกม ให้คัดลอก gamserver.xml และแก้ไขข้อมูลบรรทัดในนั้น - แก้ไขข้อมูลใน loginserver.xml ใน roseserver/Build/Debug/bin/conf.template ## 8. ติดตั้งจอ ## 9. เริ่มเซิร์ฟเวอร์ ```ซ cd ./Build/Debug/bin.cd ./start [ชื่อใดก็ได้] - คำสั่งที่เกี่ยวข้องกับหน้าจอ ```ซ screen -ls //ดูเซิร์ฟเวอร์ที่เริ่มต้น screen -r [ชื่อเซิร์ฟเวอร์] //สลับไปยังหน้าต่างเซิร์ฟเวอร์แต่ละหน้าต่างเพื่อให้แน่ใจว่าไม่มีข้อผิดพลาด ขั้นแรกให้ ctrl+A จากนั้น D เพื่อออกจากหน้าจอ - - **ปัญหาที่อาจเกิดขึ้น:** - (1) การเชื่อมต่อกับฐานข้อมูลถูกปฏิเสธ การตั้งค่าของ mysql ไม่อนุญาตให้เชื่อมต่อกับบริการภายนอก แก้ไขรายชื่อโฮสต์ของผู้ใช้ที่ใช้และเพิ่มอักขระตัวแทน % ## 10. เริ่มล็อกอินเซิร์ฟเวอร์ ```ซ ./loginserver conf.template/loginserver.xml - ## 11. เรียกใช้ไคลเอนต์และเชื่อมต่อ - **ปัญหาที่พบ** - (1) อาจมีสถานการณ์ที่การกำหนดค่าของแต่ละพอร์ตเซิร์ฟเวอร์ไม่สอดคล้องกัน ส่งผลให้การเชื่อมต่อถูกปฏิเสธ ตรวจสอบว่าหมายเลขพอร์ตที่กำหนดค่าในตาราง Gateinfo เข้าสู่ระบบสอดคล้องกับพอร์ต gateserver.xml หรือไม่
can you make a VM?Markdown (GitHub flavored):## 2. Install compilation tools -cmake(>3.0.2) -g++ ## 3. Connect resources - In the roserver root directory - ./create_make.sh ~/rores - Comment out the files that are not found in the code ## 4. Install and compile dependent software - Install mysql-devel, mysql version ```sh yum install mysql-devel yum install mysql-community-server.x86_64 ``` ## 5. Compile server - cd to roserver/Build/Debug - Enter the gameserver, controlserver, masterserver, dbserver, gateserver, loginserver directories respectively. - Execute make - Comment out the files that are not found in the code ## 6. Configure mysql - Start mysql - Run the .sql files under each folder in roserver/exe once - Add a piece of server information to the gateinfo table under database login (Example server_id channel state is_open server_name zone_name ipaddr free_ipaddr register_account online_role open_time full_register_time combine_serverid 11 1 1 1 mzx sywc 10.0.128.138:11110 0 0 2017-05-04 08:00:00 2017-05-04 08:00:00 0) - **Possible problems:** - (1) mysql cannot be started The error message is that there is already a file in a certain folder. Modify the path pointed to by data in /etc/my.cnf. - (2) mysql query and modify the initial password query and modify ```sh grep "temporary password" /var/log/mysqld.log mysqladmin -u root -p oldpasswd password newpasswd ``` - (3) Timestamp default value invalid when running .sql The most direct way to modify sql_mode ```sh set sql_mode=''; ``` ## 7. Generate and modify the server configuration file - Run conf_create.py under roserver/Build/Debug/bin - Modify the xml files of each server in roserver/Build/Debug/bin/conf. Fill in the mysql account password database information. Modify the host in the peer. If you want to start multiple gameservers, copy gamserver.xml and modify the line information in it. - Modify the information in loginserver.xml in roserver/Build/Debug/bin/conf.template. ## 8. Install screen ## 9. Start the server ```sh cd ./Build/Debug/bin ./start [any name] ``` screen related commands ```sh screen -ls //View started servers screen -r [server name] //Switch to each server window to ensure there are no errors First ctrl+A and then D to exit the screen ``` - **Possible problems:** - (1) Connection to database refused The settings of mysql do not allow connections to external services. Modify the host list of the user used and add the wildcard character % ## 10. Start loginserver ```sh ./loginserver conf.template/loginserver.xml ``` ## 11. Run the client and connect - **Problems encountered** - (1) There may be situations where the configuration of each server port is inconsistent, resulting in the connection being refused. Check whether the port number configured in the login gateinfo table is consistent with the gateserver.xml port.
I was expecting you to do this crazy thingPlease wait still upload
for pan.baidu. here link :
Link:You must be registered to see links
Key:uesi
Almost 120GB
View attachment 258910
View attachment 258911
View attachment 258938
View attachment 258909
The source code is for research only, not for commercial use!
Unity 2018.4.32
anyone knows how to edit this file?
It has this padlock written metadata and I'm not able to change it.
View attachment 259059
Plugins: Failed to load 'Assets/Plugins/x86_64/rocommongamelibs.dll' with error 'Is not possible to find the specified module.
Thank you.MediaFireYou must be registered to see links
MEGAYou must be registered to see links
Can someone make a tutorial? Please.
Can you teach me how to open a file like this in the program?Please wait still upload
for pan.baidu. here link :
Link:You must be registered to see links
Key:uesi
Almost 120GB
View attachment 258910
View attachment 258911
View attachment 258938
View attachment 258909
The source code is for research only, not for commercial use!
Unity 2018.4.32
I managed to download both files. The source codes are almost the same, except for winproject under roserver(building in windows), and clientpackproj for packaging, and Ro.zip is a little newer.Can someone compare the contents of RO(1).7z AND Ro.zip? Do only .git folders differ or not?