Plugin Help Please

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

bandrent
orc pawn
orc pawn
Posts: 27
Joined: Mon Sep 27, 2004 6:41 pm

Plugin Help Please

Post by bandrent » Mon Sep 27, 2004 10:56 pm

I came accross this plug in and it some what works. I was hoping someone could work with me to get it to fully work.

It is supposed to give you a GM flag. I tested it and what it does is give you a very low level flag. No green name no gm tag. Most of the gm commands do not work. One of the cool commands works about half way and one other command works fine. I am not going to give commands to anyone except for the person helping me to get this working.

Code: Select all

#include "../MQ2Plugin.h"


PreSetup("MQ2Gmme");

// Called once, when the plugin is to initialize
PLUGIN_API VOID InitializePlugin(VOID)
{
	DebugSpewAlways("Initializing MQ2Gmme");

	// Add commands, MQ2Data items, hooks, etc.
	// AddCommand("/mycommand",MyCommand);
	// AddXMLFile("MQUI_MyXMLFile.xml");
	// bmMyBenchmark=AddMQ2Benchmark("My Benchmark Name");
}

// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin(VOID)
{
	DebugSpewAlways("Shutting down MQ2Gmme");

	// Remove commands, MQ2Data items, hooks, etc.
	// RemoveMQ2Benchmark(bmMyBenchmark);
	// RemoveCommand("/mycommand");
	// RemoveXMLFile("MQUI_MyXMLFile.xml");
}

// Called after entering a new zone
PLUGIN_API VOID OnZoned(VOID)
{
	DebugSpewAlways("MQ2Gmme::OnZoned()");
}

// Called once directly before shutdown of the new ui system, and also
// every time the game calls CDisplay::CleanGameUI()
PLUGIN_API VOID OnCleanUI(VOID)
{
	DebugSpewAlways("MQ2Gmme::OnCleanUI()");
	// destroy custom windows, etc
}

// Called once directly after the game ui is reloaded, after issuing /loadskin
PLUGIN_API VOID OnReloadUI(VOID)
{
	DebugSpewAlways("MQ2Gmme::OnReloadUI()");
	// recreate custom windows, etc
}

// Called every frame that the "HUD" is drawn -- e.g. net status / packet loss bar
PLUGIN_API VOID OnDrawHUD(VOID)
{
	// DONT leave in this debugspew, even if you leave in all the others
//	DebugSpewAlways("MQ2Gmme::OnDrawHUD()");
}

// Called once directly after initialization, and then every time the gamestate changes
PLUGIN_API VOID SetGameState(DWORD GameState)
{
	DebugSpewAlways("MQ2Gmme::SetGameState()");
	// if (GameState==GAMESTATE_INGAME)
	// create custom windows if theyre not set up, etc
}


// This is called every time MQ pulses
PLUGIN_API VOID OnPulse(VOID)
{
	// DONT leave in this debugspew, even if you leave in all the others
//	DebugSpewAlways("MQ2Gmme::OnPulse()");
}

// This is called every time WriteChatColor is called by MQ2Main or any plugin,
// IGNORING FILTERS, IF YOU NEED THEM MAKE SURE TO IMPLEMENT THEM. IF YOU DONT
// CALL CEverQuest::dsp_chat MAKE SURE TO IMPLEMENT EVENTS HERE (for chat plugins)
PLUGIN_API DWORD OnWriteChatColor(PCHAR Line, DWORD Color, DWORD Filter)
{
	DebugSpewAlways("MQ2Gmme::OnWriteChatColor(%s)",Line);
	return 0;
}

// This is called every time EQ shows a line of chat with CEverQuest::dsp_chat,
// but after MQ filters and chat events are taken care of.
PLUGIN_API DWORD OnIncomingChat(PCHAR Line, DWORD Color)
{
	DebugSpewAlways("MQ2Gmme::OnIncomingChat(%s)",Line);
	return 0;
}

// This is called each time a spawn is added to a zone (inserted into EQ's list of spawns),
// or for each existing spawn when a plugin first initializes
// NOTE: When you zone, these will come BEFORE OnZoned
PLUGIN_API VOID OnAddSpawn(PSPAWNINFO pNewSpawn)
{
	DebugSpewAlways("MQ2Gmme::OnAddSpawn(%s)",pNewSpawn->Name);
}

// This is called each time a spawn is removed from a zone (removed from EQ's list of spawns).
// It is NOT called for each existing spawn when a plugin shuts down.
PLUGIN_API VOID OnRemoveSpawn(PSPAWNINFO pSpawn)
{
	DebugSpewAlways("MQ2Gmme::OnRemoveSpawn(%s)",pSpawn->Name);
}

// This is called each time a ground item is added to a zone
// or for each existing ground item when a plugin first initializes
// NOTE: When you zone, these will come BEFORE OnZoned
PLUGIN_API VOID OnAddGroundItem(PGROUNDITEM pNewGroundItem)
{
	DebugSpewAlways("MQ2Gmme::OnAddGroundItem(%d)",pNewGroundItem->DropID);
}

// This is called each time a ground item is removed from a zone
// It is NOT called for each existing ground item when a plugin shuts down.
PLUGIN_API VOID OnRemoveGroundItem(PGROUNDITEM pGroundItem)
{
	DebugSpewAlways("MQ2Gmme::OnRemoveGroundItem(%d)",pGroundItem->DropID);
}

SlimFastForYou
a hill giant
a hill giant
Posts: 174
Joined: Sat Jan 24, 2004 1:38 am

Oooooh a first time poster!

Post by SlimFastForYou » Mon Sep 27, 2004 11:41 pm

One question:

How much did you pay someone for this?

Six statements:

(1) This is not a hacker forum and probably nobody will help you with this and if this code actually did something you would run the risk of getting banned from these forums.

(2) This code does jack shit. It is a basic framework, but no real code has been written.

(3) If you want to give yourself GM mode (if there is a way to do so I am 99.99999998% sure your EQ account will be kicked/banned within 5 minutes).

(4) If you dont give a shit about your account being banned and you really want to try some of that shit, I suggest you get a server emulator, learn learn learn, and figure out what changes in the client when you become a GM.

(5) If you actually are able to accomplish point 4 to show off to your 1337 scr1p7 k1dd33 friends, you will have evolved and hopefully gotten better friends.

(6) FOR ANY WEB COMMUNITY YOU SHOULD REALLY REALLY REALLY REALLY CONSIDER BROWSING THE FORUMS (OR EVEN USING THE SEARCH FEATURE) FIRST TO SEE WHAT IS ACCEPTABLE TO POST AND WHAT IS NOT BEFORE POSTING YOUR FIRST REPLY TO A THREAD (IN YOUR CASE YOU MADE A NEW THREAD SO THIS APPLIES EVEN MORE).

Please take into account all these things for the future. If you have any questions like "what is a server emulator" or "how do I know what changes in the client", please don't ask them. They have been asked again and again and the answers are all out there. For the most part, this is out of the scope of these forums and you should use a good search engine to find web pages for appropriate projects.

efudd
a lesser mummy
a lesser mummy
Posts: 50
Joined: Sun Jan 04, 2004 8:00 pm

Post by efudd » Mon Sep 27, 2004 11:50 pm

This code isn't supposed tob e public. MOD, PLEASE MOVE THIS IMMEDIATELY TO LEVEL 5!.

-jbl

SlimFastForYou
a hill giant
a hill giant
Posts: 174
Joined: Sat Jan 24, 2004 1:38 am

Post by SlimFastForYou » Mon Sep 27, 2004 11:52 pm

efudd wrote:This code isn't supposed tob e public. MOD, PLEASE MOVE THIS IMMEDIATELY TO LEVEL 5!.

-jbl
Lmfao, I should have posted something like you instead of making him aware that the code in his $20 ebook does absolutely nothing.

Goofmester1
a hill giant
a hill giant
Posts: 241
Joined: Thu Nov 06, 2003 4:26 am

Post by Goofmester1 » Tue Sep 28, 2004 12:14 am

well if you tested this you are either really slow or just don't understand that the command list you were sold is probly normal MQ commands.

bandrent
orc pawn
orc pawn
Posts: 27
Joined: Mon Sep 27, 2004 6:41 pm

1

Post by bandrent » Tue Sep 28, 2004 3:48 am

Thanks Goof.
I didn't think to try and see if the commands work with out the plugin. The good news is I didn't pay for it. I was looking to see if there was any macroquest fan sites out there with macros. I came accross it at rpgexpert. I posted it here because I figured if it didn't work I would take it to the experts.
As far as unacceptable posts, I would disagree. MacroQuest is all hacking everquest because it is all a violation of the EULA. Using any third party software to give a player an unfair advantage over another.
It is true that turning your name green or using some of the commands like becoming tunary would be a dead givaway, but so would following an exact path for an hour as you build up your trade skill.
In any case I do thank you for your insite. I will mess with the regular commands before I try any more plugins.

Thanks.
--The Noob-B-- :shock:

bandrent
orc pawn
orc pawn
Posts: 27
Joined: Mon Sep 27, 2004 6:41 pm

guess what

Post by bandrent » Wed Sep 29, 2004 5:33 pm

I removed the plugin and the commands still work. LoL I guess that will teach me.