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

General announcements relating to the modularized MacroQuest2 system.

Moderator: MacroQuest Developers

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141031.zip

Post by EqMule » Fri Oct 31, 2014 9:11 pm

31 October 2014 by eqmule
- Added Heirloom, Collectible and NoDestroy to the Item TLO.
They all return pBoolType.
Been on my todo list forever, so it was long overdue.
- Changes since last zip where made to the following file(s):
EQData.h
EQUIStructs.h
MQ2DataTypes.cpp
MQ2DataTypes.h
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141104.zip

Post by EqMule » Tue Nov 04, 2014 11:20 am

04 Nov 2014 by eqmule
- Changed NUM_BOOK_SLOTS to 0x320
Thanks to woobs for reporting this bug
This should also fix .RankName
Thanks to Gnits for reporting that bug.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141106.zip

Post by EqMule » Thu Nov 06, 2014 7:21 am

06 Nov 2014 by eqmule
- Changed NUM_BOOK_SLOTS to 0x320 (yes really this time)
this will fix any problems with the charinfo2 struct...
- Changes since last zip where made to the following file(s):
EQData.h
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141107.zip

Post by EqMule » Fri Nov 07, 2014 7:51 am

07 Nov 2014 by eqmule
- Fixed a few Buffer Overflow bugs in our somethingsomething(char* szFormat, ...) functions...
was long overdue...
- Fixed /buyitem and /sellitem
- Changes since last zip where made to the following file(s):
eqgame.h
MQ2Commands.cpp
MQ2DataVars.cpp
MQ2PluginHandler.cpp
MQ2Utilities.cpp
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141112.zip

Post by EqMule » Wed Nov 12, 2014 5:31 pm

12 Nov 2014 by eqmule
- Added Target.Beneficial, Target.DSed and Target.RevDSed
they all return spelltype
Usage:
/if (${Bool[${Target.Beneficial.ID}]}==TRUE) {
/echo need to debuff cause the target has ${Target.Beneficial} on.
}
/if (${Bool[${Target.DSed.ID}]}==TRUE) {
/echo the target has a Damage Shield on its: ${Target.DSed}.
}
/if (${Bool[${Target.RevDSed.ID}]}==TRUE) {
/echo the target has a Reverse Damage Shield on its: ${Target.RevDSed}.
}
- Added Spell[somespell].Beneficial
Usage:
/echo ${Spell[Skin Like Wood].Beneficial}
Outputs: TRUE
- Changes since last zip where made to the following file(s):
MQ2DataTypes.cpp
MQ2DataTypes.h
MQ2Utilities.cpp
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141113.zip

Post by EqMule » Thu Nov 13, 2014 9:45 am

13 Nov 2014 by eqmule
- Fixed QuestItem in the Iteminfo struct, it was off by four bytes.
- Added .Quest and .Expendable to the Item TLO.
both return a pBoolType
Usage:
/echo ${FindItem[Drachnid Carapace].Quest}
Outputs: [MQ2] TRUE
- Changes since last zip where made to the following file(s):
EQData.h
MQ2DataTypes.cpp
MQ2DataTypes.h
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141119.zip

Post by EqMule » Wed Nov 19, 2014 3:21 pm

19 Nov 2014 by eqmule
-Updated for patch
- Added Me.DSed and Me.RevDSed, both return a spelltype
Usage:
/if (${Bool[${Me.DSed.ID}]}==TRUE) {
/echo I have a Damage Shield on its: ${Me.DSed}.
}
/if (${Bool[${Me.RevDSed.ID}]}==TRUE) {
/echo I have a Reverse Damage Shield on its: ${Me.RevDSed}.
}
- Changes since last zip where made to the following file(s):
EQData.h
eqgame.h
EQUIStructs.h
MQ2DataTypes.cpp
MQ2DataTypes.h
MQ2Utilities.h
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141122.zip

Post by EqMule » Sat Nov 22, 2014 3:06 pm

22 Nov 2014 by eqmule
- Added a fix (to a eqbug) which affects Target.Beneficial.
the player buffs "leak" and shows up briefly in the target buff window
you can see this if you make target buff window large enough.
Of course the best fix would be if the eqdevs just made sure player buffs
dont show up in the targetbuff window, but I dont know if they
see this a bug or a feature, or even if they are aware.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141203.zip

Post by EqMule » Wed Dec 03, 2014 1:58 pm

3 Dec 2014 by eqmule
- Updated for Test patch
- Fixed a problem with /setwintitle
it wasnt checking for windowclass which would result in
title not being set for the correct window at all times.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141209.zip

Post by EqMule » Tue Dec 09, 2014 9:59 pm

09 Dec 2014 by eqmule
- Added Feature:
/useitem now works for mounts in the mount key ring.
/useitem now accepts both quoted and unquoted arguments.
/useitem now accepts partial arguments.
Example: /useitem 1 0 or /useitem "Abyssal Steed" or /useitem Abyssal Steed or /useitem Abyssal
NOTE: if you enclose the argument with quotes, it WILL expect that whats inside the quotes is
an exact name, so /useitem "Abyssal" wont work, but /useitem Abyssal will...
also, its not case sensitive, so /useitem abyssal will work as well.
- Added Feature:
${FindItem[blah blah]} now finds mounts that are in the mount keyring as well.
- Added MQ2MountType TLO for now it only have 2 members, Index and Name
Usage: /echo ${Mount[1].Name}
Outputs: [MQ2] Whirligig Flyer Control Device
Usage: /echo ${Mount[2].Name}
Outputs: [MQ2] Abyssal Steed
Usage: /echo ${Mount[Abyssal Steed].Index}
Outputs: [MQ2] 2
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141211.zip

Post by EqMule » Thu Dec 11, 2014 2:40 pm

11 Dec 2014 by eqmule
- Updated for patch
- /useitem now works for mounts in the mount key ring.
Please see change message from the 09 Dec 2014
for more info on this.
Alright enjoy!
I know its Christmas month and everyone need to hold onto the cash, but if anyone feel the spirit of giving a little extra sumtinsumtin, click my button :)
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141224.zip

Post by EqMule » Wed Dec 24, 2014 10:12 am

24 Dec 2014 Christmas Edition by Santa
- I finally managed to bring perfect LineOfSight to MQ2
This means no more false positives... Ever...
Now, poeple ask me, why did it take you 10 years to fix this when it was
such a simple fix? Well, I actually had to write 1000 lines of code to know which 999 to throw away...
Anyway Enjoy it, Please see:
viewtopic.php?f=35&t=19601

-Usage ${Target.LineOfSight} or ${LineOfSight[${Me.Y},${Me.X},${Me.Z}:${Target.Y},${Target.X},${Target.Z}]}
Example: /echo there are ${SpawnCount[npc los radius 200 range 100 110]} mobs within a radius of 200 that i can see between level 100 and 110
Ouptut there are 3 mobs within a radius of 200 that i can see between level 100 and 110

- Splitted ${Target.Malod} and ${Target.Tashed}
Maloed only returns a spelltype if the mob actually has a resist debuff casted by a mage or a shaman
and Tashed only returns a spelltype if the mob actually has a resist debuff casted by a enchanter.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141229.zip

Post by EqMule » Mon Dec 29, 2014 9:28 pm

29 Dec 2014 by eqmule
- Botauthors, you can stop summoning pet weapons when its not needed:
- Added .Primary and .Secondary to the Spawn TLO
both return a inttype which is the idfile id for whatever the spawn is holding in his primary or secondary slot.
- Added .Equipment to the Spawn TLO
it returns a inttype, it takes numbers 0-8 or names: head chest arms wrists hands legs feet primary offhand
Usage: /if (${Pet.Equipment[primary].ID}==12507) /echo my pet is holding a Frightforged Ragesword in his primary hand
Usage: /if (${Group.Member[mymagesname].Pet.Equipment[primary].ID}==12507) /echo my mages pet is holding a Frightforged Ragesword in his primary hand
- Change: spawn tlo member .Holding is now a booltype.
it will return 0 of spawn is not holding anything and 1 if it is.
- BugFix: InitializeMQ2Commands is now called before InitializeMQ2Pulse so we wont end up with a race condition in HideDoCommand...
the only reason this has worked mostly? fine the last 10 years or whenever it was added in this order
is cause computers where slower back in the day...
Anyway if the gCommandCS Critical Section is not initialized when used in HideDoCommand ( CAutoLock DoCommandLock(&gCommandCS);)
we will hang... (Also changed EnterCriticalSection to a TryEnterCriticalSection, cause there is no reason to get stuck if its the same thread calling it, or is there?
I'm prepared to revisit this topic if any weird problems arises, let me know...)
- Fix/New Feature: /notify QuantityWnd QTYW_slider newvalue # works now/again (did it ever?) Thanks to nytemyst for the report.
- /windows open now only returns actual open and visible windows.
I dont know if we need to make an adjustment to this, lets see what people who use that command think.

27 Dec 2014 by rswiders
- Fix for /sellitem, the offset was wrong.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20141231.zip

Post by EqMule » Wed Dec 31, 2014 2:12 pm

31 Dec 2014 Happy New Year Edition by eqmule
- New Feature see: viewtopic.php?f=17&t=19608
if you have an item on your cursor and click the name on the targetwindow
a trade will be initiated and the tradewindow will open.
Good for tradeing stuff quickly in crowded places like raids or guildhall
- Added a new argument to the /Alerts command [remove]
it just removes an alert from a list
Example: /Alert remove 1 npc los
will remove a previously added alert from list 1 that has is alert on npc and los
Also alerts are now in a std::list, let me know if there are any problems with this.
I really hope this wont break any macros, cause code seems to execute a bit faster...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: MQ2 Latest Release -- MQ2-20150115.zip

Post by EqMule » Thu Jan 15, 2015 6:13 pm

14 Jan 2015 by eqmule
- Updated for test patch
- This is a pretty extensive patch, please do a FULL Rebuild.
- New Feature see: viewtopic.php?f=17&t=19610
you can now have your pet attack a mob without having to target the mob first.
Usage: /pet attack/qattack # where # is the spawnid of the mob u want the pet to attack
Example: /pet attack ${Spawn[npc targetable los radius 200 range 1 20].ID}
- Changed the way crashreports are handled.
You will get an option to break into debugger now.
I also added some info to the crash detected messagebox
that lets you know where you can find a copy of the crashdump.
Not every crash is related to mq2, but if you have a call stack
where you see mq2main.dll, mail the .dmp to me.
- Added .InInstance to the character TLO
it returns true if you are in an instance.
Credit: PeteSampras
- Added a line of code to prevent a ctd in chatwindow
- Added .Offline to the Group.Member TLO
Usage: /echo ${Group.Member[x].Offline}
will return a Bool TRUE if offline and FALSE if online
- Added .OtherZone to the Group.Member TLO
Usage: /echo ${Group.Member[x].OtherZone}
will return a Bool TRUE if online but in another zone and FALSE if online and in same zone as you.
- Added .AnyoneMissing to the Group TLO
Usage: /echo ${Group.AnyoneMissing}
returns TRUE if someone is missing in group, offline, in other zone or simply just dead...
- Rewrote /Alerts again, I wasn't happy with the last version
lets see if this one is better.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.