AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Advanced Bans (Real Time) by Exolent (https://forums.alliedmods.net/showthread.php?t=80858)

fysiks 05-31-2021 00:57

Re: Advanced Bans (Real Time) by Exolent
 
The "ip valid" check uses RegEx so it should work reliably. However, you may need to make sure that you put it in quotes, I can't remember if the default parsing mechanism handles a decimal point as a valid character or a delimiter.

It uses the following pattern:

Code:

\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b
And you can test it on a site like this to see if what you're typing is valid.

If you can't get it to work, please paste exactly what you were typing and put it between [code][/code] tags. If you want to anonymize the IP address, change a couple of the numbers but don't change the number of characters that are in the IP.

MAJESTIC_SZ 07-28-2021 08:33

Re: Advanced Bans (Real Time) by Exolent
 
Hello. I did a quick search and didnt found what i was looking for.
So, is it possible to update this so i can use letters such "ç ã ê à á" and others?
We use it in Portugal, its weird to write for example "informação" and the console print is "informao" be cause it does not read "ç ã". It is also strange to write "informacao" since this word does not exists. 20% of BP translation of this plugin is wrong.
So, is there a way i can use special letters?
Thanks in advance.

DeNeDe 08-19-2021 15:55

Re: Advanced Bans (Real Time) by Exolent
 
Hmm,
Seems this doesn't want to connect to the database via the SQL plugin.
Im using the database for admins and for gag system and all is working properly, but the bans plugin doesn't want to connect at all. It must be a plugin issues since the others work
edit: Found through the milions of posts the THREAD_QUERIES version..Seems to work.

THEHEXAGON 01-26-2022 10:35

Re: Advanced Bans (Real Time) by Exolent
 
I loaded this plugin yesterday and it worked (SORT OF).

amx_banlist would populate in console, but all of the info was blank for the banned users.

Edited the advanced_ban.sma and uncommented the lines according the below, (copied and pasted):

Code:

// CUSTOMIZATION STARTS HERE
// ===============================================


// uncomment the line below if you want this plugin to
// load old bans from the banned.cfg and listip.cfg files
#define KEEP_DEFAULT_BANS


// uncomment the line below if you want the history to be in one file
#define HISTORY_ONE_FILE


// if you must have a maximum amount of bans to be compatible with AMXX versions before 1.8.0
// change this number to your maximum amount
// if you would rather have unlimited (requires AMXX 1.8.0 or higher) then set it to 0
#define MAX_BANS 0


// if you want to use SQL for your server, then uncomment the line below
//#define USING_SQL


// ===============================================
// CUSTOMIZATION ENDS HERE


Current Plugins on the server:
Code:

Admin Base 1.8.3-dev+ AMXX Dev Team admin.amxx running
Admin Commands 1.8.3-dev+ AMXX Dev Team admincmd.amxx running
Admin Help 1.8.3-dev+ AMXX Dev Team adminhelp.amxx running
Slots Reservation 1.8.3-dev+ AMXX Dev Team adminslots.amxx running
Multi-Lingual Sys 1.8.3-dev+ AMXX Dev Team multilingual.am running
Menus Front-End 1.8.3-dev+ AMXX Dev Team menufront.amxx running
Commands Menu 1.8.3-dev+ AMXX Dev Team cmdmenu.amxx running
unknown unknown unknown plmenu.amxx bad load
Maps Menu 1.8.3-dev+ AMXX Dev Team mapsmenu.amxx running
Plugin Menu 1.8.3-dev+ AMXX Dev Team pluginmenu.amxx running
Admin Chat 1.8.3-dev+ AMXX Dev Team adminchat.amxx running
Anti Flood 1.8.3-dev+ AMXX Dev Team antiflood.amxx running
Scrolling Message 1.8.3-dev+ AMXX Dev Team scrollmsg.amxx running
Info. Messages 1.8.3-dev+ AMXX Dev Team imessage.amxx running
NextMap 1.8.3-dev+ AMXX Dev Team nextmap.amxx running
TimeLeft 1.8.3-dev+ AMXX Dev Team timeleft.amxx running
Pause Plugins 1.8.3-dev+ AMXX Dev Team pausecfg.amxx running
Stats Configurati 1.8.3-dev+ AMXX Dev Team statscfg.amxx running
StatsX 1.8.3-dev+ AMXX Dev Team statsx.amxx running
HLstatsX CE Ingam 1.6.18 (HL psychonic hlstatsx_comman running
Autoresponder/Adv 0.5 MaximusBrood ad_manager.amxx running
Admin Spectator E 1.3 KoST admin_spec_esp. running
Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
AFK KiSSS 3.0.0 Beta Isobold afkkisss.amxx running
Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
High Ping Kicker 1.0 Shadow/Bo0m! amx_hpk.amxx running
AMX Super Cmd Man 5.0.2 SuperCentral.co amx_super-cmdma running
Amx Super Fun 5.0.2 SuperCentral.co amx_super-fun.a running
Amx Super Others 5.0.2 SuperCentral.co amx_super-other running
Amx Super Serious 5.0.2 SuperCentral.co amx_super-serio running
AMX_Super Menu 5.0.2 SuperCentral.co amx_super-menu. running
AMX Bank 1.7 twistedeuphoria amx_bank.amxx running
Automatic knife d 0.3 JGHG automatic_knife running
C4 Timer 0.0.1 ConnorMcLeod c42.amxx running
Mirror Damage 1.0.0 EKS mirror_damage.a running
Team Balancer 1.8b3 Ptahhotep ptb.amxx running
Quake Sounds 2.1 hleV quakesounds.amx running
Reconnect Feature 0.2.4 BETA ConnorMcLeod reconnect_featu running
Advanced Roll The v2.5 RC 4 Striker roll_the_dice.a running
Silly C4 1.2 Cheap_Suit sillyc4.amxx running

Contents of plugins.ini :
Code:

; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
;adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
;mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)

; Custom - Add 3rd party plugins here

hlstatsx_commands_cstrike.amxx ; HLStatsX interaction plugin
ad_manager.amxx
admin_spec_esp.amxx
adminvote.amxx
afkkisss.amxx
amx_gore_ultimate.amxx
amx_hpk.amxx
amx_super-cmdmanager.amxx
amx_super-fun.amxx
amx_super-others.amxx
amx_super-serious.amxx
amx_super-menu.amxx
amx_bank.amxx
automatic_knife_duel.amxx
c42.amxx
mirror_damage.amxx
plmenu.amxx
ptb.amxx
quakesounds.amxx
;rank.amxx
reconnect_features.amxx
;restmenu.amxx
roll_the_dice.amxx
sillyc4.amxx



Re-compiled the SMA, reinstalled the amxx file and server crash.

Rolled back and the server works.

Installed again, and server crashes.

rolled back and it works.

Installed it again, like I did the first time, with no changes to the SMA, and server crashes.

So, once the plugin crashed the server one time, I can no longer attempt to reinstall this plugin in any manner without it crashing.

What could I provide someone to assist me in troubleshooting this?

I doubt this would cause this plug to crash the server, but who knows:

I notice that there are now (2) banned.cfg files in my CZERO folder.

banned.cfg

and banned2.cfg

Both files are identical as far as contents.

I assume that the banned2.cfg was created when I uncommented the line to use one ban file, etc..

*edit* 20220127 1737 hrs EST

I just noticed that when I uncomment the plugin in the plugins.ini file, the plmenu no longer says "bad load".

With the plugin turned off:

Code:


Players Menu      1.8.3-dev+  AMXX Dev Team    plmenu.amxx      running

Since this plugin comes with it's own plmenu file that had to be replaced for the plugin to work, how much of a coincidence is this?

fysiks 01-26-2022 23:22

Re: Advanced Bans (Real Time) by Exolent
 
First thing is first, you're running an old unstable development version of AMX Mod X. You should update to 1.9.0 at least.

If that doesn't help, disable all non-default plugins and enable this plugin and see if it is somehow conflicting with other plugins.

Also, what shows in the actual server console when it crashes? This usually requires viewing the server console from your GSP's control panel.

P.S. Don't double triple post, put everything in a single post (edit it if needed) unless someone else has replied to you (generally). Also, when posting contents of console and/or short/simple text files, use [code][/code] tags.

THEHEXAGON 01-27-2022 16:39

Re: Advanced Bans (Real Time) by Exolent
 
Quote:

Originally Posted by fysiks (Post 2769517)
First thing is first, you're running an old unstable development version of AMX Mod X. You should update to 1.9.0 at least.

If that doesn't help, disable all non-default plugins and enable this plugin and see if it is somehow conflicting with other plugins.

Also, what shows in the actual server console when it crashes? This usually requires viewing the server console from your GSP's control panel.

P.S. Don't double triple post, put everything in a single post (edit it if needed) unless someone else has replied to you (generally). Also, when posting contents of console and/or short/simple text files, use [code][/code] tags.

Server is hosted at NFO and that is the only version available on the dashboard.
If I choose to upgrade the version, 1.8.3-dev-git5134 is the most recent version supported for installation through the supported dashboard.

See screenshot:

https://i.ibb.co/vxH8rsD/NFO-AMX-options.jpg

If I were to go get a newer version of AMX Mod X, where would I get it from, as far as trusted sources are concerned?

I would agree that it may have been a plugin problem, except it worked just fine until I changed the banlist option in the SMA, recompiled it, and reinstalled it. Nothing else changed with any other plugin.

I don't know what a GSP is, or how to view a control panel of a server that is offline.

Sorry about the multi-post.

The first time I typed "amx_(anything)" was a month ago.
I have played the game for 20 years, but never hosted a server until a month ago.

I appreciate any pointers.

OciXCrom 01-27-2022 16:46

Re: Advanced Bans (Real Time) by Exolent
 
Quote:

Server is hosted at NFO and that is the only version available on the dashboard.
Then maybe you should consider moving to a host that supports up-to-date versions?

Quote:

As far as using : use tags.
.........I have absolutely no idea what that means.[/quote]

It means

[code]
post
your
code
between
these
tags
[/cоde]

Quote:

If I were to go get a newer version of AMX Mod X, where would I get it from, as far as trusted sources are concerned?
Nothing can be more trusted than the official website - https://www.amxmodx.org/downloads-new.php

THEHEXAGON 01-27-2022 17:09

Re: Advanced Bans (Real Time) by Exolent
 
Quote:

Originally Posted by OciXCrom (Post 2769625)
Nothing can be more trusted than the official website - https://www.amxmodx.org/downloads-new.php

Thanks for that!

I'll see if NFO supports a new version of AMX Mod X if I obtain it myself.
If not, I'll stay with the version I have.

Since this is the same hosting service on the same version of AMX Mod X as another server running the same plugin, I doubt the version of AMX Mod X has anything to do with it. The other CZ server has been running for 18 years straight with no issues at the same NFO site.

Also, according to that link, anything above 1.8.2 is an unsupported and an "unstable build". The latest stable build page here: http://amxmodx.org/downloads.php only offers 1.8.2. What am I missing regarding that statement from the "mother ship"?

The way that I understand this as it stand is, NFO is already supporting a newer version (1.8.3) than AMXMOD claims to be stable anyway (1.8.2).

OciXCrom 01-27-2022 18:23

Re: Advanced Bans (Real Time) by Exolent
 
1.9 is currently much more stable than 1.8.2 and offers tons of new features and bugfixes. It's just a matter of time when the devs will find some free time to make it the current official version. You don't need to worry about that statement on the website.

1.8.3 is what is unstable as it's a very early 1.9 build.

THEHEXAGON 01-27-2022 18:36

Re: Advanced Bans (Real Time) by Exolent
 
Quote:

Originally Posted by OciXCrom (Post 2769631)
1.9 is currently much more stable than 1.8.2 and offers tons of new features and bugfixes. It's just a matter of time when the devs will find some free time to make it the current official version. You don't need to worry about that statement on the website.

1.8.3 is what is unstable as it's a very early 1.9 build.

I understand.

Spoke with NFO about this, just a few moments ago, and 1.8.3 was necessary for them due to a compatibility with the HLstatsX sql.

They will upgrade to 1.9 when AMX releases it.

Until then, they don't support versions that AMX, themselves, don't consider stable.

So, back to the coincidence of the advanced bans plugin crashing the server, while also flagging the plmenu.amxx as a "bad load".

?

I'm unfamiliar with this engine, etc., but generally speaking, if the AMXmodX version was the problem, it would have never worked, right?
It's suspicious that it only stopped working and crashed the server after the lines were commented per the install instructions to use the existing bans list.


All times are GMT -4. The time now is 14:36.

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