Unknownforce
New member
- Joined
- Mar 16, 2006
- RedCents
- 0¢
I just started learning this stuff not even a few weeks ago and I think I'm doin' pretty good with it so far.
After much time, I got Zone and Warp to work, Even fade works, but gate doesn't. Everything looks right, but it doesn't gate, it zones and even says it's zoning to pok (bound there) but it just ends up Fading instead of Gating, unless you are in a zone normally connected to pok, then it does zone to pok, but puts you where you would normally be if you just /zoned there, not at the bind location.
I'm using an old MQ2Rwarp plugin that had warp, zone, gate, zwarp, fade, etc. The code looks right, but I'm thinking the ZoneReason variable was different for the EQ Titanium version than the time the plugin was released... Which I think was March 06, and the EQgame for titanium is 11/01/05
Here's what I have for the gate Command.
All Definitions/Declarations are correct and I have the EQData.h modified for the proper packets/offsets, My first guess was that it wasn't pulling the ZoneBoundID and Coords correctly, so I made a simple plugin to give me what MQ2 is seeing as the ZoneBoundID and ZoneBound(Y, X and Z) Coords and it does show them correctly. So I can only conclude that either the DestType or ZoneReasons are being rejected, because it just doesn't gate, it just fades instead of gating (or /zones to pok if you are in a pok-connected zone)
Any Ideas?
Thanks.
After much time, I got Zone and Warp to work, Even fade works, but gate doesn't. Everything looks right, but it doesn't gate, it zones and even says it's zoning to pok (bound there) but it just ends up Fading instead of Gating, unless you are in a zone normally connected to pok, then it does zone to pok, but puts you where you would normally be if you just /zoned there, not at the bind location.
I'm using an old MQ2Rwarp plugin that had warp, zone, gate, zwarp, fade, etc. The code looks right, but I'm thinking the ZoneReason variable was different for the EQ Titanium version than the time the plugin was released... Which I think was March 06, and the EQgame for titanium is 11/01/05
Here's what I have for the gate Command.
Rich (BB code):
VOID Gate(PSPAWNINFO pChar, PCHAR szLine)
{
CHAR szMsg[MAX_STRING] = {0};
PCHARINFO2 pChar2 = GetCharInfo2();
sprintf(szMsg,"Gating...");
WriteChatColor(szMsg,USERCOLOR_DEFAULT);
DestZone = pChar2->ZoneBoundID;
DestType = 0;
ZoneReason = 11;
Y=pChar2->ZoneBoundY;
X=pChar2->ZoneBoundX;
Z=pChar2->ZoneBoundZ;
Heading = 0;
ZoneChange=true;
return;
}
All Definitions/Declarations are correct and I have the EQData.h modified for the proper packets/offsets, My first guess was that it wasn't pulling the ZoneBoundID and Coords correctly, so I made a simple plugin to give me what MQ2 is seeing as the ZoneBoundID and ZoneBound(Y, X and Z) Coords and it does show them correctly. So I can only conclude that either the DestType or ZoneReasons are being rejected, because it just doesn't gate, it just fades instead of gating (or /zones to pok if you are in a pok-connected zone)
Any Ideas?
Thanks.