Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
sealed error :
c:\Source\RanClientLib\G-Logic\GLItem.cpp(5664): error C2065: 'nOpt' : undeclared identifier
any help from this? :D
thanks!
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
raman91
same problem how to fix this
eduj ?
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Error in-Game while mixing : Wrong NPC
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
Chamchung
Error in-Game while mixing : Wrong NPC
I think you must create a NPC with Item Mix function
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
for item sealed card, at least you must have understanding logic flow of sealed card, and rebuild with sealed card, because lot think not mentioned on zip txt, and of course immediate c++ knowledge
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Wrong NPC already fix just analyze the code :)
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
mccfloat
Wrong NPC already fix just analyze the code :)
:D well played
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
Ryan Smith
I think you must create a NPC with Item Mix function
Quote:
Originally Posted by
mccfloat
Wrong NPC already fix just analyze the code :)
i think he was referring to this error
Quote:
Originally Posted by
Chamchung
Error in-Game while mixing : Wrong NPC
even in jack npc this error appears
base source used: <here>
http://i.imgur.com/owD9Ead.jpg
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
JerMTheSLayer
RanClientLib\G-Logic\GLCharInvenMsg.cpp
comment the code below
credit to JADev for the tip
Code:
PGLCROW pCrow = m_pLandMan->GetCrow ( pNetMsg->dwNpcID ); if ( !pCrow )
{
NetMsgFB.emFB = EMITEM_MIX_FB_NONPC;
GLGaeaServer::GetInstance().SENDTOCLIENT(m_dwClientID,&NetMsgFB);
return E_FAIL;
}
float fDist = D3DXVec3Length ( &D3DXVECTOR3(m_vPos-pCrow->GetPosition()) );
float fTalkRange = (float) (pCrow->GetBodyRadius() + GETBODYRADIUS() + 30);
float fTalkableDis = fTalkRange + 20;
if ( fDist>fTalkableDis )
{
NetMsgFB.emFB = EMITEM_MIX_FB_NONPC;
GLGaeaServer::GetInstance().SENDTOCLIENT(m_dwClientID,&NetMsgFB);
return E_FAIL;
}
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
i tried the old one it worked
Code:
m_pResult->SetPercent(FALSE);
m_pResult->SetVisibleSingle(FALSE);
GLGaeaClient::GetInstance().GetCharacter()->ReqItemMix ( m_dwNpcID );
m_bOK = false;
}
}
else if ( !m_bIsOK )
{
GLGaeaClient::GetInstance().GetCharacter()->ReqItemMix ( m_dwNpcID );
m_bOK = false;
}
http://i.imgur.com/znXZgge.png
Quote:
Originally Posted by
Ace17
RanClientLib\G-Logic\GLCharInvenMsg.cpp
comment the code below
credit to JADev for the tip
Code:
PGLCROW pCrow = m_pLandMan->GetCrow ( pNetMsg->dwNpcID ); if ( !pCrow )
{
NetMsgFB.emFB = EMITEM_MIX_FB_NONPC;
GLGaeaServer::GetInstance().SENDTOCLIENT(m_dwClientID,&NetMsgFB);
return E_FAIL;
}
float fDist = D3DXVec3Length ( &D3DXVECTOR3(m_vPos-pCrow->GetPosition()) );
float fTalkRange = (float) (pCrow->GetBodyRadius() + GETBODYRADIUS() + 30);
float fTalkableDis = fTalkRange + 20;
if ( fDist>fTalkableDis )
{
NetMsgFB.emFB = EMITEM_MIX_FB_NONPC;
GLGaeaServer::GetInstance().SENDTOCLIENT(m_dwClientID,&NetMsgFB);
return E_FAIL;
}
tried commenting it out, works also
http://i.imgur.com/ZeFoWgl.png
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
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
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
Lincoln
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
haven't fixed yours?
1. revert all changes (you should have backup before applying this, change back all the changes you made)
2. dl and follow the guide on :
Quote:
Originally Posted by
jkyoune
- how to implement this on source txt. Download ->
Attachment 157239
Credits.
janmaru5555 - main coder.
me - for update and fixes
tobets - for reworks and refixes.
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
Lincoln
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
I follow the instructions
I do not know if I will be placed at any of the Source code.
GlogicData.h
struct GLCOMPOUND_RECIPE
{
SNATIVEID sNativeID;
WORD wNum;
GLCOMPOUND_RECIPE()
: sNativeID( NATIVEID_NULL() )
, wNum(0)
{
}
};
struct GLCOMPOUND
{
DWORD dwID;
GLCOMPOUND_RECIPE glRecipe[5];
SNATIVEID sNativeID;
WORD wNum;
float fRate;
LONGLONG lnPrice;
GLCOMPOUND ()
: dwID(0)
, sNativeID( NATIVEID_NULL() )
, wNum( 0 )
, fRate( 0.0f )
, lnPrice( 0 )
{
}
};
Re: Compound Window (Release) . Sealed Card (Release). TransformCHF(On the List) SC.
Quote:
Originally Posted by
Lincoln
I follow the instructions
I do not know if I will be placed at any of the Source code.
GlogicData.h
struct GLCOMPOUND_RECIPE
{
SNATIVEID sNativeID;
WORD wNum;
GLCOMPOUND_RECIPE()
: sNativeID( NATIVEID_NULL() )
, wNum(0)
{
}
};
struct GLCOMPOUND
{
DWORD dwID;
GLCOMPOUND_RECIPE glRecipe[5];
SNATIVEID sNativeID;
WORD wNum;
float fRate;
LONGLONG lnPrice;
GLCOMPOUND ()
: dwID(0)
, sNativeID( NATIVEID_NULL() )
, wNum( 0 )
, fRate( 0.0f )
, lnPrice( 0 )
{
}
};
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
struct GLCOMPOUND_RECIPE
{
SNATIVEID sNativeID;
WORD wNum;
GLCOMPOUND_RECIPE()
: sNativeID( NATIVEID_NULL() )
, wNum(0)
{
}
};
struct GLCOMPOUND
{
DWORD dwID;
GLCOMPOUND_RECIPE glRecipe[5];
SNATIVEID sNativeID;
WORD wNum;
float fRate;
LONGLONG lnPrice;
GLCOMPOUND ()
: dwID(0)
, sNativeID( NATIVEID_NULL() )
, wNum( 0 )
, fRate( 0.0f )
, lnPrice( 0 )
{
}
};
Code:
extern std::vector<std::string> vecGUIDANCE_FILE;
extern std::vector<std::string> vecClubDM_FILE;
extern std::vector<GLCOMPOUND> vecCOMPOUND;
extern std::string strSCHOOLEFF[CROW_OWNER_SCHOOL];
Code:
//jdev help
BOOL LOADLINK ( char* szFileName );
BOOL LOADRANK ( char* szFileName ); //add pkrank
BOOL LOADITEMMIX( char* szFileName );