Chessnut / NutScript

A free role-play framework for Garry's Mod.
http://nutscript.rocks
MIT License
94 stars 77 forks source link

[NutScript 1.1] Plugin - Note (Make error) #327

Closed art-gur closed 9 years ago

art-gur commented 9 years ago

When you press the button Use, note is not created.

[ERROR] gamemodes/hl2rp/plugins/notes/sh_plugin.lua:62: attempt to index global
'WRITINGDATA' (a nil value)
  1. v - gamemodes/hl2rp/plugins/notes/sh_plugin.lua:62
   2. Run - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:379
    3. onRun - gamemodes/hl2rp/plugins/notes/items/sh_note.lua:27
     4. unknown - gamemodes/nutscript/gamemode/core/libs/sh_item.lua:665
      5. func - gamemodes/nutscript/gamemode/core/libs/external/sh_netstream2.lua:132
       6. unknown - lua/includes/modules/net.lua:32
art-gur commented 9 years ago

Video of the bug can be found here http://youtu.be/ecoCPUfXVPU?t=4m40s

SchwarzKruppzo commented 9 years ago

There is two entities with "nut_note" name. First - in note plugin. Second - in radio plugin and it's no has functions. The second simply overriding the first, and causing this issue.

FlorianLeChat commented 3 years ago

It's still a problem in 2021. I don't even understand why this file still exists. I think a lot of people think that the plugin doesn't work anymore when all you have to do is delete a file and everything works normally again, such a shame...