• "Panel object is fucked" error in console
    4 replies, posted
I get this message in console when I call Panel:Remove(). The panel goes away, but mouse and keyboard input isn't returned to the game controls- I just get stuck with a cursor on the screen and I'm unable to do anything. Panel object is fucked - might be using an older Lua interface.. why wasn't it cleared?? I've serached the garry's mod files for this string- in search of clues, but no results came up. I think whatever generates this message may be in the C++. Anyways, I'm not sure how to fix this. Any help would be appreciated. Thanks.
Not sure if this is relevant at all (and is translated from german) but this person had the same issue, maybe too many panels caused a stack overflow? https://translate.google.com/translate?hl=en&sl=de&u=https://www.einfach-gaming.de/forum/thread/918-bugs/%3FpageNo%3D6&prev=search
Hmm, I don't think the number of panels are an issue.
Can you share any amount of code? It shouldn't be happening, your panel object is still valid, but is a nil not a Panel
function MenuCreate() local menu_background = vgui.Create( "DPanel" ) local songnum = math.random( 1, table.Count(introsongs) ) surface.PlaySound( introsongs[songnum] ) concommand.Add( "removepanel", function( ply, cmd, args ) menu_background:Clear() menu_background:Remove() end ) return menu_background end  I removed the parts I currently have commented out, since the error is still happening with the code like this. Now, though, it is happening without me even trying to remove it. env_cubemap used on world geometry without rebuilding map. . ignoring: metal/metalvent002a KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/decals/decal_posters002a.vmt LightmappedGeneric,  KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/decals/decal_posters003a.vmt LightmappedGeneric,  KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/decals/decal_posters001a.vmt LightmappedGeneric,  PlayX: Providers list received PlayX: JW URL set PlayX: Host URL set Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'monospace'! Failed creating font 'monospace'! Compact freed 778240 bytes Warning: Unhandled usermessage 'glib_channels_open' Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'Trebuchet24'! Failed creating font 'monospace'! Failed creating font 'monospace'! Redownloading all lightmaps Panel object is fucked - might be using an older Lua interface.. why wasn't it cleared?? Console: This server is running VJ Base. -=-=-=-=-=-=-=-=- VJ Base - 2.8.0 -=-=-=-=-=-=-=-=- Total Addons: 2 NOTICE: To configure VJ Base, click on 'DrVrej' in the spawnmenu. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Your server is using the latest mysqloo9 version GLib.Loader : Received manifest (2 pack files). GLib.Loader : Running pack file "GLib", deserialization took 64.87 ms (229 total files, 807.08 KiB). GLib.Loader : Running pack file "GLibAddons", deserialization took 8.25 µs (0 total files, 16.00 B).
Sorry, you need to Log In to post a reply to this thread.