PUG Signup by Proxen1705

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

PUG Sign Up Sheet and Form, a Brief Guide

by Proxen
disc: robertpalm#0401

May 17, 2020

Contents
1 The Architecture 1
1.1 The Google Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 The Google Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2.1 respbwl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2.2 BWLroster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Managing the Roster using respbwl 4


2.1 Change of Attendance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Change of Reservation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.3 Locking responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

3 Updating the Form and Sheet for a New Week 7


3.1 Removing old signups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Updating the Named Selection . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Updating the Conditonal Formatting . . . . . . . . . . . . . . . . . . . . . . 9

4 Updating the Roster Using BWLroster 10


4.1 Healing assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

5 Managing +1 and Masterlooting 11


5.1 +1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
5.2 Distributing Reserves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

A Multi-select script 14
A.1 multi-select.gs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Disclaimer
This PUG sign up is made by Proxen with visuals for roster helped by Mysticas. The Roster
sheet is sensitive to user errors and if you do not know what you are doing when editing
reserves or roster DON’T. More than likely you can mess up the coding if editing in the
wrong place which is why the sheets are mostly locked for everyone and all responses are
handled in Forms as that is impossible to mess up.
PUG Sign Up Proxen

1 The Architecture
1.1 The Google Form
The first part of the sign up is the Google Form, here and only here is where the Pugs enter
their response for each specific raid. The same form is used every week and it is not limited
to any amount of responses per person. This Form is connected to the response sheet called
resp.

Figure 1. First page of the BWL Form.

1
PUG Sign Up Proxen

1.2 The Google Sheet


The Google sheet is divided into two different sheets called respbwl and BWLroster or
MCroster respectively.

Figure 2. Seperate tabs for roster and response.

1.2.1 respbwl
This is where all responses are automatically added and the information from here is sub-
tracted and added through Google API with normal Excel formulas and SQL coding in the
Roster Sheet BWLroster. Here classes and attendance gets automatically colour-coordinated
and multiple responses of the same reserve or same character name will be marked with a
specific colour, more on how to change reservation or remove based on attendance later.

Figure 3. Example of responses.

2
PUG Sign Up Proxen

1.2.2 BWLroster
The roster page is the main page where all the roster, reserves and assignments should be
viewed. This is thusly the page and this page only that the PUGs and master-looter should
view. The SQL coding takes all responses in respbwl, checks first if they are marked ”Yes”,
then what class they are, and followingly what spec. It then positions the player in the
appropriate box on the roster. The first 40 ”Yes” sign ups will appear normally while the
41+ will be benched automatically and appear yellow and with cursive red text.

Figure 4. Example of roster.

3
PUG Sign Up Proxen

2 Managing the Roster using respbwl


To move a player in our out of the bench when over 40 ”Yes” responses has been sent in,
simply select the row number to the left of the name and response time, and drag it to an
appropriate place. As the roster is sorted in time of sending in the response, multiply players
might need to be dragged around to get your desired roster.

2.1 Change of Attendance


If a player wants to remove their sign up and thus change attendance they will enter another
response with a ”No” on attendance. This will make another response and the first response
has to be changed from ”Yes” to ”No” manually. This might look something like this:

Figure 5. Example of change of attendance.

As we can see here in Figure 5, the player Proxen first signed up as ”Yes” but now wants
to change their attendance to ”No”. Both names gets marked red to indicate a duplicate in
the response. The easiest way to remove the players attendance is either to right click the
number of the row and Remove row or change the ”Yes” in the first response to a ”No”.

4
PUG Sign Up Proxen

2.2 Change of Reservation


In this example player Proxen has entered another response indicating ”Yes” on attendance
for both, but with a new reserve. To change the reserve but keeping the players position in
the roster, simply copy (CTRL+C) the cell with the new item Rejuvetaing Gem and paste
(CTRL+V) in the previous cell where Claw of Chromaggus was. The yellow colour also
indicates that more than one person has reserved the item BUT this should not be looked
at by the ML as there might be ”No” responses or benched people’s response indicated.

Figure 6. Example of change of reservation.

5
PUG Sign Up Proxen

2.3 Locking responses


To lock responses, to lock reserved items for example one can click the form to lock all
responses. This needs to be unlocked for next weeks responses to open.

Figure 7. Locking further responses.

6
PUG Sign Up Proxen

3 Updating the Form and Sheet for a New Week


3.1 Removing old signups
To remove all responses and thus reset the roster one must first remove all rows in the
respbwl page as shown in Figure 8a, it’s optional to remove all form responses as well but
not needed as shown in Figure 8b.

(b) Reset form responses (not required)

(a) Reset roster

Figure 8. Resetting responses for a new week

7
PUG Sign Up Proxen

3.2 Updating the Named Selection


After the rows has been deleted and a new response has been added the formatting and named
region NEEDS to be updated. Updating the named region is the single most important step
to ensure everything is working properly. As shown in Figure 9, the region does not mark
our first response on row 2. To fix this go to Data¿Named Regions¿”responses” and make
sure to update it to from ”A3:xxx” to ”A2:xxx”. If this is not done the first response will
be omitted from the roster.

Figure 9. Updating the named selection.

8
PUG Sign Up Proxen

3.3 Updating the Conditonal Formatting


Next is updating the conditional formatting that marks multiple responses of the same name
red, and of the same reserves yellow. Select any cell below ”A2” in the ”A” column and go
to Format¿Conditional Formatting and click the one rule existing and change the applied
cells from ”B3:xxx” to ”B2:xxx”.

Figure 10. Conditional Formatting name.

The same thing needs to be done for Column ”U” for items to get marked yellow. Change
this from ”U3:xxx” to ”U2:xxx”, otherwise the first appearance of the item will not appear
yellow as shown in Figure 11

Figure 11. Conditional Formatting reserve.

9
PUG Sign Up Proxen

4 Updating the Roster Using BWLroster


For each week the tank assignments, healing assignments and buff assignments need to be
updated to account for current roster. The yellow cells all have to be updated, when updating
who maintank1-5 and offtank1-2 are the boss assignment will update according to what
offtank # was tanking what task previous weeks. All cells with a arrow icon is a dropdown
menu of appropriate inputs in the cell.

Figure 12. Change of assignments.

10
PUG Sign Up Proxen

4.1 Healing assignments


Healing assignments is also automated except for the yellow cells for Chromaggus dispells
for example, the first cells on what healer heals what tank is either done manually or with
a script called ”Multi-select cell” shown in Appendix A. It works as shown in Figure ?? and
is handy but takes some setting up.

Figure 13. Healer select script.

5 Managing +1 and Masterlooting


5.1 +1
To manage +1 for MS and OS the Masterlooter or someone else with editing authority can
simply add a ”1” ”2” etc. in the cell to indicate how many MS items the player has received.
The colour automatically indicates who has the highest amount of items received.

11
PUG Sign Up Proxen

Figure 14. Managing +1.

12
PUG Sign Up Proxen

5.2 Distributing Reserves


When the Masterlooter is checking for a dropped reserved item, they should be in BWLroster
and simply search the sheet with CTRL+F and input a portion of the item name as shown
below. This might also show the bench reserves so make sure the reservées are actually in
the raid.

Figure 15. Distributing Reserves.

13
PUG Sign Up Proxen

A Multi-select script

Figure 16. Accessing script editor.

Figure 17. Script editor.

14
PUG Sign Up Proxen

A.1 multi-select.gs
function onOpen(e) {
SpreadsheetApp.getUi()
.createMenu(’Scripts’)
.addItem(’Multi-select for this cell...’, ’showDialog’)
.addToUi();
}
function showDialog() {
var html = HtmlService.createTemplateFromFile(’dialog’).evaluate();
SpreadsheetApp.getUi()
.showSidebar(html);
}
var valid = function(){
try{
return SpreadsheetApp.getActiveRange().getDataValidation().getCriteriaValues()[0].ge
}catch(e){
return null
}
}
function fillCell(e){
var s = [];
for(var i in e){
if(i.substr(0, 2) == ’ch’) s.push(e[i]);
}
if(s.length) SpreadsheetApp.getActiveRange().setValue(s.join(’, ’));
}

15

You might also like