The entire structure is being reworked. I have started to pull out various functions into their own section within the PUP-LIB folder to help better maintain these various functions.
I have further refactored the code so that only files in PUP-USER should be modified by the users. The template should be copied and renamed as user.lua. Please change your sets and other settings in this file only.
Update to this GearSwap script can be done by either :
- Pulling the git repository last version
- Downloading the last version and copy-pasting the content into the data folder
In both cases, the user.lua file will not be overwritten. But you will still profit from the updates.
Under Pet Skills the two have been renamed:
Maneuver Queueis nowManeuvers MaintainedCurrent Queueis nowManeuvers To Recast
- Work on the Lite Version - Better support for screen sizes
- Reworking the Mode section to reflect the exact mode you are in at the time (should allow for better visibility into the exact set you should have on) -- This may or may not work, still figuring out
This has been completely reworked. This now properly locks from changing gear once threshold is hit and allows customizing.
This will only activate when the: - PetMode is DD - PetStyle is Spam, DD or Bone (regardless of PetMode) - Player is not fighting or Offense Mode is Trusts
Two new defaults have been added and are changeable within the PUP.lua under job_setup() (don't have to go into the PUP-LIB at all for this):
-
PET_MIN_TP_TO_WEAPONSKILL- This is to set the mininmum amount of TP you want your pet to have before equiping TP gear (pet is fighting only)
-
PET_GEAR_WEAPONSKILL_LOCKOUT_TIMER- This is the seconds of how long to keep the pet weaponskill gear equipped before reverting to previous set
Two new commands have been introduced (this allows you to change the defauls temporarily)
//gs c wstimer 5- This allows you the pass in the seconds that you will stay in the pet weaponskill gear while waiting on pet
//gs c tpmin 850- This is when we will start the Pet Weaponskill Timer and first change into Pet Weapon Skill Gear
A few extra checks have been added to try and prevent any looping of maneuvers.
I am adding in a debuff tracker so we don't attempt to recast while under an effect that would prevent you from casting to start with.
Pet Predict will no longer happen when you press F12 - your gear will still reset
- This can still be used with
//gs c predict
Cycle Offense Mode (the offensive half of all 'hybrid' melee modes).
F9//gs c cycle OffenseMode
Used when you are Engaged with Pet Used when you are Idle and Pet is Engaged
Cycle Hybrid Mode (the defensive half of all 'hybrid' melee modes).
Ctrl+F9//gs c cycle HybridMode
Cycle type of Physical Defense Mode in use.
Ctrl+F10//gs c cycle PhysicalDefenseMode
Activate emergency Physical Defense Mode. Replaces Magical Defense Mode, if that was active.
F10//gs c cycle PhysicalDefenseMode
Turns off any emergency defense mode.
Alt+F12//gs c cycle DefenseMode
Alt+F10//gs c toggle Kiting
Defaults to PetDT for when set to Idle
Will set IdleMode to Idle when Pet becomes Engaged and you are Idle
So, if you wish to go into a fight in MasterDT when first approaching to get Pet Engaged it will auto switch
F12- Update currently equipped gear, and report current status.Ctrl-F12- Cycle Idle Mode.//gs c update
This will lock your current weapon in place.
Ctrl+tilda//gs c toggle LockWeapon
Currently, the way this works is it will simply recast the maneuver that wears off. This way you can cast any maneuvers you want and it will simply attempt to maintain what you have active.
ALT + E//gs c toggle AutoMan
This allows the user to lock the DT set for the pet in place and block all other gearswapping.
ALT + D//gs c toggle LockPetDT
This will attempt to determine the currently equipped puppet and adjust the Pet Mode and Pet Style.
Alt+F6//gs c predict
This will change the mode of the pet and the style of the pet.
Current Modes for Pet are:
- Tank
- DD
- Mage
These are the current styles that each Pet Mode contains:
| Modes | Styles | ||||
|---|---|---|---|---|---|
| Tank | Normal | PDT | MDT | Range | DD |
| DD | Normal | Bone | Spam | OD | ODACC |
| Mage | Normal | Heal | Support | MB | DD |
Cycles forward on Pet Modes
ALT+F7//gs c cycle PetModeCycle
Cycles back on Pet Modes
CTRL+F7//gs c cycleback PetModecycle
Cycles forward on Pet Styles
ALT+F8//gs c cycle PetStyleCycle
Cycles backward on Pet Styles
CTRL+F8//gs c cycleback PetStyleCycle
If player is idle and puppet is engaged while in DD Mode or a DD Style the puppet will now switch between a NO FTP and FTP set based on your choosing.
Now have the ability to switch to FTP with the below command:
//gs c setftp
You can hide the entire HUB Window by using the below command
//gs c hub all
You can hide the State from the Window by using the below command:
//gs c hub state
You can hide the Mode from the Window by using the below command
//gs c hub mode
You can hide the Options from the Window by using the below command
//gs c hub options
You can toggle default keybinds set up for cycles/modes on menu by using the below command
//gs c hub keybinds
You can activate the lite mode using:
//gs c hub lite
This is currently how we determine when to equip a pets Weaponskill Gear prior to it using:
When the player has less than 1000 TP we will skip equipping the Pets Weaponskill Gear unless the pet is in PetStyle SPAM or DD, otherwise if player has TP we equip the Pets Weaponskill after the player.
The gearswap will further check the PetMode for:
- If PetMode is Tank and the Style is NOT set to DD or SPAM. - The gearswap will not equip Pet Weaponskill Gear
- If PetMode is Mage - The gearswap will not equip Pet Weaponskill Gear
If we pass the above checks then the gearswap will equip Pet Weaponskill Gear prior to the pet using its weaponskill.
This is how we determine to equip pet enmity gear:
If a Fire or Light Maneuver is active and the pet has any of the following attachments:
- Strobe
- Strobe II
- Flashbulb
We will equip enmity gear when the recast time is less than 2 seconds. Once the pet uses its ability then the player will revert back to the previous gear.
One item to be aware of is that this currenly reads the chat log for when the pet performs the skill. If you are out of range of seeing this message then you have chance to simply staying in Enmity Gear. If you need to be futher way, then you want to consider locking in Pet DT Gear.
- Add the ability to change Attachments with AutoControl Windower Addon
- Add support for Aftermath Sets
- Investigate logic around Enmity Sets - I want to make sure we don't stay in this to long, it may be better to miss a swap than stay in this for to long, may need to look into tracking debuffs on pet
- Investigate leveraging Packets over watching Chat for certain items