Van32's GuildPoints

Main / Setup-Instructions

Setup Instructions

<< Back to the main page

This page contains the setup instructions, should your guild be smaller than 10 ranks, or you simply don't like the growth rate of the GP.

For all you non-programmers out there, this may seem a little complicated, so bear with me, and I will try to explain it in the best detail possible

Step 1

After you've installed GuildPoints 2, Open the folder in your WoW's Interface Directory, and find the file "GuildPoints2.lua". The dircectory for Windows XP users should be, provided you used the default WoW installation path:

C:\Program Files\World of Warcraft\Interface\Addons\GuildPoints2\

Open "GuildPoints2.lua" in a text editor like Notepad, or Notepad.

Step 2

This step is for guilds that wish to use less than ten ranks

Find in GuildPoints.lua the lines of code that define the rank progression, they should look like the following:

GuildPoints2_GPMax = {
	[10] = 0, 	
	[9] = 100, 	
	[8] = 240,
	[7] = 576,
	[6] = 1382,
	[5] = 3318,
	[4] = 7963,
	[3] = -1,
	[2] = -1,
	[1] = -1,   --[[DO NOT EDIT THIS RANK. Promotions beyond this rank are not possible.]]
	[0] = -1	--[[DO NOT EDIT THIS RANK. Guild Master]]
}

For all the numbers here, you will have to make some changes to the ones after the '=' First, figure out how many ranks you are going to have in your guild, counting up from 0 for the Guild Master. This is how WoW counts the ranks. So if you are using the default of 5 ranks. you would count

0 - Guild Master

1 - Officer

2 - Veteran

3 - Member

4 - Initiate

After you're done that, go back to the file, and set all the values to read -1 for the rank numbers that didn't come up in your count, leaving the count, plus one, set to 0. After you're done that, it should look like the following for the default 5-rank guild.

GuildPoints2_GPMax = {
	[10] = -1, 	
	[9] = -1, 	
	[8] = -1,
	[7] = -1,
	[6] = -1,
	[5] = 0,
	[4] = 7963,
	[3] = -1,
	[2] = -1,
	[1] = -1,   --[[DO NOT EDIT THIS RANK. Promotions beyond this rank are not possible.]]
	[0] = -1	--[[DO NOT EDIT THIS RANK. Guild Master]]
}

What all the '-1's mean? This tells the addon that the rank at that specific index cannot earn GP, so we will need to change some things after. We will do that in the next step.

Step 3

Configuring the growth rate

Now it's time to tell the addon, just how hard you want it to be to get a promotion. I recommend you use Excel or a similar spreadsheet program to do the math for you.

Start by choosing a growth rate, and a base value, that's not 0. Set up Excel so that the base value is the start of the table. In the cell underneath that one, type '=' select the cell with the base value and then type ' * <growth>'. that's the simple way of doing it, replacing <growth> with your chosen growth rate. Use Excel's auto-fill feature, by dragging on the corner of that cell, downwards, automatically creating the formula, and subsequent rank maximums.

A very important note for the growth rate: Using a value that's less than 2 will actually cause a negative growth curve, as the GP does not get reset every time a member is promoted. Basically, it will require less GP to move up in rank, the first promotion being the hardest to get.

After you're done that, take your the new values you have, and set up the rank maximums, starting from the rank with the 0 for the max, and working your way down. For our example five rank guild, with a growth set to 4, and base of 100, it should look like the following:

GuildPoints2_GPMax = {
	[10] = -1, 	
	[9] = -1, 	
	[8] = -1,
	[7] = -1,
	[6] = -1,
	[5] = 0,
	[4] = 100,
	[3] = 400,
	[2] = 1600,
	[1] = -1,   --[[DO NOT EDIT THIS RANK. Promotions beyond this rank are not possible.]]
	[0] = -1	--[[DO NOT EDIT THIS RANK. Guild Master]]
}

Step 4

Save the file.

If WoW was running in the background:

Enter into the chat "/run ReloadUI()" without the quotes.

If you still need further help, or can't decipher my complicated instructions, contact me at vandesdelca32 at gmail dot com, and I can help you set up the idea you have in mind.

Facts

Date created
Jun 23, 2009
Last updated
Jul 28, 2009