gmsv_gatekeeper - Lua controlled server authentication
453 replies, posted
[QUOTE=LiquidGame;23753696]Correct.[/QUOTE]
Well, in the event that this helps with any possible loss in the signature's precision, try this version with an expanded signature [url=http://code.google.com/p/gmodmodules/downloads/detail?name=gmsv_gatekeeper4.22.zip&can=2&q=]here[/url].
I actually found that it was caused by something else disconnecting me just before the Gatekeeper function was called.
P.S I deserve a box. D:
Engine update broke gatekeeper again on linux, should be fixed again. Once again, no need to update if you're running windows.
question, how does one specify a username??
Since the last update gatekeeper seems to crash the client when they're dropped.
It seems to crash me when I start a listen with it required
[QUOTE=Disseminate;25711487]It seems to crash me when I start a listen with it required[/QUOTE]
One of the functions it hooks has a new argument due to recent changes in the protocol. You'll have to wait for ComWalk or AzuiSleet to update it.
azuigay
[editline]29th October 2010[/editline]
cumwalk
[editline]29th October 2010[/editline]
voidedpenis
[highlight](User was banned for this post ("why reply" - Lithifold))[/highlight]
Update please, I'd like for my servers to be back online.
/bugtofix
All of my scripts use this D:
AzuiSleet is working on it right now.
My hero.
[QUOTE=VoiDeD;25715046]AzuiSleet is working on it right now.[/QUOTE]
azuigay
r135 fixes the new engine update. You can get it off the SVN here:
[url]http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll[/url]
Well done Azui ;)
[QUOTE=AzuiSleet;25715510]r135 fixes the new engine update. You can get it off the SVN here:
[url]http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll[/url][/QUOTE]
[img]http://i54.tinypic.com/5dm9a0.png[/img]
I've never seen so much shit being posted, compile it yourself if you don't thrust azu.
[QUOTE=AzuiSleet;25715510]r135 fixes the new engine update. You can get it off the SVN here:
[url]http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/bin/gmsv_gatekeeper.dll[/url][/QUOTE]
How about linux?
Jason, how about stop trolling Azui?
[QUOTE=jason2010;25716783]obviously photoshopped[/QUOTE]
compile it your self if you dont trust him , and dont be a D-H a troll this forum when you think its infected
[QUOTE=slayer3032;25719413]How about linux?[/QUOTE]
I'm with sadistic, please add Linux support.
Gatekeeper: [Gmod.biZ] Predator joined with IP xxx and SteamID
STEAM_0:1:25710806
xxxxx: password failed.
Servers still crash
Is your server updated fully? did you revert your engine.dll by accident? Otherwise, can you post some code to reproduce the issue
[QUOTE=AzuiSleet;25728643]Is your server updated fully? did you revert your engine.dll by accident? Otherwise, can you post some code to reproduce the issue[/QUOTE]
giver or reciever
[editline]29th October 2010[/editline]
is voidy on top
[highlight](User was permabanned for this post ("CombineGuruX breaking rules on an alt" - SteveUK))[/highlight]
[code]L 10/29/2010 - 16:32:33: spOkcalB (STEAM_ID_UNKNOWN) Is a pirate!
myipsnip:27005: password failed..
--Server Crash[/code]
Server 100% up to date and ( assuming the xenons servers version of gm_gatekeeper, 4.2?, is correct ).
[lua]hook.Add("PlayerPasswordAuth", "ReservedSlots:PlayerPasswordAuth", function( name, pass, steamid, ip )
local explodedip = string.Explode( ":", ip )
local IsReserved = table.HasValue( ReservedAdmins, steamid )
local Banned = BAdmin:DoBanCheck( steamid, explodedip[1] )
if Banned then
return Banned
elseif steamid == "STEAM_ID_UNKNOWN" then
ServerLog( name .. " (" .. steamid .. ") Is a pirate!" )
return { false, "Do what you want cause' a pirate is free! You are a pirate!" } -- Yeah.. It's stupid I know.
elseif IsReserved then
table.insert( ReservedAdminsOnline, steamid )
game.ConsoleCommand("sv_visiblemaxplayers ".. MaxPlayers() - reservedslots + #ReservedAdminsOnline .."\n")
return true
elseif !BAdmin.ConnectedToSQLServer or !BAdmin.BansReady then
return { false, "SQL not connected yet! You joined too early or the server is having issues!" }
elseif lockedreason:GetString() != "" then
return { false, lockedreason:GetString() }
elseif string.find( name, "") then -- BEL char check
return { false, "No" }
elseif steamid != "STEAM_0:1:9326998" and string.find( string.lower( name ), "blackops") then
return { false, "You are not BlackOps. Change your name please." }
elseif gatekeeper.GetNumClients().total >= MaxPlayers() - reservedslots + #ReservedAdminsOnline and !IsReserved then
return { false, "Kicked for using a reserved slot!" }
end
end )[/lua]
Thanks, I'm working on it. Give me a bit.
Wait, are you getting those errors with revision 135? If so, I don't want to tell my hosts to get it just yet.
Sorry, you need to Log In to post a reply to this thread.