Service construction process for Ragnarok Origin

Newbie Spellweaver
Joined
Jan 30, 2021
Messages
57
Reaction score
115

*************************************************************************************************************

/home
| -- roserver
--| -- audioconf
--| -- bin
---- | -- audioserver
---- | -- authserver
---- | -- battleserver
---- | -- controlserver
---- | -- dbserver
---- | -- fmserver
---- | -- gameserver
---- | -- gateconf
---- | -- gateserver
---- | -- gmtoolserver
---- | -- idipserver
---- | -- loginserver
---- | -- masterserver
---- | -- payserver
---- | -- rankserver
---- | -- start
---- | -- status
---- | -- stop
---- | -- tradeserver
--| -- conf
--| -- csconf
--| -- dbconf
--| -- gateconf
--| -- gsconf
--| -- idipconf
--| -- ipqueryconf
--| -- log
--| -- logconf
--| -- loginconf
--| -- rsconf
--| -- rsync
--| -- script
--| -- start
--| -- status
--| -- stop
--| -- trconf
--| -- versionconf
--| -- webconf
--| -- worldconf

ubuntu 20.04.5
mysql 5.6
Redis 5.0.7

apt install redis-server
systemctl start redis-server

/home/roserver/conf
set mysql passwd or run create_database.py
set ip and port,
/home/roserver/conf/login_conf.xml
set redis conf

then run sig pro test
if dis *.so file ,copy in server or install package,

cd /home/ubuntu/roserver/bin
./audioserver: error while loading shared libraries: libnss.so.4: cannot open shared object file: No such file or directory
apt install libnss3
apt install libnss3-dev


./audioserver: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
apt-get install libssh2-1-dev

./audioserver: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
see package:
environ\libmysqlclient18_5.6.25-0ubuntu1_amd64.deb


./masterserver: error while loading shared libraries: liboauth.so.0: cannot open shared object file: No such file or directory
./payserver: error while loading shared libraries: liboauth.so.0: cannot open shared object file: No such file or directory

see package:
environ\install_liboauth.txt


change start file content
StartServer $db_name ./bin/dbserver "conf/db_conf.xml"
......

./start 1
starting ./bin/dbserver ...
start ./bin/dbserver on screen session 1_db
./bin/dbserver started
starting ./bin/gameserver ...
start ./bin/gameserver on screen session 1_gsa
./bin/gameserver started
starting ./bin/gameserver ...
start ./bin/gameserver on screen session 1_gsb
./bin/gameserver started
starting ./bin/gateserver ...
start ./bin/gateserver on screen session 1_gt
./bin/gateserver started
starting ./bin/masterserver ...
start ./bin/masterserver on screen session 1_ms
./bin/masterserver started
starting ./bin/controlserver ...
start ./bin/controlserver on screen session 1_ns
./bin/controlserver started
starting ./bin/audioserver ...
start ./bin/audioserver on screen session 1_audio
./bin/audioserver started
starting ./bin/authserver ...
start ./bin/authserver on screen session 1_auth
./bin/authserver started
starting ./bin/tradeserver ...
start ./bin/tradeserver on screen session 1_tr
./bin/tradeserver started
starting ./bin/battleserver ...
start ./bin/battleserver on screen session 1_bt
./bin/battleserver started
starting ./bin/payserver ...
start ./bin/payserver on screen session 1_pay
./bin/payserver started
starting ./bin/rankserver ...
start ./bin/rankserver on screen session 1_rank
./bin/rankserver started
starting ./bin/idipserver ...
start ./bin/idipserver on screen session 1_idip
./bin/idipserver started
starting ./bin/fmserver ...
start ./bin/fmserver on screen session 1_fm
./bin/fmserver started
starting ./bin/loginserver ...
start ./bin/loginserver on screen session 1_login
./bin/loginserver started
Tue 11 Jun 2024 12:36:54 AM CST

./status 1
1_gt: screen(159620)---bash(159622)---gateserver(159740)-+-{gateserver}(159745)
1_ms: screen(159747)---bash(159749)---masterserver(169740)-+-{masterserver}(169745)
1_ns: screen(159875)---bash(159877)---controlserver(160000)-+-{controlserver}(160012)
1_gsa: screen(159314)---bash(159316)---gameserver(159482)-+-{gameserver}(159496)
1_gsb: screen(159487)---bash(159489)---gameserver(159615)-+-{gameserver}(159629)
1_db: screen(159180)---bash(159182)---dbserver(159309)-+-{dbserver}(159319)
1_audio: screen(160005)---bash(160008)---audioserver(160135)-+-{audioserver}(160145)
1_auth: screen(160140)---bash(160142)---authserver(160253)-+-{authserver}(160263)
1_tr: screen(160258)---bash(160260)---tradeserver(160367)-+-{tradeserver}(160377)
1_bt: screen(160372)---bash(160374)---battleserver(160488)-+-{battleserver}(160493)
1_pay: screen(160494)---bash(160496)---payserver(160608)-+-{payserver}(160621)
1_rank: screen(160613)---bash(160615)---rankserver(160736)-+-{rankserver}(160740)
1_idip: screen(160742)---bash(160744)---idipserver(160851)-+-{idipserver}(160862)
1_fm: screen(160856)---bash(160858)---fmserver(160961)-+-{fmserver}(160971)
1_login: screen(160966)---bash(160967)---loginserver(161081)-+-{loginserver}(161083)

ps ux | grep ./bin
root 159309 11.4 1.1 635660 87132 pts/1 Sl+ 00:36 4:25 ././bin/dbserver conf/db_conf.xml
root 159482 4.3 10.3 1388376 786904 pts/2 Sl+ 00:36 1:41 ././bin/gameserver conf/gs_conf1.xml
root 159615 4.2 10.6 1413336 812500 pts/3 Sl+ 00:36 1:38 ././bin/gameserver conf/gs_conf2.xml
root 159740 1.6 0.2 331912 19096 pts/4 Sl+ 00:36 0:38 ././bin/gateserver conf/gate_conf.xml
root 160000 1.6 0.7 550224 58848 pts/6 Sl+ 00:36 0:37 ././bin/controlserver conf/ctrl_conf.xml
root 160135 1.5 0.3 353176 25548 pts/7 Sl+ 00:36 0:35 ././bin/audioserver conf/audio_conf.xml
root 160253 1.4 0.3 336464 24780 pts/8 Sl+ 00:36 0:34 ././bin/authserver conf/auth_conf.xml
root 160367 0.8 0.5 440476 39920 pts/9 Sl+ 00:36 0:18 ././bin/tradeserver conf/tr_conf.xml
root 160488 1.5 0.2 319168 19096 pts/10 Sl+ 00:36 0:34 ././bin/battleserver conf/bt_conf.xml
root 160608 2.0 0.5 561716 43204 pts/11 Sl+ 00:36 0:47 ././bin/payserver conf/pay_conf.xml
root 160736 1.6 0.3 364088 28676 pts/12 Sl+ 00:36 0:37 ././bin/rankserver conf/rank_conf.xml
root 160851 1.6 0.3 352064 28644 pts/13 Sl+ 00:36 0:37 ././bin/idipserver conf/idip_conf.xml
root 160961 1.9 0.3 549628 28792 pts/14 Sl+ 00:36 0:45 ././bin/fmserver conf/fm_conf.xml

netstat -ano | grep 25001
tcp 0 0 0.0.0.0:25001 0.0.0.0:* LISTEN off (0.00/0/0)
 
Last edited:
Can someone mirror 20GB once Mega take limit and slow or can someone to split it?
 

*************************************************************************************************************


netstat -ano | grep 25001
tcp 0 0 0.0.0.0:25001 0.0.0.0:* LISTEN off (0.00/0/0)


After I package the apk and test it, I also want to try to build the client using Linux.
This version is just for practice.
Because I heard that a new version has appeared in 2024
Someone should share it soon
 
can you tell more or make a tutorials

​


tutorial link
 
"DllNotFoundException: rocommongamelibs " how fix it

20240612190249.webp


@hollyland can you make a 2.7.4.0 apk client have gm mode,​

 
Last edited:
หลังจากที่ฉันแพ็กเกจ APK และทดสอบแล้ว ฉันต้องการลองสร้างไคลเอนต์โดยใช้ Linux ด้วย
เวอร์ชันนี้ใช้เพื่อฝึกฝนเท่านั้น
เพราะได้ยินมาว่าจะมีเวอร์ชันใหม่ออกมาในปี 2024 ครับ
ควรมีคนแบ่งปันเรื่องนี้เร็วๆ นี้
This file, we just compile and find the game, right? And what game program can we use? Or does dad have a tutorial? Thank you in advance, teacher.
 
Last edited:

*************************************************************************************************************

/home
| -- roserver
--| -- audioconf
--| -- bin
---- | -- audioserver
---- | -- authserver
---- | -- battleserver
---- | -- controlserver
---- | -- dbserver
---- | -- fmserver
---- | -- gameserver
---- | -- gateconf
---- | -- gateserver
---- | -- gmtoolserver
---- | -- idipserver
---- | -- loginserver
---- | -- masterserver
---- | -- payserver
---- | -- rankserver
---- | -- start
---- | -- status
---- | -- stop
---- | -- tradeserver
--| -- conf
--| -- csconf
--| -- dbconf
--| -- gateconf
--| -- gsconf
--| -- idipconf
--| -- ipqueryconf
--| -- log
--| -- logconf
--| -- loginconf
--| -- rsconf
--| -- rsync
--| -- script
--| -- start
--| -- status
--| -- stop
--| -- trconf
--| -- versionconf
--| -- webconf
--| -- worldconf

ubuntu 20.04.5
mysql 5.6
Redis 5.0.7

apt install redis-server
systemctl start redis-server

/home/roserver/conf
set mysql passwd or run create_database.py
set ip and port,
/home/roserver/conf/login_conf.xml
set redis conf

then run sig pro test
if dis *.so file ,copy in server or install package,

cd /home/ubuntu/roserver/bin
./audioserver: error while loading shared libraries: libnss.so.4: cannot open shared object file: No such file or directory
apt install libnss3
apt install libnss3-dev


./audioserver: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
apt-get install libssh2-1-dev

./audioserver: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
see package:
environ\libmysqlclient18_5.6.25-0ubuntu1_amd64.deb


./masterserver: error while loading shared libraries: liboauth.so.0: cannot open shared object file: No such file or directory
./payserver: error while loading shared libraries: liboauth.so.0: cannot open shared object file: No such file or directory

see package:
environ\install_liboauth.txt


change start file content
StartServer $db_name ./bin/dbserver "conf/db_conf.xml"
......

./start 1
starting ./bin/dbserver ...
start ./bin/dbserver on screen session 1_db
./bin/dbserver started
starting ./bin/gameserver ...
start ./bin/gameserver on screen session 1_gsa
./bin/gameserver started
starting ./bin/gameserver ...
start ./bin/gameserver on screen session 1_gsb
./bin/gameserver started
starting ./bin/gateserver ...
start ./bin/gateserver on screen session 1_gt
./bin/gateserver started
starting ./bin/masterserver ...
start ./bin/masterserver on screen session 1_ms
./bin/masterserver started
starting ./bin/controlserver ...
start ./bin/controlserver on screen session 1_ns
./bin/controlserver started
starting ./bin/audioserver ...
start ./bin/audioserver on screen session 1_audio
./bin/audioserver started
starting ./bin/authserver ...
start ./bin/authserver on screen session 1_auth
./bin/authserver started
starting ./bin/tradeserver ...
start ./bin/tradeserver on screen session 1_tr
./bin/tradeserver started
starting ./bin/battleserver ...
start ./bin/battleserver on screen session 1_bt
./bin/battleserver started
starting ./bin/payserver ...
start ./bin/payserver on screen session 1_pay
./bin/payserver started
starting ./bin/rankserver ...
start ./bin/rankserver on screen session 1_rank
./bin/rankserver started
starting ./bin/idipserver ...
start ./bin/idipserver on screen session 1_idip
./bin/idipserver started
starting ./bin/fmserver ...
start ./bin/fmserver on screen session 1_fm
./bin/fmserver started
starting ./bin/loginserver ...
start ./bin/loginserver on screen session 1_login
./bin/loginserver started
Tue 11 Jun 2024 12:36:54 AM CST

./status 1
1_gt: screen(159620)---bash(159622)---gateserver(159740)-+-{gateserver}(159745)
1_ms: screen(159747)---bash(159749)---masterserver(169740)-+-{masterserver}(169745)
1_ns: screen(159875)---bash(159877)---controlserver(160000)-+-{controlserver}(160012)
1_gsa: screen(159314)---bash(159316)---gameserver(159482)-+-{gameserver}(159496)
1_gsb: screen(159487)---bash(159489)---gameserver(159615)-+-{gameserver}(159629)
1_db: screen(159180)---bash(159182)---dbserver(159309)-+-{dbserver}(159319)
1_audio: screen(160005)---bash(160008)---audioserver(160135)-+-{audioserver}(160145)
1_auth: screen(160140)---bash(160142)---authserver(160253)-+-{authserver}(160263)
1_tr: screen(160258)---bash(160260)---tradeserver(160367)-+-{tradeserver}(160377)
1_bt: screen(160372)---bash(160374)---battleserver(160488)-+-{battleserver}(160493)
1_pay: screen(160494)---bash(160496)---payserver(160608)-+-{payserver}(160621)
1_rank: screen(160613)---bash(160615)---rankserver(160736)-+-{rankserver}(160740)
1_idip: screen(160742)---bash(160744)---idipserver(160851)-+-{idipserver}(160862)
1_fm: screen(160856)---bash(160858)---fmserver(160961)-+-{fmserver}(160971)
1_login: screen(160966)---bash(160967)---loginserver(161081)-+-{loginserver}(161083)

ps ux | grep ./bin
root 159309 11.4 1.1 635660 87132 pts/1 Sl+ 00:36 4:25 ././bin/dbserver conf/db_conf.xml
root 159482 4.3 10.3 1388376 786904 pts/2 Sl+ 00:36 1:41 ././bin/gameserver conf/gs_conf1.xml
root 159615 4.2 10.6 1413336 812500 pts/3 Sl+ 00:36 1:38 ././bin/gameserver conf/gs_conf2.xml
root 159740 1.6 0.2 331912 19096 pts/4 Sl+ 00:36 0:38 ././bin/gateserver conf/gate_conf.xml
root 160000 1.6 0.7 550224 58848 pts/6 Sl+ 00:36 0:37 ././bin/controlserver conf/ctrl_conf.xml
root 160135 1.5 0.3 353176 25548 pts/7 Sl+ 00:36 0:35 ././bin/audioserver conf/audio_conf.xml
root 160253 1.4 0.3 336464 24780 pts/8 Sl+ 00:36 0:34 ././bin/authserver conf/auth_conf.xml
root 160367 0.8 0.5 440476 39920 pts/9 Sl+ 00:36 0:18 ././bin/tradeserver conf/tr_conf.xml
root 160488 1.5 0.2 319168 19096 pts/10 Sl+ 00:36 0:34 ././bin/battleserver conf/bt_conf.xml
root 160608 2.0 0.5 561716 43204 pts/11 Sl+ 00:36 0:47 ././bin/payserver conf/pay_conf.xml
root 160736 1.6 0.3 364088 28676 pts/12 Sl+ 00:36 0:37 ././bin/rankserver conf/rank_conf.xml
root 160851 1.6 0.3 352064 28644 pts/13 Sl+ 00:36 0:37 ././bin/idipserver conf/idip_conf.xml
root 160961 1.9 0.3 549628 28792 pts/14 Sl+ 00:36 0:45 ././bin/fmserver conf/fm_conf.xml

netstat -ano | grep 25001
tcp 0 0 0.0.0.0:25001 0.0.0.0:* LISTEN off (0.00/0/0)
Repload please
 
Back