@ -25,14 +25,25 @@ bool MultiSend::Initialize(IAshitaCore* core, ILogManager* log, uint32_t id)
this - > m_LogManager = log ;
this - > m_LogManager = log ;
LoadGroups ( ) ;
LoadGroups ( ) ;
MODULEINFO mod = { 0 } ;
if ( ! : : GetModuleInformation ( : : GetCurrentProcess ( ) , : : GetModuleHandle ( " FFXiMain.dll " ) , & mod , sizeof ( MODULEINFO ) ) )
return false ;
unsigned char * Pointer = ( unsigned char * ) Ashita : : Memory : : FindPattern ( ( uintptr_t ) mod . lpBaseOfDll , ( uintptr_t ) mod . SizeOfImage ,
DWORD Pointer = NULL ;
" 8BCFE8????FFFF8B0D????????E8????????8BE885ED750CB9 " ,
0 , 0 ) ;
Pointers * p = ( Pointers * ) m_AshitaCore - > GetPluginManager ( ) - > GetPlugin ( " Pointers " ) ;
if ( p )
{
Pointer = p - > RegisterPointer ( " movement " , " 8BCFE8????FFFF8B0D????????E8????????8BE885ED750CB9 " , 0 , 0 ) ;
}
else
{
MODULEINFO mod = { 0 } ;
if ( ! : : GetModuleInformation ( : : GetCurrentProcess ( ) , : : GetModuleHandle ( " FFXiMain.dll " ) , & mod , sizeof ( MODULEINFO ) ) )
return false ;
Pointer = Ashita : : Memory : : FindPattern ( ( uintptr_t ) mod . lpBaseOfDll , ( uintptr_t ) mod . SizeOfImage ,
" 8BCFE8????FFFF8B0D????????E8????????8BE885ED750CB9 " ,
0 , 0 ) ;
}
if ( Pointer = = NULL ) return false ;
if ( Pointer = = NULL ) return false ;
Pointer + = 25 ;
Pointer + = 25 ;
@ -119,7 +130,7 @@ __declspec(dllexport) void __stdcall CreatePluginInfo(plugininfo_t* lpBuffer)
strcpy_s ( g_PluginInfo - > Author , sizeof ( g_PluginInfo - > Author ) , " Thorny " ) ;
strcpy_s ( g_PluginInfo - > Author , sizeof ( g_PluginInfo - > Author ) , " Thorny " ) ;
g_PluginInfo - > InterfaceVersion = ASHITA_INTERFACE_VERSION ;
g_PluginInfo - > InterfaceVersion = ASHITA_INTERFACE_VERSION ;
g_PluginInfo - > PluginVersion = 1.04 f ;
g_PluginInfo - > PluginVersion = 1.05 f ;
g_PluginInfo - > Priority = 0 ;
g_PluginInfo - > Priority = 0 ;
}
}