• 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

MQ2NoEncumber

TeachersPet

Well-known member
Joined
Jul 27, 2005
RedCents
71¢
I whipped this up because I couldn't move in PoK like 2 minutes ago. Didn't remember if RG had one so I figured, like every other plugin I randomly make, I'd post it.

P.S. I promise this wasn't posted as a shameless "VOTE FOR ME" ploy.

P.P.S. You can vote for me here.

Rich (BB code):
// MQ2NoEncumber By: TeachersPet

#include "../MQ2Plugin.h"

PreSetup("MQ2NoEncumber");

PLUGIN_API VOID OnPulse(VOID)
{
	GetCharInfo()->CurrWeight = 0;
}
 
Handy, as it saves having to load up docrack, etc. etc. Is this detectable at all, do you think? Good job anyways. :)
 
TeachersPet said:
I whipped this up because I couldn't move in PoK like 2 minutes ago.

I assume this was with all the ninja'd loot from your banned accounts? :D
 
No, TP's been doing things that he shouldn't have *ducks*
 
TeachersPet said:
I whipped this up because I couldn't move in PoK like 2 minutes ago. Didn't remember if RG had one so I figured, like every other plugin I randomly make, I'd post it.

P.S. I promise this wasn't posted as a shameless "VOTE FOR ME" ploy.

P.P.S. You can vote for me here.

Rich (BB code):
// MQ2NoEncumber By: TeachersPet

#include "../MQ2Plugin.h"

PreSetup("MQ2NoEncumber");

PLUGIN_API VOID OnPulse(VOID)
{
	GetCharInfo()->CurrWeight = 0;
}

nice simple and efficient coding, no offset required. The only time this code will need to be updated is when there are struct changes.

Excellent work.
 
Kudos, also VERY handy in Uqua as the AE knocks all stats down and even with No bags equip can be a problem fo many to move!
 
Yah weight is 100% client side as far as being encumbered, however if your a Monk then I believe it will still effect your stats server side (AC and such.) By the way, TP, this is a really sloppy way of doing this. You should have a boolean operator and a command to turn it on and off, also a /setweight would be cool. That's how I did mine anyway, but I guess to be fair it's not really necessary - this just looks TOO small for me hehe..
 
First post date: 11-13-2006, 01:28 AM

Iso could teach you all a lesson on "Necro Bumping"

=p
 
Blame Alez, I just saw that this in recent posts ;) Look below for an upgrade, just because the post is bumped anyway and it's in need of one..

Rich (BB code):
//CorruptionPlugins.com

#include "../MQ2Plugin.h"

PreSetup("MQ2NoEncumber");

bool NoEnc = false;
int WeightAmount = 0;

VOID NoEncumber(PSPAWNINFO pChar, PCHAR szLine)
{
	if (!stricmp(szLine,"on") || !stricmp(szLine,"1") || (!stricmp(szLine,"") && !NoEnc)) {
		NoEnc = true;
		WriteChatColor("MQ2CorruptionEncumber: No encumber enabled",CONCOLOR_YELLOW);
	} else {
		NoEnc = false;
		WriteChatColor("MQ2CorruptionEncumber: No encumber disabled.",CONCOLOR_RED);
	}
}

VOID SetWeight(PSPAWNINFO pChar, PCHAR szLine){
	WeightAmount = atoi(szLine);
}

VOID HelpCmd(PSPAWNINFO pChar, PCHAR szLine){
	WriteChatColor("MQ2CorruptionEncumber Commands:",CONCOLOR_YELLOW);
	WriteChatColor("/noencumber: This will set your weight to 0",CONCOLOR_YELLOW);
	WriteChatColor("/setweight <#>: This will set your weight to your choice",CONCOLOR_YELLOW);
}

// Called once, when the plugin is to initialize
PLUGIN_API VOID InitializePlugin(VOID)
{
	DebugSpewAlways("Initializing MQ2NoEncumber");
	WriteChatColor("MQ2CorruptionEncumber: Type /encumberhelp to get started",CONCOLOR_YELLOW);
	AddCommand("/encumberhelp", HelpCmd);
	AddCommand("/noencumber",NoEncumber);
	AddCommand("/setweight", SetWeight);
}

// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin(VOID)
{
	DebugSpewAlways("Shutting down MQ2NoEncumber");
	RemoveCommand("/encumberhelp");
	RemoveCommand("/noencumber");
	RemoveCommand("/setweight");
}

PLUGIN_API VOID OnPulse(VOID)
{
	if (NoEnc)
	GetCharInfo()->CurrWeight = WeightAmount;
}
 
Last edited:
MQ2NoEncumber

Users who are viewing this thread

Back
Top
Cart