ISXEQ-20060410 on v29

Moderator: MacroQuest Developers

echoism
a ghoul
a ghoul
Posts: 131
Joined: Tue Oct 19, 2004 9:59 am

ISXEQ-20060410 on v29

Post by echoism » Mon Apr 17, 2006 8:53 am

To work with the latest isxdk, I had to convert all unsigned long to unsigned int, not posting those changes, but a simple find and replace works fine.

to fix pulse (which is essential, lax has already csv'd this):
MQ2Main:288

Code: Select all

	InitializeMQ2Spawns();
[color=red]//#ifndef ISXEQ[/color]
	InitializeMQ2Pulse();
[color=red]//#endif[/color]
	InitializeMQ2Commands();
I also had to cast the 2nd parameter for GetBuffID and GetShortBuffID as DWORD&.
MQ2DataTypes.cpp:1556

Code: Select all

			if (GetBuffID(pBuff,[color=red](DWORD&)[/color]Dest.DWord))
			{
				Dest.Type=pIntType;
				return true;
			}
			if (GetShortBuffID(pBuff,[color=red](DWORD&)[/color]Dest.DWord))
ISXEQDataTypes.cpp:141

Code: Select all

			char Temp[16];
			if (GetBuffID(pPtr,[color=red](DWORD&)[/color]slot))
			{
ISXEQDataTypes.cpp:151

Code: Select all

			}
			if (GetShortBuffID(pPtr,[color=red](DWORD&)[/color]slot))
			{
To fix Window.List to work like it does in mq2.
MQ2DataTypes:3838 from:

Code: Select all

#else
      if (argc==2)
[color=red]      {
         n=atoi(argv[1])-1;
         if (n<0)
            n=0;
      }[/color]
#endif
to:

Code: Select all

#else
      if (argc==2) [color=red]n=atoi(argv[1]);
      if (n<1) n=1;[/color]
#endif
To add character methods for sit, stand, and dismount, I modified:
ISXEQDataTypes.cpp:181 from:

Code: Select all

	}
[color=red]        // TODO
//     switch((CharacterMethods)pMethod->ID)
//     {
//     } [/color]
	return false;
to:

Code: Select all

	}
	[color=red]char TempCMD[20];
	switch((CharacterMethods)pMethod->ID)
	{
		case Stand:
		{
			sprintf(TempCMD,"/stand");
			EzCommand(TempCMD);
			return true;
		}
		case Sit:
		{
			sprintf(TempCMD,"/sit");
			EzCommand(TempCMD);
			return true;
		}
		case Dismount:
		{
			sprintf(TempCMD,"/dismount");
			EzCommand(TempCMD);
			return true;
		}
	} [/color]
	return false;
MQ2DataTypes.h:814

Code: Select all

	static enum CharacterMethods
	{
		[color=red]Stand=1,
		Sit=2,
		Dismount=3, [/color]
	};
MQ2DataTypes.h:950

Code: Select all

		TypeMember(GroupSize);

[color=red]		TypeMethod(Stand);
		TypeMethod(Sit);
		TypeMethod(Dismount); [/color]
	}

echoism
a ghoul
a ghoul
Posts: 131
Joined: Tue Oct 19, 2004 9:59 am

Post by echoism » Mon Apr 17, 2006 10:55 am

Also, to fix the /time command, add this line:
ISXEQCommandAPI.cpp:212

Code: Select all

   pISInterface->AddAlias("r","EQExecute /reply");
[color=red]   pISInterface->AddAlias("time","EQExecute /time");[/color]
}

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Mon Apr 17, 2006 11:40 am

cvs'd all of the above
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0