Система управления банами и админами для игровых серверов Counter Strike 1.6
PHP версии 5.3 и выше.
Расширения PHP: PDO, PDO-mysql, mbstring и gd.
Функции PHP: chmod, mkdir, copy
Включенный mod_rewrite
MySQL версии 5.0 и выше.
CS:Bans - Система управления банами и админами для игровых серверов Counter Strike 1.6
Для тех,у кого не заходит в панель.
Перейдите на страницу https://ВАШ_САЙТ/site/login.html
И там авторизуйтесь. Через всплывающее окно авторизации не хочет авторизовываться почему-то.
А где views/serverinfo/create ??
Система Ubuntu Linux. Настроенный LAMP сервер, лежат и работают сайты. В целом - все отвечает системным требованиям. С установкой на основной сервер версии 1.0 бета проблем не было. Все установилось сразу, потом обновился до 1.1.2. Даже думал модуль докупить. Случилось так, что пришлось переставлять баны с нуля. Вот тут и начались проблемы.
Заливаю на поддомен http://games.epicm.org/bans/ - при открытии пишет 404, /games/bans/index.php Not Found, делая редирект на http://games.epicm.org/bans/site/install.html
Тестировал на локалхосте на OpenServer (аля более вменяемый Denwer для форточек). Результат такой же.
Покапавшись в коде - включаю дебаг режим (раскомментировал в index.php),
// Дебаг
defined('YII_DEBUG') or define('YII_DEBUG', true);
// Кол-во стак трейсов ошибок
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
тут и начинается веселье.
В общем, не хочу копипастить все сюда все эксепшены. На сайте включен дебаг. Взгляните сами, прошу.
На других серврах проверили - с установщиком все аналогично. Проблема не моей криворукости.
Умел бы yii и php - выяснил бы сам, да еще и коммит с пулл-реквестом отправил, но увы.
Спасибо.
Вот такое бы надо добавить ;)
P.S то что в красном квадратике.
http://csbans.ru/uploads/posts/2011-10/1318982590_prichinybana_gm1.6_1.2.jpg
А это показывает как будет отображаться на сервере ;)
http://csbans.ru/uploads/posts/2011-10/1319194053_prichinybana_gm1.6_6.jpg
Hello,
The pagination uses an 'ul' element with multiple 'li' items to show the order of ban pages.
Within each 'li' item, there is an 'a' element with its href attribute., the default behavior of it is prevented.
I tried finding the right event.preventDefault() function in the correct JS file, with no success.
I wish to enable the URL direction.
Perhaps you can assist with identifying the cause of it.
Thanks in advanced.
Shared hosting
PHP 8.1 (i try 8.0 and 7.4 same error)
Error
Trying to access array offset on value of type bool
Demo
https://csbans.apkaba.lt/bans/165.html
Another CS project have same error
https://gilze.lt/csbans/bans/635.html
165.html ban details working when i logged as admin, but guest see error.
Hello, can do I know how to translate for example:
5 мин to 5 min for example.
I can't find it in templates directory... Please help
В права доступа в amxx 1.8.3 был добавлен:
; v - amx_ban and amx_unban commands (temporary bans only, about amx_unban, only self performed ban during map gonna be allowed)
Здрасти! В общем не может инсталлятор подключиться к базе данных, саппорт сделал что мог, я тоже. Они дали скрипт для проверки подключения, всё работает, через PHPMyAdmin тоже коннектит с моими данными. Ваш инсталлер ну ни в какую не хочет. Я достал саппорт, они перепроверили что могли и ответили мне следующее: "Я перепроверил все возможные варианты, и как я вижу, проблем с подключением к базам данных в принципе и к данной конктретной в частности быть не должно. И со стороны сервера каких-либо проблем нет, по всей видимости ошибка может быть в самом скрипте. Я могу посоветовать Вам обратиться к разработчикам, чтобы они перепроверили это со своей стороны, если они посоветуют так или иначе изменить настройки сервера, Вы можете вернуться к нам для дальнейшей настройки.
На данный момент проблем с подключением к базе данных со стороны сервера нет в принципе."
Так что вот так... Как такое возможно для меня секрет...
В amxbans была такая фича, в скобках пишется ник указанный в списке админов в инфо о бане.
Очень нелохо было бы если вы ее реализовали.
В чем проблема: Я открываю банлист и вижу админа с неизвестным ником, админам выдается админка по стимидам, для конспирации от читеров.
Здравствуйте снова. Недавно для своего сайта заимел https.
В шаблонах, конкретно в двух файлах:
есть http-ссылки на гугл и яндекс. при наличии https - ссылки режутся.
из-за первых двух ссылок не работала кнопка удаления бана (пока не добавил поддержку https для яндекса и гугло апь).
На всякий случай выслал пул-веквест.
В подробностях бана. Есть кнопка добавить файл.
Позже эту запись можно удалить. Но в include/files остаётся файл.
Думаю, было бы лучше при удалении записи удалять и файл.
Так же Steam игрока лучше не показывать всем. Можно только Админам.
Пишет что нет каталога и файла /site/install.html
Других ошибок нет. Ну могу проинсталлировать.
На том же сервере стоит Sourcebans, Amxbans так же инсталлируется в 3 клика.
В логах Апача:
[Mon Jul 06 11:43:29 2015] [error] [client 92.78.25.84] File does not exist: /var/www/skillzonly/bans/site
Сам создал папку /site/ - и снова Апач:
[Mon Jul 06 11:44:02 2015] [error] [client 92.78.25.84] File does not exist: /var/www/skillzonly/bans/site/install.html
Что не так с архивом или поясните пожалуйста в деталях что я упустил?
Игроки играют на сервере.
Но при переходе на конкретный сервер пишет
Детали сервера «СЕРВЕР»
Нет игроков
ниже справа, под картинкой:
Игроки: 18/30
Ubuntu 14.04 64bit
If you edit the ban, the reason you have already entered does not appear, but the "selfreason" text. https://i.imgur.com/IGemDT7.png
If we have a list of bans (.../bans/index.html) and click on 2,3 or another page, after clicking on the ban, the window with details is not displayed (only the window appears on the first page).
If we click on any server in the .../serverinfo/index.html tab, the pop-up window does not appear as in version 1.3.
Hello i install new fresh installation of CSBans 1.3.2 and have bug - not working Search.
You guys can try to my clean demo page: https://apkaba.com/banai
Also not work open ban https://csbans.apkaba.com Link for photo: https://part.lt/img/d0080c27ede5908e20af4690640a62b0292.png
On old CSBans 1.3 all work very fine and easy can open detail to ban: [DEMO] http://banai.us.lt/bans/index.html
Note: I posted pull request by mistake!
Hello,
I saw you update CS-Bans recently I have small but very useful requests for us I hope you can do that and update to 1.3.3 soon
I have some ideas that will make CS-Bans the best all around!
First one:
Make 'Add Admin' easier like the other systems. ( Check this to understand: https://prnt.sc/1z7rtrj )
How?
Edit the 'add amxmodx admin' page and add the possibility where we can add and assign flags to roles, so when I want to add someone VIP, I don't need to choose the "abcd" flags, I can just select the VIP role and it will automatically give those flags to him
Example:
Choose access level:
Register nick
VIP
SuperVIP
Admin
Second idea:
1- When I want to add BAN, I want the ability to add a ban on non-SteamID (valve) and not just people with Steam, because almost all players use non-steam.
2- When I want to add a BAN, I want the ability to add a ban only on SteamID or IP, or I can choose to add both SteamID + IP depending on the ban type option.
Third Idea: (Most Important)
If I add a VIP on nickname + password, when the VIP end I want the nickname to remain with Z flag (so it stays protected with a password), I don't want the nick to be completely removed from the database.... I think you guys didn't think about this thing.
This way CS-Bans will be TOP1 everywhere! :))
Thank you, please reply and let me know if you will do those requests because I will be happy and others too.
Can you tell me where is problem here i dont know i set server before 4 days and just stay Loading : https://prnt.sc/20canzk
My subdomain banned.lspublic.com
В разделе "Серверы", не отображает отображение картинок: game, vac, os.
Исправил в файле - Serverinfo.php строки 158-172 на:
$info['modimg'] = Yii::app()->urlManager->baseUrl ."/images/games/" .$game.".gif";
$info['vacimg'] = Yii::app()->urlManager->baseUrl ."/images/".($info['secure'] ? "vac.png" : "no_vac.png");
$info['osimg'] = Yii::app()->urlManager->baseUrl ."/images/os/".$info['os'].".png";
Картинки естественно начали отображатся.
Админцентр>Сервер>Настройки - Выдает вот такое:
Ошибка 500
htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument
Админцентр>Веб сайт>Логи
Вместо большинства действий, выдает - Другая
Например:
Действие Другая
Подробности Edited admins on server: Z.Gaming Pro>Classic Public (18+)
Админцентр>Веб сайт>Управление ссылками
Какую позицию я бы не выстовлял, все равно сортирует по мере добавления, последняя добавленная слева.
Главная / Банлист / Ник игрока - Подробности бана Ник игрока
Не загружает файлы, в настройках загрузка файлов разрешена как пользователям так и гостям, все равно не загружает.
Пока что все. Вопрос - Как исправить?
Can you make any contact form Here http://prntscr.com/qprdep people to ask for unban or same like this ?
can you add english in description/files ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.