Иконка ресурса

Lite Bans 2.2

Нет прав для скачивания
Сообщения
265
Реакции
308
neygomon добавил(а) новый ресурс:

Lite Bans - Lite-bans - бан система

Lite-bans - бан система для игровых серверов с возможностью блокировок по меткам, с причинами и т.д.
  • Бан по Steamid + ip;
  • Бан по cookie.
ps Плагин плохо протестирован, поэтому просьба предоставлять максимально подробно баг-репорты.
ps2 Исходник пока что не предоставляю, так как код "не прибран" потому что плагин в разработке. Позже выложу.
Узнать больше об этом ресурсе...
 
Сообщения
57
Реакции
54
neygomon, кнопки репорта не нашел, по этому тут пишу.
банит, вот не банит :)
L 11/30/2017 - 22:22:01: [AMXX] Displaying debug trace (plugin "lite_bans_183.amxx", version "1.5")
L 11/30/2017 - 22:22:01: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 11/30/2017 - 22:22:01: [AMXX] [0] lite_bans.sma::LoadCvars (line 737)
L 11/30/2017 - 22:22:01: [AMXX] [1] lite_bans.sma::plugin_init (line 155)
L 11/30/2017 - 22:22:01: [MySQL] Invalid info tuple handle: 0
L 11/30/2017 - 22:22:01: [AMXX] Displaying debug trace (plugin "lite_bans_183.amxx", version "1.5")
L 11/30/2017 - 22:22:01: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery")
L 11/30/2017 - 22:22:01: [AMXX] [0] lite_bans.sma::plugin_cfg (line 171)
L 11/30/2017 - 22:22:07: [MySQL] Invalid info tuple handle: 0
L 11/30/2017 - 22:22:07: [AMXX] Displaying debug trace (plugin "lite_bans_183.amxx", version "1.5")
L 11/30/2017 - 22:22:07: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery")
L 11/30/2017 - 22:22:07: [AMXX] [0] lite_bans.sma::CheckBan (line 354)
L 11/30/2017 - 22:22:08: [MySQL] Invalid info tuple handle: 0
Данные к бд указаны верно, инфа по серверу ниже
Таблицу же не нужно было пересоздавать?
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.3.0.605-dev
Build date: 22:55:56 Nov 8 2017 (1306)
Build from: https://github.com/dreamstalker/rehlds/commit/dab2663
ReGameDLL version: 5.3.0.275-dev
Build date: 16:51:10 Nov 27 2017
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/519a731
[ 1] VoiceTranscoder RUN - VoiceTranscoder.so v2017RC3 ini ANY ANY
[ 2] AMX Mod X RUN - amxmodx_mm_i386.so v1.8.3-dev+5147 ini Start ANY
[ 3] Reunion RUN - reunion_mm_i386.so v0.1.75 ini Start Never
[ 4] Rechecker RUN - rechecker_mm_i386.so v2.5 ini Chlvl ANY
[ 5] ReAuthCheck RUN - reauthcheck_mm_i386.so v0.1.6 ini Start Never
[ 6] ReSemiclip RUN - resemiclip_mm_i386.so v2.3.9 ini Chlvl ANY
[ 7] WHBlocker RUN - whblocker_mm_i386.so v1.5.692 ini Chlvl ANY
[ 8] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.0 pl2 ANY Never
[ 9] hackdetector RUN - hackdetector_amxx_i386.so v0.15.328.lite pl2 ANY ANY
[10] ReAPI RUN - reapi_amxx_i386.so v5.2.0.142-dev pl2 ANY Never
[11] MySQL RUN - mysql_amxx_i386.so v1.8.3-dev+5147 pl2 ANY ANY
[12] FakeMeta RUN - fakemeta_amxx_i386.so v1.8.3-dev+5147 pl2 ANY ANY
[13] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.8.3-dev+5147 pl2 ANY ANY
[14] Engine RUN - engine_amxx_i386.so v1.8.3-dev+5147 pl2 ANY ANY
[15] CStrike RUN - cstrike_amxx_i386.so v1.8.3-dev+5147 pl2 ANY ANY
[16] Fun RUN - fun_amxx_i386.so v1.8.3-dev+5147 pl2 ANY ANY
16 plugins, 16 running
[ 1] Admin Loader 2.9 neygomon admin_loader.am running
[ 2] Lite Bans 1.5 neygomon lite_bans_183.a debug
[ 3] ScreenMaker 1.1 neygomon screen_maker.am running
[ 4] ReAimDetector API 0.2.0 ReHLDS Team reaimdetector.a running
[ 5] AFK Control 1.4.1 [Rnd neygomon afk_control.amx running
[ 6] CSStatsX SQL 0.7.4 serfreeman1337 csstatsx_sql.am running
[ 7] Ultimate Chats Control 2.9 neygomon ucc.amxx running
[ 8] UCC Addon: VoteGAG 1.1 neygomon ucc_votegag.amx running
[ 9] Lite Admin ESP 1.0 neygomon admin_esp.amxx running
[ 10] Lite Recoder 1.0.1 neygomon amx_demorec.amx running
[ 11] Menus Front-End 1.5 untest neugomon supervip.amxx running
[ 12] Advanced Vip 1.1 Hypa_[KZ] advanced_vip.am running
[ 13] Slots Reservation 1.2 pUzzlik admin_slots.amx running
[ 14] Mode 2x2 2.5re s1lent mode.amxx running
[ 15] unknown unknown unknown adminfreelook.a running
[ 16] Damager 0.1b Subb98 damager.amxx running
[ 17] Menus Front-End 1.5 untest neugomon adminmenu.amxx running
[ 18] Advert Messages 1.2.2 neygomon adverts.amxx running
[ 19] Team Balance Control 1.3.9 gyxoBka TeamBalanceCont running
[ 20] Killer ScreenFade 0.0.5 Vaqtincha reapi_killer_sc running
[ 21] MapConfigX 1.1 AdaskoMX mapconfigx.amxx running
[ 22] Steam Bonus 1.3e Gudaus steam.amxx running
[ 23] KiLL Assist poka_4to_b [email protected] kill_assist.amx running
[ 24] FM ResetScore 0.1 neygomon fm_rs.amxx running
[ 25] Rock to Ban 1.02 Safety1st rock2ban.amxx running
[ 26] Advanced MapChooser 1.1.0 neygomon map_chooser.amx running
[ 27] Ping Control 1.31 neygomon Ping_Control.am running
[ 28] [reAPI] Flash Control 1.1 neugomon flash_control.a running
[ 29] Admin Commands 1.8.3-Re AMXX Dev Team admincmd.amxx running
[ 30] Commands Menu 1.8.3-Re AMXX Dev Team cmdmenu.amxx running
[ 31] Players Menu 1.7 neugomon players_menu.am running
[ 32] Maps Menu 1.4.1 neugomon maps_menu.amxx running
[ 33] Admin Chat 1.8.3-Re AMXX Dev Team adminchat.amxx running
[ 34] Admin Votes 1.8.3-Re AMXX Dev Team adminvote.amxx running
[ 35] Stats Configuration 1.8.3-Re AMXX Dev Team statscfg.amxx running
[ 36] Restrict Weapons 1.8.3-Re AMXX Dev Team restmenu.amxx running
[ 37] Say me and Say hp 1.4 neygomon sayme.amxx running
[ 38] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
[ 39] Chat Manager: Addon 0.0.4-70 Mistrick chatmanager_add running
[ 40] AES: StatsX 0.5.5 Vega serfreeman1337/s aes_statsx_cstr running
[ 41] Advanced Experience Sy 0.5.5 Vega serfreeman1337/s aes_main.amxx running
[ 42] AES: CStrike Addon 0.5.5 Vega serfreeman1337/s aes_exp_cstrike running
[ 43] AES: Informer 0.5.5 Vega serfreeman1337/s aes_informer.am running
[ 44] AES: Admin Tools 0.5.5 Vega serfreeman1337/s aes_exp_editor. running
[ 45] AES: Bonus System 0.5.5 Vega serfreeman1337/s aes_bonus_syste running
[ 46] AES: Bonus CSTRIKE 0.5.5 Vega serfreeman1337/s aes_bonus_cstri debug
46 plugins, 46 running
 
Последнее редактирование:
Сообщения
265
Реакции
308
zerg, ты что то с кварами намудрил походу...
 
Сообщения
57
Реакции
54
neygomon, не менялись же
lb_ip_bantime только добавил
 
Последнее редактирование модератором:
Сообщения
265
Реакции
308
zerg, попробуй.
пока ждем одобрения модераторов :)
1 Дек 2017
Enhessari, man, sorry, my english is bad :(
 
Последнее редактирование модератором:
Сообщения
11
Реакции
9
Enhessari,
something like that
вроде норм.
[en]
TIME_ELEMENT_SECOND = second
TIME_ELEMENT_SECONDS = seconds
TIME_ELEMENT_MINUTE = minute
TIME_ELEMENT_MINUTES = minutes
TIME_ELEMENT_HOUR = hour
TIME_ELEMENT_HOURS = hours
TIME_ELEMENT_DAY = day
TIME_ELEMENT_DAYS = days
TIME_ELEMENT_WEEK = week
TIME_ELEMENT_WEEKS = weeks
TIME_ELEMENT_MONTH = month
TIME_ELEMENT_MONTHS = months
TIME_ELEMENT_PERMANENTLY= permanently
TIME_ELEMENT_AND = and

BANMENU_TITLE = \d[\rBan Menu\d] \yChoose player
TIMEMENU_TITLE = \d[\rTime Menu\d] \yChoose ban time
REASONMENU_TITLE= \d[\rReason Menu\d] \yChoose reason
CUSTOM_REASON = \rCustom reason

ACCESS_DENIED_CNSL = * Access denied!
USER_NOT_CONN_CNSL = *** Player not connected! ***
USER_IMMUNITY_CNSL = *** You cannot ban this player. Player have immunity! ***
FIND_BAN_SYNTAX_CNSL = * Syntax: find_ban "part of nick or steamid" page nubmer^n* Example: find_ban "Neugo" 1^n* max 10 pages. 10 records on one page
AMX_BAN_SYNTAX_CNSL = * Syntax: amx_ban time "#userid or nick or steamid" "reason"^n* Example: amx_ban 666 "neugomon" "example"
AMX_UNBAN_SYNTAX_CNSL = * Syntax: amx_unban "nick or steamid"^n* Example: amx_unban "neugomon"

NOT_EXPIRED = Never
BAN_PERMANENT = Permanent
BAN_LEN_PERM = Centuries...
BAN_KICK_MSG = You have been banned! check information in console
BAN_NOT_FOUND = No results. Try again.
;;; Configuration file to output in console when someone banned for plugin Lite Bans
;;;
; Any characters are allowed except ";"
;
; Keys for auto replacement
; * %player% - player nick
; * %admin% - admin nick
; * %steamid% - player steamid
; * %reason% - ban reason
; * %bandate% - ban time
; * %banlen% - ban length
; * %banexpired% - ban expired
;
; Maximum numbers of lines to output in console !!! 20 !!!

**** [Ban Info] ****
## You have been banned!
## Your nick: %player%
## Admin: %admin%
## Your steamid: %steamid%
## Ban reason: %reason%
## Ban time: %bandate%
## Ban length: %banlen%
## Ban expired: %banexpired%
**** [Ban Info] ****
lb_sql_host "127.0.0.1" // SQL Host
lb_sql_user "root" // SQL User
lb_sql_pass "pass" // SQL Password
lb_sql_db "dbase" // SQL Database
lb_sql_pref "amx" // SQL Prefix

lb_server_ip "127.0.0.1:27015" // Game server IP:Port
lb_server_name "Half-Life" // Game server name

lb_kick_delay "3" // Delay before kick (actual for screenshots).
lb_all_bans "1" // Global bans for all servers, connected to the database
lb_ip_bantime "1440" // How long(in minutes) works ban on IP. When lb_ip_bantime expired ban will be by SteamID + tags

lb_static_reason "1" // Reason menu (check file reasons.ini)
lb_static_bantime "1" // [Only when lb_static_reason 1] For every reason will be fixed/static ban time (check file reasons.ini)
lb_custom_reason "1" // [Only when lb_static_reason 1] Custom ban reason + time from file times.ini
lb_remove_expired "1" // Remove expired bans from DB. If 0, its set expired 1 (in bans list lines become green)
lb_link_to_banphp "" // Link type http://site.ru/ban.php (if not specify link, cookie ban will not working)

lb_hud_text "Player %player% banned!%n%Length: %banlen%%n%Admin: %admin%%n%Reason: %reason%"
// HUD message about player ban.
// Keys for auto replacement
// %n% - new line
// %player% - player nick
// %admin% - admin nick
// %banlen% - ban length
// %reason% - ban reason
lb_hud_pos "0.05 0.30" // HUD message position about player ban.
lb_hud_color "0 255 0" // HUD message color in R G B format.
;;; Configuration file ban time + reason for plugin Lite Bans
;;;;;;;
; Syntax: "menu item title" "ban time in minutes" (if lb_static_bantime 1)
; 0 - ban permanently

; Syntax example with lb_static_bantime 1
"Cheater" "0"
"Noob" "10"
"Microphone 18+" "1440"

; Syntax example with lb_static_bantime 0
; Cheater
; Noob
; Microphone 18+
;;; Configuration file ban time for plugin Lite Bans
;;;;;;;
; Syntax: "menu item title" "ban time in minutes"
; 0 - ban permanently

"30 minutes" "30"
"1 hour" "60"
"1 day" "1440"
"1 week" "10080"
"1 month" "43200"
"Permanently" "0"
 
Сообщения
22
Реакции
5
Иван, будете добавлять возможность разбанивать только свои баны, или при наличии флага все?
 
Сообщения
57
Реакции
54
neygomon,
чё то уснули, походу :)
 
Сообщения
13
Реакции
2
Приветствую Иван.
В твоей бан системе хотелось бы видеть "Бан Отключенных Игроков"
Это реализовать для тебя это не составит труда :good2:
 
Сообщения
265
Реакции
308
artfreeman, в планах, отдельным плагином сделать(addon)
3 Дек 2017
tpylala, эммм. через amx_unban? это лишний запрос в бд. чтобы узнать чей бан, поэтому нет. быть может когда нибудь, когда банс обрастет другими плюшками
 
Сообщения
265
Реакции
308
Ну что там по тестам?
 
Сообщения
13
Реакции
0
Обновился в обед, пока полёт нормальный, а так сидел на этой бан системе уже месяца 3 все было гуд.
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу