New AddOn - PetCharges

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » Jobs » Beast Master » New AddOn - PetCharges
New AddOn - PetCharges
Offline
Posts: 182
By Sammeh 2017-01-19 21:35:11
Link | Citer | R
 
I wrote a helper-addon for Windower for Beastmasters to help track Ready charges and ready moves.

Can get here:
https://github.com/SammehFFXI/FFXIAddons/blob/master/PetCharges/petcharges.lua

A quick video of it's usage. Please note the ready moves listed automatically (upper right hand corner) and the # of charges - count down till next charge available.

Green = ready move available
White = need more charges

YouTube Video Placeholder


YouTube Video Placeholder
[+]
Offline
Posts: 182
By Sammeh 2017-01-21 21:44:19
Link | Citer | R
 
1.4 released - supports the saving / moving around of the text chat box. Hold ctrl+click a couple pixels to the right of the box; drag it where you want then do a //petcharges save

YouTube Video Placeholder
[+]
Offline
Posts: 5
By Kortez 2017-01-29 21:51:32
Link | Citer | R
 
This is a nice little AddOn but I've run across one issue. I have 10 second ready cast through merits, jp, items. It seems everything is set up right in the .lua yet the timers are 1 second ahead of the game timer. So the AddOn says you have a charge but the really you have 1 more second to wait.

I'm not sure if hitting ready when a charge isn't actually up messes up the counting more or not. But I have seen the counter get a few seconds off the longer a fight goes. It's not lag or pc issues so I'm wondering if I just don't have something set right.

merits = 5
jobpoint = 5

equip_reduction = 0 <-- since later down in the lua it adds in the legs/axe
Guildwork Premium
Offline
Posts: 177
By IBHalliwell 2017-02-01 11:24:47
Link | Citer | R
 
Thank you, rate and bump up. /bow
necroskull Necro Bump Detected! [39 days between previous and next post]
 Asura.Bitesized
Offline
Serveur: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-12 20:26:57
Link | Citer | R
 
Silly questions. How do I go about adding this to windower?
Offline
Posts: 251
By hobo 2017-03-12 21:44:00
Link | Citer | R
 
Put the folder in the Windower Addons folder and then you can manually load it with //lua load namegoeshere.lua
 Asura.Bitesized
Offline
Serveur: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-14 20:17:12
Link | Citer | R
 
Ty. Anyway to auto load it?

Also, anyone have a link to the pet distance addon?

Thanks ahead of time!
Offline
Posts: 182
By Sammeh 2017-03-15 17:38:31
Link | Citer | R
 
Asura.Bitesized said: »
Ty. Anyway to auto load it?

Also, anyone have a link to the pet distance addon?

Thanks ahead of time!

Create a folder called petcharges and save the files there - then do //lua load petcharges

To auto load edit your (windowerDirectory)\scripts\init.txt file and type 'lua load petcharges' in there.

DistancePlus is at the same git repo above just go up a folder and look for 'DistancePlus' - I wrote that one too. There's some other fantastic add-ons I've written on there as well.

-Sam
 Asura.Bitesized
Offline
Serveur: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-15 22:25:31
Link | Citer | R
 
Awesome! Works like a charm. Much appreciated!
[+]
 Valefor.Lisamarie
Offline
Serveur: Valefor
Game: FFXI
user: Kej
Posts: 211
By Valefor.Lisamarie 2017-03-21 00:48:24
Link | Citer | R
 
ha. ha. "like a charm" so punny.
[+]
necroskull Necro Bump Detected! [41 days between previous and next post]
 Odin.Godofgods
Offline
Serveur: Odin
Game: FFXI
Posts: 3993
By Odin.Godofgods 2017-04-30 20:13:21
Link | Citer | R
 
love the add on, but i cant seem to move it around like you can in that video.

Kortez said: »
This is a nice little AddOn but I've run across one issue. I have 10 second ready cast through merits, jp, items. It seems everything is set up right in the .lua yet the timers are 1 second ahead of the game timer. So the AddOn says you have a charge but the really you have 1 more second to wait.
I noticed that too. The add on time is 1 second ahead of the game timer. Easy to compensate, but i did notice it.
Offline
Posts: 182
By Sammeh 2017-05-01 07:02:10
Link | Citer | R
 
Odin.Godofgods said: »
love the add on, but i cant seem to move it around like you can in that video.

Text boxes you have to position your mouse slightly to the right of the box to grab it for some reason. Always been this way. I've had issues on high dpi scaling (on my Surfacebook) and high res displays. Your mileage may vary.
 Odin.Godofgods
Offline
Serveur: Odin
Game: FFXI
Posts: 3993
By Odin.Godofgods 2017-05-01 22:06:33
Link | Citer | R
 
tried that, it didnt work. Also tried everywhere in and around the box and nothing either. I just changes cursor to make my character run around.
Offline
Posts: 182
By Sammeh 2017-05-02 20:49:50
Link | Citer | R
 
Odin.Godofgods said: »
tried that, it didnt work. Also tried everywhere in and around the box and nothing either. I just changes cursor to make my character run around.

Well - last but not least, manually edit the data\settings.xml file x/y coords are in the <pos> section. Just //lua r petcharges when done editing.
 Odin.Godofgods
Offline
Serveur: Odin
Game: FFXI
Posts: 3993
By Odin.Godofgods 2017-05-03 14:59:46
Link | Citer | R
 
what version should the data/settings file be?
My petcharges.lua is version 1.5 while setting/xml says version 1.1
necroskull Necro Bump Detected! [983 days between previous and next post]
 Leviathan.Mitch
Offline
Serveur: Leviathan
Game: FFXI
user: Mitch
Posts: 1
By Leviathan.Mitch 2020-01-11 22:36:20
Link | Citer | R
 
how could one update this addon for the new BST merit changes, it still works but its timeing is off now by about 5 seconds you know the same amount of time adjusted for the new merit updates
Offline
Posts: 92
By Masunasu 2020-01-12 01:16:48
Link | Citer | R
 
Leviathan.Mitch said: »
how could one update this addon for the new BST merit changes, it still works but its timeing is off now by about 5 seconds you know the same amount of time adjusted for the new merit updates

Think you can just add 2*(***that's already there) to any line that is merits = self.merits.sic_recast
necroskull Necro Bump Detected! [59 days between previous and next post]
 Asura.Fyx
Offline
Serveur: Asura
Game: FFXI
user: Fyx11
Posts: 4
By Asura.Fyx 2020-03-11 13:49:58
Link | Citer | R
 
Masunasu said: »
Leviathan.Mitch said: »
how could one update this addon for the new BST merit changes, it still works but its timeing is off now by about 5 seconds you know the same amount of time adjusted for the new merit updates

Think you can just add 2*(***that's already there) to any line that is merits = self.merits.sic_recast

Can you clarify please..? what is 2*(whit that's already there).

Also what should the "equip_reduction = ?" be? -5?

Thank you
necroskull Necro Bump Detected! [144 days between previous and next post]
Offline
Posts: 2
By Quickwalrus 2020-08-02 11:24:47
Link | Citer | R
 
Asura.Fyx said: »
Masunasu said: »
Leviathan.Mitch said: »
how could one update this addon for the new BST merit changes, it still works but its timeing is off now by about 5 seconds you know the same amount of time adjusted for the new merit updates

Think you can just add 2*(***that's already there) to any line that is merits = self.merits.sic_recast

Can you clarify please..? what is 2*(whit that's already there).

Also what should the "equip_reduction = ?" be? -5?

Thank you

Did you happen to figure out what this meant and where to edit this info?
necroskull Necro Bump Detected! [71 days between previous and next post]
 Carbuncle.Drevan
Offline
Serveur: Carbuncle
Game: FFXI
user: Drevan
Posts: 1
By Carbuncle.Drevan 2020-10-12 15:45:17
Link | Citer | R
 
Quickwalrus said: »
Asura.Fyx said: »
Masunasu said: »
Leviathan.Mitch said: »
how could one update this addon for the new BST merit changes, it still works but its timeing is off now by about 5 seconds you know the same amount of time adjusted for the new merit updates

Think you can just add 2*(***that's already there) to any line that is merits = self.merits.sic_recast

Can you clarify please..? what is 2*(whit that's already there).

Also what should the "equip_reduction = ?" be? -5?

Thank you

Did you happen to figure out what this meant and where to edit this info?

I went about completely changing the way the merit reduction works instead of adding a *2.

To fix the recast timer you need to change the line that was mentioned before. There are 4 spots it needs changed. I would suggest using find and replace.

Change
Code
merits = self.merits.sic_recast

to
Code
	if self.merits.sic_recast == 5 then
		merits = 10
	elseif self.merits.sic_recast == 4 then
		merits = 8
	elseif self.merits.sic_recast == 3 then
		merits = 6
	elseif self.merits.sic_recast == 2 then
		merits = 4
	elseif self.merits.sic_recast == 1 then
		merits = 2
	else
		merits = 0
	end
necroskull Necro Bump Detected! [491 days between previous and next post]
 Asura.Beanen
Offline
Serveur: Asura
Game: FFXI
Posts: 59
By Asura.Beanen 2022-02-15 14:39:29
Link | Citer | R
 
Any fix to this to make the timer not go down like 8 decimal points?
 Asura.Beanen
Offline
Serveur: Asura
Game: FFXI
Posts: 59
By Asura.Beanen 2022-02-23 20:04:56
Link | Citer | R
 
Had a buddy fix it, change
Code
next_ready_recast = math.fmod(duration,chargebase)

to
Code
next_ready_recast = math.floor(math.fmod(duration,chargebase))
[+]
necroskull Necro Bump Detected! [678 days between previous and next post]
By nattack 2024-01-03 05:09:05
Link | Citer | R
 
https://github.com/rjtrenchard/PetCharges

I have forked this and made some changes, yet more shall be made in the future.

What I have added so far is numbered abilities that should correspond to /bstpet numbers, tests so far seem successful.

The countdown is also formatted, as Beanen has pointed out.

I also added a command for moving the textbox via "petcharges move",
when used, the textbox will follow the mouse around. Left click to place.
* as I did this, I found out how to move the box. Windower dragging is some magic I still havent really figured out.

I also added a merit fix.
[+]
By nattack 2024-01-15 07:37:41
Link | Citer | R
 
https://github.com/rjtrenchard/PetCharges

It now looks a bit like this:


v1.9
- Appearance adjustments
- Added killer traits
- Fixed addon not showing up until a ready charge was used
- added toggles to show or remove aspects of the addon
- refactored some code

the structure of the settings table has changed. old settings may (probably) will be lost