Skip to content

A couple of issues. #27

@inthenightsky

Description

@inthenightsky

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

  1. prepareForSQL - addons/libk/lua/libk/server/sv_libk_model.lua:20
  2. findAllDbByField - addons/libk/lua/libk/server/sv_libk_model.lua:241
  3. findByPlayer - addons/libk/lua/libk/server/sv_libk_model.lua:554
  4. fn - addons/libk/lua/libk/server/sv_libk_player.lua:3
  5. unknown - addons/ulib/lua/ulib/shared/hook.lua:109
    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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions