• 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!

Loading data/modules/ from encrypted zip

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
934
Solutions
23
Reaction score
446
Location
Santiago - Chile
Hi! I use Mehah OTC and need to add this feature as bot protection

I already added the commits, then open the compiled .exe with a .zip file called "data" that has data folder and modules folder.
At the first try, the client opened with the .zip. But when I encrypted it with WinZip it doesn't loaded anymore because it couldn't find the folders.

I matched the password from here
resourcemanager.h
C++:
std::string m_zipPassword = "12345678";

with the .zip password but didnt working. Another thought is that I was expecting that the .zip was going to be generated automaticatly once I open the .exe, but realized that it didn't work that way. How should I set-up this to make it work?

Followed the instructions
Code:
*    Install 7-zip
*    Copy init.lua into data
*    Go into data
*    Select all, right click, 7-zip, Add to archive...
*    Set password and ZipCrypto as encryption method
*    Repeat for modules directory
1632788456645.png

Some thread investigation

Regards!
 
Last edited:
Top