Raised This Month: $32 Target: $400
 8% 

Connect - A safer OnClientPreConnect forward


Post New Thread Reply   
 
Thread Tools Display Modes
Svv4T
Member
Join Date: Jul 2011
Old 10-20-2017 , 20:11   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #341

So I had the same error message as SmackDaddy earlier before updating Sourcemod to latest version. Afterwards, I had no errors, but my servers would crash as soon as someone tried to join. It took a while to troubleshoot, because again, I had no extension/plugins errors at all, and suddenly the servers were crashing without any error message.

It's only when I realized that it was crashing when someone was connecting that I tried launching without immunityreserveslots_connect.smx and my servers have been running fine for now.

I'm not sure if I can help troubleshoot the issue further, my knowledge is pretty limited.

Last edited by Svv4T; 10-20-2017 at 20:12.
Svv4T is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 10-20-2017 , 20:35   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #342

Yes, it seems immunityreserveslots_connect.smx is the culprit -- I posted this in the forum that plugin was in but it hasn't been updated in some time -- would be willing to pay someone to fix this.
SmackDaddy is offline
Svv4T
Member
Join Date: Jul 2011
Old 10-20-2017 , 21:10   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #343

I'll try to use H-Reserved instead if immunity reserved slots isn't being updated anymore. Servers are full right now, so I'll wait tomorrow.
Svv4T is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 10-20-2017 , 21:14   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #344

HReserved didn't work for me either -- same problem....I even tried to recompile both of the plugins and there's so much depreciated code, I think it's simply going to take someone to fix one or the other.....unless there's a change to Connect Asherkin can do to make it work again.........
SmackDaddy is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 10-20-2017 , 21:45   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #345

I'm also having this issue and it's solved by removing connect.
__________________
Fearts is offline
PolyQuad
Member
Join Date: Oct 2011
Old 10-20-2017 , 22:34   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #346

After today's update I suddenly had no sourcemod admin on my server, spent an hour messing around with plugins and configs, installed the latest MM and SM. Finally disabled the connect extension and my admin comes back. Sourcemod always ran fine but when I would sm_admin it would tell me that I didnt have permission.

Enable the connect extension and my admin goes away again.
PolyQuad is offline
TheXeon
Member
Join Date: May 2016
Old 10-20-2017 , 22:59   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #347

Can confirm that connect is disallowing people from properly authing on my Linux/TF2 servers. Without looking at the source, maybe it is intercepting and not continuing?
TheXeon is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-20-2017 , 23:14   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #348

Quote:
Originally Posted by PolyQuad View Post
After today's update I suddenly had no sourcemod admin on my server, spent an hour messing around with plugins and configs, installed the latest MM and SM. Finally disabled the connect extension and my admin comes back. Sourcemod always ran fine but when I would sm_admin it would tell me that I didnt have permission.

Enable the connect extension and my admin goes away again.
You were just lucky probably, your server was just having issues connecting to the steam servers, so no steamids were being validated.
Mitchell is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-20-2017 , 23:46   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #349

Quote:
Originally Posted by Mitchell View Post
You were just lucky probably, your server was just having issues connecting to the steam servers, so no steamids were being validated.
It could very well be this as the TF2 Game Coordinator has been yo-yoing ever since the update.

For that matter, steamstat.us has been getting nothing but 500 / 503 errors from the TF2 web API for the last 7 hours.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-21-2017 , 08:33   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #350

Is everyone that is having problems on Windows?

EDIT: I've found the problem, but it is going to need a new build, so I'll need to find the source code and get a build environment setup.

There is a bit in the code that looks like:
Code:
class CSteam3Server
{
public:
	void *m_pSteamGameServer;
	void *m_pSteamGameServerUtils;
	void *m_pSteamGameServerNetworking;
	void *m_pSteamGameServerStats;
	void *m_pSteamHTTP;
} *g_pSteam3Server;
It needs to be changed to:
Code:
class CSteam3Server
{
public:
	void *m_pSteamClient;
	void *m_pSteamGameServer;
	void *m_pSteamGameServerUtils;
	void *m_pSteamGameServerNetworking;
	void *m_pSteamGameServerStats;
	void *m_pSteamHTTP;
	void *m_pSteamInventory;
	void *m_pSteamUGC;
	void *m_pSteamApps;
} *g_pSteam3Server;
__________________

Last edited by asherkin; 10-21-2017 at 08:53.
asherkin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:27.


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