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

Import error #174

Open
RomanXseven opened this issue Dec 3, 2021 · 2 comments
Open

Import error #174

RomanXseven opened this issue Dec 3, 2021 · 2 comments

Comments

@RomanXseven
Copy link

im use libk mysql database
libk latest version

lua_run Pointshop2Controller:getInstance():importItemsFromFile("c.txt")

Pointshop2Controller:getInstance():importItemsFromFile("c.txt")...

[ps2] addons/ps2/lua/ps2/server/sv_pointshopcontroller_importexport.lua:43: bad argument #2 to '?' (no value)

  1. error - [C]:-1
  2. KLogf - addons/libk/lua/libk/shared/sh_logger.lua:51
    3. importItems - addons/ps2/lua/ps2/server/sv_pointshopcontroller_importexport.lua:43
    4. importItemsFromFile - addons/ps2/lua/ps2/server/sv_pointshopcontroller_importexport.lua:31
    5. unknown - lua_run:1
@pkmnmstr98
Copy link

The import doesn't work

@ValentinFunk
Copy link
Owner

ValentinFunk commented Dec 21, 2021

Just did a small change that should fix this error here a6393fb let me know if it works. Looks like you're importing items but the lua that is needed for them isn't there

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

3 participants