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

SourceBans 1.5.0 BETA game plugin


Post New Thread Closed Thread   
 
Thread Tools Display Modes
DrFallen
AlliedModders Donor
Join Date: Jul 2013
Location: ./root
Old 12-09-2013 , 04:07   Re: SourceBans 1.5.0 BETA game plugin
#81

You don't need to worry about ID's in this version as long as you have the cfg in the correct place sourcebans should recognize your server automatically via ip if not just add it manually in the webpanel. It 2.0 its later changed so you can add specific admins to a server rather then to a server group type.
DrFallen is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-05-2014 , 12:50   Re: SourceBans 1.5.0 BETA game plugin
#82

Quote:
Originally Posted by Otokiru View Post
Erm okay, I tried using this command:
sb_addadmin testuser steam STEAM_0:1:123456789 "" "Regulars"

Outcome: Still doesn't join the Regulars group nor reflected in SB WebPanel. SB WebPanel still displaying None in the Server Admin Permission. I've checked the database table directly, and the srv_group column entry is NULL.
I got the exact same issue as you, I can't get it to add the player to a group.






I don't really see im doing anything wrong

used this command to add the test client
PHP Code:
sb_addadmin "Test" "steam" "STEAM_0:1:2345678" "" "Supporters" 
__________________
DoPe^ is offline
extremeg
Senior Member
Join Date: Dec 2012
Old 01-08-2014 , 16:58   Re: SourceBans 1.5.0 BETA game plugin
#83

sb_addadmin "Test" "steam" "STEAM_0:1:2345678" "Supporters" not so ?
extremeg is offline
extremeg
Senior Member
Join Date: Dec 2012
Old 01-08-2014 , 16:59   Re: SourceBans 1.5.0 BETA game plugin
#84

But how is it meen to you must put the server ip. Only the Gameserver IP without Port or with port?
extremeg is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 01-14-2014 , 12:30   Re: SourceBans 1.5.0 BETA game plugin
#85

Sorry if this has been asked. But what is to stop map creators using the point_servercommand entity to run sm_addadmin command to gain Admin on servers people install the map on? Or is there a check in place?
Snaggle is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-14-2014 , 14:02   Re: Re: SourceBans 1.5.0 BETA game plugin
#86

Quote:
Originally Posted by Snaggle View Post
Sorry if this has been asked. But what is to stop map creators using the point_servercommand entity to run sm_addadmin command to gain Admin on servers people install the map on? Or is there a check in place?
Nothing, but it doesn't really change anything that SourceBans has this command now. Map authors could already change the rcon password and do other malicious things.

You need to be careful with what maps you install.
__________________

Last edited by Dr. McKay; 01-14-2014 at 14:02.
Dr. McKay is offline
_david_
SourceMod Donor
Join Date: Apr 2013
Old 01-14-2014 , 18:42   Re: SourceBans 1.5.0 BETA game plugin
#87

Got this error today:
Code:
L 01/14/2014 - 22:26:04: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:26:04: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:26:04: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:26:04: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
L 01/14/2014 - 22:26:18: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:26:18: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:26:18: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:26:18: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
L 01/14/2014 - 22:26:29: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:26:29: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:26:29: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:26:29: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
L 01/14/2014 - 22:28:38: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:28:38: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:28:38: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:28:38: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()

Last edited by _david_; 01-14-2014 at 18:42.
_david_ is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 01-15-2014 , 13:49   Re: SourceBans 1.5.0 BETA game plugin
#88

Quote:
Originally Posted by DoPe^ View Post
PHP Code:
sb_addadmin "Test" "steam" "STEAM_0:1:2345678" "" "Supporters" 
The command is correct, looks like I forgot that the old SB has a srv_group column in sb_admins.
Instead it's inserting stuff in sb_admins_servers_groups, which is apparently wrong.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 01-15-2014 at 13:50.
DJ Tsunami is offline
_david_
SourceMod Donor
Join Date: Apr 2013
Old 01-16-2014 , 08:58   Re: SourceBans 1.5.0 BETA game plugin
#89

Quote:
Originally Posted by _david_ View Post
Got this error today:
Code:
L 01/14/2014 - 22:26:04: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:26:04: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:26:04: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:26:04: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
L 01/14/2014 - 22:26:18: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:26:18: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:26:18: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:26:18: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
L 01/14/2014 - 22:26:29: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:26:29: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:26:29: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:26:29: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
L 01/14/2014 - 22:28:38: [SM] Native "GetArraySize" reported: Invalid Handle a77802ad (error: 1)
L 01/14/2014 - 22:28:38: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 01/14/2014 - 22:28:38: [SM]   [0]  Line 1147, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 01/14/2014 - 22:28:38: [SM]   [1]  Line 691, /Users/Tsunami/Documents/Zend/SourceBans 1.5/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
This error causes the ban menu to stop working (disappears after you select a user) only thing that fixes it atm is reloading the sb_bans plugin
_david_ is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-19-2014 , 08:13   Re: SourceBans 1.5.0 BETA game plugin
#90

Quote:
Originally Posted by DJ Tsunami View Post
The command is correct, looks like I forgot that the old SB has a srv_group column in sb_admins.
Instead it's inserting stuff in sb_admins_servers_groups, which is apparently wrong.
Alright thanks I just created a plugin instead to add and remove admins in the admins.cfg since sb 1.5 dosnt use admins.cfg anymore.

But will this be fixed, or do I need to upgrade to sb 2.0?
__________________
DoPe^ 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 17:19.


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