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 Source Code Ragnarok Origin[Full]

Newbie Spellweaver
Joined
Sep 13, 2023
Messages
31
Reaction score
29
1712908932585 - Source Code Ragnarok Origin[Full] - RaGEZONE Forums

gameserver is test ok. the config file is old.
 

Attachments

You must be registered for see attachments list
Skilled Illusionist
Joined
Mar 10, 2007
Messages
324
Reaction score
11
[ 66%] Building CXX object authserver/CMakeFiles/authserver.dir/__/share/util/XCommon.cpp.o/home/ro/roserver/share/util/XCommon.cpp:9:19: fatal error: codecvt: No such file or directory #include <codecvt> ^compilation terminated.

how to fix?
 
Experienced Elementalist
Joined
Sep 12, 2013
Messages
280
Reaction score
78
Has anyone downloaded the source client and built it yet?
It's too heavy, I don't dare download and unzip it yet:GenshinKek:
 
Newbie Spellweaver
Joined
Sep 13, 2023
Messages
31
Reaction score
29
The config is old version. anbody have gitlib lib. Please share it. fix config too difficult
 
Newbie Spellweaver
Joined
Feb 5, 2024
Messages
14
Reaction score
0
gs is not testing. it make in some error.
gs ms is not ok, other is test ok.
ms is not work?because MS reading data error。and the same to GS
1713015698820 - Source Code Ragnarok Origin[Full] - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Joined
Nov 19, 2008
Messages
172
Reaction score
196
no.
I don't know how to convert BYTES from gsconf
I understand that to convert a byte array to GSConf format you need to process each byte according to the GSConf format. If characters are available as single bytes, we can use their ASCII encoding.

Below is C++ code that converts a byte array to GSConf format using ASCII encoding:
#include <iostream>
#include <iomanip>
#include <sstream>

// Function to convert a bytes array to GSConf format
std::string bytesToGSConf(const unsigned char* bytes, size_t length) {
std::stringstream gsconf;
gsconf << std::hex << std::setfill('0'); // Hexadecimal format, fill with leading zeros

for (size_t i = 0; i < length; ++i) {
gsconf << "\\x" << std::setw(2) << static_cast<int>(bytes);
}

return gsconf.str();
}

int main() {
// Example bytes array
unsigned char bytes[] = {0x48, 0x65, 0x6c, 0x6c, 0x6f}; // Contains "Hello" characters
size_t length = sizeof(bytes) / sizeof(bytes[0]);

// Convert bytes array to GSConf format
std::string gsconf = bytesToGSConf(bytes, length);

// Print the GSConf formatted data
std::cout << gsconf << std::endl;

return 0;
}
 
Back
Top