Comments (17)
That's the part that errors (which will need a fix regardless, after the issue is found) but that's not really intuitive.
I mean me having toggled /ranksentinel whisper
to false
and the addon still trying to whisper other players.
I'll probably often be lead by default when I'm the only player with the addon in my group.
What's the intent of the whisper option then? 😄
from ranksentinel.
I'll try to debug it myself when I get a chance.
Essentially I'm going to cache the text it's trying to send, pcall the function and dump the cached string if SendChatMessage errors to see what causes the problem ..
from ranksentinel.
Without reloading UI with 3f907e7, and whisper
false, I can repro with my above playerFoo and IsInGroup hacks.
Reloading with latest/HEAD, I get the simplified local print for myself as fake-not-lead.
from ranksentinel.
I lied, happens inside instances too, I am in one right now sorry for the barebones report (latest alpha)
from ranksentinel.
Ah, thanks. Looking into it.
I didn't test out pets after major overhaul and flavor additions last night.
from ranksentinel.
Huh, looks like it was never part of the database initialization, I just had enough logic surrounding petOwnerCache
to add it later on with UpgradeProfile
and ClearCache
.
Should be fixed with 9d3ab6d
from ranksentinel.
12x SendChatMessage(): Invalid escape code in chat message
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@RankSentinel\Cache.lua"]:40: in function `ProcessQueuedNotifications'
[string "@RankSentinel\Cache.lua"]:60: in function `QueueNotification'
[string "@RankSentinel\RankSentinel-264371b.lua"]:145: in function `?'
as well with the same alpha (haven't updated yet)
from ranksentinel.
That error shows up when the |TInterface\\TargetingFrame\\UI-RaidTargetingIcon_7.blp:0|t
string (from Self) shows up in a Whisper notification, hopefully it's handled by fixed petOwnerCache lookup so the proper contactName is evaluated.
from ranksentinel.
Latest alpha didn't fix the SendAddonMessage error.
62x SendChatMessage(): Invalid escape code in chat message
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@RankSentinel\Cache.lua"]:40: in function `ProcessQueuedNotifications'
[string "@RankSentinel\Cache.lua"]:60: in function `QueueNotification'
[string "@RankSentinel\RankSentinel-264371b.lua"]:145: in function `?'
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@Ace3\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
from ranksentinel.
Hmm, actually not sure, I'm raiding atm and I might not have reloaded :/
from ranksentinel.
Looks like it is the same version both times, RankSentinel-264371b.lua
Will wait and see if reload works/ed. I also raid tonight so should get testing time in as well.
from ranksentinel.
I definitely have the latest alpha, I manually downloaded from curseforge and overwrote.
84x SendChatMessage(): Invalid escape code in chat message
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@RankSentinel\Cache.lua"]:40: in function `ProcessQueuedNotifications'
[string "@RankSentinel\Cache.lua"]:60: in function `QueueNotification'
[string "@RankSentinel\RankSentinel-264371b.lua"]:145: in function `?'
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@Ace3\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
Edit: Might be a packager issue, I downloaded from here and overwrote and it seems to have cleared it up.
Edit2: It's definitely
happening with 46daf22
127x SendChatMessage(): Invalid escape code in chat message
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@RankSentinel\Cache.lua"]:40: in function `ProcessQueuedNotifications'
[string "@RankSentinel\Cache.lua"]:60: in function `QueueNotification'
[string "@RankSentinel\RankSentinel-264371b.lua"]:145: in function `?'
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@Ace3\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
I know the callstack has the same number but I 100% installed from the master 😊
from ranksentinel.
I'm not able to repro myself, unless I'm not lead.
I tweaked a few things, but still trying to work out non-lead notification output.
from ranksentinel.
I do have another question.
Where's the check done that whisper option is enabled?
I see Cache.lua#L27 sending to whisper unconditionally.
Should that be the case?
from ranksentinel.
Lines 35 to 43 in 46daf22
Should print if you're the one with a low rank. Print simplified message if you're not lead. Then whisper only if it's not you and you're lead.
from ranksentinel.
I completely misunderstood what you were saying earlier. Now I follow and 🤦 . 3f907e7
I locally hacked up
Lines 46 to 47 in 3f907e7
to
self.playerGUID = UnitGUID("Player") .. 'a'
self.playerName = UnitName("Player") .. 'a'
then commented this out.
Line 113 in 3f907e7
Was able to send myself whispers without issue.
If you did have whisper disabled, I think that does explains your errors coupled with the now-fixed (3f907e7) whisper bug.
Lines 34 to 40 in 3f907e7
ProcessQueuedNotifications
wasn't obeying that setting so sent a self-formatted message as a whisper.from ranksentinel.
I also did an RFK earlier today and fixed some additional pet handling logic.
Pets and whisper actually being obeyed should fix issues reported in this case. Thanks for the collaboration!
from ranksentinel.
Related Issues (20)
- Exclude Health Funnel
- Exclude Flametongue Weapon Rank 9 HOT 1
- Option: only whisper lv 80 chars HOT 4
- Rank 3 Explosive Shot HOT 1
- Explosive Shot Rank 3 HOT 1
- Version Check & Disable for Outdated RankSentinel HOT 2
- frFR local file HOT 5
- Move CLEU to it's own frame handler HOT 3
- Request to have an option in the tooltip showing who is running RankSentinel HOT 2
- Request for Creator / Sponsor Names in Tooltips HOT 3
- Temporarily ignore players who just levelled HOT 5
- Request for "Leader" to be "Sticky" HOT 2
- Low rank Penance not being detected HOT 6
- Got this error, but I don't think it's really RankSentinel HOT 1
- Life Tap downranking triggers warnings
- Season of Discovery Support + Classic Era Client 1.15.0 Support HOT 9
- Classic Era / SoD - Arcane Intellect Next Rank Available at 0 when no target HOT 3
- Season of Discovery - exclude in ashenvale HOT 2
- Whitelist Frost Nova (Rank 1) - mage HOT 5
- From Gogowatch Github HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ranksentinel.