1. Hello Guest, if you need help, wish to post feedback regarding our community/servers/staff or report game-breaking bugs, you're free to do so here.
    Dismiss Notice
  2. E-Mails sent by the forum will be broken for a while. This means notifications, PMs, etc. won't get sent to your email, but everything will work just like normal within the forum. //Donkie
    Dismiss Notice

Script Errors

Discussion in 'Feedback & Support' started by Jimbo, Apr 17, 2018.

  1. Jimbo

    Jimbo Member

    Joined:
    Apr 17, 2018
    Messages:
    2
    Likes Received:
    1
    Server:
    Battle Royale
    Discord:
    jimbo619y2j#1543
    Not sure if this is fixable, but I thought I'd post it here anyway in case it was.

    The first script error seems to spam console whenever it comes up, and when it happened, I was just switching between players while spectating. Here's the error:

    [ERROR]
    1. unknown - [C]:-1

    Error in hook CalcView: lua/weapons/fas2_base/cl_calcview.lua:10: Tried to use a NULL entity!
    stack traceback:
    [C]: in function 'LookupAttachment'
    lua/weapons/fas2_base/cl_calcview.lua:10: in function 'func'
    gamemodes/base/gamemode/cl_init.lua:380: in function <gamemodes/base/gamemode/cl_init.lua:347>
    [C]: in function '‌‎‬‪‭'

    My guess is it has someting to do with the weapons pack. Either something wasn't mounted/pasted correctly or the code was messed up initially and it's trying to call on an entity that was never there to begin with.

    Here is the second error that came up. This one did not spam console, but came up when I took out a weapon:

    [ERROR]
    1. unknown - [C]:-1

    Error in hook PostDrawViewModel: lua/weapons/fas2_base/cl_model.lua:733: bad argument #1 to 'ipairs' (table expected, got nil)
    stack traceback:
    [C]: in function 'ipairs'
    lua/weapons/fas2_base/cl_model.lua:733: in function 'Draw3D2DCamera'
    lua/weapons/fas2_base/cl_model.lua:605: in function <lua/weapons/fas2_base/cl_model.lua:138>
    [C]: in function '‌‎‬‪‭'

    This is probably something messed up with the model.
     
    #1
    • Like Like x 1
    • Informative Informative x 1
  2. Jimbo

    Jimbo Member

    Joined:
    Apr 17, 2018
    Messages:
    2
    Likes Received:
    1
    Server:
    Battle Royale
    Discord:
    jimbo619y2j#1543
    The hell does a browser plug-in have to do with script errors in Garry's Mod?
     
    #2
    • Agree Agree x 1
    • Useful Useful x 1