• 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

Addon to PiggyZone, CHAINSHIFT! (1 Viewer)

TeachersPet

Well-known member
Joined
Jul 27, 2005
RedCents
71¢
Add this into PiggyZone. This is sort of a beta so you HAVE to use exact zone names (you can't use his full zone names thing etc...), but it works!

Just type /chainshift <zone1> <zone2> <zone3> all the way up to <zone 99> and it will zone you in order to each zone.

Post if you have any crashes or anything.

Rich (BB code):
// ChainShift Data
int ChainShiftZone[100] = {0};
int ChainShiftStatus = 0;
PLUGIN_API VOID OnZoned(PSPAWNINFO pChar, PCHAR szLine)
{
	CHAR szMsg[MAX_STRING] = {0};
	if(ChainShiftZone[0] > 0) {
		ChainShiftStatus++;
		if(ChainShiftStatus > ChainShiftZone[0]) {
			ChainShiftZone[0] = 0;
		}
		DestZone=ChainShiftZone[ChainShiftStatus];
		DestType=1;
		ZoneReason=0;
		Y=pChar->Y;
		X=pChar->X;
		Z=pChar->Z;
		Heading =(int)pChar->Heading;
		ZoneChange=true;
		return;
	}
}

VOID ChainShift(PSPAWNINFO pChar, PCHAR szLine);

VOID ChainShift(PSPAWNINFO pChar, PCHAR szLine)
{
	char szMsg[MAX_STRING] = {0};
	bool ZoneDetected = true;
	char ZoneCheckName[MAX_STRING] = {0};
	int ZoneFound = 0;
	ChainShiftStatus = 0;

	GetArg(ZoneCheckName,szLine,1);
	ZoneFound = GetZoneID(ZoneCheckName);

	while(ZoneDetected == true) {
		if(ZoneFound > 0) {
			ChainShiftZone[0]++;
			ChainShiftZone[ChainShiftZone[0]] = ZoneFound;
			GetArg(ZoneCheckName,szLine,(ChainShiftZone[0] + 1));
			ZoneFound = GetZoneID(ZoneCheckName);
		} else {
			ZoneDetected = false;
		}
	}

	if(ChainShiftZone[0] > 0) {
		ChainShiftStatus++;
		DestZone=ChainShiftZone[1];
		DestType=1;
		ZoneReason=0;
		Y=pChar->Y;
		X=pChar->X;
		Z=pChar->Z;
		Heading =(int)pChar->Heading;
		ZoneChange=true;
		return;
	}
}

Add THIS to IntializePlugin
Rich (BB code):
AddCommand("/chainshift",ChainShift);

Add THIS to ShutDownPlugin
Rich (BB code):
RemoveCommand("/chainshift");
 
sexy! I like it.

Now to just get a good zonemap setup so it can automatically pick the shortest path between two zones.

Or figure out how to just go to any zone directly. :p
 
I'm updating cadestuff with this, if you mind say so and I'll take it out
 
anyone got this as a plugin yet? i still cant get my plugins to work lol
 
wee :P not bad I can finally get rid of the macro I made for chain zoning :P
BTW DING 700
 
Last edited:
You can add it, I don't mind. I've got some stuff I'm going to work on today to see if they work out.
 
Cosmic said:
sexy! I like it.

Now to just get a good zonemap setup so it can automatically pick the shortest path between two zones.

-->Or figure out how to just go to any zone directly.<-- :p

Going to any zone directly is a cool and fun way to get ya banned =)
 
Seems to crash me to server select on the final zone. Zones in the middle work fine however, as does /zone by itself. If I log back in from server select I get black screen w/white text saying Server Unavailable (I think) so I have to go to desktop and restart eq.

Tried a few different paths, final zone always crashes.

Using .net to compile stock mq2 and some custom stuff.
 
It worked fine in VS6, compiling it for the first time at home in VS .NET, I'll tell you what happens.
 
I'll look into it, still haven't tested it in VS.NET, I got sidetrackeda gain.
 
Addon to PiggyZone, CHAINSHIFT!

Users who are viewing this thread

Back
Top
Cart