ZakBlystone / gmod_blueprints

Blueprint Editor for Garry's Mod (Visual Programming)
GNU General Public License v3.0
59 stars 9 forks source link

[2.0 Stable] [Bug] Attempt to run a custom node into a server #99

Open Sectonidse opened 2 years ago

Sectonidse commented 2 years ago

Blueprints 2.0

When i tried to run a custom nodes into a server, i got an issue. Uploading file to GMod server was having perfectly fine (except Blueprints localization) But running the custom nodes on server gave me this issue in console:

`[gmod_blueprints-2-stable] addons/gmod_blueprints-2-stable/lua/blueprints/module/sh_bpcompiledmodule.lua:222: attempt to index a nil value

  1. Initialize - addons/gmod_blueprints-2-stable/lua/blueprints/module/sh_bpcompiledmodule.lua:222
    1. Install - addons/gmod_blueprints-2-stable/lua/blueprints/module/sh_bpenv.lua:34
    2. Install - addons/gmod_blueprints-2-stable/lua/blueprints/module/sh_bpnet.lua:105
      1. RunLocalFile - addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:277
      2. func - addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:648
      3. unknown - lua/includes/extensions/net.lua:33

Unfinished input stream at: stack traceback: addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bpstream.lua:179: in function 'In' addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:354: in function 'v' lua/includes/modules/hook.lua:96: in function 'Call' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:172: in function 'OnLocalFileFinished' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:255: in function 'OnReceiveChunk' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:371: in function 'func' lua/includes/extensions/net.lua:33: in function <lua/includes/extensions/net.lua:18> Unfinished input stream at: stack traceback: addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bpstream.lua:179: in function 'In' addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:354: in function 'v' lua/includes/modules/hook.lua:96: in function 'Call' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:172: in function 'OnLocalFileFinished' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:255: in function 'OnReceiveChunk' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:371: in function 'func' lua/includes/extensions/net.lua:33: in function <lua/includes/extensions/net.lua:18> Unfinished input stream at: stack traceback: addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bpstream.lua:179: in function 'In' addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:354: in function 'v' lua/includes/modules/hook.lua:96: in function 'Call' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:172: in function 'OnLocalFileFinished' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:255: in function 'OnReceiveChunk' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:371: in function 'func' lua/includes/extensions/net.lua:33: in function <lua/includes/extensions/net.lua:18> Unfinished input stream at: stack traceback: addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bpstream.lua:179: in function 'In' addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:354: in function 'v' lua/includes/modules/hook.lua:96: in function 'Call' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:172: in function 'OnLocalFileFinished' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:255: in function 'OnReceiveChunk' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:371: in function 'func' lua/includes/extensions/net.lua:33: in function <lua/includes/extensions/net.lua:18> Unfinished input stream at: stack traceback: addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bpstream.lua:179: in function 'In' addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:354: in function 'v' lua/includes/modules/hook.lua:96: in function 'Call' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:172: in function 'OnLocalFileFinished' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:255: in function 'OnReceiveChunk' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:371: in function 'func' lua/includes/extensions/net.lua:33: in function <lua/includes/extensions/net.lua:18> Unfinished input stream at: stack traceback: addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bpstream.lua:179: in function 'In' addons/gmod_blueprints-2-stable/lua/blueprints/system/sh_bpfilesystem.lua:354: in function 'v' lua/includes/modules/hook.lua:96: in function 'Call' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:172: in function 'OnLocalFileFinished' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:255: in function 'OnReceiveChunk' addons/gmod_blueprints-2-stable/lua/blueprints/core/sh_bptransfer.lua:371: in function 'func' lua/includes/extensions/net.lua:33: in function <lua/includes/extensions/net.lua:18> `

Maybe there's problem with name maximum limit? Here's the Custom node Blueprint: bp-wCcTIVEJkEBXW2NHtWHH (It's not yet done)

Sectonidse commented 2 years ago

Disabled all the addons and still not working. GMod Version: 2022.06.10 (No Chromium, not beta, probably x64)

ZakBlystone commented 2 years ago

Hey, I merged V2 into stable because stable was very out-of-date. Can you pull latest on v2-stable and try this again?

Sectonidse commented 2 years ago

Ok, I'll do it later but today.

Sectonidse commented 2 years ago

It Did not worked, and also localization didn't upload too. I updated it, but i noticed that the last update was on 16th of April. I don't know, maybe I'm not fully understanding the UI of Github, but I've checked every branch, literally everything but didn't found the recent one. I saw the update from your Discord Server, but when i opened the link, it showed me the comparison between version and the today's commitments was not there.

By pulling did you meant downloading, or making Pull Request or something like that?

ZakBlystone commented 2 years ago

The last update was 16th of April. I'm not exactly sure what you're trying to do. Can you walk me through step-by-step how to get the problem to happen on my machine?

Also, are you running a dedicated server or listen server?