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!

[Share] CryptionRCC Source Code (for source developer).

zZzZzZz
Loyal Member
Joined
Jun 30, 2013
Messages
1,035
Reaction score
92
OMG !! another epic shared came from you asendure !! thanks for this :) (feeling inlove LOOOOOL) hahaha
 
Joined
Sep 16, 2007
Messages
1,206
Reaction score
541
Better detail of the credits.

prisonmx : for giving the fresh source to me
seiferxiii : for forwarding the source to jdev
jdev
: for fixing the fresh code
 
Skilled Illusionist
Joined
Jul 13, 2013
Messages
316
Reaction score
53
these works 100% , dont just copy paste understand it also .

if its a snake it already bitten you

AsenDURE.ini/GameSet.ini
:

Code:
[GAME_SET] dwCryptKey = 0 or 1234567 (must not be same with ur crypt key in source)
bEngineDebug = 0
 
Skilled Illusionist
Joined
May 12, 2007
Messages
345
Reaction score
20
these works 100% , dont just copy paste understand it also .

if its a snake it already bitten you

AsenDURE.ini/GameSet.ini
:

Code:
[GAME_SET] dwCryptKey = 0 or 1234567 (must not be same with ur crypt key in source)
bEngineDebug = 0

no word , i change all rcc show error
 
Experienced Elementalist
Joined
Nov 9, 2012
Messages
290
Reaction score
2
Can I Ask a question How Can I Add A existing project That I Put the ingenlib crypt.cpp and h?

Already Solved By Me :)

Want To edit Asendure.ini format?
Code:
#include "stdafx.h"
#include "Crypt.h"
#include "SUBPATH.h"
#include "GLOGIC.h"
#include "../Common/IniLoader.h"
#include "../Common/GLTexFile.h"


#ifdef _DEBUG
#define new DEBUG_NEW
#endif

namespace CCrypt
{
	BOOL	bCryptRCC = TRUE;
	BOOL	bEngineDebug = TRUE;

	void  LoadSetting( const TCHAR *szRootPath )
	{
		CString strFileName = szRootPath;
		strFileName += "\\[COLOR="#FF0000"]AsenDURE.ini[/COLOR]";

		CIniLoader cFILE;

		DWORD	dwKey = 0;
			
		if( cFILE.open( strFileName.GetString(), true) )
		{
			cFILE.SetUseErrorMsgBox( FALSE );

			cFILE.getflag ( "GAME_SET", "dwCryptKey", 0, 1, dwKey );
			cFILE.getflag ( "GAME_SET", "bEngineDebug", 0, 1, bEngineDebug );
		}
		else
		{
			CDebugSet::ToLogFile("CCrypt::LoadSetting Cant Load Setting File");
		}
		if ( dwKey == 7892756 )	bCryptRCC = FALSE;

	}

	void Encryption(BYTE *B ,int dwSize)
	{
		for( int i = 0 ; i < dwSize ; i ++ )
		{
			B[i] = B[i] ^ EN;
			B[i] += ( EN ^ EN2 );
		};
		return ;
	}
	void Decryption(BYTE *B,int dwSize)
	{
		for( int i = 0 ; i < dwSize ; i ++ )
		{
			B[i] -= ( EN ^ EN2 );
			B[i] = B[i] ^ EN;
		};
		return ;
	}
};
 
Skilled Illusionist
Joined
May 12, 2007
Messages
345
Reaction score
20
-----------------------------------------------
ERROR REPORT
-----------------------------------------------


Execution time : 2013-08-09 02:53:16
[2013-08-09 02:53:17] ERROR : CRanFilter::LOAD(), File Open moblogic1.bin

SAME
 
Joined
May 26, 2013
Messages
414
Reaction score
24
all have the same error, I beg a little explanation for this ... I've Encrypt all *.RCC, but still have errors like that ... beg a little explanation ...
 
Joined
May 26, 2013
Messages
414
Reaction score
24
Can you please tell me slowly .. I am still confused with which you explain ... if you are willing to petrify me .. I still have errors [2013-09-01 16:41:59] ERROR : CRanFilter::LOAD(), File Open moblogic1.bin
 
Newbie Spellweaver
Joined
Dec 27, 2008
Messages
66
Reaction score
1
I got this error!

Problem solved

Linking...
CryptionRCCDlg.obj : error LNK2019: unresolved external symbol "void __cdecl CCrypt::Encryption(unsigned char *,int)" (?Encryption@CCrypt@@YAXPAEH@Z) referenced in function "public: int __thiscall CCryptionRCCDlg::FileEncryption(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >)" (?FileEncryption@CCryptionRCCDlg@@QAEHV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@0@Z)
CryptionRCCDlg.obj : error LNK2019: unresolved external symbol "void __cdecl CCrypt::Decryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z) referenced in function "public: int __thiscall CCryptionRCCDlg::FileDecryption(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >)" (?FileDecryption@CCryptionRCCDlg@@QAEHV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@0@Z)
 
Last edited:
Joined
May 2, 2012
Messages
475
Reaction score
244
Got Errors .. Linking..


EngineLib_Korea.lib(SerialMemory.obj) : error LNK2019: unresolved external symbol "void __cdecl CCrypt::Decryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z) referenced in function "public: int __thiscall CSerialMemory::OpenFile(char const *,char const *,bool,int)" (?OpenFile@CSerialMemory@@QAEHPBD0_NH@Z)
EngineLib_Korea.lib(StringMemory.obj) : error LNK2001: unresolved external symbol "void __cdecl CCrypt::Decryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z)
EngineLib_Korea.lib(SerialMemory.obj) : error LNK2001: unresolved external symbol "int CCrypt::bCryptRCC" (?bCryptRCC@CCrypt@@3HA)
EngineLib_Korea.lib(StringMemory.obj) : error LNK2001: unresolved external symbol "int CCrypt::bCryptRCC" (?bCryptRCC@CCrypt@@3HA)
MfcExLib_Korea.lib(RANPARAM.obj) : error LNK2019: unresolved external symbol "void __cdecl CCrypt::LoadSetting(char const *)" (?LoadSetting@CCrypt@@YAXPBD@Z) referenced in function "int __cdecl RANPARAM::LOAD(char const *,bool)" (?LOAD@RANPARAM@@YAHPBD_N@Z)
 
Joined
Oct 2, 2010
Messages
1,771
Reaction score
228
Got Errors .. Linking..


EngineLib_Korea.lib(SerialMemory.obj) : error LNK2019: unresolved external symbol "void __cdecl CCrypt::Decryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z) referenced in function "public: int __thiscall CSerialMemory::OpenFile(char const *,char const *,bool,int)" (?OpenFile@CSerialMemory@@QAEHPBD0_NH@Z)
EngineLib_Korea.lib(StringMemory.obj) : error LNK2001: unresolved external symbol "void __cdecl CCrypt::Decryption(unsigned char *,int)" (?Decryption@CCrypt@@YAXPAEH@Z)
EngineLib_Korea.lib(SerialMemory.obj) : error LNK2001: unresolved external symbol "int CCrypt::bCryptRCC" (?bCryptRCC@CCrypt@@3HA)
EngineLib_Korea.lib(StringMemory.obj) : error LNK2001: unresolved external symbol "int CCrypt::bCryptRCC" (?bCryptRCC@CCrypt@@3HA)
MfcExLib_Korea.lib(RANPARAM.obj) : error LNK2019: unresolved external symbol "void __cdecl CCrypt::LoadSetting(char const *)" (?LoadSetting@CCrypt@@YAXPBD@Z) referenced in function "int __cdecl RANPARAM::LOAD(char const *,bool)" (?LOAD@RANPARAM@@YAHPBD_N@Z)

make sure you follow the instructions carefully.. rebuild enginelib and build the cryptrcc
 
Elite Diviner
Joined
Apr 3, 2011
Messages
425
Reaction score
41
i'ved tried that :) almost 10 times hehehe

still nothing happens :)
i think you forgot to add the CryptionRcc Project in your solution :) and remember, always delete your build folders when you add new projects in your solution.
 
Back
Top