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!

Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.

Newbie Spellweaver
Joined
Apr 30, 2008
Messages
90
Reaction score
51
jkyoune - Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC. - RaGEZONE Forums



I don't know how to and where to set identfier

pls. Help ^_^



G-Logic\GLogicDataLoad.cpp(1043) : error C2065: 'vecCOMPOUND' : undeclared identifier
G-Logic\GLogicDataLoad.cpp(1043) : error C2228: left of '.push_back' must have class/struct/union type


I should resolve

SAME PROBLEM, did you manage to solve it?
 
Last edited:
Newbie Spellweaver
Joined
Apr 30, 2008
Messages
90
Reaction score
51
just you find in " loadfile exp " and add below loaditemmix ^^

not working!



same problem how to fix this
eduj ?

did you still have that problem?



G-Logic\GLogicDataLoad.cpp(1043) : error C2065: 'vecCOMPOUND' : undeclared identifier
G-Logic\GLogicDataLoad.cpp(1043) : error C2228: left of '.push_back' must have class/struct/union type


I should resolve

how did you solved?



Code:
enum GLCONST
{
    MAX_SERVERCHAR        = MAX_ONESERVERCHAR_NUM,
    MAX_SELECTCHAR        = 4, // ij¸¯ÅÍ ¼±Åà ȭ¸é¿¡¼­ º¸ÀÌ´Â ÃÖ´ë ij¸¯ÅÍÀÇ ¼ö, ÇöÀç 4°³
    MAX_VIEWRANGE        = 300, // ÃÖ´ë ¹üÀ§ (ÆÄƼ¿ø ³¢¸® ÀÎÁ¢ÇÑ°¡?...)


    MAX_HEAD            = 50,
    MAX_HAIR            = 50,


    MAX_SCHOOL            = 10,
    MAX_LEVEL            = 500,


    MAX_CLUBSTORAGE        = 5,
    MAX_CLUBRANK        = 10,


    GRADE_NORMAL        = 4,
    GRADE_HIGH            = 9,
    GRADE_LIMIT_MAX        = 15,
};


//    Note : ij¸¯ÅÍ Á¾·ùº° ±âº» »ó¼ö.
//


//new itemmix
[COLOR=#ff0000]struct GLCOMPOUND_RECIPE[/COLOR]
[COLOR=#ff0000]{[/COLOR]
[COLOR=#ff0000]    SNATIVEID            sNativeID;[/COLOR]
[COLOR=#ff0000]    WORD                wNum;[/COLOR]
[COLOR=#ff0000]
[/COLOR]
[COLOR=#ff0000]    GLCOMPOUND_RECIPE()[/COLOR]
[COLOR=#ff0000]        : sNativeID( NATIVEID_NULL() )[/COLOR]
[COLOR=#ff0000]        , wNum(0)[/COLOR]
[COLOR=#ff0000]    {[/COLOR]
[COLOR=#ff0000]    }[/COLOR]
[COLOR=#ff0000]};[/COLOR]
[COLOR=#ff0000]
[/COLOR]
[COLOR=#ff0000]struct GLCOMPOUND[/COLOR]
[COLOR=#ff0000]{[/COLOR]
[COLOR=#ff0000]    DWORD                dwID;[/COLOR]

[COLOR=#ff0000]    GLCOMPOUND_RECIPE    glRecipe[5];[/COLOR]

[COLOR=#ff0000]    SNATIVEID            sNativeID;[/COLOR]
[COLOR=#ff0000]    WORD                wNum;[/COLOR]
[COLOR=#ff0000]
[/COLOR]
[COLOR=#ff0000]    float                fRate;[/COLOR]
[COLOR=#ff0000]    LONGLONG            lnPrice;            [/COLOR]
[COLOR=#ff0000]
[/COLOR]
[COLOR=#ff0000]    GLCOMPOUND () [/COLOR]
[COLOR=#ff0000]        : dwID(0)[/COLOR]
[COLOR=#ff0000]        , sNativeID( NATIVEID_NULL() )[/COLOR]
[COLOR=#ff0000]        , wNum( 0 )[/COLOR]
[COLOR=#ff0000]        , fRate( 0.0f )[/COLOR]
[COLOR=#ff0000]        , lnPrice( 0 )[/COLOR]
[COLOR=#ff0000]    {[/COLOR]
[COLOR=#ff0000]    }[/COLOR]
[COLOR=#ff0000]};
[/COLOR]


Code:
    extern std::vector<std::string>    vecGUIDANCE_FILE;
    extern std::vector<std::string>    vecClubDM_FILE;
    [COLOR=#ff0000]extern std::vector<GLCOMPOUND>    vecCOMPOUND;[/COLOR]
    extern std::string    strSCHOOLEFF[CROW_OWNER_SCHOOL];
Code:
    //jdev help
    BOOL LOADLINK ( char* szFileName );
    BOOL LOADRANK ( char* szFileName ); //add pkrank
    [COLOR=#ff0000]BOOL LOADITEMMIX( char* szFileName );

[/COLOR]

i follow all the codes but still no luck :(
 
Skilled Illusionist
Joined
Sep 22, 2014
Messages
374
Reaction score
16
for @brightlight777

search
Code:
 EXP_MAX_LOADFILE( "exptable_max.bin" );

add below
Code:
 LOADITEMMIX ( "ItemMix.ini" );


and find
Code:
BOOL	EXP_MAX_2nd_LOADFILE ( char* szFileName )	{
		if( !szFileName || (strlen(szFileName) == 0) )
		{
			CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), %s", szFileName );
			return FALSE;
		}


		for ( int i=0; i<MAX_LEVEL; ++i )	lnEXP_MAX_TABLE_2nd[i] = LLONG_MAX;


		std::string strPath;
		strPath = GLOGIC::GetServerPath();
		strPath += szFileName;


		std::auto_ptr<CBaseString> pBString(GLOGIC::openfile_basestring(GLOGIC::bGLOGIC_ZIPFILE, 
																		GLOGIC::strGLOGIC_ZIPFILE.c_str(),
                                                                        strPath.c_str(), 
																		szFileName, 
																		true,
																		GLOGIC::bGLOGIC_PACKFILE ) );


		if ( !pBString.get() )
		{
			CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), %s", szFileName );
			return FALSE;
		}


		CBaseString &cBString = *pBString;


		int i=0;
		CString strLine;
		while ( cBString.GetNextLine(strLine) )
		{
			LONGLONG lnEXP = _atoi64(strLine.GetString());


			if ( i>=MAX_LEVEL )
			{
				CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), too long array" );
				break;
			}


			lnEXP_MAX_TABLE_2nd[i++] = lnEXP;
		}


		return TRUE;
	}

and add below
Code:
 BOOL LOADITEMMIX ( char* szFileName )	{
		std::string strPath;
		strPath = GLOGIC::GetPath();
		strPath += szFileName;


		CIniLoader cFILE;


		if( GLOGIC::bGLOGIC_ZIPFILE )
			cFILE.SetZipFile( GLOGIC::strGLOGIC_ZIPFILE );


		std::string strSep( ",[]\t" );
		cFILE.reg_sep( strSep );


		if( !cFILE.open( strPath, true, GLOGIC::bGLOGIC_PACKFILE ) )
		{
			CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::LOADITEMMIX()" );
			return FALSE;
		}


		INT nItemMixKeySize(0);


		cFILE.getflag( "ITEM_MIX_INFO", "ItemMixKeySize", 0, 1, nItemMixKeySize );


		DWORD dwNUM = cFILE.GetKeySize( "ITEM_MIX_LIST", "ITEM_MIX" );
		for ( DWORD i=0; i<dwNUM; ++i )
		{
			GLCOMPOUND	glCompound;


			cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 0, nItemMixKeySize, glCompound.dwID );


			for ( int j = 0; j < 5; ++j )
			{
				cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+1, nItemMixKeySize, glCompound.glRecipe[j].sNativeID.wMainID );
				cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+2, nItemMixKeySize, glCompound.glRecipe[j].sNativeID.wSubID );		
				cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+3, nItemMixKeySize, glCompound.glRecipe[j].wNum );
			}


			cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 16, nItemMixKeySize, glCompound.sNativeID.wMainID );
			cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 17, nItemMixKeySize, glCompound.sNativeID.wSubID );
			cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 18, nItemMixKeySize, glCompound.wNum );


			cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 19, nItemMixKeySize, glCompound.fRate );
			cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 20, nItemMixKeySize, glCompound.lnPrice );


			vecCOMPOUND.push_back( glCompound );
		}


		return TRUE;
	}
 
Newbie Spellweaver
Joined
Apr 30, 2008
Messages
90
Reaction score
51
for @brightlight777

search
Code:
 EXP_MAX_LOADFILE( "exptable_max.bin" );

add below
Code:
 LOADITEMMIX ( "ItemMix.ini" );


and find
Code:
BOOL    EXP_MAX_2nd_LOADFILE ( char* szFileName )    {
        if( !szFileName || (strlen(szFileName) == 0) )
        {
            CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), %s", szFileName );
            return FALSE;
        }


        for ( int i=0; i<MAX_LEVEL; ++i )    lnEXP_MAX_TABLE_2nd[i] = LLONG_MAX;


        std::string strPath;
        strPath = GLOGIC::GetServerPath();
        strPath += szFileName;


        std::auto_ptr<CBaseString> pBString(GLOGIC::openfile_basestring(GLOGIC::bGLOGIC_ZIPFILE, 
                                                                        GLOGIC::strGLOGIC_ZIPFILE.c_str(),
                                                                        strPath.c_str(), 
                                                                        szFileName, 
                                                                        true,
                                                                        GLOGIC::bGLOGIC_PACKFILE ) );


        if ( !pBString.get() )
        {
            CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), %s", szFileName );
            return FALSE;
        }


        CBaseString &cBString = *pBString;


        int i=0;
        CString strLine;
        while ( cBString.GetNextLine(strLine) )
        {
            LONGLONG lnEXP = _atoi64(strLine.GetString());


            if ( i>=MAX_LEVEL )
            {
                CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), too long array" );
                break;
            }


            lnEXP_MAX_TABLE_2nd[i++] = lnEXP;
        }


        return TRUE;
    }

and add below
Code:
 BOOL LOADITEMMIX ( char* szFileName )    {
        std::string strPath;
        strPath = GLOGIC::GetPath();
        strPath += szFileName;


        CIniLoader cFILE;


        if( GLOGIC::bGLOGIC_ZIPFILE )
            cFILE.SetZipFile( GLOGIC::strGLOGIC_ZIPFILE );


        std::string strSep( ",[]\t" );
        cFILE.reg_sep( strSep );


        if( !cFILE.open( strPath, true, GLOGIC::bGLOGIC_PACKFILE ) )
        {
            CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::LOADITEMMIX()" );
            return FALSE;
        }


        INT nItemMixKeySize(0);


        cFILE.getflag( "ITEM_MIX_INFO", "ItemMixKeySize", 0, 1, nItemMixKeySize );


        DWORD dwNUM = cFILE.GetKeySize( "ITEM_MIX_LIST", "ITEM_MIX" );
        for ( DWORD i=0; i<dwNUM; ++i )
        {
            GLCOMPOUND    glCompound;


            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 0, nItemMixKeySize, glCompound.dwID );


            for ( int j = 0; j < 5; ++j )
            {
                cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+1, nItemMixKeySize, glCompound.glRecipe[j].sNativeID.wMainID );
                cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+2, nItemMixKeySize, glCompound.glRecipe[j].sNativeID.wSubID );        
                cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+3, nItemMixKeySize, glCompound.glRecipe[j].wNum );
            }


            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 16, nItemMixKeySize, glCompound.sNativeID.wMainID );
            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 17, nItemMixKeySize, glCompound.sNativeID.wSubID );
            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 18, nItemMixKeySize, glCompound.wNum );


            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 19, nItemMixKeySize, glCompound.fRate );
            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 20, nItemMixKeySize, glCompound.lnPrice );


            vecCOMPOUND.push_back( glCompound );
        }


        return TRUE;
    }

Thanks! I will try this. ^_^ I hope it work



jkyoune - Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC. - RaGEZONE Forums



IT'S REALLY A BIG HELP!!!!!!!! THANK YOU VERRRY MUCHHHHH!!!!!!!!!!!!!!!!

I can now manage to realign this! Thanks again!
 
Initiate Mage
Joined
Oct 20, 2016
Messages
3
Reaction score
0
So this is improved version of item mix? I scanned the source code, no function really was added at the ranclientlib. please fill us up with more details.

jkyoune - Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC. - RaGEZONE Forums
 
Newbie Spellweaver
Joined
Dec 16, 2016
Messages
36
Reaction score
0
can you help me how to fix it

Basic error LNK2001: unresolved external symbol "class std::vector<struct GLCOMPOUND,class std::allocator<struct GLCOMPOUND> > GLCONST_CHAR::vecCOMPOUND" (?vecCOMPOUND@GLCONST_CHAR@@3V?$vector@UGLCOMPOUND@@V?$allocator@UGLCOMPOUND@@@std@@@std@@A)



NOT WORKING THIS METHOD ON ME



for @brightlight777

search
Code:
 EXP_MAX_LOADFILE( "exptable_max.bin" );

add below
Code:
 LOADITEMMIX ( "ItemMix.ini" );


and find
Code:
BOOL    EXP_MAX_2nd_LOADFILE ( char* szFileName )    {
        if( !szFileName || (strlen(szFileName) == 0) )
        {
            CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), %s", szFileName );
            return FALSE;
        }


        for ( int i=0; i<MAX_LEVEL; ++i )    lnEXP_MAX_TABLE_2nd[i] = LLONG_MAX;


        std::string strPath;
        strPath = GLOGIC::GetServerPath();
        strPath += szFileName;


        std::auto_ptr<CBaseString> pBString(GLOGIC::openfile_basestring(GLOGIC::bGLOGIC_ZIPFILE, 
                                                                        GLOGIC::strGLOGIC_ZIPFILE.c_str(),
                                                                        strPath.c_str(), 
                                                                        szFileName, 
                                                                        true,
                                                                        GLOGIC::bGLOGIC_PACKFILE ) );


        if ( !pBString.get() )
        {
            CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), %s", szFileName );
            return FALSE;
        }


        CBaseString &cBString = *pBString;


        int i=0;
        CString strLine;
        while ( cBString.GetNextLine(strLine) )
        {
            LONGLONG lnEXP = _atoi64(strLine.GetString());


            if ( i>=MAX_LEVEL )
            {
                CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::EXP_MAX_2nd_LOADFILE(), too long array" );
                break;
            }


            lnEXP_MAX_TABLE_2nd[i++] = lnEXP;
        }


        return TRUE;
    }

and add below
Code:
 BOOL LOADITEMMIX ( char* szFileName )    {
        std::string strPath;
        strPath = GLOGIC::GetPath();
        strPath += szFileName;


        CIniLoader cFILE;


        if( GLOGIC::bGLOGIC_ZIPFILE )
            cFILE.SetZipFile( GLOGIC::strGLOGIC_ZIPFILE );


        std::string strSep( ",[]\t" );
        cFILE.reg_sep( strSep );


        if( !cFILE.open( strPath, true, GLOGIC::bGLOGIC_PACKFILE ) )
        {
            CDebugSet::ToLogFile ( "ERROR : GLCONST_CHAR::LOADITEMMIX()" );
            return FALSE;
        }


        INT nItemMixKeySize(0);


        cFILE.getflag( "ITEM_MIX_INFO", "ItemMixKeySize", 0, 1, nItemMixKeySize );


        DWORD dwNUM = cFILE.GetKeySize( "ITEM_MIX_LIST", "ITEM_MIX" );
        for ( DWORD i=0; i<dwNUM; ++i )
        {
            GLCOMPOUND    glCompound;


            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 0, nItemMixKeySize, glCompound.dwID );


            for ( int j = 0; j < 5; ++j )
            {
                cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+1, nItemMixKeySize, glCompound.glRecipe[j].sNativeID.wMainID );
                cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+2, nItemMixKeySize, glCompound.glRecipe[j].sNativeID.wSubID );        
                cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", (j*3)+3, nItemMixKeySize, glCompound.glRecipe[j].wNum );
            }


            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 16, nItemMixKeySize, glCompound.sNativeID.wMainID );
            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 17, nItemMixKeySize, glCompound.sNativeID.wSubID );
            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 18, nItemMixKeySize, glCompound.wNum );


            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 19, nItemMixKeySize, glCompound.fRate );
            cFILE.getflag( i, "ITEM_MIX_LIST", "ITEM_MIX", 20, nItemMixKeySize, glCompound.lnPrice );


            vecCOMPOUND.push_back( glCompound );
        }


        return TRUE;
    }


not working!





did you still have that problem?





how did you solved?





i follow all the codes but still no luck :(
 
Newbie Spellweaver
Joined
Dec 16, 2016
Messages
36
Reaction score
0
can you help me how to fix the ui
im using invinity war ep9 include compound system w/o source but im using 5ClassSource the compatible one but the result is this can you help me how to fix the ui
jkyoune - Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC. - RaGEZONE Forums
 
Experienced Elementalist
Joined
Jun 17, 2012
Messages
269
Reaction score
1
i tried the old one it worked

Code:
        m_pResult->SetPercent(FALSE);
        m_pResult->SetVisibleSingle(FALSE);
        [COLOR=#ffa07a]GLGaeaClient::GetInstance().GetCharacter()->ReqItemMix[/COLOR] [COLOR=#ff0000]( m_dwNpcID );[/COLOR]
        m_bOK = false;
        }
      }
      else if ( !m_bIsOK )
      {
        [COLOR=#ffa07a]GLGaeaClient::GetInstance().GetCharacter()->ReqItemMix [/COLOR][COLOR=#ff0000]( m_dwNpcID );[/COLOR]
        m_bOK = false;
      }

znXZgge - Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC. - RaGEZONE Forums





tried commenting it out, works also

ZeFoWgl - Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC. - RaGEZONE Forums


bro what source you used btw?
 

Attachments

You must be registered for see attachments list
Back
Top