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

PermaMute v0.1 (5/25)


Post New Thread Reply   
 
Thread Tools Display Modes
NIGathan
Senior Member
Join Date: Aug 2011
Location: /dev/null
Old 11-09-2013 , 22:51   Re: PermaMute v0.1 (5/25)
Reply With Quote #81

How would I go about removing all the permamutes/permagags on the database? I've been using this plugin for a very long time now and I feel like starting over with a fresh slate for everyone. Since I try my hardest to not ban anyone, this is the main punishment given. Also, excellent plugin thanks for making it!
NIGathan is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-10-2013 , 09:50   Re: PermaMute v0.1 (5/25)
Reply With Quote #82

Quickest way without waiting for a plugin to be made would be to download a copy of your clientprefs-sqlite.sq3 file and use SQLite Database Browser to delete the clientprefs for "permamute-mute" and "premamute-gag".

Open the .sq3 file and find the ID for the above two permamute entries in the sm_cookies table. Once you know the ID, execute the following two SQL Statements (assuming permamute-mute id = 24066 and permamute-gag = 24067);

delete from sm_cookie_cache where cookie_id = '24066'

delete from sm_cookie_cache where cookie_id = '24067'


Remember, to replace your clientprefs file, your server has to be not running.
__________________
View my Plugins | Donate
TnTSCS is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 12-02-2013 , 22:18   Re: PermaMute v0.1 (5/25)
Reply With Quote #83

Hi,

I was about to install this plugin (great one btw, the fact that a simple reconnection lets players talk again being really annoying...), but a permanent mute is too much I think.
Moreover if a lot of players are muted, I'm probably sure I will have the same problem as NIGathan.

So my request here would be to have the exact same plugin (or the default SM plugin, nevermind) but with which we could control mute length... just like when we ban someone, we can choose the length.

If not possible or too complicated, I was thinking of a plugin that would mute players for like 2 hours before they get automatically unmuted.
It would be much better than just an instant ban that lets players reconnect, or than a permamute, in my opinion.

Any help would be much appreciated.

St00ne
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 12-02-2013 at 22:18.
St00ne is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 12-03-2013 , 00:08   Re: PermaMute v0.1 (5/25)
Reply With Quote #84

I could help you with this if the author is no longer active. PM me if you're interested
__________________
View my Plugins | Donate
TnTSCS is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 12-03-2013 , 01:29   Re: PermaMute v0.1 (5/25)
Reply With Quote #85

Thanks a lot for your offer.
I just checked the code of basecomm earlier (very quickly), and I think I can try something using g_Muted boolean and a simple timer (which means that my server would not use the default basecomm plugin, but that would be a 1st step...)
If I can't or if I figure out that it's more complicated, I'll send you a PM.
I'll keep you informed.
Regards,
++
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 12-07-2013 at 13:28.
St00ne is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 12-03-2013 , 16:24   Re: PermaMute v0.1 (5/25)
Reply With Quote #86

no problem... let me know... I was thinking of expanding this to work with SourceBans... this and my spray ban plugin... working on that one now and may as well work on a voice ban feature... that way, it could span all of your servers and not just the one it's running on. Both will have timed ban ability
__________________
View my Plugins | Donate
TnTSCS is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 12-04-2013 , 19:43   Re: PermaMute v0.1 (5/25)
Reply With Quote #87

Wow, yes, that would be great!

Much more than what I did, but I did manage to have something working.
I'll send you the code by PM tomorrow.
I can't make it public for now since it uses the code of basecomm and I have absolutely no credit on it. Plus, I can't advise people to use my edit instead of the default one, especially if it's not approved.

++
__________________

*** *** ***
-My plugins-
St00ne is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 12-06-2013 , 11:58   Re: PermaMute v0.1 (5/25)
Reply With Quote #88

PM sent.

Cheers,

St00ne

Last edited by St00ne; 12-07-2013 at 13:27.
St00ne is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 12-07-2013 , 13:27   Re: PermaMute v0.1 (5/25)
Reply With Quote #89

Btw if someone needs it I can send it via PM. Or shall I post it here?

Last edited by St00ne; 12-07-2013 at 13:28.
St00ne is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 12-07-2013 , 15:26   Re: PermaMute v0.1 (5/25)
Reply With Quote #90

I'll be making a new post for a perma mute that has SB integration... along with the needed changes to the SB database (I'll need someone to update the front end though... and it will be for SB2 btw.

ETA is unknown right now as I only work on it during my free time, which is little to none lately But since my 4 daughter's softball is done, I should have more time on the weekends. Also, I'm transitioning all of my plugins to BitBucket using DrMcKay's suggestions
__________________
View my Plugins | Donate

Last edited by TnTSCS; 12-07-2013 at 15:27.
TnTSCS 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 10:52.


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