• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

MQ2SelfKill

zippzipp

Member
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