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

Anti-Reconnect (1.1.5)


Post New Thread Reply   
 
Thread Tools Display Modes
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 12-20-2008 , 17:06   Re: Anti-Reconnect v1.0.2
Reply With Quote #21

Change

if (StrEqual(reason, "Disconnect by user.")) || (StrEqual(reason, "Kicked for bad name"))

to

if (StrEqual(reason, "Disconnect by user.") || StrEqual(reason, "Kicked for bad name"))


The 2nd ) after the first StrEqual was ending the if early.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
zhelev81
Veteran Member
Join Date: Nov 2007
Location: Varna,Bulgaria
Old 12-20-2008 , 17:26   Re: Anti-Reconnect v1.0.2
Reply With Quote #22

Quote:
Originally Posted by Lebson506th View Post
Change

if (StrEqual(reason, "Disconnect by user.")) || (StrEqual(reason, "Kicked for bad name"))

to

if (StrEqual(reason, "Disconnect by user.") || StrEqual(reason, "Kicked for bad name"))


The 2nd ) after the first StrEqual was ending the if early.

now no errors but again doesn't stoped me when i change my name to adimin in game and i'm kicked.I enter the game immediately.

btw the reason in console is :
Disconnect: Kicked by Console : Bad name. something wrong with it ?
zhelev81 is offline
Send a message via ICQ to zhelev81 Send a message via MSN to zhelev81 Send a message via Skype™ to zhelev81
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 12-21-2008 , 10:37   Re: Anti-Reconnect v1.0.2
Reply With Quote #23

Sorry for the ")" that was to much, classical copy and paste mistake
Check you server log for the correct disconnect reason.
An example:
"bob<2371><STEAM_0:0:1xxxxxx><>" disconnected (reason "Connection closing")
The bold thing has to be added in the source
gH0sTy is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 02-20-2009 , 01:23   Re: Anti-Reconnect v1.0.2
Reply With Quote #24

Is not fixed :
Quote:
antireconnect.sp(143) : warning 234: symbol "SQL_ConnectEx" is marked as depr
ecated: Use SQL_ConnectCustom instead.
I have a error similar
eric0279 is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 02-20-2009 , 06:05   Re: Anti-Reconnect v1.0.2
Reply With Quote #25

Quote:
Originally Posted by eric0279 View Post
Is not fixed :
I have a error similar
I fixed that a while back for me, with this Version the error is gone.
Attached Files
File Type: sp Get Plugin or Get Source (antireconnect.sp - 714 views - 4.1 KB)
File Type: txt antireconnect.phrases.txt (342 Bytes, 233 views)

Last edited by gH0sTy; 02-20-2009 at 06:19.
gH0sTy is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 02-20-2009 , 06:12   Re: Anti-Reconnect v1.0.2
Reply With Quote #26

thanks gH0sTy
eric0279 is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 02-20-2009 , 06:20   Re: Anti-Reconnect v1.0.2
Reply With Quote #27

Quote:
Originally Posted by eric0279 View Post
thanks gH0sTy
I just remembered I also fixed some spelling mistakes so you need the antireconnect.phrases.txt as well!
gH0sTy is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 02-20-2009 , 18:44   Re: Anti-Reconnect v1.0.2
Reply With Quote #28

No thank you, I translate in French, excuse me if my English is bad ...
eric0279 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 03-05-2009 , 17:33   Re: Anti-Reconnect v1.0.2
Reply With Quote #29

Hi,

the script works very well and it does more ...

error in console from my dedicated server :
http://img22.**************/img22/344...nom3179912.jpg

Last edited by eric0279; 03-07-2009 at 04:04.
eric0279 is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 03-07-2009 , 11:46   Re: Anti-Reconnect v1.0.2
Reply With Quote #30

That's why I said
Quote:
you need the antireconnect.phrases.txt as well!
gH0sTy 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 18:38.


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