• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

P99 - Change Money

Abyss

Well-known member
Joined
Sep 30, 2005
RedCents
69¢
It can either be done in docrack form, or plugin I prefer this way. Heres the source.

Allows you to convert your moneys around.

Rich (BB code):
// MQ2ChangeMoney.cpp : Defines the entry point for the DLL application.
//

// PLUGIN_API is only to be used for callbacks.  All existing callbacks at this time
// are shown below. Remove the ones your plugin does not use.  Always use Initialize
// and Shutdown for setup and cleanup, do NOT do it in DllMain.



// MQ2ChangeMoney: Written by Abyss

#include "../MQ2Plugin.h"

#define EQ_CHANGE_MONEY 0x495fE4 /* 11/11/10 */

PreSetup("MQ2ChangeMoney");

VOID ChangeMoneyCheck() {

   DWORD Address = EQ_CHANGE_MONEY;
   DWORD Length = 0x01;
   DWORD oldperm=0, tmp;

   FlushInstructionCache(GetCurrentProcess(),(LPCVOID)Address, Length);
   VirtualProtectEx(GetCurrentProcess(), (LPVOID)Address, Length, PAGE_EXECUTE_READWRITE,
   &oldperm); WriteProcessMemory(GetCurrentProcess(), (LPVOID)Address, "\xEB", Length, NULL); VirtualProtectEx(GetCurrentProcess(), (LPVOID)Address,
   Length, oldperm, &tmp);

}

PLUGIN_API VOID InitializePlugin(VOID)
{
	ChangeMoneyCheck();

	WriteChatColor("MQ2ChangeMoney: Written by Abyss", CONCOLOR_YELLOW);
	WriteChatColor("Version: 11 - 11 - 2010", CONCOLOR_YELLOW); 
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
}
 
Stack any stackable item to 1000.

Rich (BB code):
#include "../MQ2Plugin.h"


PLUGIN_API VOID OnPulse(VOID)
{
PCONTENTS pCursor=GetCharInfo2()->Cursor;
	if (pCursor)
	{
			WriteChatf("\agNow setting \ay%s\ag stackable size to \ay200",pCursor->Item->Name);
			pCursor->Item->Unknown0x2c0[0] = 1000;
//			pCursor->Item->EquipSlots = -1;
		}
	}
 
Allows you to choose froglok, iksar, vahshir as starting races in P99.

Rich (BB code):
// MQ2StartingRace.cpp : Defines the entry point for the DLL application.
//

// PLUGIN_API is only to be used for callbacks.  All existing callbacks at this time
// are shown below. Remove the ones your plugin does not use.  Always use Initialize
// and Shutdown for setup and cleanup, do NOT do it in DllMain.


// MQ2StartingRace: Written by Abyss

#include "../MQ2Plugin.h"

#define RaceCheck 0x43D8C8 /* 11/13/10 */
#define StartingRace_Memcheck 0x57F61C /* 11/13/10*/

PreSetup("MQ2Testa");

class Race_Memcheck {
public:
void Memcheck_Trampoline(float);
void Memcheck_Detour(float)
{
Memcheck_Trampoline((float)0);
return;
}
};

DETOUR_TRAMPOLINE_EMPTY(void Cresent_Memcheck::Memcheck_Trampoline(float));

/*VOID CharacterSelectCheck() {

   DWORD Address = RaceCheck;
   DWORD Length = 0x06;
   DWORD oldperm=0, tmp;

   FlushInstructionCache(GetCurrentProcess(),(LPCVOID)Address, Length);
   VirtualProtectEx(GetCurrentProcess(), (LPVOID)Address, Length, PAGE_EXECUTE_READWRITE,
   &oldperm); WriteProcessMemory(GetCurrentProcess(), (LPVOID)Address, "\xE4" "\xB7" "\x01"
   "\x05" "\x90" "\x90", Length, NULL); VirtualProtectEx(GetCurrentProcess(), (LPVOID)Address,
   Length, oldperm, &tmp);

} */

PLUGIN_API VOID InitializePlugin(VOID)
{
	EzDetour(StartingRace_Memcheck,Race_Memcheck::Memcheck_Detour,Race_Memcheck::Memcheck_Trampoline);
	//CharacterSelectCheck();

	WriteChatColor("MQ2StartingRace: Written by Abyss", CONCOLOR_YELLOW);
	WriteChatColor("Version: 11 13, 2010", CONCOLOR_YELLOW); 
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	RemoveDetour(StartingRace_Memcheck);
}
 
I have another stuff on p99 I can give ya for loot, or plat. PM me if interested.

No Warp detection, chain zoning, Loot corpse instantly etc.
 
P99 - Change Money

Users who are viewing this thread

Back
Top
Cart