johnnys / jd_logsv3 Goto Github PK
View Code? Open in Web Editor NEWJD Logs V3 by Prefech/JokeDevil. I was a admin on the discord, not sure what happened to him. This is no longer being maintained.
JD Logs V3 by Prefech/JokeDevil. I was a admin on the discord, not sure what happened to him. This is no longer being maintained.
When i try to start the script i get this error. I placed the guild ID, and discord bot token... Any idea why its not working will appreciate all kind of support! Thanks in advance
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)
[ script:JD_logsV3] SCRIPT ERROR in promise (unhandled rejection): Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
[ script:JD_logsV3] > WebSocketManager.createShards (/root/FXServer/server-data/resources/JD_logsV3/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250)
[ script:JD_logsV3] > async Client.login (/root/FXServer/server-data/resources/JD_logsV3/node_modules/discord.js/src/client/Client.js:254)
[ script:JD_logsV3]
Somehow my Custom Logs (all logs in the category) dont work anymore, the default logs still work
Hello,
I'm trying to get it to work, but it doesn't want to work:
I tried:
exports['JD_logsV3']:createLog({
EmbedMessage = "Embed Message",
channel = "tweet",
title = 'Nieuwe tweet geplaatst door ' .. sourcePlayer ..' (' .. realUser .. ') met als bericht: ' .. message,
color = '#A1A1A1',
icon = '✅'
})
and
exports.JD_logsV3:createLog({
EmbedMessage = "Nieuwe tweet geplaatst door " .. sourcePlayer .." (" .. realUser .. ") met als bericht: " .. message,
channel = "tweet",
screenshot = false
})
But both end up in giving the same error:
An error occurred while calling export `createLog` in resource `JD_logsV3`:
Can you help?
Postal
Armor
Health
None of the above updates to reflect player information or location.
Server Framework: ESX
Sever Version: 2802
Script Version: 3.14
Script error:
[ script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:82: bad argument #2 to 'gsub' (string/function/table expected, got nil)
[ script:JD_logsV3] > handler (@JD_logsV3/server/main.lua:82)
[ script:JD_logsV3] > fn (@dev-heli/server.lua:35)
Hi,
I have tried to set up the v3 logs and have followed the readme process. however when i ensure the start the folder im stuck with this error in the live consol. Any suggestions please?
The JD logs resource isnt starting. Token and guild ID setup, so as all other channels. Tried to start it with no information, also dosent work.
Does it support logging events?
Any fix for that?
[ script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:176: bad argument #2 to 'gsub' (string/function/table expected, got nil)
[ script:JD_logsV3] > [global chunk] (@JD_logsV3/server/main.lua:176)
We are getting this Logged all the time.
script:JD_logsV3] DIR_GAS_CANISTER
If i remember correctly there was a V3 Version that had support for multiple Bots
What happened with that Version? Because i liked it more than the "current" one.
I'm not sure what the issue may be, however my boyfriend and I are trying to figure out how to set up our fivem logs to our discord page. Everything was done to the T based on the directions provided. Is it possible it's not working because of the resent fivem update? We tried an older version you guys' had provided, it worked for posting logs, but it didn't provide Steam ID's or licenses.
Currently I receive the error below in txAdmin console:
[ script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:261: attempt to index a nil value (local 'rv')
[ script:JD_logsV3] > userCallback (@JD_logsV3/server/main.lua:261)
Is there any fix available for this?
Best regards,
Zxckeyy
Hello!
I am currently trying to add weapon logs with custom weapons that I have, but adding only their hash to the clientTables.lua doesn't seem to work.
The chat logs dont work
[ script:JD_logsV3] SCRIPT ERROR in promise (unhandled rejection): Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
[ script:JD_logsV3] > WebSocketManager.createShards (/root/txData/QBCoreFramework_568EBC.base/resources/[dodatki]/JD_logsV3/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250)
[ script:JD_logsV3] > async Client.login (/root/txData/QBCoreFramework_568EBC.base/resources/[dodatki]/JD_logsV3/node_modules/discord.js/src/client/Client.js:254)
[ script:JD_logsV3]
Currently missing config folders and files therefore can not setup.
First of all, I would like to ask how can I turn off those prints in the console? (screenshot attached)
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)
When I type something in the chat and nothing comes up in the log channel my configuration is set up correctly but nothing comes in.
RegisterServerEvent('Prefech:JD_logsV3:playerShotWeapon') --[[ Shooting logs. ]]
AddEventHandler('Prefech:JD_logsV3:playerShotWeapon', function(weapon, count)
if Config.weaponLog then
--> ServerFunc.CreateLog({EmbedMessage = lang.shooting.msg:gsub("{name}", GetPlayerName(source)):gsub("{weapon}", weapon):gsub("{count}", count), player_id = source, channel = 'shooting'}) <--
end
end)
I think it's the gsub
Hi,
I have added this bot as I love it.
However, when a user try to shoot it does not show on the discord and this error pop up.
Error code:
script:monitor] [txAdminClient] Sending resources list to txAdmin.
[ script:JD_logsV3] New Screenshot Webhook Generated. (Old one got deleted)
[ script:JD_logsV3] SCRIPT ERROR: @JD_logsV3/server/main.lua:178: bad argument #2 to 'gsub' (string/function/table expected, got nil)
Can anyone advise?
check my github for patch i have a last update
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.