• gmsv_gatekeeper - Lua controlled server authentication
    453 replies, posted
Any luck with the gatekeeper.* functions?
[QUOTE=Drakehawke;38126526]Any luck with the gatekeeper.* functions?[/QUOTE] Not caring of them enough, really. I'll let the original dev fix that for now.
[QUOTE=Python1320;38128439]Not caring of them enough, really. I'll let the original dev fix that for now.[/QUOTE] Mind uploading the source & makefile you're using to compile for 13 so I can take a look?
The gatekeeper functions are working for me on linux.. I thought I got the compile from python, but I guess not?? [url]http://puu.sh/1gkxy[/url] This gatekeeper works 100% on linux, and I have no idea where it came from. :v: [editline]21st October 2012[/editline] Oh wait, you guys are talking about beta. Never mind..
[QUOTE=Drakehawke;38128532]Mind uploading the source & makefile you're using to compile for 13 so I can take a look?[/QUOTE] Uh. What I did was that I just compiled BlackAwps' module but for linux, I think: [url]http://code.google.com/p/blackawps-glua-modules/source/browse/#svn%2Ftrunk%2Fgmsv_gatekeeper%2Fsrc[/url]
[QUOTE=Drakehawke;38126526]Any luck with the gatekeeper.* functions?[/QUOTE] gatekeeper.Drop using Chrisaster's gmsv_sourcenetinfo: [code]Python1320: !l local me=me timer.Simple(0,function()timer.Simple(0,function()GetNetChannel(me):Shutdown"byebye" end)end) Dropped Python1320 from server (byebye) [/code] Also found at: [url]http://g.iriz.uk.to/~srcds/modules/gm13/bin/[/url] [editline]22nd October 2012[/editline] Probably useless since it needs the player entity
[QUOTE=Python1320;38136293]gatekeeper.Drop using Chrisaster's gmsv_sourcenetinfo: [code]Python1320: !l local me=me timer.Simple(0,function()timer.Simple(0,function()GetNetChannel(me):Shutdown"byebye" end)end) Dropped Python1320 from server (byebye) [/code] Also found at: [url]http://g.iriz.uk.to/~srcds/modules/gm13/bin/[/url] [editline]22nd October 2012[/editline] Probably useless since it needs the player entity[/QUOTE] It'll do for now, once the players dropped I can disconnect them on reconnect with the hook, I'll just refresh it in an interval to check for changes.
[url]http://code.google.com/p/gmodmodules/source/diff?spec=svn222&r=222&format=side&path=/trunk/gmsv_gatekeeper/src/tmpclient.h[/url] With Windows master race builds.
Updated linux build
gatekeeper.GetNumClients() would be very very useful to have atm.. all values return 0. If at all possible, a fix would be MUCH appreciated.
[QUOTE=MonkeysLP;38223756]gatekeeper.GetNumClients() would be very very useful to have atm.. all values return 0. If at all possible, a fix would be MUCH appreciated.[/QUOTE] [code]22:01 - Python1320: !table gatekeeper.GetNumClients() { ["spawning"] = 0, ["active"] = 19, ["total"] = 19, } [/code] huh?
monkeys are you using Windows or Linux
Didn't work yesterday, returned 0 with me in the server. Now it works great, brb suicide.
At the moment when I return false to deny a player entry, It doesn't seem to do anything. Any thoughts (using windows)?
[QUOTE=Teddi Orange;38226783]At the moment when I return false to deny a player entry, It doesn't seem to do anything. Any thoughts (using windows)?[/QUOTE] Returning false doesn't seem to work, but returning only a string does.
There is a Working Version of the Gatekeeper on GMod 13? I mean WORKING? link to download please?
[url]http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/Release%20-%20GM13/gmsv_gatekeeper.dll[/url]
[QUOTE=Drakehawke;38300592][url]http://gmodmodules.googlecode.com/svn/trunk/gmsv_gatekeeper/Release%20-%20GM13/gmsv_gatekeeper.dll[/url][/QUOTE] The latest build doesn't work correctly with 13.
The hook works correctly for me. Nothing else though.
[QUOTE=KingofBeast;38301316]The hook works correctly for me. Nothing else though.[/QUOTE] Not even the hook works for me :v: May try a redownload I suppose.
If the newest module truly is broken and I'm running an older build I can get the specific DLL to you if you like.
[QUOTE=Teddi Orange;38301288]The latest build doesn't work correctly with 13.[/QUOTE] you can try this one [url]http://blackawps-glua-modules.googlecode.com/svn/trunk[/url]
[QUOTE=Teddi Orange;38301354]Not even the hook works for me :v: May try a redownload I suppose.[/QUOTE] working fine for me, I am using the Linux version though [editline]3rd November 2012[/editline] oh wait, if you mean latest version as in update 146/147 then I dunno (again Linux)
[QUOTE=_Chewgum;38301511]you can try this one [URL]http://blackawps-glua-modules.googlecode.com/svn/trunk[/URL][/QUOTE] Cheers, giving this one a go. [B]Edit: [/B]Hook gets called, thanks!
I cannot require anymore, i tried put on lua/include/module or lua/bin the .dll but are not working. Couldn't include file 'includes\modules\gatekeeper.lua' (File not found) (@addon s/nexus gatekeeper/lua/autorun/gatekeeper.lua (line 20)) [ERROR] addons/nexus gatekeeper/lua/autorun/gatekeeper.lua:20: Module not found! 1. require - [C]:-1 2. unknown - addons/nexus gatekeeper/lua/autorun/gatekeeper.lua:20
what is the name of the file you put in lua/bin
[QUOTE=Banana Lord.;38372454]what is the name of the file you put in lua/bin[/QUOTE] gmsv_gatekeeper.dll
needs to be gmsv_gatekeeper_win32.dll
-snip-
Latest version from November 14 crashes the server on player join. Last version from November 10 did the same thing. Blawkawps, I have a crash dump for you if you need it.
Sorry, you need to Log In to post a reply to this thread.