New AddOn - PetCharges

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXI » Jobs » Beast Master » New AddOn - PetCharges
New AddOn - PetCharges
Offline
Posts: 182
By Sammeh 2017-01-19 21:35:11  
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  
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  
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  
Thank you, rate and bump up. /bow
necroskull Necro Bump Detected! [39 days between previous and next post]
 Asura.Bitesized
Offline
サーバ: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-12 20:26:57  
Silly questions. How do I go about adding this to windower?
Offline
Posts: 251
By hobo 2017-03-12 21:44:00  
Put the folder in the Windower Addons folder and then you can manually load it with //lua load namegoeshere.lua
 Asura.Bitesized
Offline
サーバ: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-14 20:17:12  
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  
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
サーバ: Asura
Game: FFXI
user: Bitesized
Posts: 157
By Asura.Bitesized 2017-03-15 22:25:31  
Awesome! Works like a charm. Much appreciated!
[+]
 Valefor.Lisamarie
Offline
サーバ: Valefor
Game: FFXI
user: Kej
Posts: 211
By Valefor.Lisamarie 2017-03-21 00:48:24  
ha. ha. "like a charm" so punny.
[+]
necroskull Necro Bump Detected! [41 days between previous and next post]
 Odin.Godofgods
Offline
サーバ: Odin
Game: FFXI
Posts: 4013
By Odin.Godofgods 2017-04-30 20:13:21  
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  
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
サーバ: Odin
Game: FFXI
Posts: 4013
By Odin.Godofgods 2017-05-01 22:06:33  
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  
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
サーバ: Odin
Game: FFXI
Posts: 4013
By Odin.Godofgods 2017-05-03 14:59:46  
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
サーバ: Leviathan
Game: FFXI
user: Mitch
Posts: 1
By Leviathan.Mitch 2020-01-11 22:36:20  
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  
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
サーバ: Asura
Game: FFXI
user: Fyx11
Posts: 4
By Asura.Fyx 2020-03-11 13:49:58  
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  
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
サーバ: Carbuncle
Game: FFXI
user: Drevan
Posts: 1
By Carbuncle.Drevan 2020-10-12 15:45:17  
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
サーバ: Asura
Game: FFXI
Posts: 59
By Asura.Beanen 2022-02-15 14:39:29  
Any fix to this to make the timer not go down like 8 decimal points?
 Asura.Beanen
Offline
サーバ: Asura
Game: FFXI
Posts: 59
By Asura.Beanen 2022-02-23 20:04:56  
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  
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  
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  
v1.9.1

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