GmodStarfall / Starfall

Starfall Processor for Garry's Mod + Wiremod
http://www.wiremod.com/forum/developers-showcase/22739-starfall-processor.html
Other
13 stars 6 forks source link

Starfall global variable 'Callbacks' collision with other plugins. #140

Open MRDRMUFN opened 11 years ago

MRDRMUFN commented 11 years ago

Not sure which plugin is at fault so I am posting this bug report at both Git Repos. Installed plugins: ULX, ULib, starfall.

[ERROR] addons/starfall/lua/starfall/sflib.lua:404: attempt to index global 'callbacks' (a nil value)

  1. fn - addons/starfall/lua/starfall/sflib.lua:404
    1. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Related: https://github.com/Nayruden/Ulysses/issues/248

Not sure what the problem is but it seems that starfall is preventing ulx from firing a hook, so all players join as default rank.

ColonelThirtyTwo commented 11 years ago

Apparently it's a PlayerDisconnect hook that does callbacks[ply] = nil when triggered, except there is no table callbacks. Not sure what that was originally referring to.