-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A couple of issues. #27
Comments
If I install the folder as LibK-master, it'll throw this to the client console (notably nothing serverside): [ERROR] addons/pointshop2/lua/autorun/pointshop2_init.lua:21: attempt to index global 'LibK' (a nil value)
[ERROR] addons/pointshop2/lua/autorun/ps2_kinv_init.lua:1: attempt to index global 'LibK' (a nil value)
Renaming the folder to libk will throw this to the server, but nothing clientside and the gamemode will seem to break: Odd Error in DB, invalid database LibK
|
I'm getting the same error. Any fix? |
I was amazed. I thought this project was down cuz the author passed away |
Oh btw after I tried used old libk and found out I cant install default items |
Would love to help here but the init code was written 5 years ago and I have no idea what this could be. Unfortunately I haven't been able to work on gmod at all for quite some time now. Will happily accept MRs |
Good job. It still work fine in my server :D |
For people coming here through google or something, a few things to try if you run into this issues like this:
|
I have the latest version of LibK, downloaded from GitHub.
I have the latest version of Pointshop2, downloaded from GmodStore.
I have the latest version of PAC3, downloaded from GitHub as well.
I've configured my database settings in libk/lua/libk/server/sv_libk_config.lua, and they're valid.
I'm using the mysqloo module if it makes any difference.
Client "Night" connected (xx.xx.xx.xx:xx).
Odd Error in DB, invalid database LibK
[ERROR] addons/libk/lua/libk/server/sv_libk_model.lua:20: attempt to index a nil value
GLib.Resources : Compressing resource LuaPack/GLib took 197.06 ms (827.73 KiB to 110.94 KiB).
WARNIG: uncaught error in Promise: Disconnected
1: (_ = GLib.PlayerMonitor, ply = Entity (1) --[[ x, Night ]], userId = "x") [addons/pointshop2/lua/ps2/server/sv_pointshopcontroller_shop.lua: 18]
2: xpcall (GLib.Error) [[C]: -1]
3: DispatchEvent (self = { GLib.EventProvider: 0xf164af18 }, eventName = "PlayerDisconnected", GLib.PlayerMonitor, Entity (1) --[[ x, Night ]], "x") [addons/libk/lua/libk/3rdparty/glib/events/eventprovider.lua: 86]
4: fn (data = { table: 0xea51ae38 }) [addons/libk/lua/libk/3rdparty/glib/garrysmod/servers/playermonitor.lua: 60]
5: (name = "player_disconnect", gm = _R._LOADED.team:GAMEMODE, { table: 0xea51ae38 }) [addons/ulib/lua/ulib/shared/hook.lua: 109]
Dropped Night from server (Disconnect by user.)
If you need further information feel free to ask, very confused on what I need to do to fix it.
The text was updated successfully, but these errors were encountered: