Raised This Month: $51 Target: $400
 12% 

amxbans 4.0


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Romaaa
Junior Member
Join Date: Jun 2004
Location: Ukraine [dp.ua]
Old 01-25-2005 , 11:01  
#631

Quote:
y under "servers" to edit the rcon password, that should do the trick!
No, it has not helped: ( I think that business in Smarty... probably to it that that is necessary?
__________________
Romaaa is offline
Send a message via ICQ to Romaaa
drone
Guest
Old 01-25-2005 , 19:26  
#632

Recently upgraded to amxmodx 1.0 and AmxBans 4.0. So far almost everything is going great. Except one thing. The webinterface is giving me allsorts of error messages even though it seems to work as intended.

Could any1 point me in the right direction?

www.bans.oldboys.dk

PHP Version 4.3.6

Directories
Document root http://www.bans.oldboys.dk/
Path D:/Inetpub/wwwroot/SC/oldboys.dk/wwwbans/
Import dir D:/Inetpub/wwwroot/SC/oldboys.dk/wwwbans/tmp
Template dir D:/Inetpub/wwwroot/SC/oldboys.dk/wwwbans/templates

Fancy layers off
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 01-25-2005 , 19:57  
#633

what's line 220?

I think it may have to do with one of the directories is not what the ban_list.php thinks something is in. Show us all include('file');s and also line 220 please, hopefully we'll fix it.

I'm looking into that error now too.
__________________
f1del1ty.oXi is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 01-25-2005 , 21:00  
#634

@ drone

try disabling your error displaying in your php.ini file and restart your webserver.

Try setting this in your php.ini
Code:
error_reporting  =  E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
and if that still doesnt work, try:

Code:
display_errors = Off
---- please note: ----
that this does not fix whatever errors are being cause but just ignores them for now. if your amxbans is working as it should (as far as you can tell) then there really is no need for error reporting right now. also; on a side note; remember to REPLACE the values in your php.ini and not just throw them into your php.ini. otherwise you'll have two sets of different values for the same cfg.
__________________
pendragon is offline
Send a message via ICQ to pendragon
Opacus
Junior Member
Join Date: Sep 2004
Old 01-27-2005 , 09:02  
#635

I'm getting two errors:

1. None of the plugins will load. Im getting badf load on the three of them, and Yes, I've used the right ones (for amxmodx). This occurs even when I compile them myself.
2. I can't seem to add servers via the web-interface. Check this:


The gameservers are various breeds, but the one I tested is running Fedora Core 3, on Dual Opterons (242), with 1024mb ECC.
__________________
The following is currently offline:
www.acme-games.com
Norwegian servers for Counter-Strike/Counter-Strike Source
hlds: pingboosted
srcds: tickrate 100
Opacus is offline
Romaaa
Junior Member
Join Date: Jun 2004
Location: Ukraine [dp.ua]
Old 01-27-2005 , 11:02  
#636

Quote:
Originally Posted by Romaaa
help plzzz!
in page add_live_ban.php all IP is hidden



How to correct this problem?
The decision of a problem: replace a file from archive on your server;)
Attached Files
File Type: zip add_live_ban.zip (1.7 KB, 77 views)
__________________
Romaaa is offline
Send a message via ICQ to Romaaa
Jedi
Member
Join Date: Mar 2004
Location: Houston, TX
Old 01-27-2005 , 23:51  
#637

Is there a way to add amx_ban to the client commands menu. I have tried adding the following to my clcmds.ini file:

Code:
"Ban for 60 minutes" 	"amx_ban 60 #%userid% Rules Violation"		"b"	"e"
However, the player gets added to the banlist under their userid (obviously) instead of their steamid - so the player never actually gets banned OR kicked for that matter. I tried using #%nick% and %nick%, but both caused the server to crash.

Is there a way to add this shortcut to the client commands menu or does the client commands menu only work with userids?
__________________
Jedi is offline
Morpheus
Senior Member
Join Date: Mar 2004
Old 01-28-2005 , 05:16  
#638

Quote:
Originally Posted by Jedi
Is there a way to add amx_ban to the client commands menu. I have tried adding the following to my clcmds.ini file:

Code:
"Ban for 60 minutes" 	"amx_ban 60 #%userid% Rules Violation"		"b"	"e"
However, the player gets added to the banlist under their userid (obviously) instead of their steamid - so the player never actually gets banned OR kicked for that matter. I tried using #%nick% and %nick%, but both caused the server to crash.

Is there a way to add this shortcut to the client commands menu or does the client commands menu only work with userids?
Yes m8!

Look here http://forums.alliedmods.net/showthr...?p=71807#75076

Morpheus
Morpheus is offline
Jedi
Member
Join Date: Mar 2004
Location: Houston, TX
Old 01-28-2005 , 10:06  
#639

Actually Morpheus - that was an explanation for changing the default times in the amxbans_menu. I'm trying to add a shortcut for a 60 minute ban to my "client commands" menu via an entry in the "clcmds.ini" file. Thanks for responding though.
__________________
Jedi is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 01-28-2005 , 13:25  
#640

why don't you use the menu plugin that comes with amxbans?

if you are interested, i changed some stuff on the admincmd.sma
from amxx and removed all banning feautres, then i edited
the ban menu plugin of amxbans and changed the command
to bring up the menu to the command that standard amxx ban menu used
and corrected some other minor problems in that file
(like custom reasons not working).
so when you open the standard amxx menu and choose "Ban",
the amxbans menu comes up instead of the standard amxx
banmenu.
furthermore i added a ban command which allows admins
with "KICK" to ban players for 24hours
(amx_banx <player> <reason>).
if you, or anyone else, is interested in that, let me know

i got it all working error free and perfect
FeuerSturm is offline
Closed Thread



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 19:54.


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