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

Release SourceBans++ (v1.6.4) [Updated: 2021-10-06]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Groruk
AlliedModders Donor
Join Date: Jul 2016
Old 07-07-2017 , 09:52   Re: [RELEASE] SourceBans++ (v1.6.1) [Updated: 2017-05-06]
#1131

Quote:
Originally Posted by sgt_phsco View Post
I've just updated from 1.6.1 to 1.6.2, and I'm still getting having this problem. I even made sure to recompile the plugins against the latest Sourcemod (1.8.0.6015). Votebanned players are still not listed on the Bans list.
Ofc there are not listed. To list a ban in the SourceBans++ database the plugin has to call
the SBBanPlayer native, but most plugins normally tend to use the BanClient native which is build into SourceMod.
You would have to alter the plugin your using so it calls the SBBanPlayer native.

Last edited by Groruk; 07-07-2017 at 09:52.
Groruk is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 07-09-2017 , 01:54   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1132

hey all, im still having this problem:

When i ban someone in game it bans them perfectly and adds it to the web interface, but when i unban them, it keeps them banned with just the message "you have been banned by this server" any ideas? I have basebans.smx disabled.
__________________
killjoy64 is offline
Wormy
Senior Member
Join Date: Jan 2013
Location: 2fort
Old 07-09-2017 , 06:25   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1133

Issues are showing up regarding the adminmenu.smx Sourcemod file after installing SourceBans, is there a conflict going on?

Code:
L 07/09/2017 - 00:03:14: [SM] Blaming: adminmenu.smx
L 07/09/2017 - 00:03:14: [SM] Call stack trace:
L 07/09/2017 - 00:03:14: [SM]   [0] TopMenu.Display
L 07/09/2017 - 00:03:14: [SM]   [1] Line 195, D:\builds\build-sourcemod-msvc12\windows-1.8\build\plugins\adminmenu.sp::Command_DisplayMenu
L 07/09/2017 - 00:03:14: [SM] Exception reported: Plugin not runnable
L 07/09/2017 - 00:03:14: [SM] Blaming: adminmenu.smx
L 07/09/2017 - 00:03:14: [SM] Call stack trace:
L 07/09/2017 - 00:03:14: [SM]   [0] TopMenu.Display
L 07/09/2017 - 00:03:14: [SM]   [1] Line 195, D:\builds\build-sourcemod-msvc12\windows-1.8\build\plugins\adminmenu.sp::Command_DisplayMenu
L 07/09/2017 - 00:03:14: [SM] Exception reported: Plugin not runnable
L 07/09/2017 - 00:03:14: [SM] Blaming: adminmenu.smx
Sourcemod plugin which have been disabled currently is basebans.smx. Does basecomm.smx or anything else also need to be disabled?
SourceBans version is 1.6.2. Sourcemod snapshot is 6015 (Windows).


Might be fixed, probably unrelated to SourceBans.
__________________

Last edited by Wormy; 07-09-2017 at 12:57.
Wormy is offline
MFS
AlliedModders Donor
Join Date: Dec 2010
Old 07-10-2017 , 19:02   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1134

I have a question about the permanent ban

Previously a permanent ban was available for the flag "unban"

I removed the flag "unban", but the permanent is still in the admin menu.

Is my problem, or is it the current behavior of the plugin?
MFS is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 07-12-2017 , 07:33   Re: [RELEASE] SourceBans++ (v1.6.1) [Updated: 2017-05-06]
#1135

Quote:
Originally Posted by Groruk View Post
Ofc there are not listed. To list a ban in the SourceBans++ database the plugin has to call
the SBBanPlayer native, but most plugins normally tend to use the BanClient native which is build into SourceMod.
You would have to alter the plugin your using so it calls the SBBanPlayer native.
OK, but why? I'm sure there is a reason for this (and if there is you'll have to explain it like I'm an idiot), but if SourceBans++ is made to work with SourceMod, why doesn't it use the SourceMod native BanClient?

But more importantly, swapping BanClient for SBBanPlayer does not work. I tried this with ban.sp (addons/sourcemod/scripting/basebans/bans.sp), searching for 'BanClient' and replacing it with 'SBBanPlayer', of which it found 2 instances to replace:

Lines 72-81:
Code:
    LogAction(client, target, "\"%L\" banned \"%L\" (minutes \"%d\") (reason \"%s\")", client, target, time, reason);

    if (reason[0] == '\0')
    {
        SBBanPlayer(target, time, BANFLAG_AUTO, "Banned", "Banned", "sm_ban", client);
    }
    else
    {
        SBBanPlayer(target, time, BANFLAG_AUTO, reason, reason, "sm_ban", client);
    }
I also checked the voteban.sp file (addons/sourcemod/scripting/basevotes/voteban.sp) but that has no instances of 'BanClient' to replace.

Attempting to compile the ban.sp file gives this error:


So unless I am mistaken, I have done as you suggested and changed 'BanClient' for 'SBBanPlayer' on all the relevant source files, and now the plugin fails to compile. Again, if there is a reason why SB++ uses 'SBBanPlayer' instead of 'BanClient' then please let me know why that is, but I would have assumed using the SourceMod natives would have made more sense compatibility wise.
__________________

Last edited by Werewolf_UK; 07-13-2017 at 09:08.
Werewolf_UK is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 07-12-2017 , 11:25   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1136

Is anyone else having problems getting sourcebans to connect to "not default" port 27015 on website?

Update: Yeah as expected needed web host to open ports..working fine now...cheers.

Last edited by MaloModo; 07-13-2017 at 18:06.
MaloModo is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 07-12-2017 , 11:34   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1137

@Werewolf_UK are you appending the sourcebans include?
__________________
sneaK is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 07-13-2017 , 09:06   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1138

Quote:
Originally Posted by sneaK View Post
@Werewolf_UK are you appending the sourcebans include?
What do you mean by this? The only changes I have done are those I've already documented in previous posts.
__________________
Werewolf_UK is offline
gio
Junior Member
Join Date: Feb 2017
Old 07-14-2017 , 01:41   [CSGO] Help With Sourcebans
#1139

So, ive been trying to setup sourcebans for my CSGO Surf Combat Server and i got it setup, but the latest comms and latest bans don't show up on the sourcebans website. I'm not sure what i could have done, I followed all the steps to set it up and its still not working. If anyone knows what I could of done wrong, then please respond.
gio is offline
Wormy
Senior Member
Join Date: Jan 2013
Location: 2fort
Old 07-14-2017 , 16:15   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1140

Is there a way to make it so logins are remembered? For whatever reason all accounts on my SB website get logged out after closing the site.
__________________
Wormy 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 10:55.


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