Raised This Month: $ Target: $400
 0% 

[STB2] Save Temporary Bans 2


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-10-2012 , 11:57   Re: [STB2] Save Temporary Bans 2
Reply With Quote #51

I use the SQLite (built in with SM)
__________________
View my Plugins | Donate
TnTSCS is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 07-01-2012 , 03:32   Re: [STB2] Save Temporary Bans 2
Reply With Quote #52

Quote:
Originally Posted by Bacardi View Post
Ok, need look someday when have time.
Need setup MySQL also in my computer....

You both (if you are reading), are you using SQLite or MySQL connection ?

Dunno would this error happen when have somekind slow connection with MySQL or something like that.
I have SQlite but dont use it I have it set just to save to file , it used to work on my windows server im on linux now and get these errors ,everything is setup how it used to be

Code:
sm_stb2_banlist
L 07/01/2012 - 11:28:05: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 07/01/2012 - 11:28:05: [SM] Displaying call stack trace for plugin "stb2.smx":
L 07/01/2012 - 11:28:05: [SM]   [0]  Line 120, stb2.sp::admcmd_list()
sm_stb2_unbanlist
L 07/01/2012 - 11:30:27: [SM] Native "SQL_LockDatabase" reported: Invalid database Handle 0 (error: 4)
L 07/01/2012 - 11:30:27: [SM] Displaying call stack trace for plugin "stb2.smx":
L 07/01/2012 - 11:30:27: [SM]   [0]  Line 120, stb2.sp::admcmd_list()
s.m.a.c head is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-01-2012 , 05:25   Re: [STB2] Save Temporary Bans 2
Reply With Quote #53

pfff.....
- Show current cvars, type in server console sm cvars plugin_id_number
- Could you show your ...addons/sourcemod/configs/databases.cfg without username+passwords.
- Can you attach in post your ...addons/sourcemod/data/stb2.sq3 in zip.
Bacardi is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-01-2012 , 11:27   Re: [STB2] Save Temporary Bans 2
Reply With Quote #54

it doesn't reply all the time with that error... like today, no error.

Here are the CVars:
Code:
08:21:48 sm cvars 36
08:21:48 [SM] Listing 2 convars for: [STB2] Save Temporary Bans 2
           [Name]                           [Value]
           stb2_leave_srcds_ban             0
           stb2_mode                        2
databases.cfg


sq3 attached

...:: TnT Test ::...
Just did a test ban on myself then executed the sm_stb2_banlist and it's working as expected... weird that it works sometimes and others not

Code:
sm_stb2_banlist

STEAM_1:0:3599266  = 2012-07-01 10:36:02


L 07/01/2012 - 10:31:11: [SM] STB2 command executed from server console
STEAM_1:0:3599266  = 2012-07-01 10:36:02
Attached Files
File Type: zip stb2 - Copy.zip (591 Bytes, 89 views)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 07-01-2012 at 11:33.
TnTSCS is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 07-02-2012 , 03:56   Re: [STB2] Save Temporary Bans 2
Reply With Quote #55

well for some strange reason it works today ?O_O?
I banned myself then in console wrote
sm_stb2_banlist
and it shows my steam id and a time and date
but Im not banned I can join is this because im admin ?
s.m.a.c head is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-02-2012 , 10:43   Re: [STB2] Save Temporary Bans 2
Reply With Quote #56

Yes...

Immunity
Admins with flag "e" (unban).
__________________
View my Plugins | Donate
TnTSCS is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 07-02-2012 , 11:40   Re: [STB2] Save Temporary Bans 2
Reply With Quote #57

Quote:
Originally Posted by TnTSCS View Post
Yes...

Immunity
Admins with flag "e" (unban).
ok nice it seems to work then , just for the record I didnt change anything so I dont know why I was getting the said error
well thanks everyone for your help
here have crabs ;)
s.m.a.c head is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 09-03-2012 , 03:19   Re: [STB2] Save Temporary Bans 2
Reply With Quote #58

The plugin works well for me. Thanks.
But:

- Come on guys. No one can't do translations for this plugin?
Here are the HU translation:
Attached Files
File Type: txt stb2.phrases.txt (219 Bytes, 96 views)

Last edited by pubhero; 09-03-2012 at 03:20.
pubhero is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-09-2012 , 17:50   Re: [STB2] Save Temporary Bans 2
Reply With Quote #59

Works in CSGO too! Great job bacardi.
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
killjoy64
AlliedModders Donor
Join Date: Apr 2012
Location: 81.773644,-46.933594
Old 09-09-2012 , 19:02   Re: [STB2] Save Temporary Bans 2
Reply With Quote #60

Do you need to put exec autoexec in server.cfg?
killjoy64 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:05.


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