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

[CS:S/CS:GO] CT Bans


Post New Thread Reply   
 
Thread Tools Display Modes
graffiti007
Member
Join Date: Sep 2011
Old 12-11-2011 , 12:41   Re: [CS:S] CT Bans
Reply With Quote #21

If I do not have a website, what to do?
graffiti007 is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-11-2011 , 17:32   Re: [CS:S] CT Bans
Reply With Quote #22

SourceBans doesn't work well without a website. Try getting a website first.. Use your fast DL server, etc.
__________________
databomb is offline
graffiti007
Member
Join Date: Sep 2011
Old 12-12-2011 , 11:23   Re: [CS:S] CT Bans
Reply With Quote #23

My Russian translation
Attached Files
File Type: txt ctban.phrases.txt (1.9 KB, 275 views)
graffiti007 is offline
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 12-13-2011 , 06:13   Re: [CS:S] CT Bans
Reply With Quote #24

This plugin works fine in-game, it even puts all the info into the database correctly. Only problem is, when I delete a ban, OR change the timeleft to -1 OR even reduce the ban length via the database, it doesn't change anything or lift the ban. The only way to lift the ban is via in-game (removectban). Is there any way I can get it to work both ways?

Is this happening to anyone else?

Last edited by 4bdul; 12-13-2011 at 06:45.
4bdul is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-13-2011 , 07:07   Re: [CS:S] CT Bans
Reply With Quote #25

Quote:
Originally Posted by 4bdul View Post
This plugin works fine in-game, it even puts all the info into the database correctly. Only problem is, when I delete a ban, OR change the timeleft to -1 OR even reduce the ban length via the database, it doesn't change anything or lift the ban. The only way to lift the ban is via in-game (removectban). Is there any way I can get it to work both ways?

Is this happening to anyone else?
There is no reason to be editing the database in realtime any longer ... the reason the changes aren't immediate is because the actual CT ban status is stored via ClientPrefs, which turned into a make-shift native before I knew about natives in SP. As for the times, they're cached locally by the plugin so any changes to them while a player is in game is futile but if you change them when the player isn't in the game then it will update next time they join.
__________________

Last edited by databomb; 12-13-2011 at 07:43.
databomb is offline
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 12-13-2011 , 08:01   Re: [CS:S] CT Bans
Reply With Quote #26

Quote:
Originally Posted by databomb View Post
There is no reason to be editing the database in realtime any longer ... the reason the changes aren't immediate is because the actual CT ban status is stored via ClientPrefs, which turned into a make-shift native before I knew about natives in SP. As for the times, they're cached locally by the plugin so any changes to them while a player is in game is futile but if you change them when the player isn't in the game then it will update next time they join.
So it would be pointless to make a website-front-end script that lets you unban perma-banned CT's (by deleting the record or moving it elsewhere for history), since you can only do it by typing the cmd whilst in-game?

Last edited by 4bdul; 12-13-2011 at 08:09.
4bdul is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-13-2011 , 21:57   Re: [CS:S] CT Bans
Reply With Quote #27

Quote:
Originally Posted by 4bdul View Post
So it would be pointless to make a website-front-end script that lets you unban perma-banned CT's (by deleting the record or moving it elsewhere for history), since you can only do it by typing the cmd whilst in-game?
No, your code just needs to account for it. The database you're looking at is only for logging information. To unban someone you need to hook into wherever your ClientPrefs database is and look for the appropriate cookie_id corresponding to the CT Ban flag. If you show everything in the sm_cookies table you'll see it right away.
__________________
databomb is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 01-04-2012 , 17:03   Re: [CS:S] CT Bans
Reply With Quote #28

Would be nice if there was a list of CT banned player names/steamids/timeleft on ban. Maybe like !ctbanlist or something.
__________________
Fearts is offline
amohanlall32
SourceMod Donor
Join Date: Sep 2009
Location: Female
Old 01-06-2012 , 22:27   Re: [CS:S] CT Bans
Reply With Quote #29

Hey boss, you should add a cvar to change the URL for the ban appeals. It currently sends people to vintagejailbreak's site. The only way to change it is to modify the source atm.

Just a suggestion since not everyone knows how to recompile the source.
__________________
amohanlall32 is offline
mafiaman1564
Junior Member
Join Date: Jul 2011
Old 01-08-2012 , 15:32   Re: [CS:S] CT Bans
Reply With Quote #30

Yeah that would be a good idea.
mafiaman1564 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 12:26.


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