• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Deactivate Encryption

Kaboo

New Member
Joined
Feb 14, 2009
Messages
142
Reaction score
0
Hi, I'm trying to deactivate encryption (encryptionType = plain), but it return me an error (something like "this is insecure, can't open otserv").
Is there any other way to deactivate encryption? Something in the files, maybe recompiling, etc.

I'm using 0.4_DEV trunk 3684.

Thank you in advance! :thumbup:
 
otserv.cpp
change
[cpp] else
{
g_config.setNumber(ConfigManager::ENCRYPTION, ENCRYPTION_PLAIN);
std::clog << "> Using plaintext encryption" << std::endl << std::endl
<< "> WARNING: This method is completely unsafe!" << std::endl
<< "> Please set encryptionType = \"sha1\" (or any other available method) in config.lua" << std::endl;
boost::this_thread::sleep(boost::posix_time::seconds(30));
}[/cpp]
to
[cpp] else
{
g_config.setNumber(ConfigManager::ENCRYPTION, ENCRYPTION_PLAIN);
std::clog << "> Using plaintext encryption" << std::endl;
}[/cpp]
 

Similar threads

  • Question Question
Replies
1
Views
209
Back
Top