@ -25,14 +25,25 @@ bool MultiSend::Initialize(IAshitaCore* core, ILogManager* log, uint32_t id)
@@ -25,14 +25,25 @@ bool MultiSend::Initialize(IAshitaCore* core, ILogManager* log, uint32_t id)
this - > m_LogManager = log ;
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 ,
" 8BCFE8????FFFF8B0D????????E8????????8BE885ED750CB9 " ,
0 , 0 ) ;
DWORD Pointer = NULL ;
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 ;
Pointer + = 25 ;
@ -119,7 +130,7 @@ __declspec(dllexport) void __stdcall CreatePluginInfo(plugininfo_t* lpBuffer)
@@ -119,7 +130,7 @@ __declspec(dllexport) void __stdcall CreatePluginInfo(plugininfo_t* lpBuffer)
strcpy_s ( g_PluginInfo - > Author , sizeof ( g_PluginInfo - > Author ) , " Thorny " ) ;
g_PluginInfo - > InterfaceVersion = ASHITA_INTERFACE_VERSION ;
g_PluginInfo - > PluginVersion = 1.04 f ;
g_PluginInfo - > PluginVersion = 1.05 f ;
g_PluginInfo - > Priority = 0 ;
}