Skip to content
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

Broken when equpping and unequipping #28

Open
ghost opened this issue Dec 24, 2019 · 4 comments
Open

Broken when equpping and unequipping #28

ghost opened this issue Dec 24, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 24, 2019

I have a no idea.

    addons/libk-master/lua/libk/shared/sh_util.lua:252: attempt to index local 'dbginfo' (a nil value)

LUA Error in Controller Pointshop2Controller action unequipItem:

nil
cannot start a transaction within a transaction (BEGIN)

    addons/libk-master/lua/libk/shared/sh_util.lua:252: attempt to index local 'dbginfo' (a nil value)

LUA Error in Controller Pointshop2Controller action equipItem:

nil
WARNIG: uncaught error in Promise: 0
cannot start a transaction within a transaction (BEGIN)

    addons/libk-master/lua/libk/shared/sh_util.lua:252: attempt to index local 'dbginfo' (a nil value)

LUA Error in Controller Pointshop2Controller action unequipItem:

nil
WARNIG: uncaught error in Promise: 0

image
When i equipping weapons items..

@Marco15453
Copy link

I have the Same Errror

@ValentinFunk
Copy link
Owner

Could you try and see if anything is further up the console? This looks like that at some point a function fails but i'm fairly sure the errors here are only happening because of an earlier error (the trace could even be from a different addon)

@Marco15453
Copy link

I have this

L 07/09/2020 - 19:50:56: Lua Error: addons/libk/lua/libk/shared/sh_util.lua:258: attempt to index local 'dbginfo' (a nil value)
stack traceback:
[C]: in function '__index'
addons/libk/lua/libk/shared/sh_util.lua:258: in function 'dpt'
addons/pointshop2/lua/ps2/server/sv_pointshopcontroller_shop.lua:478: in function 's'
addons/libk/lua/libk/shared/1_sh_promises.lua:57: in function 'f'
addons/libk/lua/libk/shared/1_sh_promises.lua:184: in function 'f'
addons/libk/lua/libk/shared/1_sh_promises.lua:184: in function 'Resolve'
addons/libk/lua/libk/shared/1_sh_promises.lua:69: in function 'f'
addons/libk/lua/libk/shared/1_sh_promises.lua:184: in function 'Resolve'
addons/libk/lua/libk/server/sv_libk_database.lua:178: in function 'callback'
addons/libk/lua/libk/server/sv_libk_database.lua:151: in function <addons/libk/lua/libk/server/sv_libk_database.lua:150>
[C]: in function 'fn'
addons/ulib/lua/ulib/shared/hook.lua:109: in function <addons/ulib/lua/ulib/shared/hook.lua:92>

@Marco15453
Copy link

You can comment out the local dbginfo inside of sh_util.lua in LibK i did that too and it works now this is not a perma solution but it temporary disables this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants