Lua help menu

Shout-Out

User Tag List

Thread: Lua help

Results 1 to 4 of 4
  1. #1
    ucigashu's Avatar Member
    Reputation
    22
    Join Date
    Aug 2007
    Posts
    138
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lua help

    i dont know if this is the right place


    im using guildomatic addon to copy my guilds members/level/officer note

    when im using it i get

    ["DKP"] = "here appears guild note, but i want officer note",
    ["name"] = "Player",
    ["note"] = "guilddd note",
    ["rank_index"] = 9,
    ["class"] = "Priest",
    ["rank"] = "Initiate",
    }, -- [253]
    {

    i get guild note x2, in officer note they have theyr DKP and i dont know how to copy the officer note

    Code:
    function GmaticDKP_Roster (arg)
        if (not IsInGuild()) then
            GmaticDKP_PrintError("Can't update roster since you're not in a guild.");
            return;
        end
    
        UDKP_GuildRoster = {};
    
        local guildName = GetGuildInfo("player");
    
        local num = 0;
        -- get count of all online/offline guild members
        for i = 1, GetNumGuildMembers(true), 1 do
            local gName, gRank, gRankIndex, gOfficerNote, gClass, gNote, gOfficerNote = GetGuildRosterInfo(i);
            tinsert(UDKP_GuildRoster, 1, { ["name"] = gName, ["rank"] = gRank, ["rank_index"] = gRankIndex, ["DKP"] = gOfficerNote, ["class"] = gClass, ["note"] = gOfficerNote });
            num = num + 1;
        end
    
        GmaticDKP_Print("Recorded " .. num .. " guild members.");
    help me :[

    also +2 rep for helping
    Last edited by ucigashu; 07-25-2009 at 10:13 AM.

    Lua help
  2. #2
    intruder175's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +rep
    Could I request a red proto drake to iron bound proto drake
    or red proto to green proto

  3. #3
    ucigashu's Avatar Member
    Reputation
    22
    Join Date
    Aug 2007
    Posts
    138
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by intruder175 View Post
    +rep
    Could I request a red proto drake to iron bound proto drake
    or red proto to green proto

    what ? i dont get it, did you posted in the wrong topic ?

  4. #4
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here, fixed it for you

    Code:
    function GmaticDKP_Roster (arg)
        if (not IsInGuild()) then
            GmaticDKP_PrintError("Can't update roster since you're not in a guild.");
            return;
        end
    
        UDKP_GuildRoster = {};
    
        local guildName = GetGuildInfo("player");
    
        local num = 0;
        -- get count of all online/offline guild members
        for i = 1, GetNumGuildMembers(true), 1 do
            local gName, gRank, gRankIndex, gLevel, gClass, gNote, gOfficerNote = GetGuildRosterInfo(i);
            tinsert(UDKP_GuildRoster, 1, { ["name"] = gName, ["rank"] = gRank, ["rank_index"] = gRankIndex, ["DKP"] = gOfficerNote, ["class"] = gClass, ["note"] = gNote });
            num = num + 1;
        end
    
        GmaticDKP_Print("Recorded " .. num .. " guild members.");
    You had the wrong arguments for GetGuildRosterInfo. And I assumed ["note"] means guild note, not officer note?

Similar Threads

  1. [Help] Need LUA help? Post here!
    By EcHoEs in forum World of Warcraft Emulator Servers
    Replies: 20
    Last Post: 10-03-2010, 01:18 PM
  2. [Help] i need Lua help with this script...
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 25
    Last Post: 03-03-2008, 03:45 PM
  3. LUA help
    By stoneharry in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 02-25-2008, 03:27 PM
  4. Lua help
    By reconz in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 02-18-2008, 07:03 PM
  5. Lua help
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-04-2008, 12:17 PM
All times are GMT -5. The time now is 11:10 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search