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

errors in console + question #11

Closed
Exyztence opened this issue May 28, 2023 · 2 comments
Closed

errors in console + question #11

Exyztence opened this issue May 28, 2023 · 2 comments

Comments

@Exyztence
Copy link

First of all, I would like to ask how can I turn off those prints in the console? (screenshot attached)

image

ERRORS

First one:
[ script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:178: bad argument #2 to 'gsub' (string/function/table expected, got nil)
[ script:JD_logsV3] > handler (@JD_logsV3/server/main.lua:17

Second one:
[ script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:295: attempt to index a nil value (local 'rv')
[ script:JD_logsV3] > userCallback (@JD_logsV3/server/main.lua:295)

@JohnnyS
Copy link
Owner

JohnnyS commented May 29, 2023

Try to go to server/main.lua line 102 there should be a print(resp), comment that out and it should not print that anymore.

1st one might be some error with logging weapons being shot. Is this happening on all weapons or certain weapons? If certain ones you might have to add it in a file somewhere I forgot where specifically.

2nd error is api error, since it doesnt exist anymore it no longer works. It shouldnt affect functionality though, someone is working on trying to fix that error with a PR soon.

@JohnnyS
Copy link
Owner

JohnnyS commented May 29, 2023

View PR #3 for any updates

@JohnnyS JohnnyS closed this as completed Jun 8, 2023
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