mNo edit summary
 
mNo edit summary
 
Line 1: Line 1:
local p = {}
==What does this error mean?==
local cargo = mw.ext.cargo
To play on the SSTRP.net server you'll need to be using the 64-bit version of Garry's Mod. This is because we rely on a number of technologies in the x86-64 branch that aren't in the normal branch of the game. Aside from that, you will also see a significant performance increase using the newer branch.
<br />


local x =  
==How can I fix this?==
{
[[File:Gmod fix 1.png|thumb]]
    { "", "", "Hero of the Federation", "", "" },
    { "MIPOD", "Medic", "Trooper", "Engineer", "Aviator" },
    { "Corporal", "Sergeant", "Commanding Officer", "Marauder", "Pathfinder" },
    { "M.I. Bronze Star", "M.I. Cross", "Medal of Valour", "Legion of Merit", "M.I. Silver Star" },
    { "Superior Command Commendation", "Distinguished Service Commendation", "Veterans Commendation", "Prisoner of War Commendation", "Emergency First Aid Commendation" },
    { "Professional Development Commendation", "Meritorious Service Commendation", "Good Conduct Commendation", "Humanitarian Aid Commendation", "M.I. Reconnaissance Commendation" },
    { "Combat Commendation", "PsyOps Accomplishment Commendation", "Medical Accomplishment Commendation", "Engineering Accomplishment Commendation", "Purple Heart" },
    { "", "", "Veteran's Ribbon", "", "" },
    { "Operation Big K Pin", "", "", "", "" }
}


function p.Main( frame )
    local t = {}
    local tables = 'Commendations'
    local fields = 'Commendation, COUNT(*)'


    local args = {
'''Step 1:'''
        groupBy = 'Commendation',
        where = 'Recipient = "' .. frame.args[1] .. '" AND Approved = true'
    }


    local results = cargo.query( tables, fields, args )
Navigate to your Steam library, right click Garry's Mod, and click "Properties".
    local groups = {}
   
    for r = 1, #results do
        local r = results[r]
        groups[r.Commendation] = r["COUNT(*)"]
    end
   
    table.insert(t, "<table class='citations-table'>")
    for k, r in pairs(x) do


        if k == 1 then
            table.insert(t, "<tr class='first'>")
        else
            table.insert(t, "<tr>")
        end


        for k2, v in pairs(r) do
            local g = groups[v]
            table.insert(t, "<td>")
            if v ~= "" then
                table.insert(t,
                                frame:expandTemplate({title = "Commendation", args = { v, v .. ".png", (g or 0) } })
                )
            end
            table.insert(t, "</td>")
        end
        table.insert(t, "</tr>")
    end
    table.insert(t, "</table>")
    return table.concat(t, '')
end


return p
 
 
 
 
<br />
[[File:Fix gmod 2.png|thumb]]
'''Step 2:'''
 
Click the "Betas" tab along the left.
 
 
'''Step 3:'''
 
Select ''x86-64 - Chromium + 64 bit binaries.''
 
 
'''Step 4:'''
 
Exit out of the Garry's Mod properties screen and relaunch your game. You will now be using the x86-64 version of Garry's mod
 
 
 
<br />
 
[[Category:Help]]

Latest revision as of 00:30, 16 December 2022

What does this error mean?

To play on the SSTRP.net server you'll need to be using the 64-bit version of Garry's Mod. This is because we rely on a number of technologies in the x86-64 branch that aren't in the normal branch of the game. Aside from that, you will also see a significant performance increase using the newer branch.

How can I fix this?

Gmod fix 1.png


Step 1:

Navigate to your Steam library, right click Garry's Mod, and click "Properties".





Fix gmod 2.png

Step 2:

Click the "Betas" tab along the left.


Step 3:

Select x86-64 - Chromium + 64 bit binaries.


Step 4:

Exit out of the Garry's Mod properties screen and relaunch your game. You will now be using the x86-64 version of Garry's mod





Categories: