MQ2 Latest Release -- MQ2-20210915(Test).zip

General announcements relating to the modularized MacroQuest2 system.

Moderator: MacroQuest Developers

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081009a.zip

Post by ieatacid » Thu Oct 09, 2008 8:23 pm

Fixed compile error.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081009b.zip

Post by ieatacid » Thu Oct 09, 2008 9:42 pm

Code: Select all

09 October 2008 by ieatacid
- Changed target TLO. It now uses the new TargetType which inherits the spawn type.  The TargetType contains the following members:
   Buff (access to spell type): returns the target's spell by index (${Target.Buff[n]}) or name (${Target.Buff[name]}).  If no index is given (${Target.Buff}) it returns the first spell name or "NULL" if the target has no buffs
   BuffCount: returns the number of buffs on the target
   BuffUpdate: since there's a delay between when you target a spawn and when you get their buff data, this lets you know if the buff data is available
Example macro code:

Code: Select all

Sub main
/declare i int local 0
/if (${Target.ID}) {
	/delay 5s ${Target.BuffUpdate}
	| buff info is updated, echo buffs
	/for i 1 to ${Target.BuffCount}
		/echo ${Target.Buff[${i}]}
	/next i
	/echo ${Target.BuffCount} buffs
}

Also of note: buff data by index (${Target.Buff[n]}) doesn't count empty slots. This is so you can loop from 1 to BuffCount. So if the target has buffs in slots 0, 3 and 5 your BuffCount will be 3 and index 1, 2 and 3 will correspond to slots 0, 3 and 5 in the target buff window.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081009c.zip

Post by ieatacid » Thu Oct 09, 2008 10:33 pm

Code: Select all

Fix for Me.CombatState

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081009d.zip

Post by ieatacid » Thu Oct 09, 2008 11:37 pm

Fix for CListWnd::AddString parameters.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

MQ2-20081010.zip

Post by dont_know_at_all » Fri Oct 10, 2008 1:33 pm

Fix for VC6 compiles.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

MQ2-20081011.zip

Post by dont_know_at_all » Sat Oct 11, 2008 4:39 pm

- Fix for mappable commands -- thanks, brainiac
- Fix for class type 71, merc liaison.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081012.zip

Post by ieatacid » Sun Oct 12, 2008 12:36 am

Code: Select all

12 October 2008 by ieatacid
- Added BuffDuration to target type. It takes the buff name or number as a parameter and returns a ticks type.
- Added to Group TLO: string MainTank, string MainAssist, string Puller
- Added to groupmember type: bool MainTank, bool MainAssist, bool Puller

11 October 2008 by rswiders
- Update mappable commands with all correct values, looks like it was not done in initial patch
- Update for Me.State.  If you are on a mount it will return "MOUNT" instead of continuing on and returning "STAND"

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

MQ2-20081012a.zip

Post by dont_know_at_all » Sun Oct 12, 2008 2:38 pm

VC6

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081012b.zip

Post by ieatacid » Sun Oct 12, 2008 4:16 pm

Group member spawn data now works.

Target clear works on group members now.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

MQ2-20081021.zip

Post by SwiftyMUSE » Tue Oct 21, 2008 3:14 pm

Code: Select all

21 October 2008 by rswiders
- Updated for October 21st patch

19 October 2008 by dkaa
- fixed the problem with the first line of macro not being run if /macro 
    was invoke within a macro.

17 October 2008 by rswiders
- Added Spawn.Loc and .LocYX.  Loc is a float formatted string, LocYX is an int formatted string.
- Display permanent buff timers as "Perm" not "-0:18"
- Misc source cleanup
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

MQ2-20081021a.zip

Post by SwiftyMUSE » Tue Oct 21, 2008 3:37 pm

Fixed a detour address in MQ2DetourAPI.cpp that was copied/pasted incorrectly.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081021b.zip

Post by ieatacid » Tue Oct 21, 2008 6:23 pm

Fix for group member spawn data.

Changed MAX_PC_LEVEL to 85 in eqdata.h.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081022.zip

Post by ieatacid » Wed Oct 22, 2008 7:56 pm

Code: Select all

22 October 2008 by ieatacid
- Added mercenary as a spawn type and map filter option
- Added bool mercenary to groupmember type
- Me.Aura now can now receive an index to access more than one aura (no index defaults to the first aura)

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

MQ2-20081022a.zip

Post by ieatacid » Wed Oct 22, 2008 9:57 pm

Me.Aura will now take an aura name as an argument.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

MQ2-20081029.zip

Post by SwiftyMUSE » Wed Oct 29, 2008 11:44 am

Code: Select all

29 October 2008 by rswiders
- Updated for today's patch

27 October 2008 by ieatacid
- Removed BuffUpdate from the target type. It's no longer cleared when you switch/release targets and, as such, serves no real purpose
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...