TeachersPet
Well-known member
- Joined
- Jul 27, 2005
- RedCents
- 71¢
Further testing reveals, a total of ZERO boots from game. Report if any happen though.
With this, I ran on Speed 25 for atleast 5 minutes straight before I fell to my death. It's sort of jumpy because of the way it is coded, and I haven't tested it since modifying it for the general public and added a command.
Speed 5 is maximum selos.
Commands are /speed <number> or /speed off
Updates:
- Minor fix in the slash command.
With this, I ran on Speed 25 for atleast 5 minutes straight before I fell to my death. It's sort of jumpy because of the way it is coded, and I haven't tested it since modifying it for the general public and added a command.
Speed 5 is maximum selos.
Commands are /speed <number> or /speed off
Rich (BB code):
#include "../MQ2Plugin.h"
PreSetup("MQ2SuperDuperReallyGhettoSpeed");
float Speed;
float OldSpeed;
bool UseSpeed = false;
VOID SpeedHack(PSPAWNINFO pChar, PCHAR szLine) {
CHAR szMsg[MAX_STRING] = {0};
if(!strcmp(szLine,"off")) {
UseSpeed = false;
GetCharInfo()->pSpawn->RunSpeed = OldSpeed;
WriteChatColor("Speed Hack is Off",USERCOLOR_DEFAULT);
} else {
if(!UseSpeed) {
OldSpeed = GetCharInfo()->pSpawn->RunSpeed;
}
UseSpeed = true;
Speed = (float)atof(szLine);
sprintf(szMsg,"Speed Hack is On - %f",Speed);
WriteChatColor(szMsg,USERCOLOR_DEFAULT);
}
}
PLUGIN_API VOID OnPulse(VOID) {
static int SpeedCount = 1;
if(UseSpeed) {
if(SpeedCount == 1) {
OldSpeed = GetCharInfo()->pSpawn->RunSpeed;
GetCharInfo()->pSpawn->RunSpeed = Speed;
SpeedCount++;
} else {
GetCharInfo()->pSpawn->RunSpeed = OldSpeed;
SpeedCount++;
if(SpeedCount > 3) {
SpeedCount = 1;
}
}
}
}
PLUGIN_API VOID InitializePlugin(VOID)
{
AddCommand("/speed",SpeedHack);
}
PLUGIN_API VOID ShutdownPlugin(VOID)
{
RemoveCommand("/speed");
}
Updates:
- Minor fix in the slash command.
Last edited:



/circle 25 ftw