Raised This Month: $51 Target: $400
 12% 

[ANY] Ban Disconnected Players [UPDATED 1/3/17]


Post New Thread Reply   
 
Thread Tools Display Modes
Aymeric VII
BANNED
Join Date: Jun 2016
Location: Hiding under my sheets
Old 07-16-2016 , 15:30   Re: [ANY] Ban Disconnected Players
Reply With Quote #51

Quote:
Originally Posted by stoneyschillhouse View Post
without any errorlogs nobody can help u

I run SourceMod v1.7.3-dev+5292 an it works :-)
Ya see, if there were actual error logs then id probably have placed them. Just doesn't print any players name on the menu or on the list last player disconnected cmd.
Aymeric VII is offline
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 07-16-2016 , 17:30   Re: [ANY] Ban Disconnected Players
Reply With Quote #52

try this (it will complied with NO erros)

I have edited it to translate to german and add my ban reasons

Just try it if it runs for u a can make the changes do you need
Attached Files
File Type: sp Get Plugin or Get Source (ban_disconnected.sp - 352 views - 10.4 KB)
__________________
SRY FOR MY BAD ENGLISH
I'm german
stoneyschillhouse is offline
Aymeric VII
BANNED
Join Date: Jun 2016
Location: Hiding under my sheets
Old 07-17-2016 , 17:53   Re: [ANY] Ban Disconnected Players
Reply With Quote #53

Quote:
Originally Posted by stoneyschillhouse View Post
try this (it will complied with NO erros)

I have edited it to translate to german and add my ban reasons

Just try it if it runs for u a can make the changes do you need
This worked but, when you banned someone it doesn't show their name on the source bans website, nor does it add their ip.
Aymeric VII is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 07-17-2016 , 23:22   Re: [ANY] Ban Disconnected Players
Reply With Quote #54

Quote:
Originally Posted by Aymeric VII View Post
Splendid, Thanks Headline.
Would you mind adding a cvar for how many players can be stored on the menu?
Currently in the process of working that out now. Thanks for the suggestion.





Is it still not working on 1.8? I'll look deeper into it
headline is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 08-19-2016 , 07:38   Re: [ANY] Ban Disconnected Players
Reply With Quote #55

Hey, just wanted to know if the latest version is working and if that cvar has been added yet.
__________________
zeroibis is offline
misterG
Senior Member
Join Date: May 2015
Location: Romania
Old 08-19-2016 , 17:23   Re: [ANY] Ban Disconnected Players
Reply With Quote #56

Quote:
Originally Posted by zeroibis View Post
Hey, just wanted to know if the latest version is working and if that cvar has been added yet.
Latest version working on sm 1.7, cvar hasn't been added so far.
__________________
misterG is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-29-2016 , 23:08   Re: [ANY] Ban Disconnected Players
Reply With Quote #57

Okay guys. Just updated it and fixed a whole bunch of problems along with adding that cvar. Sorry about the delay.

Version 1.5:
  • Created ConVar to limit array size (hl_bandisconnected_max)
  • Cleaned up lots of weird problems
  • Now using more OO methods
  • Fixed where newer SteamID's were being truncated

Last edited by headline; 10-29-2016 at 23:10.
headline is offline
Aymeric VII
BANNED
Join Date: Jun 2016
Location: Hiding under my sheets
Old 10-29-2016 , 23:46   Re: [ANY] Ban Disconnected Players [UPDATED 10/29/16]
Reply With Quote #58

Ok so heres what i got.
1. When you set up the ban in the menu after you click the "reason" then it just goes blank. No message showing a successful ban.
2. The ban is no where 2 be found on the sourcebans list.
3. Yet the client was banned but not found on banned_ip.cfg or banned_user.cfg
4. if you restart the server the client is able to access the server.
Aymeric VII is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 10-31-2016 , 02:38   Re: [ANY] Ban Disconnected Players [UPDATED 10/29/16]
Reply With Quote #59

Quote:
Originally Posted by Aymeric VII View Post
Ok so heres what i got.
1. When you set up the ban in the menu after you click the "reason" then it just goes blank. No message showing a successful ban.
2. The ban is no where 2 be found on the sourcebans list.
3. Yet the client was banned but not found on banned_ip.cfg or banned_user.cfg
4. if you restart the server the client is able to access the server.
Similar findings here, running 1.5. No error logs.

When a player is banned, listip has 0 results, listid has the proper steamid and duration of ban, however banned_user.cfg remains empty. Nothing written to sourcebans.
__________________

Last edited by sneaK; 10-31-2016 at 02:40.
sneaK is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 01-03-2017 , 17:00   Re: [ANY] Ban Disconnected Players [UPDATED 10/29/16]
Reply With Quote #60

Quote:
Originally Posted by blackhawk74 View Post
Similar findings here, running 1.5. No error logs.

When a player is banned, listip has 0 results, listid has the proper steamid and duration of ban, however banned_user.cfg remains empty. Nothing written to sourcebans.
Fixed!
headline 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 17:02.


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