Download
(10 Kb)
Download
Updated: 02-28-10 12:44 AM
Pictures
File Info
Updated:02-28-10 12:44 AM
Created:02-21-10 01:17 AM
Downloads:1,450
Favorites:22
MD5:
AnyCheck
Version: 0.0.3
by: ileben [More]
AnyCheck does exactly what ReadyCheck does, but in a more generic fashion. Instead of always giving you only two options "yes" or "no", a generic poll can be issued to members of the party or raid. An arbitrary message can be associated with a poll (e.g "Which boss would you rather attempt next?") and an arbitrary number of options can be given (e.g. "Putricide", "Lana'thel", "Sindragosa"). After voting, the statistics of the poll can be observed, sorted either by voting members or poll options.

Usage

You can issue polls when you are in a party, raid or even solo for testing purposes. Besides the person issuing the poll, at least the group leader must have the addon installed.

You start a poll by typing the following command into the chat window:

/anycheck "Message here" option1, option2, option3

You can replace "Message here" with any kind of message you want. You can issue a poll without any message by only giving the option list. A typicall ReadyCheck could be issued with the following command.

/anycheck yes,no

The option list can contain as many options as you want, separated by commas. An example of a poll with many options might be:

/anycheck yes,no,maybe,later,or,not

You cannot issue a poll while the previous poll is still in progress. A poll is automatically closed when everyone has voted or after 20 seconds. Players that haven't voted within 20 seconds are marked as timed out.


Other commands

Note that /ac is the short version of /anycheck command and can be used instead to save typing. To display a list of all the possible commands simply type the /ac command without any parameters given.

/ac poll will show the poll window after it's been closed.

/ac config will show the configuration window.


Players without addon

By default, the poll options and results are being reported to the group chat as well. This way members of the group that do not have the addon installed are still able to see the polling progress. For example a message like this will appear in the chat:

<AnyCheck> === Which boss would you rather attempt? ===
<AnyCheck> 1. Putricide
<AnyCheck> 2. Lana'thel
<AnyCheck> 3. Sindragosa


Note that for the convenience of everyone using the addon, these message are automatically filtered out of their chat by default. Please, refer to the configuration section to disable filtering of these message when you have the addon installed.

To vote via the group chat, a member needs to type a single number into the group chat, indicating the option they wish to vote for as it appears on the option list reported to the chat. The numbers will be automatically parsed by the addon of the group leader and converted into votes.

After the poll is closed, the poll report will be sent to the group chat. To send additional poll reports click the report button in the bottom-right corner of the poll window.


Configuration

To open the configuration window use the /ac config command. Here is the list of options and their description:

Only leader and assist can issue polls
This option will prevent anyone else from the group to issue polls unless they are the group leader or raid assistant. This option matters only if you are the leader of the group yourself, since it is on the leader's client where the check is performed.

Auto report to chat when poll closed
A poll report will be sent to the group chat for everyone without the addon automatically as soon as the poll is closed. If disabled, only a short message will be sent instead, indicating that the poll is closed. Additional reports can be sent using the report button.

Filter chat poll messages
All the poll-related messages sent to the group chat for players without the addon will be hidden in your own chat.
* 0.0.2 to 0.0.3

- Added option to limit polls to raid leader and assistants

- Added option to control auto-posting of report when poll is closed

- New graphical button to post a report from the poll window

- New graphical interface for configuration accessible via /ac config

- /ac report removed, use the button instead

- /ac filter anc /ac nofilter removed, use /ac config instead

- /ac now shows the list of possible commands

- /ac is just an abbreviation of /anycheck

* 0.0.1 to 0.0.2

- Poll options are reported to group chat.

- Votes are being parsed from group chat.

- Poll results are reported to group chat.

- Members that do not have the addon installed can vote by typing the respective number of an option in the group chat.

- Post a poll report to group chat at any time with "/ac report" command.

- Enable/disable filtering of poll-related messages from group chat with "/ac filter" and "/ac nofilter" commands.
Archived Files (2)
File Name
Version
Size
Author
Date
0.0.2
8kB
ileben
02-26-10 01:47 AM
0.0.1
7kB
ileben
02-21-10 01:17 AM


Post A Reply Comment Options
Old 03-05-10, 03:11 PM  
Mortilus
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 206
Uploads: 9
Originally posted by ileben
I was thinking about it. It mostly depends on which of the following is going to be more common:

a) a guild in which several members all decide to install the addon and don't need to see the chat messages

b) a guild leader or officer which decides to test this out by installing the addon themselves and using it with the guild where no one else has it

In the first case noone needs to see the messages. In the second case, the leader might get a little confused not knowing if its working right or not because he doesn't immediately see the messages going out. I'd say as soon as there is one single person in your group for which you really care about their vote (say a non-pug) without the addon, the leader definitely wants to see the messages to be able to know exactly how other people get the information and how it merges into the rest of the chat that's going on in the raid.
You could always have it be that the addon filter option filters all messages except outgoing poll messages.



Is this needed really? The documentation says no error is raised if the message exceeds the limit and then again, what can you really do? <snip> Is such a case likely to happen at all? I'd say no.
Isn't a bad idea though, and if the message is too long you could always substring it before you send it, and so it would go out in pieces but you wouldn't have the "why does the addon not work" problem. Or if its too long inform the user of that so they can change their message.
Mortilus is offline Report comment to moderator  
Reply With Quote
Old 02-28-10, 02:21 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1176
File comments: 783
Uploads: 82
Great idea -> mature addon in 3 days
Impressive.

Last feature request I promise

Configurable timeout interval OR if you want to keep the config as lightweight
as possible adding 5 seconds to the timeout "silently" for every option after #2.

So simple /anycheck yes,no would expire in the default 20sec,
/anycheck "Which boss to attempt next?",Putricide,Lana'thel,Sindragosa would expire in 20+5.
Four options in 30 seconds and so on.
Code:
local numopt = table.getn(poll.options);
AC_POLL_TIMEOUT = numopt>2 and (numopt-2)*5+AC_POLL_TIMEOUT_DEFAULT or AC_POLL_TIMEOUT_DEFAULT;
in the createpoll function after the options table is populated.

For real polish maybe a label on the poll frame counting down (purely cosmetic).

Thanks again.

Edit: added a small snippet.
Last edited by Dridzt : 03-01-10 at 12:16 PM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-27-10, 05:27 AM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 5
Originally posted by Dridzt
After using it a bit I have to say it's working great.

Can the chat filter be enabled by default for addon users?

It's a minor thing but I found myself telling pretty much everyone with the addon how to do it.

I was thinking about it. It mostly depends on which of the following is going to be more common:

a) a guild in which several members all decide to install the addon and don't need to see the chat messages

b) a guild leader or officer which decides to test this out by installing the addon themselves and using it with the guild where no one else has it

In the first case noone needs to see the messages. In the second case, the leader might get a little confused not knowing if its working right or not because he doesn't immediately see the messages going out. I'd say as soon as there is one single person in your group for which you really care about their vote (say a non-pug) without the addon, the leader definitely wants to see the messages to be able to know exactly how other people get the information and how it merges into the rest of the chat that's going on in the raid.

Originally posted by Dridzt
If you need an excuse to push an update there's a couple other minor things:
- Would be nice when re-broadcasting the most recent poll results to chat to include in the header the poll message (if one is stored).
Good point, coming next version.

Originally posted by Dridzt
- A check that prefix+message length do not exceed the SendAddonMessage limit of 255 characters before sending is probably needed.
Is this needed really? The documentation says no error is raised if the message exceeds the limit and then again, what can you really do? Not sending the messages is the same as trying to send it and it being ignored. On the other hand coding around the fact that the send might fail for every possible addon message would be way too tedious. What I could do, though, is think of the longest possible addon message and limit the length of the user-supplied poll message and options so that the longest messages doesn't exceed the limit. Is such a case likely to happen at all? I'd say no.
ileben is offline Report comment to moderator  
Reply With Quote
Old 02-27-10, 03:49 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1176
File comments: 783
Uploads: 82
Originally posted by brknsoul
Dridzt idea for non-addon users is cool, but it'd be better to pick up a more unique string, rather than a single number;

Poll:
1: Coke
2: Pepsi
3: Water

Reply in [raid | party] with "ac#", where # is the number of your choice. (eg: "ac1".)

This way, false positives can be elimated.
Author already made the changes and it is working great.

I'm not a believer in complicating user's life for no reason..
and having a new user read a question, +2-3 options +comprehend +respond with an arbitrary string before the 20 seconds expire is a bit too much.
The more you require people to think / type the more other sources of error come into play ("typos" "slow reaction") that diminish the addon usefulness.

Keep it simple, false positives are not a problem.
(no one regularly types _single_ numbers that fall _within_ the poll bounds _while_ a poll is running)
Last edited by Dridzt : 02-27-10 at 03:51 AM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-27-10, 01:39 AM  
brknsoul
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 145
Uploads: 2
Dridzt idea for non-addon users is cool, but it'd be better to pick up a more unique string, rather than a single number;

Poll:
1: Coke
2: Pepsi
3: Water

Reply in [raid | party] with "ac#", where # is the number of your choice. (eg: "ac1".)

This way, false positives can be elimated.
brknsoul is offline Report comment to moderator  
Reply With Quote
Old 02-27-10, 01:17 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1176
File comments: 783
Uploads: 82
After using it a bit I have to say it's working great.

Can the chat filter be enabled by default for addon users?

It's a minor thing but I found myself telling pretty much everyone with the addon how to do it.

If you need an excuse to push an update there's a couple other minor things:
- Would be nice when re-broadcasting the most recent poll results to chat to include in the header the poll message (if one is stored).
- A check that prefix+message length do not exceed the SendAddonMessage limit of 255 characters before sending is probably needed.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-26-10, 02:29 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1176
File comments: 783
Uploads: 82
Re: Re: Re: Feature request

Originally posted by ileben
For those interested: reporting to group chat and parsing votes from group chat has been implemented in version 0.0.2. File uploaded.
Thanks alot

Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-26-10, 01:55 AM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 5
Re: Re: Feature request

For those interested: reporting to group chat and parsing votes from group chat has been implemented in version 0.0.2. File uploaded.
ileben is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 06:09 PM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 5
Re: Brilliant

Originally posted by Dridzt
Great idea.

I have a feature request, would you prefer it in the comment section or by PM?
(author portal is not enabled so there is no Feature Request button)
I don't mind if you just write it here in the comments.
ileben is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 06:08 PM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 5
Re: Feature request

Originally posted by Dridzt
I have a feature request to make the addon a bit more Raid Leader friendly.

On the poll initiator side:
- Broadcast a chat message to the higher chat channel for the group (/raid for raid, /party for party)
alongside the addon messages sent iteratively over the whisper channel.
- Prepend the chat message with distinctive text so it can be filtered out and hide it by default (debug option to show it?) for the initiator.
Code:
(eg. "ACPOLL: Which boss would you rather attempt?"
     "ACPOLL: 1. Putricide"
     "ACPOLL: 2. Lana'thel"
     "ACPOLL: 3. Sindragosa"
     "ACPOLL: Type a number to vote")
On the poll response side:
- If the voter has the addon they will get the hidden message and show the vote dialog.
At the same time filter out (hide) from their /raid or /party chat the messages.
On the poll initiator side:
- Parse chat messages while a poll is open for a single number that falls within the poll bounds (1-3 in the example).
- Check that you do not already have a response for that sender and update the statistics frame.
(already done for the addon messages).

This would make the addon much more useful in random group or even guild situations with a mixed user base (some with the addon some without).
There would still be incentive for everyone to get it for the GUI convenience but it would not be useless if some don't have it (yet).

I'd be happy to lend a hand with some code snippets or a patch if you think it's a worthwhile feature.

Regardless thanks for the nice addon.
That is a great idea! I'll start working on it right now. Come back soon for an updated version
ileben is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 06:04 PM  
ileben
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 86
Uploads: 5
Originally posted by Rolzroyce
Would you consider adding a permissions feature to the addon? I love the idea, want to use it, but I fear that every single person will be creating polls during raids non-stop such as:

Who likes Eggos?

I Do
You Do
We All Do
Good point. I have already thought about that, so the way the whole thing is implemented is kind of ready for such a feature. No matter who issues a poll, the command is first sent to the party leader, and the addon on his side is acting like a server. If the party leader's addon doesn't approve of the poll then noone is really going to get the poll. Otherwise the poll message is broadcast back to the whole group.

This means I could simply add an option on the party leader's side to only allow polls from raid officers or the leader himself. Will work on that soon. Thanks for the input!
ileben is offline Report comment to moderator  
Reply With Quote
Old 02-24-10, 08:18 AM  
Rolzroyce
A Murloc Raider

Forum posts: 4
File comments: 9
Uploads: 0
Would you consider adding a permissions feature to the addon? I love the idea, want to use it, but I fear that every single person will be creating polls during raids non-stop such as:

Who likes Eggos?

I Do
You Do
We All Do
Last edited by Rolzroyce : 02-24-10 at 08:18 AM.
Rolzroyce is offline Report comment to moderator  
Reply With Quote
Old 02-21-10, 05:41 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1176
File comments: 783
Uploads: 82
Feature request

I have a feature request to make the addon a bit more Raid Leader friendly.

On the poll initiator side:
- Broadcast a chat message to the higher chat channel for the group (/raid for raid, /party for party)
alongside the addon messages sent iteratively over the whisper channel.
- Prepend the chat message with distinctive text so it can be filtered out and hide it by default (debug option to show it?) for the initiator.
Code:
(eg. "ACPOLL: Which boss would you rather attempt?"
     "ACPOLL: 1. Putricide"
     "ACPOLL: 2. Lana'thel"
     "ACPOLL: 3. Sindragosa"
     "ACPOLL: Type a number to vote")
On the poll response side:
- If the voter has the addon they will get the hidden message and show the vote dialog.
At the same time filter out (hide) from their /raid or /party chat the messages.
On the poll initiator side:
- Parse chat messages while a poll is open for a single number that falls within the poll bounds (1-3 in the example).
- Check that you do not already have a response for that sender and update the statistics frame.
(already done for the addon messages).

This would make the addon much more useful in random group or even guild situations with a mixed user base (some with the addon some without).
There would still be incentive for everyone to get it for the GUI convenience but it would not be useless if some don't have it (yet).

I'd be happy to lend a hand with some code snippets or a patch if you think it's a worthwhile feature.

Regardless thanks for the nice addon.
Last edited by Dridzt : 02-21-10 at 05:42 PM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-21-10, 05:03 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1176
File comments: 783
Uploads: 82
Brilliant

Great idea.

I have a feature request, would you prefer it in the comment section or by PM?
(author portal is not enabled so there is no Feature Request button)
Dridzt is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: