- Joined
- Feb 11, 2010
- Messages
- 303
- Reaction score
- 26
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
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!well playedWrong NPC already fix just analyze the code
I think you must create a NPC with Item Mix function
i think he was referring to this errorWrong NPC already fix just analyze the code
even in jack npc this error appearsError in-Game while mixing : Wrong NPC
RanClientLib\G-Logic\GLCharInvenMsg.cpp
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;
}
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;
}
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; }
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 to implement this on source txt. Download -> View attachment 157239
Credits.
janmaru5555 - main coder.
me - for update and fixes
tobets - for reworks and refixes.
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 )
{
}
};
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] [/COLOR]
[COLOR=#ff0000] GLCOMPOUND_RECIPE glRecipe[5];[/COLOR]
[COLOR=#ff0000] [/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]
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];
//jdev help
BOOL LOADLINK ( char* szFileName );
BOOL LOADRANK ( char* szFileName ); //add pkrank
[COLOR=#ff0000]BOOL LOADITEMMIX( char* szFileName );
[/COLOR]
help me please
Interface\ItemMixWindow.cpp(867) : error C2039: 'NORMAL' : is not a member of 'NS_UITEXTCOLOR'
Interface\ItemMixWindow.cpp(867) : error C2065: 'NORMAL' : undeclared identifier
Interface\ItemMixWindow.cpp(868) : error C2039: 'RARE' : is not a member of 'NS_UITEXTCOLOR'
Interface\ItemMixWindow.cpp(868) : error C2065: 'RARE' : undeclared identifier
Interface\ItemMixWindow.cpp(869) : error C2065: 'LEVEL_VERYRARE' : undeclared identifier
Interface\ItemMixWindow.cpp(869) : error C2051: case expression not constant
Interface\ItemMixWindow.cpp(869) : error C2039: 'VERYRARE' : is not a member of 'NS_UITEXTCOLOR'
Interface\ItemMixWindow.cpp(869) : error C2065: 'VERYRARE' : undeclared identifier
Interface\ItemMixWindow.cpp(870) : error C2065: 'LEVEL_EPIC' : undeclared identifier
Interface\ItemMixWindow.cpp(870) : error C2051: case expression not constant
Interface\ItemMixWindow.cpp(870) : error C2039: 'EPIC' : is not a member of 'NS_UITEXTCOLOR'
Interface\ItemMixWindow.cpp(870) : error C2065: 'EPIC' : undeclared identifier
Interface\ItemMixWindow.cpp(871) : error C2039: 'UNIQUE' : is not a member of 'NS_UITEXTCOLOR'
Interface\ItemMixWindow.cpp(871) : error C2065: 'UNIQUE' : undeclared identifier
Interface\ItemMixWindow.cpp(872) : error C2039: 'VOTEITEM' : is not a member of 'NS_UITEXTCOLOR'
Interface\ItemMixWindow.cpp(872) : error C2065: 'VOTEITEM' : undeclared identifier
Interface\ItemMixWindow.cpp(873) : error C2039: 'PREMIUMITEM' : is not a member of 'NS_UITEXTCOLOR'
Interface\ItemMixWindow.cpp(873) : error C2065: 'PREMIUMITEM' : undeclared identifier
rebuild your source, if its still there maybe it's looking for the definition of the LOADITEMMIXRanClientLib_Korea.lib(GLogicDataLoad.obj) : error LNK2019: unresolved external symbol "int __cdecl GLCONST_CHAR::LOADITEMMIX(char *)
?????
"Item combine not match." is an emulator error, try it in-game/live serverItem combine not match.
ItemMix.ini
[ITEM_MIX_INFO]
ItemMixKeySize = 21
[ITEM_MIX_LIST]
ITEM_MIX = [67] [59,2] [1] [18,21] [1] [-1,-1] [0] [-1,-1] [0] [-1,-1] [0] [21,1] [1] [85] [350]
How about this..???