Retard-proof guide to securegmod errors
IF SOMEONE LINKED YOU TO THIS PAGE BUT YOU'RE TOO LAZY TO READ EACH LINE, YOU CAN FUCK OFF
This guide is supposed to be complementary to this one : https://securegmod.com/drm/#/help
How to find securegmod errors
PSA : "[SECUREGMOD]: attempting for ..." is not a fucking error, stop asking
First you need to find on your server if you have any securegmod errors.
Follow this guide, EACH STEPS (but the pastebin one) REALLY to get the correct server side logs, just stop at the step where you need to upload logs on pastebin.
Now you should have a console.log file on your server, less than 1mb because as i told you, you obviously removed the file before joining your server to regenerate a log file (before clearing logs in other words).
Download the console.log file to your computer, open it with your favorite text editor software.
Do a search by pressing CTRL+F.
Depending on what you're looking for, here is what you need to do :
##* If you're looking for securegmod error, DRM errors and not errors with the addon using securegmod, enter this : Please include this text and the few lines surrounding the error when reporting.
If you have any of these errors, it should find something like :

Here the error is : The product failed to authenticate. Reason This copy of the script has been bound to another IP.
And that's it, that's what you were looking for, here are how to fix the known securegmod errors :
The product failed to authenticate. Reason This copy of the script has been bound to another IP. -> Every addon you download (hear the ZIP copy) is bound to the first ip+port it's used on, which means you CANNOT have things like 2 .sh/.bat for one garrysmods folder since it's going to use differents ports. Stop asking us to check the ip linked to it, JUST REDOWNLOAD THE ADDON FOR THE NEW IP+PORT COMBOThe product failed to authenticate. Reason Generic rejection - you could be running a server not connected to the internet.-> That's pretty easy, your firewall configuration isn't allowing securegmod to connect to your server to check the servername (no need to go deep in the details, that's all you need to know), it can be your firewall, your ddos protection or your server provider if it's in Russia or some other deficient democracy, just because you can join it doesn't mean the firewall is configured correctly. Don't tell us it is, because it's not.- Anything saying Internal Error -> Just redownload the addon, it means the unique copy generation failed, downloading a new one will fix it
##* If you're looking for addons errors that are using securegmod, that's another issue, first you need to find the weird-looking error, enter this : securegmod/securegmod1.lua
There is actually two kinds of weird-looking errors, the ones with a connection issue message right before them like this :
** VVV NOT THE KIND OF ERROR WE'RE LOOKING FOR SINCE IT HAS A GMODSECURE ERROR IN IT VVV**
** ^^^ NOT THE KIND OF ERROR WE'RE LOOKING FOR SINCE IT HAS A GMODSECURE ERROR IN IT ^^^**
This is what we're looking for, without any securegmod message above and in it, (the messages i showed you in the first part, just above this part)

Now let's start the analysis but there is things you need to understand first.
Each gmodstore addons is shipping it's own securegmod1.lua file with it, at the same location, something like /your_addon_name/lua/securegmod/securegmod1.lua, so you should have multiple times the same file on your server, in the error, the path i just showed you will show, it's not wat you're looking for since it's just going to be showing the securegmod file location, that will change, depending on what was the last loaded addon with securegmod in it.
Here, it's not the bkeycard addon, since it's only the securegmod file that will be in any other securegmod addon, but it's the medicmod addon as shown on the picture.
Now open a ticket to the real addon owner and send him the error, you should also send him your console.log file, everything on pastebin, don't be a retard, don't copy/paste things in the ticket
How to identify which script with only it's securegmod ID
So you're having this kind of messages : [SECUREGMOD]: attempting for 34 (where 34 can be anything else) And you want to know which script it is.
Pretty simple,
Search in your garrysmod folder (via ftp search or anything else you have) the file : addon-34.lua
And you'll find it in garrysmod/addons/the_addon/lua/securegmod/manifests
where /the_addon/ is obviously the addon you're looking for
Or you can run trixter's code vvvv
Or just run
in your console to find out which scripts use securegmod with their respective ids :)
(Before you complain, here is the code it runs and hastebin doesn't allow you to modify pastes, if you block CompileString then that's your fault)
Thanks Lapjn, I hope people will finally make the difference between a message trying to connect to a server and an error message !
So Trixters command finds EVERY addon that uses SecureGMod?
By[MYTHARP] Merlinat 27th of July 2018 23:59:32
So Trixters command finds EVERY addon that uses SecureGMod?
That is correct :)
This only finds the SecureGMOD DRM though! Some people like Seanna use a custom DRM and don't tell you they use one, I find it quite disappointing and he is NEVER gonna share a DRM free copy to anyone. Somehow understandable but in my opinion he should at least add it to the description. https://www.gmodstore.com/users/view/76561197998285548/scripts
I don't see any scripts for that Seanna showing up, they all get disabled or something?
ByThe Commanderat 28th of July 2018 01:46:15
I don't see any scripts for that Seanna showing up, they all get disabled or something?
They are disabled yes, he says he "needs time". Not sure why but if he says he needs time we'll give him that. I hope this won't end up like a few other addons did, ending up in a disfunctional addon because the DRM no longer functions correctly and the developer no longer responds..
