Naes
Member
The classic emu servers have maps disabled everywhere but the newbie zones. This is due to the Legacy of Ykesha expansion being disabled. Here's the offset for it on titanium: 0x9247A0
Should be able to docrack it, but here's a plugin too.
Should be able to docrack it, but here's a plugin too.
PHP:
// MQ2EmuMapHack.cpp : Defines the entry point for the DLL application.
// Author: Naes
#include "../MQ2Plugin.h"
PreSetup("MQ2EmuMapHack");
#define EMU_MAP_HACK_OFFSET 0x9247A0
void EnableMapAllZones(bool enable)
{
PBYTE CanUseMap = (PBYTE)EMU_MAP_HACK_OFFSET ;
*CanUseMap = (enable) ? 1 : 0;
}
PLUGIN_API VOID InitializePlugin(VOID)
{
EnableMapAllZones(true);
}
PLUGIN_API VOID ShutdownPlugin(VOID)
{
EnableMapAllZones(false);
}
PLUGIN_API VOID OnZoned(PSPAWNINFO pChar, PCHAR szLine)
{
EnableMapAllZones(true);
}
