• gmsv_gatekeeper - Lua controlled server authentication
    453 replies, posted
[QUOTE=Simple_sa;32891743]Same here. Getting: You crashed in gmsv_gatekeeper.dll with the failure INVALID_POINTER_READ_c0000005_gmsv_gatekeeper.dll!Unknown Only got it after I updated my server with ''OB Dedicated Server' version 135'[/QUOTE] [url="http://code.google.com/p/gmodmodules/source/detail?r=162"]Make sure you are using the latest binary first.[/url] If that doesn't fix it, PM me the crash dump.
Loading gatekeeper module... Illegal termination of worker thread! Threads must negotiate an end to the thread before the CThread object is destroyed. It prints that in console and crashes when I try to start my server. It's windows and it's gatekeeper 4.35. This happend after updating the server.
[QUOTE=DjFoxx;32997093]Loading gatekeeper module... Illegal termination of worker thread! Threads must negotiate an end to the thread before the CThread object is destroyed. It prints that in console and crashes when I try to start my server. It's windows and it's gatekeeper 4.35. This happend after updating the server.[/QUOTE] [url]http://gmodmodules.googlecode.com/svn-history/r162/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll[/url] Use this binary instead. The version on the downloads page ("4.35") is outdated.
[QUOTE=Chrisaster;32997580][url]http://gmodmodules.googlecode.com/svn-history/r162/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll[/url] Use this binary instead. The version on the downloads page ("4.35") is outdated.[/QUOTE] Works, thank you :)
TF2 engine update broke this again.
I am not sure if it's broken or not. Something isn't ran it might have to do with this. STEAMID is still displayed and the moduel loads. Would be nice if you could investigate on this.
The Windows signature broke, so the hook wasn't being called. I've updated the mask to fix it and also reduce the chance of it happening again. [url]http://code.google.com/p/gmodmodules/source/detail?r=167[/url]
Thanks for fast response as always Azu
That would be Chrisaster, he's less Asian and more active then Azu.
My bad, I saw the anime avatar and didn't read the name.
I made a simplified version of gatekeeper that doesn't use any sigscans. [url]http://code.google.com/p/blackawps-glua-modules/source/browse/trunk/gmsv_fuckoff/Release/gmsv_fuckoff.dll[/url] [lua]require("fuckoff") -- fuckoff.Drop( ply:EntIndex(), "Some reason" ) -- Don't rely on this hook for a valid steamid hook.Add( "ClientConnect", "fuckoff1", function( name, steamid, ip, index ) print( "ClientConnect", name, steamid, ip, index ) --return false -- Deny connection end ) -- You can rely on this hook for a valid steamid hook.Add( "SteamIDValidated", "fuckoff2", function( name, steamid, index ) print( "SteamIDValidated", name, steamid, index ) return "Fuck off " .. name end )[/lua] Never used the password field and I got a little tired of getting the update every so often for gatekeeper.
I'm digging the name. Im curious what index is, explain sir.
Source update has broke this. Edit: See below post (or use the convars to set it to 18).
[lua]gatekeeper.ForceProtocol(18)[/lua]
I've added support for protocol 19, but you can stick with forcing the protocol to 18 if you don't want to update.
[QUOTE=KingofBeast;33096798][lua]gatekeeper.ForceProtocol(18)[/lua][/QUOTE] That's a useful stopgap I added a few fixes ago. Just keep in mind when something important actually changes in the structure of the appticket, forcing the protocol won't work. Regardless, it should be safe to always have it forcing protocol 18, because any change in the appticket format is going to require an entire module update anyway.
Update to my problem! It's still crashing, but with new code! Gatekeeper 4.61, and here's the code. [lua]require("gatekeeper") hook.Add("PlayerPasswordAuth", "Dropem", function(nam, pas, stem, ip) print(Format("User: '%s' Pass: '%s' SteamID: '%s'", name, pass, stem)) local bl = {"STEAM_0:0:15520816"} if table.HasValue(bl, tostring(stem)) then return {false, "Testin still."} elseif (nam == "Steel") then return {false, "Testin."} end end)[/lua] Crashes with a memory error about a restricted address being 'read'. I really don't understand why it's doing this now, it's either returned a Lua error or crashed ever since I started using this module. Should I be using gatekeeper.ForceProtocol(18)?
[QUOTE=Killer_Steel;33281898]Update to my problem! It's still crashing, but with new code! Gatekeeper 4.61, and here's the code. [lua]require("gatekeeper") hook.Add("PlayerPasswordAuth", "Dropem", function(nam, pas, stem, ip) print(Format("User: '%s' Pass: '%s' SteamID: '%s'", name, pass, stem)) local bl = {"STEAM_0:0:15520816"} if table.HasValue(bl, tostring(stem)) then return {false, "Testin still."} elseif (nam == "Steel") then return {false, "Testin."} end end)[/lua] Crashes with a memory error about a restricted address being 'read'. I really don't understand why it's doing this now, it's either returned a Lua error or crashed ever since I started using this module. Should I be using gatekeeper.ForceProtocol(18)?[/QUOTE] 4.61? Do you mean the SVN version? If so, can you upload the crash dump somewhere?
I got this one through code.google.com, but it wasn't with SVN. I'll upload the crash dump, but I haven't got ample access to the server computer at the moment.
[QUOTE=Killer_Steel;33286261]I got this one through code.google.com, but it wasn't with SVN. I'll upload the crash dump, but I haven't got ample access to the server computer at the moment.[/QUOTE] Just to make sure, you got it from [url="http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll"]here[/url] and not the downloads section right?
Downloads section. Is that an outdated module?
[QUOTE=Killer_Steel;33286753]Downloads section. Is that an outdated module?[/QUOTE] It depends. if your server hasn't been updated in a year then no it's not.
[QUOTE=Killer_Steel;33286753]Downloads section. Is that an outdated module?[/QUOTE] Yes. The downloads page isn't used anymore. Download [url="http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll"]this[/url] instead.
Aye aye, then. I'll grab it when I get home.
Sorry for the double-post, but it works perfectly. Much obliged, Chris, you've made me a happy guy.
Seems to have broken with the latest patch... [img]http://www.bananatree.im/i/01KIPsA.png[/img]
Does forcing the protocol work?
[GateKeeper] ConnectClient( netProt: 21, authProt: 3 ) [GateKeeper] Forcing network protocol to 21! Gatekeeper: SteamID: 0 Join 'Python1320' - STEAM_ID_UNKNOWN
Did you try forcing a older version?
[url]http://code.google.com/p/gmodmodules/source/detail?r=171[/url]
Sorry, you need to Log In to post a reply to this thread.