• 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

MQ2SelfKill

zippzipp

Member
Joined
Nov 17, 2006
RedCents
51¢
This plugin kills you then immediately pops you up right where you died. Great for deleveling.

Also another good use is for a ShadowKnight. They can write a macro that Dies, HTs, Dies, HTs, Dies, HTs until mob is dead. If the SK has 4th year of Veteran Reward can use Expedient Recovery to get all the Exp back.

Command:

/selfkill

MQ2Selfkill.cpp
Rich (BB code):
///////////////////////////////////////////////////////
//  MQ2SelfKill.cpp  by Zippzipp                     //
//  created:  18 December 2006                       //
///////////////////////////////////////////////////////
#include "../MQ2Plugin.h"
PreSetup("MQ2SelfKill");

int selfkillflag = 0;


VOID SelfKill(PSPAWNINFO pChar, PCHAR szLine){
   
	selfkillflag = 1;
	DoCommand(pChar,"/zwarp 10");
    DoCommand(GetCharInfo()->pSpawn,"/timed 5 /squelch /notify RespawnWnd RW_OptionsList listselect 2");
	DoCommand(GetCharInfo()->pSpawn,"/timed 5 /squelch /notify RespawnWnd RW_SelectButton leftmouseup");
}

PLUGIN_API VOID InitializePlugin(VOID){
	
	DebugSpewAlways("Initializing MQ2SelfKill");
	AddCommand("/selfkill", SelfKill);
}

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

// This is called every time MQ pulses
PLUGIN_API VOID OnPulse(VOID){

	if(selfkillflag == 1)
		GetCharInfo()->CurrWeight = 10000;
	
	selfkillflag = 0;
}

Enjoy!!!

--ZippZipp
 
I think there have been too many suicidal tendancies in this board lately. Nice idea with the SK though.
 
Actually, another use of this for someone that has the AA rez would be to delevel to in the early 60's and have some friends PL you in an easy place, like WoS or whereever. With the new changes in XP, one of my 61 bots gets 5-6 pct AAXP a kill in WoS, while my main only gets like 1.5 a kill. Lvling down quickly would give you like 2.5 hours to xp, then AA rez yourself back to 75.

lol, anyone daring enough to try it?
 
Rich (BB code):
DoCommand(pChar,"/zwarp 10");
Your plugin is dependant on another plugin first of all.

Second of all your kill method is unbelievably ghetto.

Also,
Rich (BB code):
	if(selfkillflag == 1)
		GetCharInfo()->CurrWeight = 10000;
	
	selfkillflag = 0;
That logic looks like shit.

It may be just personal opinion, but I've already redone it and it should work better.
 
It was a good idea, but teacherspet is right. There was a plugin the way he has it that does 20k damage a while ago, and I am not sure who wrote it, but it was the same idea. Always a guaranteed good time tho.
 
I think it is a very cool plugin zippzipp. Nice work! TP's improvements are nice too.

Don't let the critisism of your style discourage you from sharing this good stuff. Even the sloppiest plugin, shared, is better than the cleanest unshared one. :drink (Besides, they get cleaned up here for free ;) )

Red Cent for you!

--Jimbo
 
jimbo said:
I think it is a very cool plugin zippzipp. Nice work! TP's improvements are nice too.

Don't let the critisism of your style discourage you from sharing this good stuff. Even the sloppiest plugin, shared, is better than the cleanest unshared one. :drink (Besides, they get cleaned up here for free ;) )

Red Cent for you!

--Jimbo


Totally agree zippzipp... keep up the good work!! RC inc!
 
I'm sorry for being rude last night, it was around 3-4am when I saw this. But yeah, there was too much lazy coding and bad programming style in the plugin for my taste. Your plugin isn't at all standalone, and that's how plugins are supposed to be. I did write another version already (MQ2Respawn) though that has the better kill method and no relying on other functions (except of course for the Rezz because it's pointless to go through the MQ2 source for UI crap).
 
MQ2SelfKill

Users who are viewing this thread

Back
Top
Cart