• gmsv_gatekeeper - Lua controlled server authentication
    453 replies, posted
  • Not sure if I'm doing something wrong but I downloaded the Windows module and I'm getting this when I test it: [lua]'e:\steam\steamapps\--\garrysmod\garrysmod\lua\includes\modules\gmsv_gatekeeper.dll': %1 is not a valid Win32 application. [/lua]
  • [QUOTE=Banana Lord.;33707828]I think that means you need a C++ redist but I'm not sure[/QUOTE] They're statically linked, so I don't think it's that.
  • Avatar of lorde banana
  • [QUOTE=Chrisaster;33707926]They're statically linked, so I don't think it's that.[/QUOTE] Oh. [editline]13th December 2011[/editline] Oh never mind that won't work either -snip-
  • [QUOTE=TheCloak;33708099]is it doing that for anybody else?[/QUOTE] Are you using the [url="http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll"]latest version[/url]? Maybe try redownloading it just incase? I can't see what else would cause that issue.
  • [QUOTE=Chrisaster;33708160]Are you using the [url="http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll"]latest version[/url]? Maybe try redownloading it just incase? I can't see what else would cause that issue.[/QUOTE] That works, thanks. I thought I had downloaded the latest version too, strange.
  • Avatar of nexusbr
  • I'm using the last Version. But are crashing when kick [code] Server logging enabled. Server logging data to file logs\L0103000.log L 01/03/2012 - 14:15:01: Log file started (file "logs\L0103000.log") (game "G:\s rcds2\orangebox\garrysmod") (version "4785") Connection to Steam servers successful. Public IP is 189.126.16.191. VAC secure mode is activated. L 01/03/2012 - 14:17:26: "|E2+| Nexus [BR]<2><STEAM_0:0:11418796><>" connected, address "189.126.16.191:27007" L 01/03/2012 - 14:17:26: "|E2+| Nexus [BR]<2><STEAM_0:0:11418796><>" disconnecte d (reason "No outsiders here!") Dropped |E2+| Nexus [BR] from server (No outsiders here!) threadtools.cpp (2574) : Assertion Failed: Illegal termination of worker thread 'CNet Encrypt:0' Assert( Assertion Failed: Illegal termination of worker thread 'CNet Encrypt:0' ):.\threadtools.cpp:2574 threadtools.cpp (2574) : Assertion Failed: Illegal termination of worker thread 'SteamFindServerThread' threadtools.cpp (2574) : Assertion Failed: Illegal termination of worker thread 'CIPCServer::m_ThreadClient' [/code] Using only this addon: [code] require("gatekeeper") function Auth( name, address ) gatekeeper.Drop(gatekeeper.GetUserByAddress(address), "No outsiders here!") end hook.Add( "PlayerConnect", "playerconnect", Auth ) [/code] Anybody Help?
  • Avatar of Ruzza
  • [QUOTE=nexusbr;34032693]I'm using the last Version. But are crashing when kick [code] Server logging enabled. Server logging data to file logs\L0103000.log L 01/03/2012 - 14:15:01: Log file started (file "logs\L0103000.log") (game "G:\s rcds2\orangebox\garrysmod") (version "4785") Connection to Steam servers successful. Public IP is 189.126.16.191. VAC secure mode is activated. L 01/03/2012 - 14:17:26: "|E2+| Nexus [BR]<2><STEAM_0:0:11418796><>" connected, address "189.126.16.191:27007" L 01/03/2012 - 14:17:26: "|E2+| Nexus [BR]<2><STEAM_0:0:11418796><>" disconnecte d (reason "No outsiders here!") Dropped |E2+| Nexus [BR] from server (No outsiders here!) threadtools.cpp (2574) : Assertion Failed: Illegal termination of worker thread 'CNet Encrypt:0' Assert( Assertion Failed: Illegal termination of worker thread 'CNet Encrypt:0' ):.\threadtools.cpp:2574 threadtools.cpp (2574) : Assertion Failed: Illegal termination of worker thread 'SteamFindServerThread' threadtools.cpp (2574) : Assertion Failed: Illegal termination of worker thread 'CIPCServer::m_ThreadClient' [/code] Using only this addon: [code] require("gatekeeper") function Auth( name, address ) gatekeeper.Drop(gatekeeper.GetUserByAddress(address), "No outsiders here!") end hook.Add( "PlayerConnect", "playerconnect", Auth ) [/code] Anybody Help?[/QUOTE] Why not use this hook instead [lua]hook.Add( "PlayerPasswordAuth", "PlayerPasswordAuth", function( name, pass, steamID, ip ) return { false, "Your SteamID couldn't be authorized, try again later." } end )[/lua] Don't know if that'll help.
  • Avatar of nexusbr
  • [QUOTE=Ruzza;34032791]Why not use this hook instead [lua]hook.Add( "PlayerPasswordAuth", "PlayerPasswordAuth", function( name, pass, steamID, ip ) return { false, "Your SteamID couldn't be authorized, try again later." } end )[/lua] Don't know if that'll help.[/QUOTE] Perfect, thanks for the help
  • When i connect i get a error 'Connection timed out after 4 retry's' Anyway to fix this?
  • Avatar of Bl00dyhell9
  • [QUOTE=MKILLER;34207216]When i connect i get a error 'Connection timed out after 4 retry's' Anyway to fix this?[/QUOTE] What in the world are you blabbering about? Your post doesn't contribute to the thread at all.
  • Avatar of James
  • [QUOTE=Bl00dyhell9;34311487]What in the world are you blabbering about? Your post doesn't contribute to the thread at all.[/QUOTE] The fact that he is posting here, in any logical persons mind, would be because when he uses the module he gets this error, and when he doesn't, well he doesn't. It's then safe to conclude that the error comes from the module. Him posting that, while using this module, it produces an error ( or bug , call it how you want ) is not stupid are blabbering or non-contributory information to a thread which is directly linked to the development of this said module. I'm going to cut it down for you just in case you didn't understand. Him posting that while using this module his garry's mod breaks is not irrelevant to the developer that makes this module ( and to be honest who are you to be posting that what he says is irrelevant? ).
  • Avatar of lorde banana
  • this module doesn't stop you from even connecting to the server, it kicks you after you do so
  • Avatar of James
  • [QUOTE=Banana Lord.;34312545]this module doesn't stop you from even connecting to the server, it kicks you after you do so[/QUOTE] Knowing that the source connection protocol might have changed ( hence this new error ), It could be a new bug. Other possibilities could be that the DLL is bugged and ( possibly ) freezes when someones joins ( You know, cause this module is directly linked to joining? ) and therefor the server times out, and [U]therefor[/U] [B][I]"Connection timed out after 4 retry's"[/I][/B].
  • Avatar of lorde banana
  • [QUOTE=James xX;34313217]Knowing that the source connection protocol might have changed ( hence this new error ), It could be a new bug. Other possibilities could be that the DLL is bugged and ( possibly ) freezes when someones joins ( You know, cause this module is directly linked to joining? ) and therefor the server times out, and [U]therefor[/U] [B][I]"Connection timed out after 4 retry's"[/I][/B].[/QUOTE] no, by the time gatekeeper can access the connection the player has already physically connected, this error means that he never even connected to srcds itself. if the protocol changed it would say so
  • Avatar of nexbr
  • Him posting that while using this mod )... Yes, exactly i'm a php web developer by 7 years, kid. but with gmod I only have 3. I know a bit of LUA, but I did 3 GREATS addons, twice for a contry blocker / adm reserved slot, but i lost the fist at 5/7/10 days ago I did again but VERY BEST ONE, so kid be quiet with things. You don't know
  • Avatar of Ruzza
  • [QUOTE=nexbr;34318444]Him posting that while using this mod )... Yes, exactly i'm a php web developer by 7 years, kid. but with gmod I only have 3. I know a bit of LUA, but I did 3 GREATS addons, twice for a contry blocker / adm reserved slot, but i lost the fist at 5/7/10 days ago I did again but VERY BEST ONE, so kid be quiet with things. You don't know[/QUOTE] What has this got to do with this module, stop shit posting Please.
  • Avatar of lorde banana
  • [QUOTE=nexbr;34318444]Him posting that while using this mod )... Yes, exactly i'm a php web developer by 7 years, kid. but with gmod I only have 3. I know a bit of LUA, but I did 3 GREATS addons, twice for a contry blocker / adm reserved slot, but i lost the fist at 5/7/10 days ago I did again but VERY BEST ONE, so kid be quiet with things. You don't know[/QUOTE] I can't tell if you're serious or not... the guy's problem is that he isn't connecting to the right IP/didn't port forward, this module can't mess with networking that way - it would have to stop the connection from even reaching the srcds process
  • Avatar of DylanWilson
  • [QUOTE=nexbr;34318444]Him posting that while using this mod )... Yes, exactly i'm a php web developer by 7 years, kid. but with gmod I only have 3. I know a bit of LUA, but I did 3 GREATS addons, twice for a contry blocker / adm reserved slot, but i lost the fist at 5/7/10 days ago I did again but VERY BEST ONE, so kid be quiet with things. You don't know[/QUOTE] they had internet in brazil 7 years ago? :O
  • Avatar of Amokov
  • [QUOTE=nexbr;34318444]Him posting that while using this mod )... Yes, exactly i'm a php web developer by 7 years, kid. but with gmod I only have 3. I know a bit of LUA, but I did 3 GREATS addons, twice for a contry blocker / adm reserved slot, but i lost the fist at 5/7/10 days ago I did again but VERY BEST ONE, so kid be quiet with things. You don't know[/QUOTE] You can code PHP? Damn, you must know everything there is to know about network programming. Oh wait.
  • Avatar of Ruzza
  • [QUOTE=Amokov;34450369]You can code PHP? Damn, you must know everything there is to know about network programming. Oh wait.[/QUOTE] Stop bumping the off topic posts, we stopped replying a week ago. [editline]30th January 2012[/editline] My server crashes when I kick the player before the gatekeeper.Drop(uid, reason) so, a double kick will force gatekeeper to crash the server. I fixed this issue but it should also be fixed in the module as nexusbr's code above also seemed to have crashed the server.
  • Avatar of James
  • [QUOTE=Ruzza;34457866]Stop bumping the off topic posts, we stopped replying a week ago. [/QUOTE] Here in the binary modules part of the forum, just because someone doesn't reply for a week doesn't mean that the thread must be buried? I mean seriously, how does this affect your life to the point you need to whine about it? In any case, my point is valid, just because a user made a post doesn't give you the right to "gang up on him" ( when you say "we stopped replying a week ago", It implies that everyone had gotten together and agreed that they won't post or something, and by posting your comment you're excluding him somewhat from this. You should have instead posted "there have been no replies for a week", even if you have no right to complain about that.)
  • Avatar of Ruzza
  • [QUOTE=James xX;34463143]Here in the binary modules part of the forum, just because someone doesn't reply for a week doesn't mean that the thread must be buried? I mean seriously, how does this affect your life to the point you need to whine about it? In any case, my point is valid, just because a user made a post doesn't give you the right to "gang up on him" ( when you say "we stopped replying a week ago", It implies that everyone had gotten together and agreed that they won't post or something, and by posting your comment you're excluding him somewhat from this. You should have instead posted "there have been no replies for a week", even if you have no right to complain about that.)[/QUOTE] Sorry I was just trying to prevent a user from posting a worthless bump derailing the topic.
  • Avatar of Assault_Trooper
  • Looks like something in the srcds updates broke it today. [url]http://img.troopersgaming.com/1334754565.png[/url] Tested on three different servers, all updated today.
  • Avatar of lorde banana
  • By Banana Lord, FACEPUNCH TODAY AMERICAN, - Reports of a broken gatekeeper module have been coming in. UPDATE - At about 2:07 PM we got an update from FACEPUNCH TODAY AMERICAN correspondent Chrisaster, confirming the issue with gatekeeper in regards to the latest Source Engine update: 2:07 PM - Chrisaster: broken sig UPDATE - Around 2:24 PM we have an update from FACEPUNCH TODAY AMERICAN viewer Banana Lord, who conferred with Chriaster on the issue. [quote]2:20 PM - Chrisaster: wait don't you run a Linux server? 2:20 PM - Banana Lord: yes 2:20 PM - Chrisaster: the Linux version doesn't use a signature 2:20 PM - Chrisaster: so it should work fine 2:20 PM - Chrisaster: can you test it? 2:21 PM - Banana Lord: sure 2:24 PM - Banana Lord: [img]http://www.bananatree.im/i/GDWQ15XOEoB.png[/img] 2:24 PM - Chrisaster: so that's a yes? 2:24 PM - Banana Lord: yessir 2:24 PM - Chrisaster: good[/quote]
  • Avatar of Assault_Trooper
  • [QUOTE=Chrisaster;35623588][url]http://code.google.com/p/gmodmodules/source/detail?r=184[/url][/QUOTE] Alright, awesome, thanks.
  • [QUOTE=Chrisaster;35623588][url]http://code.google.com/p/gmodmodules/source/detail?r=184[/url][/QUOTE] No Linux love?