Guys Help me Lord System

12/21/2015 02:53 lionheart21#1
[Only registered and activated users can see links. Click Here To Register...]

Anyone know how to make like this .. able to access normal player

Please help me:(
12/21/2015 07:29 Schulzie#2
2sec searching....

[Only registered and activated users can see links. Click Here To Register...] or [Only registered and activated users can see links. Click Here To Register...]

next time use search function
12/22/2015 21:13 lionheart21#3
Thank you .. How can i change the currency of lord system normally penya right how can i change to perin
12/24/2015 14:22 Marc~#4
View this in DPSrvr.cpp:
Code:
void CDPSrvr::OnLEventCreate( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
	CUser* pUser	=	g_UserMng.GetUser( dpidCache, dpidUser );
	if( IsValidObj( pUser ) )
	{
		int iEEvent, iIEvent;
		ar >> iEEvent >> iIEvent;
		int nRet	= lordevent::CreateRequirements( pUser, iEEvent, iIEvent );
		if( nRet )
		{
			pUser->AddDefinedText( nRet );
			return;
		}
		ILordEvent* pEvent		= CSLord::Instance()->GetEvent();

		int nPerin	= pUser->RemoveTotalGold( pEvent->GetCost( iEEvent, iIEvent ) );
		char szContext[100]		= { 0,};
		sprintf( szContext, "OnLEventCreate: cost: %d(perin), %I64d(penya)", nPerin, pEvent->GetCost( iEEvent, iIEvent ) - ( nPerin * PERIN_VALUE ) );
		PutPenyaLog( pUser, "e", szContext, 0 );

		g_dpDBClient.SendLEventCreate( pUser->m_idPlayer, iEEvent, iIEvent );
	}
}