gedgold: my bad, I forgot to update the xml file as well, which contains the hidden Squishy_Tooltip which is being used to parse spells being cast. Get the new version on SVN please.
good to know it more or less works on non-english clients. I wasn't able to completely move all language relevant strings to locals.lua yet, but I already moved the spells that are watched by Squishy.
As for translating these spells: please download the latest version from SVN, open the file locals_frFR.lua and replace the spell names there (no idea about french, but you might need some unicode escape characters in there as well for the non-standard letters as circomflex etc.). Once it's working, please send me these 10 lines via private message and I'll upload them to the SVN so others can use your translation as well.
Once the code is more stable I'll also move all the config options etc to locals.
To get free from this error, try to delete \WTF\Account\ACCOUNTNAME\SavedVariables\Squishy.lua & Squishy.lua.bak . This solved my problems some time ago. I've no problem with current SVN.
actually this problem isn't related to the saved variables. The reason is the following: if more than 10 people are damaged, Squishy tried to update more than 10 frames. Unfortunately we only have 10 frames, so it will throw that error on the 11th unit. As chances are rare to see so many people damaged around you, this bug doesn't happen frequently.
Well, I thought I had fixed it, but I didn't fix it in the right place. Now it should be fixed.
Sorry again - I know these bugs can be a pain for all of you, but without all your help debugging the code the progress would be much slower. Especially as I hardly have time to run 40man instances these days.
PS: FryGuy, your suggestion is in the works. It's still flaky, but it was a great idea. I'm now trying to figure out what to do with gaps in the list (e.g. if #3 on the list has been healed to full and you have 6ppl that need damage then all of a sudden #3 will stay empty until a new unit needs a heal).
I just uploaded a new version which adds the suggestion by FryGuy (see earlier in this thread): frames are being reused. No more units jumping around. #1 on list isn't the unit with lowest health anymore, but you'll always have the 10 ppl in range with highest priority visible. Other than occasionally having gaps between units, I think this is wonderful. Please let me know how you like it...
If you end up with errors, pls post them here and revert to the more stable revision 2095.
Other changes:
- small optimizations for range check
- changed min damage from 500hp to 85%
- added french localization for spells to watch (thx, Firiel)
would it be possible to make the player frame visible when soloing? i'm going to use this with aceheal click casting, and i would like to use squishy for healing myself while soling, as well as in parties and raids. i know it's not really what this addon is for, but an option to show the player frame at all times would be helpful. guess i'm just used to using needylist frames for click casting (hoping to drop needylist for corkfu/squsihy soon).
also would like to see a friendly target frame to make healing targets easier, although i guess that would really be beyond what this addon does?
core.lua:991: attempt to index global `Squishy_Tooltip' (a nil value)
---
If i set squishy in stanby, all come back to normality.
core.lua:822: attempt to index local `f' (a nil value)
Here is the debug info it that helps:
debug: 8:7:y:40:Priest:60
But the little H does'nt appear.
Can you tell me what i have to traduce for this H appear ?
Tanks
good to know it more or less works on non-english clients. I wasn't able to completely move all language relevant strings to locals.lua yet, but I already moved the spells that are watched by Squishy.
As for translating these spells: please download the latest version from SVN, open the file locals_frFR.lua and replace the spell names there (no idea about french, but you might need some unicode escape characters in there as well for the non-standard letters as circomflex etc.). Once it's working, please send me these 10 lines via private message and I'll upload them to the SVN so others can use your translation as well.
Once the code is more stable I'll also move all the config options etc to locals.
Same problem here, different line though.
core.lua:825: attempt to index local `f' (a nil value)
Using the newest SVN as of now.
my debug info:
15:15:y:38:Druid:60
Well, I thought I had fixed it, but I didn't fix it in the right place. Now it should be fixed.
Sorry again - I know these bugs can be a pain for all of you, but without all your help debugging the code the progress would be much slower. Especially as I hardly have time to run 40man instances these days.
PS: FryGuy, your suggestion is in the works. It's still flaky, but it was a great idea. I'm now trying to figure out what to do with gaps in the list (e.g. if #3 on the list has been healed to full and you have 6ppl that need damage then all of a sudden #3 will stay empty until a new unit needs a heal).
If you end up with errors, pls post them here and revert to the more stable revision 2095.
Other changes:
- small optimizations for range check
- changed min damage from 500hp to 85%
- added french localization for spells to watch (thx, Firiel)
also would like to see a friendly target frame to make healing targets easier, although i guess that would really be beyond what this addon does?
Keep up the great work.