• gmsv_gatekeeper - Lua controlled server authentication
    453 replies, posted
[QUOTE=Aide;30323799][lua]if table.HasValue(bans, v:SteamID()) then[/lua] You can't check a players steamid before the server confirms its his.[/QUOTE] Yeah, but he's running that in a timer each 5 seconds.
[QUOTE=_Chewgum;30367824]Yeah, but he's running that in a timer each 5 seconds.[/QUOTE] Sure, still wouldn't matter. Unless I'm wrong.
Is it returning STEAM_ID_PENDING for everyone since the update?
Should be fixed with the latest version: [url]http://code.google.com/p/gmodmodules/source/detail?r=152[/url]
[QUOTE=VoiDeD;30709208]Should be fixed with the latest version: [url]http://code.google.com/p/gmodmodules/source/detail?r=152[/url][/QUOTE] Thanks! Edit: Also thanks to chrisaster for telling you :P
[QUOTE=Ideal-Hosting;30708580]Is it returning STEAM_ID_PENDING for everyone since the update?[/QUOTE] Holy shit it's minge hour on my server [editline]25th June 2011[/editline] Fix worked :buddy:
ARR! Its not working for me any one else?
Voided's update worked for me
[QUOTE=Ideal-Hosting;30709319]Thanks! Edit: Also thanks to chrisaster for telling you :P[/QUOTE] [img]http://cold.netburst.co.uk/file/Screenshot-2011-06-26_13.10.22.png[/img]
Could you compile it for linux now?
Very useful, thanks a bunch for making this!
[QUOTE=slayer3032;30736792]Could you compile it for linux now?[/QUOTE] Untested, but [url="http://dl.dropbox.com/u/7745323/gmsv_gatekeeper_linux.dll"]here you go[/url].
Gatekeeper is already broken after today's update.
Valve randomly changed the network protocol to 17. [img]http://dl.dropbox.com/u/99606/permanent/thefuck.png[/img] Fixed here: [url]http://code.google.com/p/gmodmodules/source/detail?r=153[/url]
Thanks! [editline]27th June 2011[/editline] Can we get a linux build too? :buddy:
[QUOTE=Banana Lord.;30755448]Can we get a linux build too? :buddy:[/QUOTE] That would be a Chrisaster/ComWalk thing. Linux scares me.
[QUOTE=VoiDeD;30755352]Valve randomly changed the network protocol to 17. [img]http://dl.dropbox.com/u/99606/permanent/thefuck.png[/img] Fixed here: [url]http://code.google.com/p/gmodmodules/source/detail?r=153[/url][/QUOTE] Thanks!
[QUOTE=Banana Lord.;30755448]Thanks! [editline]27th June 2011[/editline] Can we get a linux build too? :buddy:[/QUOTE] I could compile it but i need to link against a few srcds dynamic libraries, that i don't have. Mainly because the half life dedicated server update tool wont work. and has been hanging at "Checking bootstrapper version" for the last 30 minutes. (it always does this for me, both on windows and linux, does anyone knows more about this? this step used to only take like 10 seconds) EDIT: Getting rid of all firewalls solved a lot, silly update tool operating on weird ports. I'll have a go at it EDIT: Nevermind
[QUOTE=ColdFusionV2;30758862]I could compile it but i need to link against a few srcds dynamic libraries, that i don't have. Mainly because the half life dedicated server update tool wont work. and has been hanging at "Checking bootstrapper version" for the last 30 minutes. (it always does this for me, both on windows and linux, does anyone knows more about this? this step used to only take like 10 seconds)[/QUOTE] blame the tf2 update and all their damn hats yeah, i was stuck there for a while too.
--snip chrisaster below--
[url]http://dl.dropbox.com/u/7745323/gmsv_gatekeeper_linux.dll[/url]
Keep getting an error whenever my server launches with gateskeeper. assmod keeps saying ("attempt to index global 'gateskeeper' <a nil value>"), and then I go try to use an older version then the older version used gives me SteamID error. Can someone help?
[QUOTE=NickCC5;31096835]Keep getting an error whenever my server launches with gateskeeper. assmod keeps saying ("attempt to index global 'gateskeeper' <a nil value>"), and then I go try to use an older version then the older version used gives me SteamID error. Can someone help?[/QUOTE] Whats gateskeeper, you mean gatekeeper? Also, I'm using the "password" hook to check if a user is banned before letting them connect to my server, is there a way I can make this hook get called AFTER the original ban function because, I've implemented sourcebans with this and it spams my connection log instead of just banning the player for 5 minutes after ever rejoin which tells the user is banned for.
[QUOTE=Gfoose;31100313]Whats gateskeeper, you mean gatekeeper? Also, I'm using the "password" hook to check if a user is banned before letting them connect to my server, is there a way I can make this hook get called AFTER the original ban function because, I've implemented sourcebans with this and it spams my connection log instead of just banning the player for 5 minutes after ever rejoin which tells the user is banned for.[/QUOTE] Not unless you can make your own hook that is called afterwards. How long do you want the delay? [editline]13th July 2011[/editline] [QUOTE=NickCC5;31096835]Keep getting an error whenever my server launches with gateskeeper. assmod keeps saying ("attempt to index global 'gateskeeper' <a nil value>"), and then I go try to use an older version then the older version used gives me SteamID error. Can someone help?[/QUOTE] are you requiring the module? also, it's gatekeeper. not gate[b]s[/b]keeper.
Is there a way to make the password hook being called AFTER the default ban check, this will be extremely helpful for my server :D
[QUOTE=Gfoose;31324865]Is there a way to make the password hook being called AFTER the default ban check, this will be extremely helpful for my server :D[/QUOTE] You could do something kinda dumb and add a timer, or just do it in PlayerAuth.
[QUOTE=Banana Lord.;31325335]You should ... do it in PlayerAuth.[/QUOTE] [editline]25th July 2011[/editline] The problem with timers is that execution time is variable. Never put anything crucial in a timer unless you have to. Callbacks and hooks are the way to go.
Is anyone else getting "STEAM_ID_UNKNOWN" as everyones steamids from the hook?
[QUOTE=Banana Lord.;31325335]You could do something kinda dumb and add a timer, or just do it in PlayerAuth.[/QUOTE] I wan't to instantly kick a player when they connect to the server, not spawn inside yet. I just want to ban them because I have a hook running with sourcebans and it gives the player a reason why they're banned and then kicks them instantly and when they rejoin it will spam sourcebans ban joins :/ [editline]26th July 2011[/editline] [QUOTE=Spacetech;31326378]Is anyone else getting "STEAM_ID_UNKNOWN" as everyones steamids from the hook?[/QUOTE] Update your gatekeeper to this: [url]http://gmodmodules.googlecode.com/svn-history/r153/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll[/url]
I don't think you could really do anything there sadly
Sorry, you need to Log In to post a reply to this thread.