• DarkRP Lockpick not working
    6 replies, posted
Hey there, With my Garry's mod DarkRP server, the lockpicks don't work when attempting to open locked doors. After the lockpicking sequence occurs and it doesn't unlock, this piece of code appears in the server console: [Capy's Log - Logging System] lua/autorun/server/sv_hook_log.lua:151: attempt to index a string value with bad key ('IsValid' is not part of the string library) 1. error - [C]:-1 2. __index - lua/includes/extensions/string.lua:297 3. fn - lua/autorun/server/sv_hook_log.lua:151 4. Call - addons/ulib/lua/ulib/shared/hook.lua:109 5. Succeed - gamemodes/darkrp/entities/weapons/lockpick/shared.lua:128 6. unknown - gamemodes/darkrp/entities/weapons/lockpick/shared.lua:176 I've tried everything I can think of to fix this issue, please help. Thanks in advanced.
Your hook logger is doing string:IsValid at sv_hook_log line 151. Seems like it is treating the string as an entity.
So to fix this issue what should I do? Also, I have no files called 'Capy's Log' (previously had an addon before but deleted it and its data) so I don't know why it's popping up.
The lua files are still being ran from somewhere then. Check your lua cache and server files.
Sorry but I'm not that experienced with creating a Garry's mod server. Do you have a rough idea of exactly what to do? I'm not too sure what to do from here. I appreciate all the help you've provided so far.
Was "Capy's Log" a workshop or legacy addon?
It is from workshop. I've deleted Capy's Logs from the addons folder and I've gone to garrysmod/cache/srcds/899564487.gma/ and have deleted the Capy's Logs gma file. I've restarted the server and the file re-appears in that folder.
Sorry, you need to Log In to post a reply to this thread.