View Single Post
FunkyLoveCow
Senior Member
Join Date: May 2010
Old 12-02-2011 , 15:03   Re: Connect - A safer OnClientPreConnect forward
Reply With Quote #20

I think I did something horribly horribly wrong. In attempting to convert the cbaseserver reserved slot plug into using this extension, I modified two lines in the source.

For reference, this is the cbase plugin: http://hg.alliedmods.net/users/pred_...xt_reserves.sp

I modified line 2, to use the connect include and line 34 to be this (to match the connect function prototype)

Code:
public bool:OnClientPreConnect(const String:name[], String:pass[255], const String:ip[], const String:authid[],  String:rejectReason[255])
That's it for changed lines.

It compiles fine. However, when joining the server I get this error immediately:


There are no errors spit out to the console, server error log or SM error log. Ideas?
FunkyLoveCow is offline