Results 1 to 6 of 6
  1. #1
    smt923's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    28
    Reputation
    10
    Thanks
    3
    My Mood
    Flirty

    gDaap - attempt to index local 'tabletoload' (a nil value)

    sry if this isn't what this section is for idk

    so whenever i load gDaap i get this error, i know pretty basic lua but i'm not 100% sure wat to do to with this one

    Code:
    [ERROR] lua/autorun/client/yes.lua:417: attempt to index local 'tabletoload' (a nil value)
      1. onsuccess - lua/autorun/client/yes.lua:417
       2. unknown - lua/includes/modules/http.lua:34
    the code around line 417 of gdaap:

    Code:
    function GD:LoadConfig()
                    g.http.Fetch(configurl.."&load", function(body, len, headers, code)
                        if body != string.char(102, 97, 108, 115, 101) and body != "" then
                            if body != "NONE_FOUND" then
                                local tabletoload = g.util.JSONToTable(body)
                                for var, val in g.pairs(tabletoload.vars) do -- this one is line 417
                                    local newval,_ = g.string.gsub(val, "[^.0-9]", "")
                                    GD.vars[var] = tonumber(newval)
                                end
    can anyone figure out what's wrong & gimmie a lil help? cos saving/loading configs seems to work but i get this error every time

    side note: a lot of people say gdaap sucks dick but it has a lot of nice features (though some seem broken i think but whatever) - if this is c+p whats it c+p'd from? would be interested to know
    Last edited by smt923; 01-27-2014 at 08:33 PM.

  2. #2
    Trollaux's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2,074
    Reputation
    137
    Thanks
    792
    gDaap sucks dick.
    its probs c+p from some other shit hack.
    just get gDaap again from however you got it b4.
    d e a d b o y s
    Quote Originally Posted by Dave84311 View Post
    What do you call a troll with shitty jokes?
    Trollaux
    Quote Originally Posted by Kyeran View Post
    Foot job with lots of oil.
    Quote Originally Posted by Kyeran View Post
    If she's 12, I'm 12.

  3. #3
    smt923's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    28
    Reputation
    10
    Thanks
    3
    My Mood
    Flirty
    i tried getting it from the leak here + pastebin but both of them give the error

  4. #4
    hilo peeps's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    82
    Reputation
    10
    Thanks
    48
    My Mood
    Amazed
    gDaap is copy pasted from gInject which is copy pasted from Sethhack but anyway

    if !tabletoload then g.print("error******") return end after local tabletoload = g.util.JSONToTable(body)

  5. The Following User Says Thank You to hilo peeps For This Useful Post:

    smt923 (01-28-2014)

  6. #5
    smt923's Avatar
    Join Date
    Dec 2013
    Gender
    female
    Posts
    28
    Reputation
    10
    Thanks
    3
    My Mood
    Flirty
    -snip-

    im a retard

    thanks for the help

    this thread can be closed now~~
    Last edited by smt923; 01-28-2014 at 12:23 AM.

  7. #6

Similar Threads

  1. removing the edit button, attempt 2
    By ace76543 in forum Spammers Corner
    Replies: 19
    Last Post: 12-11-2006, 04:49 PM
  2. First Brush Attempt Ever!
    By poulet28 in forum Tutorials
    Replies: 9
    Last Post: 08-06-2006, 03:55 PM
  3. Attempt #2!!!
    By SadisticGrin in forum Art & Graphic Design
    Replies: 3
    Last Post: 07-29-2006, 10:00 PM
  4. Tutorial Index
    By Bull3t in forum Tutorials
    Replies: 0
    Last Post: 07-22-2006, 10:13 AM
  5. My 1st Photoshop Attempt
    By Jackal in forum Art & Graphic Design
    Replies: 13
    Last Post: 07-20-2006, 05:43 AM