Welp, I deleted the old BehindYa folder and replaced it with this one and it's the same issue/error.tvbrowntown wrote: Fri Sep 09, 2022 6:14 amHmm, I had a look at my code and I left a function in there twice by mistake. Maybe that was it? I've fixed that... try thiscmraz wrote: Fri Sep 09, 2022 3:40 amScript Call failed - [BehindYa.OnUpdate] is not a functiontvbrowntown wrote: Thu Sep 08, 2022 11:32 pm
Would you mind opening up the debug menu with /d and telling me what the error is?
https://github.com/TVBrowntown/BehindYa ... s/main.zip
[ADDON] BehindYa - what's my crit??
Forum rules
Before posting in this forum, please read the Terms of Use and visit Idrinth's Addons site for most available addons.
Before posting in this forum, please read the Terms of Use and visit Idrinth's Addons site for most available addons.
Re: [ADDON] BehindYa - what's my crit??
Ads
- tvbrowntown
- Suspended
- Posts: 272
Re: [ADDON] BehindYa - what's my crit??
Anyone else encountering the same issue? I can't seem to reproduce the error and others I know haven't encountered it either.cmraz wrote: Fri Sep 09, 2022 7:02 amWelp, I deleted the old BehindYa folder and replaced it with this one and it's the same issue/error.tvbrowntown wrote: Fri Sep 09, 2022 6:14 amHmm, I had a look at my code and I left a function in there twice by mistake. Maybe that was it? I've fixed that... try this
https://github.com/TVBrowntown/BehindYa ... s/main.zip
Re: [ADDON] BehindYa - what's my crit??
I've got a feeling there's some interference with another addon probably.... going to go through 1by1 and disable to test...tvbrowntown wrote: Fri Sep 09, 2022 7:13 amAnyone else encountering the same issue? I can't seem to reproduce the error and others I know haven't encountered it either.cmraz wrote: Fri Sep 09, 2022 7:02 amWelp, I deleted the old BehindYa folder and replaced it with this one and it's the same issue/error.tvbrowntown wrote: Fri Sep 09, 2022 6:14 am
Hmm, I had a look at my code and I left a function in there twice by mistake. Maybe that was it? I've fixed that... try this
https://github.com/TVBrowntown/BehindYa ... s/main.zip
Re: [ADDON] BehindYa - what's my crit??
Hmmmm possibilities... Like the tone in a fighter jet cockpit when you are locked on to a target. Like, could you make one where a WL is told when it is optimal time to use their pounce? Especially against pesky OP Squig Herders. 

Re: [ADDON] BehindYa - what's my crit??
seems the script is calling a UI6.updateTexts(critRate) but UI6 is not definedtvbrowntown wrote: Fri Sep 09, 2022 7:13 amAnyone else encountering the same issue? I can't seem to reproduce the error and others I know haven't encountered it either.cmraz wrote: Fri Sep 09, 2022 7:02 amWelp, I deleted the old BehindYa folder and replaced it with this one and it's the same issue/error.tvbrowntown wrote: Fri Sep 09, 2022 6:14 am
Hmm, I had a look at my code and I left a function in there twice by mistake. Maybe that was it? I've fixed that... try this
https://github.com/TVBrowntown/BehindYa ... s/main.zip







- tvbrowntown
- Suspended
- Posts: 272
Re: [ADDON] BehindYa - what's my crit??
Big thanks. Was working on another addon while doing this and used the wrong addon name. fixing now.sullemunk wrote: Fri Sep 09, 2022 8:14 amseems the script is calling a UI6.updateTexts(critRate) but UI6 is not definedtvbrowntown wrote: Fri Sep 09, 2022 7:13 amAnyone else encountering the same issue? I can't seem to reproduce the error and others I know haven't encountered it either.cmraz wrote: Fri Sep 09, 2022 7:02 am
Welp, I deleted the old BehindYa folder and replaced it with this one and it's the same issue/error.
- tvbrowntown
- Suspended
- Posts: 272
Re: [ADDON] BehindYa - what's my crit??
sullemunk pointed out something dumb I did, fixed it so now it should be golden!cmraz wrote: Fri Sep 09, 2022 7:21 amI've got a feeling there's some interference with another addon probably.... going to go through 1by1 and disable to test...tvbrowntown wrote: Fri Sep 09, 2022 7:13 amAnyone else encountering the same issue? I can't seem to reproduce the error and others I know haven't encountered it either.cmraz wrote: Fri Sep 09, 2022 7:02 am
Welp, I deleted the old BehindYa folder and replaced it with this one and it's the same issue/error.
Re: [ADDON] BehindYa - what's my crit??
Yezzir! It's working now! I really need to get back to coding myself... been 2.5 years since i've been employed :ptvbrowntown wrote: Fri Sep 09, 2022 8:27 amsullemunk pointed out something dumb I did, fixed it so now it should be golden!cmraz wrote: Fri Sep 09, 2022 7:21 amI've got a feeling there's some interference with another addon probably.... going to go through 1by1 and disable to test...tvbrowntown wrote: Fri Sep 09, 2022 7:13 am
Anyone else encountering the same issue? I can't seem to reproduce the error and others I know haven't encountered it either.
Thanks again bud.
Ads
Re: [ADDON] BehindYa - what's my crit??
function BehindYa.updateCrit()
tacticStat = 15
petBuff = 5
critRate = GetBonus(GameData.BonusTypes.EBONUS_CRITICAL_HIT_RATE_RANGED, Base) + targetHP + tacticStat + petBuff
### increased crit hit "RATE" of all path of quick abi by 15%
tacticStat = crit chance * 1.15
### crit hit is increased by 5%
petBuff = crit chance + 5%
"+ tacticStat" is it correct?
tacticStat = 15
petBuff = 5
critRate = GetBonus(GameData.BonusTypes.EBONUS_CRITICAL_HIT_RATE_RANGED, Base) + targetHP + tacticStat + petBuff
### increased crit hit "RATE" of all path of quick abi by 15%
tacticStat = crit chance * 1.15
### crit hit is increased by 5%
petBuff = crit chance + 5%
"+ tacticStat" is it correct?
- tvbrowntown
- Suspended
- Posts: 272
Re: [ADDON] BehindYa - what's my crit??
super hard to test but if someone could find out exactly how the 15% crit from the tactic applies itself that would improve the mafs of this addon. from my testing on a bunch of test dummys 100% crit as stated by my addon tends to be 100% crit so I'm under the impression it is correct. until proven otherwise I'm just gonna leave it as is.gemgem wrote: Sat Sep 10, 2022 12:48 pm function BehindYa.updateCrit()
tacticStat = 15
petBuff = 5
critRate = GetBonus(GameData.BonusTypes.EBONUS_CRITICAL_HIT_RATE_RANGED, Base) + targetHP + tacticStat + petBuff
### increased crit hit "RATE" of all path of quick abi by 15%
tacticStat = crit chance * 1.15
### crit hit is increased by 5%
petBuff = crit chance + 5%
"+ tacticStat" is it correct?
Who is online
Users browsing this forum: No registered users and 3 guests