|
|
@ -38,9 +38,11 @@ bool MultiSend::Initialize(IAshitaCore* core, ILogManager* log, uint32_t id) |
|
|
|
Pointer += 25; |
|
|
|
Pointer += 25; |
|
|
|
p_Follow = (sFollow*)(*((DWORD*)Pointer)); |
|
|
|
p_Follow = (sFollow*)(*((DWORD*)Pointer)); |
|
|
|
|
|
|
|
|
|
|
|
//Create name for memory mapped file using plugin version, to guarantee mismatched multisends don't collide if user loads two.
|
|
|
|
|
|
|
|
char buffer[256]; |
|
|
|
char buffer[256]; |
|
|
|
sprintf_s(buffer, 256, "FFXI_Multisend_%f", this->GetPluginInfo().PluginVersion); |
|
|
|
strcpy_s(buffer, 256, "FFXI_Multisend_Compatibility"); |
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
Create name for memory mapped file using plugin version, to guarantee mismatched multisends don't collide if user loads two. |
|
|
|
|
|
|
|
sprintf_s(buffer, 256, "FFXI_Multisend_Compatibility", this->GetPluginInfo().PluginVersion); */ |
|
|
|
|
|
|
|
|
|
|
|
//create a handle to the MMF, size matches the struct we're using for it
|
|
|
|
//create a handle to the MMF, size matches the struct we're using for it
|
|
|
|
HANDLE hMapFile = CreateFileMapping( |
|
|
|
HANDLE hMapFile = CreateFileMapping( |
|
|
@ -123,7 +125,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.16f; |
|
|
|
g_PluginInfo->PluginVersion = 1.17f; |
|
|
|
g_PluginInfo->Priority = 0; |
|
|
|
g_PluginInfo->Priority = 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|