autoInvite
With the help of this mod it is possible to invite a complete group setup with one key-press. I have written this mod to make it possible to invite players from our standard raid group with one click.
Players can be imported via a CSV file and easy copy-and-paste. This CSV lines can be e.g. generated by a website or anything else you use.
The groupsetups can be saved and loaded by the mod, too.
The mod can move the players in the defined groups (I need some help to test this feature).
The main window can be opened with the command /ai show or with the key defined in the Key Bindings menu from WoW.
The first step is to add the player into the complete list. The following steps can be used:
1. Import the player with a CSV list.
2. Activate the mod at the select box and invite the player with /invite, with the friendlist, the gildlist...
3. Select a player and click Add in the GUI or press the button defined under Key Bindings in WoW.
4. Click the button Add without selecting a player before, a popup will appear, enter the name and press accept.
5. Import all players with one click from your guild.
The players are added in the complete list on the right side. The players can be moved with a left click between the complete list and the current group setup. To remove players from the complete list, right click them.
If it is not possible to read detailed information about the players, they are move into the list for druids. If it is possible to read the information, the players are automatically moved in the right table, this can be forced by pressing the Update button.
To invite the players the following steps are possible:
1. Button Group-Invite, a standard group is created.
2. Key defined by Key Bindings, a standard group is created.
3. Button Raid-Invite, group is created as raid group.
It is possible to save the current groupsetup by pressing the button Load-Save. To define the groupsetup it is possible to right click the players in the left tables and define a groupnumber for them.
An other possibilty is to move the player in the raid window from WoW and easily press the Read Group button.
To move the players in the defined groups, press Move Groups. (not working yet)
The color coding in the tables have the following meaning:
Grey = not invited yet
Yellow = invited
Green = joined the group
Red = declined the invitation or is ignoring you
Blue = player is already in a group if activeated (in the GUI) the player would get a wisper to leave the group.
To use CSV import:
******************
The fields are:
name:eClass:level:inGroup:group:comment
For description for the fields have a look at the bottom of the file.
Example:
Player1:PRIEST:60:1:-:Test..
Player2:HUNTER:60:0:1:bla<br>line2<br>line3
name: name of the player
eClass: must bes PRIEST, HUNTER, WARRIOR, MAGE, PALADIN, SHAMAN, WARLOCK, ROGUE or DRUID
level: can be 0, the mod will read the level then automatically
inGroup=1 player is in the current group setup and will be invited by the mod, inGroup=0 player is not in the current group setup (only in the complete list)
group='-' no group defined group=1 or group=2 to group=8 number of the group
comment=Comment for the player. Use <br> to split it in several lines
Then open the menu, press Save-Load -> Import CVS -> enter name and copy paste the lines -> import
For phpraider I have written a plugin. It can be found here:
phpraider_autoinvite_v170.tar.bz2
Unpack it and upload it to your phpraider installation (for phpraider 1.0.7).
If you use raidplaner 3.1.0 replace the following file with the file in this archive (for later version it will not necessary anymore):
plugins/raidplan/modules/export/export.class.php
Now it generates correct CSV files with raidplaner 3.1.0.
bei mir werden leider keine Todesritter als Klasse angezeigt. Gibts dazu ne Lösung?
Gruß
Schreib mir am besten eine EMail, Adresse findest du in der Readme Datei im Addon selber.
can you rename it /autoinv ?
jedesmal wenn ich auf "Add" klicke um einen Char zu meiner Liste hinzufügen will kommt bei mir folgende Fehlermeldung:
Date: 2009-02-14 13:25:17
ID: 1
Error occured in: Global
Count: 1
Message: ..\FrameXML\UIDropDownMenu.lua line 803:
attempt to index local 'frame' (a number value)
Debug:
[C]: ?
..\FrameXML\UIDropDownMenu.lua:803: UIDropDownMenu_SetWidth()
autoInvite\autoInvite.lua:140: addPlayerClassOnLoad()
[string "*:OnShow"]:1:
[string "*:OnShow"]:1
[C]: Show()
[string "*:OnClick"]:5:
[string "*:OnClick"]:1
Ansonsten ein echt geiles Addon, macht das Inviten fürn Raid sowas von entspannt einfach - Daumen hoch! :-)
Gruß, Cudilla.
Another suggestion, make the default action for "/ai" do the same thing as "/ai show" rather than the help text.
Aside from that, this is an excellent MOD, good work.
I use the number 1 on my num block.
You can reach me via email, check the README file for the address.
seitdem es DKs gibt gibt es wieder ein paar fehler....
schon ne Idee? werde mir es sonst selber mal anschauen, mit meinem soliden halbwissen^^
Hab den Fehler schon behoben.
Sobald ich wieder ins Repository hier commiten kann, gibt es die neue Version.
am working on a proper fix
function autoInvite:inviteButton_OnClick(status, self)
if (status=="raid" and GetNumRaidMembers() == 0) then
autoInvite.control.changeToRaid = true;
else
autoInvite.control.changeToRaid = false;
end
-- standard color: <Color r="1.0" g="0.82" b="0"/>
-- standard highlightcolor: <Color r="1.0" g="1.0" b="1.0"/>
if (autoInvite.control.doInvites == false) then
-- self:SetTextColor(0,1,0); *THIS ONE*
-- self:SetHighlightTextColor(0,1,0); *THIS ONE*
autoInvite.control.doInvites = true;
autoInvite:activate();
elseif (autoInvite.control.doInvites == true) then
-- self:SetTextColor(1,0.82,0); *THIS ONE*
-- self:SetHighlightTextColor(1,1,1); *THIS ONE*
autoInvite.control.doInvites = false;
end
autoInvite:switchPowerStatus();
end