AUTO COMMAND WHISPER EVERY MINUTES

05/05/2018 06:58 Ecrypter#1
Hi Epvpers im asking for this auto command whisper text every minutes?
any release here related in the pictures that auto command whisper every minutes?
sample picture?
[Only registered and activated users can see links. Click Here To Register...]

thanks epvpers
05/05/2018 18:56 Tweeney#2
event.lua
05/05/2018 18:57 AnimuNazi#3
Wasn't this somewhere on lua, not sure its been awhile.
05/06/2018 03:51 Ecrypter#4
its the same to Event.Lua but it is source code
05/06/2018 07:26 yazuka21#5
Define at VersionCommon.h
Code:
#define __RENE_MESSAGE
at DPClient.cpp
Code:
void CDPClient::OnGameJoin( CAr & ar )
{
	ar >> g_WndMng.m_dwSavePlayerTime;
	CString strMessage;
	for( int i = 0; i < g_pPlayer->m_nQuestSize; i++ )
	{
		if( g_pPlayer->m_aQuest[ i ].m_wId != 0xffff && g_pPlayer->m_aQuest[ i ].m_wId != 0xff )
		{
			if( g_pPlayer->m_aQuest[ i ].m_nState != 14 )
			{
				QuestProp * pQestProp = prj.m_aPropQuest.GetAt( g_pPlayer->m_aQuest[ i ].m_wId );
				if( pQestProp )
				{
					strMessage.Format( prj.GetText(  TID_GAME_TOOLTIP_ROLEQUEST ) , pQestProp->m_szTitle );
					g_WndMng.PutString( strMessage, NULL, 0xffff0000 );
				}
			}
		}
	}
#ifndef __RENE_MESSAGE
	strMessage.Format( prj.GetText( TID_GAME_TOOLTIP_PRELEVEL ) , g_pPlayer->GetLevel() );
	g_WndMng.PutString( strMessage, NULL, 0xffff0000 );
#endif //__RENE_MESSAGE
	CString str;
	str.Format("[ReneGuard] Welcome to Alfheim FlyFF!");
	g_WndMng.PutString(str, NULL, 0xff00ff00, CHATSTY_SYSTEM);
	CWndWorld* pWndWorld = (CWndWorld*)g_WndMng.GetWndBase(APP_WORLD);

	if(pWndWorld)
	{
		g_Caption1.AddCaption(str, pWndWorld->m_pFontAPITitle, FALSE );
	}
}



USER.CPP
Define this at User.cpp
Code:
#ifdef __RENE_MESSAGE
#include <iostream>
#endif //__RENE_MESSAGE
Add :
Code:
#ifdef __RENE_MESSAGE
	CString str1, str2, str3, str4;

	EXPINTEGER	nExpResult = GetExp1() * (EXPINTEGER)10000 / GetMaxExp1();
	float fExp = (float)nExpResult / 100.0f;

	str1.Format( "Welcome, %s", GetName() );
	str2.Format( "Edit moto : %s", prj.m_aJob[GetJob()].szName );
	str3.Format( "Edit mo rin to : %i", GetLevel() );
	str4.Format( "Edit mo ulit rin ito : %.2f%%", fExp );

	AddText( "" );
	AddText( str1 );
	AddText( str2 );
	AddText( str3 );
	AddText( str4 );
#endif //__RENE_MESSAGE
Before:
Code:
}
void CUser::Process()
05/07/2018 01:28 Ecrypter#6
nothings diffent in mind Dev Akuzay. this is not saying every minute will whisper in your neuz. this code is when you login and it will come up in your windows says that text.

what i mean is semilar to Event.lua but the whisper time duration is more that 1(MIN).