Skip to content

atperry7/pup_gearswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Recent Changes

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.

More recent changes (by Azzaare)

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 :

  1. Pulling the git repository last version
  2. 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.

Gearswap GUI

Under Pet Skills the two have been renamed:

  • Maneuver Queue is now Maneuvers Maintained
  • Current Queue is now Maneuvers To Recast

Upcoming

  • 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

Pet Auto Equip Weaponskill Gear

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

Auto Maneuver

A few extra checks have been added to try and prevent any looping of maneuvers.

Upcoming

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.

Other

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

Jump To Table of Contents

Hybrid Mode

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

Jump To Table of Contents

Defense Mode

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

Jump To Table of Contents

Kiting Mode

  • Alt+F10
  • //gs c toggle Kiting

Jump To Table of Contents

Idle Mode

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

Jump To Table of Contents

Lock Weapon

This will lock your current weapon in place.

  • Ctrl+tilda
  • //gs c toggle LockWeapon

Jump To Table of Contents

Auto Maneuvers Toggle

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

Jump To Table of Contents

Emergency Lock Pet DT Set

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

Jump To Table of Contents

Predict

This will attempt to determine the currently equipped puppet and adjust the Pet Mode and Pet Style.

  • Alt+F6
  • //gs c predict

Jump To Table of Contents

Pet Mode and Pet Styles

This will change the mode of the pet and the style of the pet.

Current Modes for Pet are:

  • Tank
  • DD
  • Mage

Jump To Table of Contents

Current Styles

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

Jump To Table of Contents

SET FTP

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

HUB Window

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

Notes On Pet Equipping Weaponskill Gear

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.

Jump To Table of Contents

Notes on Equipping Enmity Gear

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.

Jump To Table of Contents

TODO

  • Add the ability to change Attachments with AutoControl Windower Addon

Jump To Table of Contents

Upcoming

  • 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

About

A work in progress gearswap for windower.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages