Chessnut / NutScript

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

[1.1] General error: Vending machine #544

Closed CaptJack92a closed 9 years ago

CaptJack92a commented 9 years ago

[ERROR] gamemodes/nsscifirp/schema/hooks/sv_hooks.lua:44: attempt to call method 'saveVendingMachines' (a nil value)

  1. unknown - gamemodes/nsscifirp/schema/hooks/sv_hooks.lua:44
    1. Run - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:406
    2. unknown - gamemodes/nutscript/gamemode/core/sv_data.lua:83
Chessnut commented 9 years ago

Did you define saveVendingMachine?

On Wed, Jul 15, 2015 at 1:27 AM, CaptJack92a notifications@github.com wrote:

[ERROR] gamemodes/nsscifirp/schema/hooks/sv_hooks.lua:44: attempt to call method 'saveVendingMachines' (a nil value)

  1. unknown - gamemodes/nsscifirp/schema/hooks/sv_hooks.lua:44
    1. Run - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:406
    2. unknown - gamemodes/nutscript/gamemode/core/sv_data.lua:83

— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/544.

CaptJack92a commented 9 years ago

I haven't messed with most of that part of the script, no. Originally the schema was the super basic version of hl2rp, but the error was new, so I just reported it in case a change in the framework was weird.

Chessnut commented 9 years ago

Well it seems like you just removed one part of the schema's code without removing another dependent part.

On Wed, Jul 15, 2015 at 8:21 AM, CaptJack92a notifications@github.com wrote:

I haven't messed with most of that part of the script, no. Originally the schema was the super basic version of hl2rp, but the error was new, so I just reported it in case a change in the framework was weird.

— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/544#issuecomment-121433953.

CaptJack92a commented 9 years ago

Well, darn. I haven't done anything with them that I can remember, the code's super simple change wise. It's mainly plugins I make and alter and faction scripts in the schema and hooks and such so certain factions have access to certain things, but I don't recall doing anything like this... Oh well.