Raised This Month: $32 Target: $400
 8% 

[CS:S/CS:GO] CT Bans


Post New Thread Reply   
 
Thread Tools Display Modes
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-26-2018 , 19:55   Re: CTBans Web Interface
Reply With Quote #411

Quote:
Originally Posted by 1DreaM View Post
Syntax error, sorry.
Have you thought about creating a topic only about this Web Interface so avoid polluting this topic on this subject.
paulo_crash is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-05-2018 , 09:04   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #412

I have a question with the Plugin CTBans, it is working and everything on my server, except that I configured it in MySQL, even there with no problems too, it creates the tables and writes the information all correctly.

But it shows as if there was nothing recorded in the database, it follows an image:


What could be this, would have some problem.
paulo_crash is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-05-2018 , 09:06   Re: CTBans Web Interface
Reply With Quote #413

Quote:
Originally Posted by 1DreaM View Post
NEW !

CTBans Web Interface.
This is especially for databomb's plugin. For other ctban plugins it will not work without changes.

Remake of databomb's ctbans-list.txt.

Prewiev: https://overgame.eu/ctbans.php

Installation is simple !
  1. Upload file to your FTP.
  2. Add database info.:
    PHP Code:
    $server=""//db host
    $username=""//db username
    $password=""//db password
    $database=""//db name

    $results_per_page="15"
  3. Change favicon and menu:

    HTML Code:
    <link rel="icon" href="LINK TO IMAGE" sizes="32x32" />
    
    <div id="mySidenav" class="sidenav">
      <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
      <a href="#home">HOME</a>
      <a href="#banlist">BanList</a>
      <a href="#forum">Unban</a>
      <a href="#hlstats">HLstatS</a>
    </div>

ChangeLog:

Code:
1.0.1
  • Updated PHP.
  • Design remake.
  • + menu, search and favicon.
  • + colors
  • ...(little changes)
A doubt with the Web Interface, has the Time column, what would it be in case, would be the time the player was banned?

And because it displays the +000 at the end, example:
Quote:
Mon, 05 Feb 2018 09:00:45 +0000

Last edited by paulo_crash; 02-05-2018 at 09:07.
paulo_crash is offline
1DreaM
Member
Join Date: Jan 2018
Location: Slovakia
Old 02-05-2018 , 11:28   Re: CTBans Web Interface
Reply With Quote #414

Quote:
Originally Posted by paulo_crash View Post
A doubt with the Web Interface, has the Time column, what would it be in case, would be the time the player was banned?

And because it displays the +000 at the end, example:
Dont worry, yes its time when player was baned. "+0000" its time formating (from UTC).
__________________
GitHub: 1DreaM
WEB: OverGame.eu

Last edited by 1DreaM; 02-27-2018 at 13:43.
1DreaM is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-24-2018 , 12:48   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #415

I'm having a BUG with the CTBans plugin.

When I apply the ban on some player, it does not matter the time, in case the server automatically restarts, or even because of some BUG the time it restores.

Example, apply ban in a CT for 30 minutes, it goes and spends 20 minutes inside the server there for some reason of a BUG and it restarts the server, its time comes back counting from 30 minutes again instead of continuing of the 10 minutes.

Could you check one?

In case the plugin does not display any errors in the console or in the error log.
paulo_crash is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 02-26-2018 , 21:10   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #416

Quote:
Originally Posted by paulo_crash View Post
I'm having a BUG with the CTBans plugin.

When I apply the ban on some player, it does not matter the time, in case the server automatically restarts, or even because of some BUG the time it restores.

Example, apply ban in a CT for 30 minutes, it goes and spends 20 minutes inside the server there for some reason of a BUG and it restarts the server, its time comes back counting from 30 minutes again instead of continuing of the 10 minutes.

Could you check one?

In case the plugin does not display any errors in the console or in the error log.
The ban times are only updated when the player leaves the server, so if the server goes down before the player disconnects then it would not save the time..

If there is a crash then all current players will lose their time. If the server is shutdown then I'm not sure if there is time to update these in OnPluginEnd or some similar call. Would need to research that more.
__________________
databomb is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 02-27-2018 , 08:02   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #417

Quote:
Originally Posted by databomb View Post
The ban times are only updated when the player leaves the server, so if the server goes down before the player disconnects then it would not save the time..

If there is a crash then all current players will lose their time. If the server is shutdown then I'm not sure if there is time to update these in OnPluginEnd or some similar call. Would need to research that more.
I understand, so even if it passes ban time inside the server and if by chance the server comes to shut down for some error this time is not contact.

Anyway, thanks for taking this question.
paulo_crash is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 04-08-2018 , 13:18   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #418

what about when map change? i have noticed its lose time then too
Zyten is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 04-13-2018 , 09:21   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #419

Suggestion, could update the database, currently it does not accept characters, I changed myself in the database, but even so the new banishes, the nicks of players buga case have special characters.

https://www.zkservidores.com/ctbans.php
paulo_crash is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 04-13-2018 , 09:28   Re: [CS:S/CS:GO] CT Bans
Reply With Quote #420

Quote:
Originally Posted by paulo_crash View Post
Suggestion, could update the database, currently it does not accept characters, I changed myself in the database, but even so the new banishes, the nicks of players buga case have special characters.

https://www.zkservidores.com/ctbans.php
Paulo, what is current collation of your database? I'm using utf8_unicode_ci and I have no problems with nicknames, but I have a custom page that I did myself:
https://kniv.com.br/ctbans/

In the past I had issues with that, so everytable and database that I've created, I used this collation.

EDIT: In my case I had to delete the database and recreate with the right collation, I couldn't make it work just by changing it via sql scripts
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 04-13-2018 at 09:40.
plock is offline
Reply


Thread Tools
Display Modes

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 23:15.


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