You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

Posts: 37

Location: Yes

Occupation: O-kay!

  • Send private message

21

Wednesday, June 20th 2012, 2:19am

I changed my GridCliqueIt and now I have the following:

GridCliqueIt_Variables folder:

GridCliqueIt.ClassColors = {
['WoW'] = {
['WARRIOR'] = { r = 0.78 , g = 0.61 , b = 0.43 },
['RANGER'] = { r = 0.67 , g = 0.83 , b = 0.45 },
['THIEF'] = { r = 1.00 , g = 0.96 , b = 0.41 },
['MAGE'] = { r = 0.41 , g = 0.80 , b = 0.94 },
['AUGUR'] = { r = 1.00 , g = 1.00 , b = 1.00 },
['DRUID'] = { r = 1.00 , g = 0.49 , b = 0.04 },
['WARDEN'] = { r = 0.77 , g = 0.12 , b = 0.23 },
['KNIGHT'] = { r = 0.96 , g = 0.55 , b = 0.73 },
['PSYRON'] = { r = 0.78 , g = 0.61 , b = 0.43 }, -- Champion
['HARPSYN'] = { r = 0.87 , g = 0.12 , b = 0.96 }, -- Warlock
},

['RoM'] = {
['WARRIOR'] = { r = 0.984 , g = 0.255 , b = 0.024 },
['RANGER'] = { r = 0.647 , g = 0.839 , b = 0.011 },
['THIEF'] = { r = 0.000 , g = 0.839 , b = 0.773 },
['MAGE'] = { r = 0.988 , g = 0.447 , b = 0.067 },
['AUGUR'] = { r = 0.157 , g = 0.549 , b = 0.925 },
['WARDEN'] = { r = 0.700 , g = 0.000 , b = 0.700 },
['DRUID'] = { r = 0.000 , g = 0.600 , b = 0.000 },
['KNIGHT'] = { r = 0.878 , g = 0.886 , b = 0.294 },
['PSYRON'] = { r = 0.78 , g = 0.61 , b = 0.43 }, -- Champion
['HARPSYN'] = { r = 0.87 , g = 0.12 , b = 0.96 }, -- Warlock
},

['White'] = {
['WARRIOR'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['RANGER'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['THIEF'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['MAGE'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['AUGUR'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['DRUID'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['WARDEN'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['KNIGHT'] = { r = 1.000 , g = 1.000 , b = 1.000 },
['PSYRON'] = { r = 0.78 , g = 0.61 , b = 0.43 }, -- Champion
['HARPSYN'] = { r = 0.87 , g = 0.12 , b = 0.96 }, -- Warlock
}
}

GridCliqueIt_Bar:

if GridCliqueIt.GetSettingsValue("SortByClass") == "Ascending" then
weightList = {
"AUGUR",
"DRUID",
"MAGE",
"RANGER",
"WARDEN",
"THIEF",
"WARRIOR",
"KNIGHT"
"PSYRON", -- Champion
"HARPSYN", -- Warlock
}
else
weightList = {
"PSYRON", -- Champion
"HARPSYN", -- Warlock
"KNIGHT",
"WARRIOR",
"THIEF",
"WARDEN",
"RANGER",
"MAGE",
"DRUID",
"AUGUR"
}
end

for i = 1, #weightList do
for j = 1, localPartySize do
if UnitClassToken(partyOrRaid..j) and UnitClassToken(partyOrRaid..j) == weightList then
playerDict[count] = j
count = count + 1
end
end
end
else
for i = 1, localPartySize do
playerDict[i] = i
end
end

return playerDict
end


Can any1 tell me what I am doing wrong? My GridCliqueIt is all messed now. The only thing i can do is bring up the manager thru /gci. When I change the sliders and stuff, nothing happens; i cant even see the rectangles.

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

22

Wednesday, June 20th 2012, 3:22am

First, please use code tags when posting code otherwise the code ends up a real mess.

As for your problem, you are missing a comma after the "KNIGHT" line in the first weightList definition. It should be:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
    weightList = {
        "AUGUR",
        "DRUID",
        "MAGE",
        "RANGER",
        "WARDEN",
        "THIEF",
        "WARRIOR",
        "KNIGHT",
        "PSYRON", -- Champion
        "HARPSYN", -- Warlock
    }
2013... The year from hell....

Posts: 37

Location: Yes

Occupation: O-kay!

  • Send private message

23

Wednesday, June 20th 2012, 10:20pm

Thank you very much. It's working perfectly now.

24

Wednesday, June 20th 2012, 11:51pm

I want to thank you sooooo much <3 I can't tell you how much I appreciated that help <3 you are all one of a kind and amazing ! HUGS <3

erinprice69

Jean-Claude Van Damme's next wife

Posts: 117

Location: in your pants

Occupation: student *studying Computer Science*

Mood: Cursing

  • Send private message

25

Saturday, June 23rd 2012, 4:56am

ah yah i didn't get around to the other fix. been away all week with work D: will adjust mine and upload for anyone not wanting to fiddle around.
Faspee PewPewKittens
Reason #2934 why I shouldn't be on IRC:
( @Heron ) Bugreport: NPC saito doesn't give kittens - cannot continue questline