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-20161109.zip

Post by EqMule » Wed Nov 09, 2016 5:35 pm

09 Nov 2016 by eqmule
- Updated for BETA
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-20161110.zip

Post by EqMule » Thu Nov 10, 2016 10:15 pm

10 Nov 2016 by eqmule
- Updated for BETA
- In preparation for the expansion on the 16th and for future faster patching,
THE FOLLOWING STUFF has undergone some serious changes:
You have 5 days to adjust your personal builds and plugins.
-
- BGColor is now a COLORREF change plugins accordingly.
and no, it CANNOT be changed back to a ARGBCOLOR since that contains a union with bytes and that screws up the 4 aligned padding.
- UnknownCW has been renamed to CRNormal change plugins accordingly.
- Locked is now a bool
- TimeMouseOver has been renamed to FadeDelay
- dShow is now a bool
- We are using 4 byte alignemnt from now on, set ur plugins to 4 byte alignment.
- ONE MORE TIME, WE ARE NOT USING 1 byte ALIGNMENT ANYMORE.
- the CXWnd struct grew somewhat to make patching of it easier for me.
- Fixed a bug in MQ2EQBC that would crash u on /unload
- The following plugins has had changes made to them:
MQ2AvdPath.cpp
MQ2DPSAdv.cpp
MQ2EQBC.cpp
MQ2Melee.cpp
MQ2MoveUtils.cpp
MQ2Spawns.cpp
Those files are in the zip below:
plugins.zip
(157.07 KiB) Downloaded 294 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-20161111.zip

Post by EqMule » Fri Nov 11, 2016 5:43 pm

11 Nov 2016 by eqmule
- Updated for BETA
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-20161113.zip

Post by EqMule » Sun Nov 13, 2016 9:58 pm

13 Nov 2016 by eqmule
- Added the missing members to the test cxwnd struct
- Fixed the 4Byte error.
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-20161114.zip

Post by EqMule » Tue Nov 15, 2016 9:26 am

14 Nov 2016 by eqmule
- Updated for BETA
- GetSpellEffectNameByID fixed to not return a temp buffer - cred HTW
- ReadWindowINI in MQ2AdvPath correctly read the ini but never set the window value
this has been corrected - cred Brainiac
a zip which has the corrected version in it is located here : viewtopic.php?f=29&t=11451&p=172713#p172713

- Corrected the zoneinfo struct
What we previously had been refering to as "ZoneType" was not in fact it, so it has been renamed to FOgOnOff which is what its for.
This means that ${Zone.Type} has changed a bit...
it now returns 0-5 see the EOutDoor enum for more info. And whoever wants to update the wiki should refer to that.
in short: 0=Indoor Dungeon 1=Outdoor 2=Outdoor City 3=Dungeon City 4=Indoor City 5=Outdoor Dungeon
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-20161116.zip

Post by EqMule » Thu Nov 17, 2016 1:10 am

16 Nov 2016 by eqmule
- Updated for LIVE
- Reorganised SPAWNINFO to reflect how its laid out in memory.
- Feet in Spawninfo has been renamed to FloorHeight
- AvatarHeight2 in Spawninfo has been renamed to Width
- HoldingType in Spawninfo has been renamed to HoldingAnimation
- InnateETA in Spawninfo is now part of SpellGemETA as its LAST member because... well it should be.
- GetMeleeRangeVar2 has been renamed to MeleeRadius
- Class in the spawninfo struct has been moved to its correct location which is inside ActorClient.
Therefor: (and I know people will post even though the answer is right here)
ITS NOT pSpawn->Class anymore, its now pSpawn->mActorClient.Class
same thing goes for Race.
pSpawn->mPlayerPhysicsClient.Levitate instead of pSpawn->Levitate
pSpawn->mPlayerPhysicsClient.pSpawn instead of pSpawn->pSpawn

- mkay...
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-20161117.zip

Post by EqMule » Thu Nov 17, 2016 8:04 pm

17 Nov 2016 by eqmule
- Added ${Me.Vitality} ${Me.PctVitality} ${Me.AAVitality} ${Me.AAVitality}
- Fixed CampfireDuration
- Fixed the Task tlo
- Fixed ${Me.Exp} and ${Me.PctExp}
Thanks to william12 for reporting these bugs.
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-20161119.zip

Post by EqMule » Sat Nov 19, 2016 6:10 pm

19 Nov 2016 by rswiders/eqmule
- Updated for TEST
- Added GuildID and ExpansionFlags to MQ2CharacterType
- Added support for familiars keyring in /cast and /useitem
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-20161128.zip

Post by EqMule » Mon Nov 28, 2016 8:03 pm

28 Nov 2016 by eqmule
- Fixed ${Me.ManaRegen}
- CButtonWnd now inherits CXWnd (cause it does).
- GetItemTimerValue has been renamed to GetItemRecastTimer
- Removed ManaGained, HealthGained, EnduranceGained from Pulse() and the exports.
Use GetEnduranceRegen(), GetHPRegen() and GetManaRegen() instead.
This change should make Pulse() a bit faster since we dont check that stuff constantly.

20 Nov 2016 by rswiders
- Fixed bug waiting for familiars keyring to load
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-20161208.zip

Post by EqMule » Thu Dec 08, 2016 11:05 pm

08 Dec 2016 by eqmule
- Updated for TEST
- Fixed a bug where FindItem and all its derivatives wouldn't look deeper than 20 slots into a bag.
Now it doesn't matter how many slots a bag has, it is dynamic.
- I #pragma pack(8) where I need it now, dont change them.
- In preparation for automatic updating of the CONTENTS struct
- I HAD to reorganise it.
- Therefor:
- NumOfSlots1 has been renamed to ContentSize Ths also effects macros that use the NumOfSlots1 member.
- NumOfSlots2 has been renamed to Size
-
- MOST of these changes affect core only, I dont think there will be many plugins that needs updating
- BUT here are some examples of how to fix errors that I have seen:
- change:
- pItem->ItemSlot TO pItem->Contents.ItemSlot
- cSlot->pContentsArray TO cSlot->Contents.ContainedItems.pItems
- cSlot->pContentsArray->Contents[iPack] to cSlot->GetContent(iPack)
- pInvSlot->pContentsArray TO pInvSlot->Contents.ContainedItems.pItems
- pInvSlot->pContentsArray->Contents[ucPack] TO EITHER:
- pInvSlot->Contents.ContainedItems.pItems->Item[ucPack] OR SIMPLY JUST
- pInvSlot->GetContent(ucPack) BOTH return the exact same thing.

06 Dec 2016 by rswiders
- Fixed up the new SPA descriptions in spell display
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-20161214.zip

Post by EqMule » Wed Dec 14, 2016 11:02 pm

14 Dec 2016 by eqmule
- GuildID in SPAWNINFO is a __init64 now... not by my design, it just is
I have tried to make it backwards compaible with the spawn guild tlo which is still a DWORD
report any bugs related to this change on the forum. Plugins are gonna have to be updated accodingly.
- Fix Errors like this for example: error C2660: 'GetGuildByID': function does not take 1 arguments
char *pGuild = GetGuildByID( GetCharInfo()->GuildID ); becomes
LARGE_INTEGER guildlarge = {0};
guildlarge.QuadPart = GetCharInfo()->GuildID;
char *pGuild = GetGuildByID( guildlarge.LowPart,guildlarge.HighPart );
-
- I started correcting the iteminfo struct it's a work in progress so expect more changes to fully implement this.
- Initially the Augment members has gotten a review (and a fix they where broken)
- So... AugSlot1 etc is now part of its own class
- therefor:
- pitem->AugSlot1 is now pitem->AugData.Sockets[0].Type
- and so on...
- pitem->AugSlot1_Visible is now pitem->AugData.Sockets[0].bVisible
- and so on...
- CListWnd no longer inherits CSidlScreenWnd BUT it has access to the CXWnd class members.
- CComboWnd no longer inherits CSidlScreenWnd BUT it has access to the CXWnd class members.
Fix Errors like these:
list->Items becomes list->ItemsArray.Count
CListWnd*pListWnd = (CListWnd*)pCombo->Items becomes CListWnd*pListWnd = pCombo->pListWnd (it was kinda confusing before, but less so after this change)

13 Dec 2016 by rswiders
- Updated GetClassesFromMask to display "ALL" or "ALL EXCEPT:" when appropriate based on the class
mask.
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-20161215.zip

Post by EqMule » Thu Dec 15, 2016 4:45 pm

15 Dec 2016 by eqmule
- Fix: double timestamps in the eqlog is no longer happening so you can turn on /timestamp again.
- Fixed a bug in FindItem and its derivatives where it needed signed parameters.
- Fixed the EQINVSLOTWND struct, it was off by a few bytes.
Yes that means .InvSlot will once again "work" (dont effing use it. in your macros, use ItemSlot and ItemSlot2)
- Last Note: this zip cnt be used to build a TEST build, I was in a hurry.
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-20161218.zip

Post by EqMule » Sun Dec 18, 2016 4:55 pm

18 Dec 2016 by eqmule
- OK ILL PUT THIS FIRST SO YOU DON'T MISS IT:
- I have changed ALL instances of GuildID to __int64 (cause DBG did)
PLEASE! be aware of this change as it WILL break some plugins.
NOW, as for macros: IF your macros uses ${Me.GuildID} NOTE that it returns a pInt64Type
from now on.
This is the reason I have added 2 new members to the pInt64Type TLO
Namely: .LowPart and .HighPart
SO: IF you have a macro that relies on GuildID being 4 bytes...
Then you NEED to change it from: ${Me.GuildID} to ${Me.GuildID.LowPart}
mkay...
- Now onto the fixes:
- FIX: /pet attack <id>
- FIX: barter and trader "tells" no longer trigger beepontells
- FIX: /mqclear no longer crashes
- FIX: /itemnotify "name of item" lefmouseup can pick up
items from top level slots once again.
- For completeness sake I also added .LowPart and .HighPart to the pIntType TLO
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-20161220.zip

Post by EqMule » Tue Dec 20, 2016 4:44 pm

20 Dec 2016 by eqmule
- Updated for TEST
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-20170106.zip

Post by EqMule » Fri Jan 06, 2017 6:15 pm

06 Jan 2017 by eqmule
- Fixed the _EQCASTSPELLGEM struct, thanks JimBob
this should make features that relies on the spellicon and spellstate members of that struct work again.
- Updated the TEST build so its synced with LIVE.
- Added some new Spawn TLO members: (DISCLAIMER: I reserve the right to remove/alter and or depreciate any of these as I'm still testing this stuff.)
IsBerserk (pBoolType), pTouchingSwitch (pIntType), bShowHelm (pBoolType), CorpseDragCount (pIntType), bBetaBuffed (pBoolType), CombatSkillTicks[x] 0-1 (pIntType),
FD (pIntType), InPvPArea (pBoolType), bAlwaysShowAura (pBoolType), GMRank (pIntType), WarCry (pIntType), IsPassenger (pBoolType),
LastCastTime (pIntType), DragNames[x] 0-1 (pStringType), DraggingPlayer (pStringType), bStationary (pBoolType), BearingToTarget (pFloatType), bTempPet (pBoolType),
HoldingAnimation (pIntType), Blind (pIntType), LastCastNum (pIntType), CollisionCounter (pIntType), CeilingHeightAtCurrLocation (pFloatType), AssistName (pStringType),
SeeInvis[x] 0-2 (pIntType), SpawnStatus[x] 0-5 (pIntType), bWaitingForPort (pBoolType)
-
- SolventNeeded in the iteminfo struct has been renamed to SolventItemID
- Added some new members to the iteminfo struct and cleaned it up a little.
- Added MQ2AugType TLO, iy has these members: Slot (pIntType), Type (pIntType), Visible (pBoolType), Infusable (pBoolType), Empty (pBoolType), Name (pStringType), Item (pItemType)
- New Member: AugSlot added to the item TLO
it returns a pAugType
Usage: (Items can have MAX 6 slots for augs so... [x] can ONLY be 0-5)
/echo ${Cursor.AugSlot[0].Type}
/echo ${Cursor.AugSlot[1].Visible}
/echo ${Cursor.AugSlot[2].Infusable}
/echo ${Cursor.AugSlot[3].Empty}
/echo ${Cursor.AugSlot[4].Name}
/echo ${Cursor.AugSlot[5].Item.Purity}
- Added 2 new commands: /removeaug and /insertaug to the mq2itemdisplay plugin
type /removeaug or /insertaug for help
/removeaug will pop a dialog if a perfect augmentation distiller needs to be used...
I would be extremely careful with these 2 commands unless you understand
how they work... if you augment the wrong item or remove an augment from the wrong item or whatever... its not my fault.
- Added the MQ2WorldLocationType TLO it has the following members: ID (pIntType),Y (pFloatType), X (pFloatType), Z (pFloatType),Heading (pFloatType), Zone (pZoneType),
- Added BoundLocation to the Charatcer TLO its size is 0-4 for up to 5 bind points.
Usage:
/echo ${Me.BoundLocation[0].ID} returns the zone id of your first bind point
/echo ${Me.BoundLocation[1].ID} returns the zone id of your second bind point
- Changed pChar2->ZoneBoundX it's now pChar2->BoundLocations[0].ZoneBoundX;
as well as all the other ->ZoneBo****** members.
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.