New AddOn - PetCharges

Eorzea Time
 
 
 
Language: 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 | Quote | Reply
 
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 | Quote | Reply
 
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 | Quote | Reply
 
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
Offline
Posts: 178
By IBHalliwell 2017-02-01 11:24:47
Link | Quote | Reply
 
Thank you, rate and bump up. /bow
necroskull Necro Bump Detected! [39 days between previous and next post]
 Asura.Bitesized
Offline
Server: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-12 20:26:57
Link | Quote | Reply
 
Silly questions. How do I go about adding this to windower?
Offline
Posts: 251
By hobo 2017-03-12 21:44:00
Link | Quote | Reply
 
Put the folder in the Windower Addons folder and then you can manually load it with //lua load namegoeshere.lua
 Asura.Bitesized
Offline
Server: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-14 20:17:12
Link | Quote | Reply
 
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 | Quote | Reply
 
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
Server: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-15 22:25:31
Link | Quote | Reply
 
Awesome! Works like a charm. Much appreciated!
[+]
 Valefor.Lisamarie
Offline
Server: Valefor
Game: FFXI
user: Kej
Posts: 211
By Valefor.Lisamarie 2017-03-21 00:48:24
Link | Quote | Reply
 
ha. ha. "like a charm" so punny.
[+]
necroskull Necro Bump Detected! [41 days between previous and next post]
 Odin.Godofgods
Offline
Server: Odin
Game: FFXI
Posts: 4013
By Odin.Godofgods 2017-04-30 20:13:21
Link | Quote | Reply
 
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 | Quote | Reply
 
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
Server: Odin
Game: FFXI
Posts: 4013
By Odin.Godofgods 2017-05-01 22:06:33
Link | Quote | Reply
 
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 | Quote | Reply
 
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
Server: Odin
Game: FFXI
Posts: 4013
By Odin.Godofgods 2017-05-03 14:59:46
Link | Quote | Reply
 
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
Server: Leviathan
Game: FFXI
user: Mitch
Posts: 1
By Leviathan.Mitch 2020-01-11 22:36:20
Link | Quote | Reply
 
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 | Quote | Reply
 
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
Server: Asura
Game: FFXI
user: Fyx11
Posts: 4
By Asura.Fyx 2020-03-11 13:49:58
Link | Quote | Reply
 
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 | Quote | Reply
 
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
Server: Carbuncle
Game: FFXI
user: Drevan
Posts: 1
By Carbuncle.Drevan 2020-10-12 15:45:17
Link | Quote | Reply
 
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
Server: Asura
Game: FFXI
Posts: 59
By Asura.Beanen 2022-02-15 14:39:29
Link | Quote | Reply
 
Any fix to this to make the timer not go down like 8 decimal points?
 Asura.Beanen
Offline
Server: Asura
Game: FFXI
Posts: 59
By Asura.Beanen 2022-02-23 20:04:56
Link | Quote | Reply
 
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 | Quote | Reply
 
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 | Quote | Reply
 
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
necroskull Necro Bump Detected! [156 days between previous and next post]
By nattack 2024-06-19 19:59:18
Link | Quote | Reply
 
v1.9.1

- fix display when not bst main
- fix missing lizard family
[+]