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

Release Legacy SourceBans 1.4.11 (Updated 2014/02/17)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 11-17-2008 , 21:47   Re: SourceBans (1.3.5) (UPDATE)
#1111

i cannot get permanent banning to work, and all admins have the e flag D:
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-18-2008 , 00:31   Re: SourceBans (1.3.5) (UPDATE)
#1112

Quote:
Originally Posted by BrutalGoerge View Post
i cannot get permanent banning to work, and all admins have the e flag D:
I just edited the sourcebans.sp file and removed that condition... works fine.
Antithasys is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 11-18-2008 , 02:07   Re: SourceBans (1.3.5) (UPDATE)
#1113

Quote:
Originally Posted by Antithasys View Post
I just edited the sourcebans.sp file and removed that condition... works fine.
Easy for you to say Mr. Awesome coder man.
:p

Can you sent it to me please?
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-18-2008 , 17:39   Re: SourceBans (1.3.5) (UPDATE)
#1114

Quote:
Originally Posted by BrutalGoerge View Post
Can you sent it to me please?
Mind you I use the latest SVN from sourcebans for the website and plugins. Don't think much has changed on the plugin part from the release to the SVN.

I changed this code near lines 406 in the DisplayBanTimeMenu function:

Code:
if(GetUserFlagBits(client) & (ADMFLAG_UNBAN|ADMFLAG_ROOT))      AddMenuItem(menu, "0", "Permanent");

Only my senior admins can unban and therefore permanent ban. If you just want to deal with the ban flag then remove the if statement (1st line in code paste) and you are done. Just leave in the 2nd line and recompile.
Antithasys is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 11-18-2008 , 19:12   Re: SourceBans (1.3.5) (UPDATE)
#1115

im having problems with this it seems... sometimes it uses the old way of banning... ie putting them in the banned_user.cfg, and reading the bans with listid instead of using the database.
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
colwulf
Member
Join Date: Jun 2008
Old 11-19-2008 , 09:21   Re: SourceBans (1.3.5) (UPDATE)
#1116

well what i have noticed is the Baned_user.cfg is actualy updated by the database so with that being said it is prob beacuse your database is loosing connection to the server temporaraly and not loading them...
colwulf is offline
colwulf
Member
Join Date: Jun 2008
Old 11-19-2008 , 09:24   Re: SourceBans (1.3.5) (UPDATE)
#1117

is there a way to give ppl the ability to edit there own ban but not change the time of the ban.. i need the person who ban the user to be able to upload a demofile but i have noticed that it gives them the ability to change there ban to a perm ban and i do not want my admins to be able to perm ban with out the senior admins saying yes Perm Ban this guy...
colwulf is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 11-19-2008 , 15:36   Re: SourceBans (1.3.5) (UPDATE)
#1118

impossible, since the database is on the same machine as the server.

It doesn't touch the banned_user.cfg

I can go in the web interface, and add bans through it, and they will be banned from the servers.

Just that bans in the servers aren't added to the database.
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 11-19-2008 , 18:17   Re: SourceBans (1.3.5) (UPDATE)
#1119

And you're sure these are bans made from sm_ban, and not for example by another plugin? SourceBans only makes temporary 5 minute bans, which as far as I know aren't written to banned_user.cfg (only permanent bans are).
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 11-19-2008 , 19:27   Re: SourceBans (1.3.5) (UPDATE)
#1120

sourcebans is the only banning plugin i have

it just makes the 5 minute tmp bans, and doesn't write to the database.
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
Closed Thread



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 23:23.


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