Raised This Month: $ Target: $400
 0% 

Advanced Bans (Real Time) by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
Balgaa
Senior Member
Join Date: Mar 2010
Old 04-01-2012 , 02:16   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1051

i installed version 0.8.1...

L 04/01/2012 - 14:15:46: [advanced_bans_sql.amxx] SQL Error: Access denied for user 'root'@'localhost' (using password: NO)

amx_sql_host "127.0.0.1"
amx_sql_user "advancedbans"
amx_sql_pass "test"
amx_sql_db "advancedbans"
//amx_sql_table "admin"
amx_sql_type "mysql"

any suggestion?

i modified code to get more detail error message as below.

Quote:
/* public QueryCreateTable(failstate, Handle:query, error[], errcode, data[], datasize, Float:queuetime)
{
if( failstate == TQUERY_CONNECT_FAILED )
{
set_fail_state("Could not connect to database.");
}
else if( failstate == TQUERY_QUERY_FAILED )
{
set_fail_state("Query failed.");
}
else if( errcode )
{
log_amx("Error on query: %s", error);
}
else

{
LoadBans();
}
}
*/
Quote:
public QueryCreateTable(failstate, Handle:query, error[], errcode, data[], datasize, Float:queuetime)
{
if( failstate )
{
log_amx("SQL Error: %s", error);
}
else
{
LoadBans();
}
}
exolent, any threaded version for 0.8.1?

Last edited by Balgaa; 04-01-2012 at 03:22.
Balgaa is offline
Balgaa
Senior Member
Join Date: Mar 2010
Old 04-01-2012 , 03:53   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1052

i found that 0.8.1 sql version doesnt work... installed 0.8 threaded version, no errors...

Exolent,

do you have plan to modify as below?
Quote:
Originally Posted by Racoon
These need to be fixed:

1) Not all plugin messages are in lang file. Some of them are inside the .sma
2) Make a limit for bans shown per page. Because when there are too many bans in .txt file and you try to look through the ban list you get kicked with "Reliable Channel Overflow"


by alexinno:
3) add date when player was banned
__________________

Last edited by Balgaa; 04-01-2012 at 03:54.
Balgaa is offline
CaTaLinUBR
Junior Member
Join Date: Mar 2012
Old 04-01-2012 , 04:35   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1053

please help me
on other scripts with mysql connection i have maked them to connect to the site and etc

but with this plugni ... it says Could Not Connect To Database
but in the database have been created some tabels from plugin but not all
CaTaLinUBR is offline
Balgaa
Senior Member
Join Date: Mar 2010
Old 04-01-2012 , 04:53   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1054

Quote:
Quote:
Originally Posted by NiQu
I got same problem as koyot.

I have it on top of everything in plugins.ini, and i dont know what blue2kx ment by "Try using threaded qeuries one".


use this version
http://forums.alliedmods.net/showpos...&postcount=393
change query[128] to query[512]

Last edited by Balgaa; 04-01-2012 at 04:54.
Balgaa is offline
CaTaLinUBR
Junior Member
Join Date: Mar 2012
Old 04-01-2012 , 06:49   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1055

Quote:
Originally Posted by CaTaLinUBR View Post
please help me
on other scripts with mysql connection i have maked them to connect to the site and etc

but with this plugni ... it says Could Not Connect To Database
but in the database have been created some tabels from plugin but not all


HELP ?
CaTaLinUBR is offline
Balgaa
Senior Member
Join Date: Mar 2010
Old 04-02-2012 , 04:00   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1056

Quote:
Originally Posted by Str@y View Post
This my version of "Advanced Bans"

+ include AmxBans-like commands:
- amx_ban <time in minutes> <nick, #userid, authid, ip> <reason>
- amx_banip <time in minutes> <nick, #userid, authid, ip> <reason>

Old commands also available:
- amx_ban_old <nick, #userid, authid> <time in minutes> <reason>
- amx_banip_old <nick, #userid, authid> <time in minutes> <reason>

This feature was needed, as there are plugins with support AmxBans and without the support AdvancedBans.
+ Choise of standart reasons to ban from menu.

+ Posibility to trying ban for IP if bad STEAM_ID

+ Simple Unban Menu ( amx_unbanmenu )
Can you make changes to THREADED version?
Balgaa is offline
Balgaa
Senior Member
Join Date: Mar 2010
Old 04-02-2012 , 04:14   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1057

i got done it...

Quote:
can you add simple delete/modify/add function to banlist?

=alexinno;839083]i don't know then how the table was created but it was there!

alexinno,

I attached a little php script for advanced bans , it is very simple so don't expect much.
If anybody wants to update it or add any new functions feel free to do so.

Install is very simple

Unzip the archive , change the settings in config.php then upload the files to your webserver and you're done

Screen:
http://img194.**************/my.php?image=banlist.png

07.08.2011
- Did some cleanup on the web interface requested by modernatur
02.10.2012
- Added missing error function reported by guipatinador
[IMG]http://img194.**************/my.php?image=banlist.png[/IMG]

Last edited by Balgaa; 04-08-2012 at 12:01.
Balgaa is offline
lqlqlq
Senior Member
Join Date: Jan 2008
Old 04-03-2012 , 12:54   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1058

I have session error:
Code:
L 04/03/2012 - 10:22:18: Start of error session.
L 04/03/2012 - 10:22:18: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20120403.log")
L 04/03/2012 - 10:22:18: [CSTRIKE] Invalid player 3
L 04/03/2012 - 10:22:18: [AMXX] Run time error 10 (plugin "plmenu.amxx") (native "cs_set_user_team") - debug not enabled!
L 04/03/2012 - 10:22:18: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Fix ?
lqlqlq is offline
The Assassin
Junior Member
Join Date: Dec 2011
Old 04-05-2012 , 08:37   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1059

Hello,

When i try to ban someone, it says "Target not authorized with server" any help?
The Assassin is offline
brlight
Senior Member
Join Date: Jun 2011
Old 04-06-2012 , 04:44   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1060

Hi there!Excelent plugin, just one question, is it possible that when a admin ban a player it doesnīt show in player console wich admin it was?I think it would be nice if we have that option to show or not to show admin name to the players that are banned, that way they donīt know who are the admins in the server.

P.S:-In log file the idea is excelent to show what admin banned and why, for other admins see.

Thank you!
brlight 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 13:56.


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