Maybe whatever this amalgamation became, it could be a library so that you could use the same core addon/Python interface (or whatever other language) for several different addons. I'm not sure how you'd write the Python if it was a one-run thing. (I'm running Linux so I have a little prog called watch which runs the same command line as frequently as you want until you terminate it yourself.
So for me and others like me (running Unix), you could run
watch -i2 whoshe
to run the script every 2 seconds. The very beginning of the script should have a switch right away that compared the date (time) of the SavedVariables file and the date (time) of the last server request, and such. If it was to be run without watch, it would need to loop until terminated. I don't know how you'd do that with a certain frequency, though it shouldn't be that hard really.
In case you don't want to check out my other post, I'll coarsely sum it up:
Have an addon that writes data to the SavedVariables file, and a script that pulls that information, requests data from the server, then parses and writes data back to the SavedVariables file, which is then read by the addon. Workable?
Thanks for the explanation. I guess that kills my idea about such an addon. I guess the only way you could pull it off is to have it write to a Lua file (as a SavedVariable file) and have another program receive the data with some frequency which would retrieve the data from the server and parse it, send it back to the SavedVariable file, and the addon could return the data.
Hmm.... 8)
With the use of the Unix command watch calling a script.... It could work, but I don't know where to begin as far as the Lua code goes, and I've never made sense of the SavedVariable system. I could write the Python portion, though, I think.
The Lua would need two slash commands (or buttons, as may be the case) -- one to send the data to the parser, one to retrieve the data from the parser -- or perhaps one but then you'd have to have a scheduler written into it.
Does it look more feasible now than it did, and does anyone have any interest in producing something like this?
Based on the comment at http://www.wowace.com/forums/index.php?topic=6012.0 and my own past experience with Tattle, it appears that the information is taken from a pre-rendered database that is downloaded from wowace or whatever mirror that Tattle has.
The script/addon I propose have should take it from wowarmory on demand, since it doesn't apply only to level 70s. After all, level 70s aren't the only ones that suffer from demand for tanks, dps, and healers. Is it possible to call such a Python (or any other) script from Lua?
Please allow me to plug my Python script that I wrote over the past week and tweaked it to my personal satisfaction: http://code.google.com/p/whoshe/
If anyone has any comments, let me know, but aside from parsing options -- which I don't want to get into right now -- I'm very happy with it. (This is my first ever program or script, so if I'm missing a best practice or if I'm not using Google Code to the max, let me know also.) I'm interested in writing a module that reads the equipped item list and writes the stats and perhaps other effects to a table, kind of like on http://wowhead.com/?itemset=217 (Judgement Armor) for example. I don't know where to start on that one, though.
(Something that just came to mind is adding Rogue Lockpick skill.)
So, on to my suggestion: What would it take to make an addon that would run and read from this script (or not even from this script, but from wowarmory) so that you wouldn't have to ask every tank-capable class member "Hey, are you up for tanking UB?" or every heal-capable class member "Are you up for healing Mag Terr?".
The addon should be able to pass information on all /who returns. For instance, I type:
/whoshe 50-55 tank
which makes an internal "/who 50-55" call that ultimately returns only tank-capable classes along with their talent specs (either in a UI or the chatbox, though the UI would be better usable, I think, and it wouldn't be subject to chat spam). Like so, perhaps:
And you can immediately know that no one here is a suitable tank, even though their name might belie that (as in the case of the misnamed "Protwarrior").
The dps and heal modules would be similar to the tank module, except the dps module would list all classes with their talent specs and spell damage/AP/RAP. The heal module should display talent spec and +heal and spell crit rate.
Would this be hard to pull off? -- I just learned Python by tinkering with the script mentioned above. I don't know Lua very well at all, and I really don't know the first thing about interfacing them.
Alright. Basically I changed a ton of stuff on this venture. I've debugged it quite a bit, but I'm still having problems and I don't know what my next step is. The diff I'm including is from I think the original, but in any case, I'm delivering the full code with the diff.
Pardon me if this is already addressed. My strong suspicion is that it's not, but I did glance the first and the third pages, and didn't notice a reference.
Problem: I'm not sure if it's the download time or process time, but the script takes about 15 seconds (not having timed it officially) every run, and more if I'm on wireless at school. I can understand and tolerate the time it takes to run the script, but if there's a better way, there's a better way. 8)
Suggestion: What I'd like to see is that the latest(-noext)?.xml be downloaded once per, say, 10 minutes.
Reason: Sometimes I like to add an addon, and then remember that there was another addon I needed too.
Addendum: Also I noticed that the default location you had set for non-Windows non-Mac systems is /usr/local/games/World of Warcraft/Interface/Addons which is unlikely if it wasn't done under root. My diff and alternative script file indicate that it should be ~/.wine/drive_c/World of Warcraft in most cases. Maybe other people have other experiences. (I use Ubuntu 7.10 if that's relevant.)
Other than that, wowace.py an awesome script. Automating anything is nice. :)
I wish I knew Python better, because my patch is hardly acceptable and very incomplete, but you might get my idea having read this post and seen my patch diff.
Perhaps instead of you writing a patch for it, maybe I could, if you give me a little bit of guidance. I really want to learn Python, and this I think would be a good exercise for me. Even if you do or someone else does, I'd definitely like access to the diff so I can see how it was written in.
Anyone considering using a script as I described in this post may get something out of reading my code, but it is NOT usable in its current state.
I'd like to add one more thing: I haven't checked it in the past day or two, so it could be an old bug.
Quite a while ago, you added a tag that would allow you to see if someone was dead, ghost, divine interventioned, stealthed, feigned death, or a few other things, as well as if they had a soulstone after they had already died. For the longest time, this feature hasn't worked, but it would be quite helpful to reinstitute this. DI does work. I don't think FD does, but that is more or less moot since a recent patch.
The owner's name is visible under the name of the pet, if you simply target the pet. This is true if you have the option selected that shows the guild name. Likewise with NPCs, such as Quartermaster Gorman <Rations> and Edwin VanCleef <Defias Kingpin>. In these two cases, their guild tag would evaluate to what's in the carets.
Adelea, that change would also eliminate the AFK/DND notation, so that there will be no way of knowing unless it's in your CowTip or something else. I've been annoyed at times that the timer is there. I do appreciate the timer, but it shouldn't add the time by default. As mentioned, it should be called [AFKDNDTime] or some such.
A link such as http://img208.imageshack.us/img208/1812/wowscrnshot091907234733tt1.jpg would be better. I don't think I'm far from the truth when I assume you should have known that. On the other hand, any further commentary would be more off topic and could be considered trolling.
I can has fix plees? You should test your addon without any others.
Maybe you should test the same addon without any other addons? It is quite apparent from your own screenshot that you have more than this one addon installed.
(I'm not saying that I know it is or is not the fault of this addon, as a matter of course, just pointing out your own folly.)
My best guess is that you need to tell those addons that it's not blocking, that StopTheSpam is a prerequisite addon, so that it'll load STS before the other addons. If that doesn't help, I have no clue.
It would be too wide if your chosen font is too big. That's the only reason. However, instead of 09:35, it could say 9:35. Anyways, see my post above on this same page. I posted a way you can modify this. One thing to note is that it is set up to start at a lower time than that (not beyond 6 minutes, but I can't remember). You can easily modify the code to make it 10 minutes.
That is a valuable stat, then. It tells you whether you should go crit gear or spelldamage/healing to get the best benefit. Thanks.
But about the coefficients, I've seen some odd numbers. I couldn't tell you them right now, but basically the middle values for pally seals and a couple other things just have wierd numbers. Avenger's Shield's middle coefficient shows the number for a .5-second cast when it's 1 second, for example.
0
0
Maybe whatever this amalgamation became, it could be a library so that you could use the same core addon/Python interface (or whatever other language) for several different addons. I'm not sure how you'd write the Python if it was a one-run thing. (I'm running Linux so I have a little prog called watch which runs the same command line as frequently as you want until you terminate it yourself.
So for me and others like me (running Unix), you could run to run the script every 2 seconds. The very beginning of the script should have a switch right away that compared the date (time) of the SavedVariables file and the date (time) of the last server request, and such. If it was to be run without watch, it would need to loop until terminated. I don't know how you'd do that with a certain frequency, though it shouldn't be that hard really.
In case you don't want to check out my other post, I'll coarsely sum it up:
Have an addon that writes data to the SavedVariables file, and a script that pulls that information, requests data from the server, then parses and writes data back to the SavedVariables file, which is then read by the addon. Workable?
0
Hmm.... 8)
With the use of the Unix command watch calling a script.... It could work, but I don't know where to begin as far as the Lua code goes, and I've never made sense of the SavedVariable system. I could write the Python portion, though, I think.
The Lua would need two slash commands (or buttons, as may be the case) -- one to send the data to the parser, one to retrieve the data from the parser -- or perhaps one but then you'd have to have a scheduler written into it.
Does it look more feasible now than it did, and does anyone have any interest in producing something like this?
0
The script/addon I propose have should take it from wowarmory on demand, since it doesn't apply only to level 70s. After all, level 70s aren't the only ones that suffer from demand for tanks, dps, and healers. Is it possible to call such a Python (or any other) script from Lua?
0
If anyone has any comments, let me know, but aside from parsing options -- which I don't want to get into right now -- I'm very happy with it. (This is my first ever program or script, so if I'm missing a best practice or if I'm not using Google Code to the max, let me know also.) I'm interested in writing a module that reads the equipped item list and writes the stats and perhaps other effects to a table, kind of like on http://wowhead.com/?itemset=217 (Judgement Armor) for example. I don't know where to start on that one, though.
(Something that just came to mind is adding Rogue Lockpick skill.)
So, on to my suggestion: What would it take to make an addon that would run and read from this script (or not even from this script, but from wowarmory) so that you wouldn't have to ask every tank-capable class member "Hey, are you up for tanking UB?" or every heal-capable class member "Are you up for healing Mag Terr?".
The addon should be able to pass information on all /who returns. For instance, I type: which makes an internal "/who 50-55" call that ultimately returns only tank-capable classes along with their talent specs (either in a UI or the chatbox, though the UI would be better usable, I think, and it wouldn't be subject to chat spam). Like so, perhaps:
And you can immediately know that no one here is a suitable tank, even though their name might belie that (as in the case of the misnamed "Protwarrior").
The dps and heal modules would be similar to the tank module, except the dps module would list all classes with their talent specs and spell damage/AP/RAP. The heal module should display talent spec and +heal and spell crit rate.
Would this be hard to pull off? -- I just learned Python by tinkering with the script mentioned above. I don't know Lua very well at all, and I really don't know the first thing about interfacing them.
0
0
Problem: I'm not sure if it's the download time or process time, but the script takes about 15 seconds (not having timed it officially) every run, and more if I'm on wireless at school. I can understand and tolerate the time it takes to run the script, but if there's a better way, there's a better way. 8)
Suggestion: What I'd like to see is that the latest(-noext)?.xml be downloaded once per, say, 10 minutes.
Reason: Sometimes I like to add an addon, and then remember that there was another addon I needed too.
Addendum: Also I noticed that the default location you had set for non-Windows non-Mac systems is /usr/local/games/World of Warcraft/Interface/Addons which is unlikely if it wasn't done under root. My diff and alternative script file indicate that it should be ~/.wine/drive_c/World of Warcraft in most cases. Maybe other people have other experiences. (I use Ubuntu 7.10 if that's relevant.)
Other than that, wowace.py an awesome script. Automating anything is nice. :)
I wish I knew Python better, because my patch is hardly acceptable and very incomplete, but you might get my idea having read this post and seen my patch diff.
Perhaps instead of you writing a patch for it, maybe I could, if you give me a little bit of guidance. I really want to learn Python, and this I think would be a good exercise for me. Even if you do or someone else does, I'd definitely like access to the diff so I can see how it was written in.
Anyone considering using a script as I described in this post may get something out of reading my code, but it is NOT usable in its current state.
0
Quite a while ago, you added a tag that would allow you to see if someone was dead, ghost, divine interventioned, stealthed, feigned death, or a few other things, as well as if they had a soulstone after they had already died. For the longest time, this feature hasn't worked, but it would be quite helpful to reinstitute this. DI does work. I don't think FD does, but that is more or less moot since a recent patch.
0
0
0
A link such as http://img208.imageshack.us/img208/1812/wowscrnshot091907234733tt1.jpg would be better. I don't think I'm far from the truth when I assume you should have known that. On the other hand, any further commentary would be more off topic and could be considered trolling.
0
Maybe you should test the same addon without any other addons? It is quite apparent from your own screenshot that you have more than this one addon installed.
(I'm not saying that I know it is or is not the fault of this addon, as a matter of course, just pointing out your own folly.)
0
0
It would be too wide if your chosen font is too big. That's the only reason. However, instead of 09:35, it could say 9:35. Anyways, see my post above on this same page. I posted a way you can modify this. One thing to note is that it is set up to start at a lower time than that (not beyond 6 minutes, but I can't remember). You can easily modify the code to make it 10 minutes.
0
But about the coefficients, I've seen some odd numbers. I couldn't tell you them right now, but basically the middle values for pally seals and a couple other things just have wierd numbers. Avenger's Shield's middle coefficient shows the number for a .5-second cast when it's 1 second, for example.