- Joined
- Dec 30, 2022
- Messages
- 17
- Reaction score
- 20
A little and easy share. I know everyone has this function. I just wanted to share to others that doesn't have this one. I'm using Juver Source for this Function.
How is this gonna work?
- GenID will show if the Item has GenID
- Only GM Accounts can see the ItemID & GenID
So how you gonna put it into your server?
Open UIItemInfoLoader.cpp
Find:
Paste this Code Below:
Credits:
Juver
and the people who did this. I just revised it.
How is this gonna work?
- GenID will show if the Item has GenID
- Only GM Accounts can see the ItemID & GenID
So how you gonna put it into your server?
Open UIItemInfoLoader.cpp
Find:
Code:
SITEM* pItemData = GLItemMan::GetInstance().GetItem ( sItemCustom.sNativeID );
Paste this Code Below:
Code:
// Added GenID & ItemID | LuciFXServer | 4/14/23
CString strItemID,strGen;
strItemID.Format("ID:[%03d_%03d]", sItemCustom.sNativeID.wMainID, sItemCustom.sNativeID.wSubID );
strGen.Format("GenID:[%d] ", pItemData->sGenerateOp.dwSpecID );
DWORD dwUSERLVL = GLGaeaClient::GetInstance().GetCharacter()->m_dwUserLvl;
if ( dwUSERLVL > 1 )
{
AddTextNoSplit ( strItemID, NS_UITEXTCOLOR::PRIVATE );
if ( pItemData->sGenerateOp.dwSpecID ) AddTextNoSplit ( strGen, pItemData->sGenerateOp.bGenEnable ? NS_UITEXTCOLOR::ENABLE : NS_UITEXTCOLOR::DISABLE );
}
Credits:
Juver
and the people who did this. I just revised it.