AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   Connect - A safer OnClientPreConnect forward (https://forums.alliedmods.net/showthread.php?t=162489)

GoD-Tony 12-02-2011 15:07

Re: Connect - A safer OnClientPreConnect forward
 
Quote:

Originally Posted by FunkyLoveCow (Post 1606504)
There are no errors spit out to the console, server error log or SM error log. Ideas?

Remember that this extension either rejects or accepts players on connect. You need to change the "return" to "return true or false" in both cases, and then again at the end of the forward.

When rejecting a player you should format the rejection message so the user doesn't get garbage data like in your screenshot.

FunkyLoveCow 12-02-2011 15:40

Re: Connect - A safer OnClientPreConnect forward
 
Quote:

Originally Posted by GoD-Tony (Post 1606511)
Remember that this extension either rejects or accepts players on connect. You need to change the "return" to "return true or false" in both cases, and then again at the end of the forward.

When rejecting a player you should format the rejection message so the user doesn't get garbage data like in your screenshot.

D'oh. Thanks. I completely ignored that new bool return. Thank you.

Dr. McKay 12-07-2011 21:50

Re: Connect - A safer OnClientPreConnect forward
 
Getting an error when trying to load the extension:
Quote:

Failed to find CBaseServer__RejectConnection function.
Can I just not late-load it, or am I missing something?

ph 12-09-2011 19:04

Re: Connect - A safer OnClientPreConnect forward
 
I get this error, any reasons why?
Quote:

[11] <FAILED> file "connect.ext.2.ep2v.dll": Failed to find CBaseServer__CheckMasterServerRequestRestart function.
Windows OS

Dr. McKay 12-16-2011 16:09

Re: Connect - A safer OnClientPreConnect forward
 
Umm, this extension is apparently crashing my server. I installed and loaded it, and it crashed my server a few times. Removing it stopped the crashes.

CentOS 6 32-bit, TF2

asherkin 12-16-2011 18:13

Re: Connect - A safer OnClientPreConnect forward
 
Quote:

Originally Posted by Dr. McKay (Post 1614376)
Umm, this extension is apparently crashing my server. I installed and loaded it, and it crashed my server a few times. Removing it stopped the crashes.

CentOS 6 32-bit, TF2

Make sure you either have the SourceMod Gamedata updater working or update the gamedata manually from http://hg.limetech.org/projects/conn...nect.games.txt.

Dr. McKay 12-17-2011 00:59

Re: Connect - A safer OnClientPreConnect forward
 
Quote:

Originally Posted by asherkin (Post 1614446)
Make sure you either have the SourceMod Gamedata updater working or update the gamedata manually from http://hg.limetech.org/projects/conn...nect.games.txt.

That's probably it, the gamedata wasn't chmodded to be writable, so it couldn't be updated. Thanks.

Experto 12-21-2011 14:35

Re: Connect - A safer OnClientPreConnect forward
 
I have the same problem...

Already updated the gamedata and the problem persists ...

MFS 12-23-2011 05:36

Re: Connect - A safer OnClientPreConnect forward
 
Aafter installing the server, the client can not access the server, writes the kind of "connection is not established after 4 attempts" (do not remember exactly, but the meaning is the same)

debian, css

404UserNotFound 12-27-2011 15:59

Re: Connect - A safer OnClientPreConnect forward
 
So I went and added the Updater plugin, as well as that Auto Steam Update plugin to my Linux server.

Also added cURL, SteamTools, and this extension.

Started my server up.....it crashes on start, restarts itself, crashes again, restarts itself, crashes again....you get the idea.

So I stopped my server, removed this extension and started it back up......it started fine. No crashes.

So for some reason, this extension causes my server to repeatedly crash on start. And because my server auto-restarts itself (after 15 seconds), it's a repetitive crash.

I've checked my SourceMod error logs, and nothing appears in them. I can't seem to find the location of my server's crash dumps, so I can't exactly check them.

And I should note that my server is using the latest Linux-version SourceMod/MetaMod versions.

Edit: I see mentions of some gamedata thing up there. I'm gonna check that out later. I have a feeling that might be why my server crashes on load.


All times are GMT -4. The time now is 03:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.