Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mobile Ragnarok M korea mobile game source(O) How To Play

Newbie Spellweaver
Joined
Jul 27, 2013
Messages
20
Reaction score
1
Thanks very much sir, but can u give a tutorial for english version?
Please upload on your youtube or here, so we can learn about it ☺️🤗
 
Initiate Mage
Joined
Mar 7, 2021
Messages
4
Reaction score
0
Is possible play offiline? without server using only unity?
 
Newbie Spellweaver
Joined
Mar 16, 2024
Messages
10
Reaction score
3
Oh my god, I'm a bit confused. Where did you guys download the server file and the necessary files2? Can someone provide me with links to the source, client, and required files here?
 
Newbie Spellweaver
Joined
Aug 14, 2021
Messages
15
Reaction score
2
Oh my god, I'm a bit confused. Where did you guys download the server file and the necessary files2? Can someone provide me with links to the source, client, and required files here?
 
Initiate Mage
Joined
Jul 2, 2014
Messages
4
Reaction score
0
help me fixx it
1710777401423 - Ragnarok M korea mobile game source(O) How To Play - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Jul 2, 2014
Messages
4
Reaction score
0
why dont you use precompiled server at pre setup virtual machine? so you dont have problem with that
I want to install it on another computer to play, because running 2 emulators makes my computer very slow
 
Newbie Spellweaver
Joined
Jul 18, 2021
Messages
66
Reaction score
6
I have a server. Its configuration is 2 cores, 4GB of memory, and the broadband speed is not low. Can I run this according to the tutorial? I want to check in my mobile phone and play remotely.
 
Newbie Spellweaver
Joined
Aug 14, 2021
Messages
15
Reaction score
2
I have a server. Its configuration is 2 cores, 4GB of memory, and the broadband speed is not low. Can I run this according to the tutorial? I want to check in my mobile phone and play remotely.
i dont think you can run that with 4gb ram
 
Newbie Spellweaver
Joined
Apr 5, 2024
Messages
32
Reaction score
19
Fix ALL is today~~~2023-12-04 ALL is done!
PlanServer is OK today~~~2024-01-07 ALL is done!
FlentServer is OK today~~~2024-01-17 ALL is done!
Tools is OK today~~~2024-01-27 ALL is done!
This is Android System step.



RO_Server IP:192.168.6.18
WebServer IP:192.168.6.18



修改Develop_Android下的IP和端口

\Develop_Android\Assets\Resources\Script\FrameWork\GUI\view\StartGamePanel.txt [327行,改为子服务器IP]
----Source----
local checkurl = "103.85.85.216:9797/login/index.php"
----Fix----
local checkurl = "192.168.6.18/login/index.php"


\Develop_Android\Assets\Resources\Script\Net\NetConfig.txt [批量替换]
16行18889改为8889
----Source----
NetConfig = {}
-- 新的外网 用这个端口号吧 12001
NetConfig.PUBLIC_SPECIAL_SERVER_IP = "103.85.85.216"
NetConfig.PUBLIC_SPECIAL_SERVER_PORT = 10000

NetConfig.PRIVATE_GAME_SERVER_IP = "103.85.85.216"
NetConfig.PRIVATE_GAME_SERVER_PORT = 9000

NetConfig.PUBLIC_GAME_SERVER_IP = "103.85.85.216"
NetConfig.PUBLIC_GAME_SERVER_PORT = 5000

NetConfig.PrivateAuthServerUrl = "103.85.85.216"
NetConfig.PrivateAuthServerUrlPort = 5556

NetConfig.PrivateGameServerUrl = "103.85.85.216"
NetConfig.PrivateGameServerUrlPort = 18889


NetConfig.PriorityMessages = {
{id1=5, id2=23}
}

NetConfig.AnnounceAddress = "103.85.85.216/ro"

--sdk login
NetConfig.AccessTokenAuthHost = {CN = {"103.85.85.216","103.85.85.216"},EN = {"103.85.85.216"}}
NetConfig.NewAccessTokenAuthHost = {"1192.168.1.166","103.85.85.216","103.85.85.216"}


------------!!!!!!!!!!!!!!!!-------------------
NetConfig.GateHost = {CN = {"103.85.85.216","103.85.85.216"},EN = {"103.85.85.216"}}
NetConfig.NewGateHost = {"103.85.85.216","103.85.85.216","103.85.85.216"}
NetConfig.NewGateHost_NOTEST = {"103.85.85.216","103.85.85.216","103.85.85.216"}

--高防域名
NetConfig.NewGateHostGf = NetConfig.NewGateHost[1]
--海外域名
NetConfig.NewGateHostFg = NetConfig.NewGateHost[3]

----Fix----
NetConfig = {}
-- 新的外网 用这个端口号吧 12001
NetConfig.PUBLIC_SPECIAL_SERVER_IP = "192.168.6.18"
NetConfig.PUBLIC_SPECIAL_SERVER_PORT = 10000

NetConfig.PRIVATE_GAME_SERVER_IP = "192.168.6.18"
NetConfig.PRIVATE_GAME_SERVER_PORT = 9000

NetConfig.PUBLIC_GAME_SERVER_IP = "192.168.6.18"
NetConfig.PUBLIC_GAME_SERVER_PORT = 5000

NetConfig.PrivateAuthServerUrl = "192.168.6.18"
NetConfig.PrivateAuthServerUrlPort = 5556

NetConfig.PrivateGameServerUrl = "192.168.6.18"
NetConfig.PrivateGameServerUrlPort = 8889


NetConfig.PriorityMessages = {
{id1=5, id2=23}
}

NetConfig.AnnounceAddress = "192.168.6.18/ro"

--sdk login
NetConfig.AccessTokenAuthHost = {CN = {"192.168.6.18","192.168.6.18"},EN = {"192.168.6.18"}}
NetConfig.NewAccessTokenAuthHost = {"1192.168.1.166","192.168.6.18","192.168.6.18"}


------------!!!!!!!!!!!!!!!!-------------------
NetConfig.GateHost = {CN = {"192.168.6.18","192.168.6.18"},EN = {"192.168.6.18"}}
NetConfig.NewGateHost = {"192.168.6.18","192.168.6.18","192.168.6.18"}
NetConfig.NewGateHost_NOTEST = {"192.168.6.18","192.168.6.18","192.168.6.18"}

--高防域名
NetConfig.NewGateHostGf = NetConfig.NewGateHost[1]
--海外域名
NetConfig.NewGateHostFg = NetConfig.NewGateHost[3]


----Source----
--game server
NetConfig.AliyunSecurityIPSdkAppkey = ""
NetConfig.AliyunSecurityIPSdkServerGroup = {CN = {{"103.85.85.216","103.85.85.216"},{"103.85.85.216","103.85.85.216"},{"103.85.85.216","103.85.85.216"},{"103.85.85.216","103.85.85.216"}},EN = {}}
-- NetConfig.AliyunSecurityIPSdkServerGroup = {CN = {{"103.85.85.216","103.85.85.216"},{"103.85.85.216","103.85.85.216"}},EN = {{}}}
NetConfig.AliyunNetDelayDelta = 80 -- 游戏盾允许的最大延迟差

----Fix----
--game server
NetConfig.AliyunSecurityIPSdkAppkey = ""
NetConfig.AliyunSecurityIPSdkServerGroup = {CN = {{"192.168.6.18","192.168.6.18"},{"192.168.6.18","192.168.6.18"},{"192.168.6.18","192.168.6.18"},{"192.168.6.18","192.168.6.18"}},EN = {}}
-- NetConfig.AliyunSecurityIPSdkServerGroup = {CN = {{"192.168.6.18","192.168.6.18"},{"192.168.6.18","192.168.6.18"}},EN = {{}}}
NetConfig.AliyunNetDelayDelta = 80 -- 游戏盾允许的最大延迟差





编译:
Develop_Android:
AssetBundle->AssetBundleName设置->lua脚本 [大约耗时2分钟]
AssetBundle->纯打包(不扫描资源) [修改两个文件大约耗时12分钟左右,全部打包的话大约耗时7小时]
----------------------------------------------------------------------------------------------

这时Develop_Android编译后可以运行了





BuildAndroid:
\BuildAndroid\Assets\Code\Game\Version\ServerVersionCheckOpt.cs [改为子服务器IP]
----Source----
_cdnAddress = " " + ApplicationHelper.platformFolder + "/";
----Fix----
_cdnAddress = " " + ApplicationHelper.platformFolder + "/";

----Source----
Application.OpenURL (" " + chinese);
----Fix----
Application.OpenURL (" " + chinese);

\BuildAndroid\Assets\Resources\HttpOperationJson.txt [改为子服务器IP]
----Source----
{"urls":[" "],"elements":{"plat":"1"}}
----Fix----
{"urls":[" "],"elements":{"plat":"1"}}
----------------------------------------------------------------------------------------------

\Develop_Android\Assets\AssetBundles\Android\resources\script2\framework.unity3d
\Develop_Android\Assets\AssetBundles\Android\resources\script2\net.unity3d
替换到
\BuildAndroid\Assets\AssetBundles\Android\resources\script2\
----------------------------------------------------------------------------------------------
编译(打包Assets):
删除H:\DFS\RO\BuildAndroid\Assets\StreamingAssets下所有文件
AssetBundle->Archive->Zip AssetBundle To StreamingAssets [大约耗时5分钟]
一共会生成55个zip项目(0-54),可以在StreamingAssets目录下查看
打包完成后Unity也会有日志

File->BuildSetting->Build打包成品 [需要配置好JDK和SDK]


说明:
SDK使用27版本
Unity使用2017.4.40f1

Web Server Port :80 IP:192.168.6.18
Web files:archive.7zip
Fix php file ip set and mysql user & password

Fix mysql
DataBase ro_global -> Table proxy -> Filed id =0 port=8889 ext_port=8889

Now, it's Work!!

If you need Vedio tell to me, i 录制 Vedio to everybody。

Compile RO_Server

1)Need ContOS7, root login into system

2)Install some necessary compilation tools

yum install glibc.i686 -y
yum -y install gcc+ gcc-c++
yum install boost-devel.x86_64 -y
yum install libxml2-devel.x86_64 -y
yum install log4cxx-devel.x86_64 -y
yum install jansson-devel.x86_64 -y
yum install git -y
yum install gzip -y
yum install bzip2 -y
yum -y install automake
yum -y install libtool

3)Install cmake mysql
cd /root/ro_lib
wget
tar -zxvf cmake-3.12.4.tar.gz
cd cmake-3.12.4
./bootstrap
gmake
gmake install
cmake --version


cd /root/ro_lib
wget
rpm -ivh mysql-community-release-el7-5.noarch.rpm

yum install -y mysql-server
yum install -y mysql-community-common.x86_64
yum install -y mysql-community-devel.x86_64
systemctl mysqld status
systemctl mysql status
service mysql status
systemctl start mysqld.service
systemctl status mysqld.service
yum install -y mysql-server
systemctl mysqld status
systemctl mysql status

service mysql status
systemctl start mysqld.service
systemctl status mysqld.service

Run the following command in terminal mode:
mysql -u root
Enter MySQL command mode:choose one

> UPDATE mysql.user SET password=PASSWORD("123456") WHERE user="root" AND Host="localhost";
> UPDATE mysql.user SET password="123456" WHERE user="root" AND Host="localhost";
> SET password for 'root'@'localhost'=password('123456');

> FLUSH PRIVILEGES;

> CREATE USER 'root'@'%' IDENTIFIED BY '123456';

> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
> FLUSH PRIVILEGES;

> quit;

Now Mysql user is root, password is 123456;

firewall-cmd --zone=public --add-port=3306/tcp --permanent
firewall-cmd --zone=public --add-port=8889/tcp --permanent

firewall-cmd --query-port=3306/tcp
firewall-cmd --query-port=8889/tcp

firewall-cmd --reload



After installing MySQL, import the database into MySQL

Tools: navicat premium or phpMyAdmin

Import Database. SQL File

4) Insatll googletest
cd /root/ro_lib
unzip googletest-release-1.8.0.zip
chmod -R 777 googletest-release-1.8.0
cd googletest-release-1.8.0/
cmake CMakeLists.txt
make
make install



g++ -o test test.cpp -lgtest -lpthread


5)Install jemalloc
cd /root/ro_lib
unzip jemalloc-3.4.0.zip
chmod -R 777 jemalloc-3.4.0
cd /jemalloc-3.4.0
./configure
make
make install


6)Install protobuf
protobuf-2.6.1-master.zip
cd /root/ro_lib
unzip protobuf-2.6.1-master.zip
chmod -R 777 protobuf-2.6.1-master
cd protobuf-2.6.1-master/
./configure --prefix=/usr/local
make
make install
protoc --version

vi /etc/ld.so.conf.d/protobuf.conf
/usr/local/lib
ldconfig




7) Fix premake4.lua
configuration "linux or macosx"
includedirs {
".",
"/usr/local/include",
"/usr/local/include/mysql",
"/usr/local/mysql/include",
"/usr/include",
"/usr/include/log4cxx",
"/usr/include/libxml2",
"/usr/include/mysql",
"/usr/local/include/google/protobuf",
}
libdirs {
"/usr/local/lib",
"/usr/local/mysql/lib",
"/usr/lib",
"/usr/lib/mysql",
"/lib64",
"/usr/lib64",
"/usr/lib64/mysql",
"/usr/local/protobuf/lib"
}
links {
"xml2",
"pthread",
"mysqlclient",
"log4cxx",
"protobuf",
"hiredis",
"jansson",
"jemalloc",
}


8) Install redis

cd /root/ro_lib
wget
tar -zxvf redis-4.0.14.tar.gz
cd redis-4.0.14
make MALLOC=libc
make install


cd /etc
mkdir redis
cp /root/ro_lib/redis-4.0.14/redis.conf /etc/redis/6379.conf
cp /root/ro_lib/redis-4.0.14/utils/redis_init_script /etc/init.d/redisd

修改
vi /etc/redis/6379.conf
将 daemonize no 修改为 daemonize yes

修改
vi /etc/init.d/redisd
添加两行注释
# chkconfig: 2345 90 10
# description: Redis is a persistent key-value database


chkconfig redisd on
service redisd start


cd /root/ro_lib
tar -zxvf hiredis-0.13.3.tar.gz
cd hiredis-0.13.3/

make && make install

9)Make RO Server
cd /root/ro_server
make clean
make -j4 tf


10)Run Server
cd bin/Debug

./restart

Thanks for sharing, do you have any idea how to build client on arm64-v8a mode?
 
Newbie Spellweaver
Joined
Sep 13, 2023
Messages
29
Reaction score
30
感謝分享,您知道如何在arm64-v8a模式下建立客戶端嗎?
you need make new slua to android x64 lib.

new video with client and gmtools, Will be released soon to YouTube, Welcome to subscribe。

new video with client and gmtools, Will be released soon to YouTube, Welcome to subscribe。


The source is no error. don't edit it. step by step it's ok, me tested.
google drivers is no error with ro.zip , another one is fail some file, you need redownload.

i dont think you can run that with 4gb ram
I run server in the docker. it have 32G memory.
 
Last edited:
Newbie Spellweaver
Joined
Apr 5, 2024
Messages
32
Reaction score
19
Subscribed. Should I also need to make x64 for below libs? If so, do you know how to find them? If you can share how to build 64bit client, that would be really helpful. Thanks
2024-04-10_08-49-27 - Ragnarok M korea mobile game source(O) How To Play - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Sep 8, 2023
Messages
3
Reaction score
4
i had success running the trade-server but it still keep searching prices on the exchange, should i not run TradeServer and run trade-server since they use the same port, or am i missing something?
 
Newbie Spellweaver
Joined
Aug 1, 2023
Messages
24
Reaction score
16
you need make new slua to android x64 lib.

new video with client and gmtools, Will be released soon to YouTube, Welcome to subscribe。

new video with client and gmtools, Will be released soon to YouTube, Welcome to subscribe。




The source is no error. don't edit it. step by step it's ok, me tested.
google drivers is no error with ro.zip , another one is fail some file, you need redownload.


I run server in the docker. it have 32G memory.
is it already post on your youtube?
 
Back
Top