Raised This Month: $ Target: $400
 0% 

amxbans 4.0


Post New Thread Closed Thread   
 
Thread Tools Display Modes
YoMama
Junior Member
Join Date: Apr 2004
Location: Amsterdam (NL)
Old 09-30-2004 , 15:52  
#361

Quote:
Originally Posted by Morpheus
Hi YoMama!

It seems to be a major bug in your mysql something

Read here m8

http://forums.alliedmods.net/showthr...?p=60799#63829

Hope that U can fix this m8.

Cheers

Morpheus
Stop screaming bloody murder everywhere I stay Morpheus... I do read your messages, PM's /msgs and all
YoMama is offline
Send a message via ICQ to YoMama
Shadow00Caster
Junior Member
Join Date: Apr 2004
Location: Alpine, CA
Old 09-30-2004 , 20:59  
#362

Hi,

I'm using the latest AMXX .20 RC6, and the letest AMXBans (web and plugin), and ive gotten everything to work (amxx, amxbans web), except the server integration with amxx and mysql.

AMXX is conencting to the db just fine, and amxbans created the db and tables fine, but I get this error:
Code:
[AMXX] MySQL error : could not connect
[AMXX]
[AMXX] MYSQL error: Unknown column 'auth' in 'field
Also before this, AMXX echos [AMXX] 0 Admins loaded from satabase or something, hats how I know its conencting to DB.

Any help would be greatly appreciated, Thanks!
__________________
Shadow00Caster is offline
Send a message via ICQ to Shadow00Caster Send a message via AIM to Shadow00Caster Send a message via MSN to Shadow00Caster Send a message via Yahoo to Shadow00Caster
Morpheus
Senior Member
Join Date: Mar 2004
Old 10-01-2004 , 02:31  
#363

Quote:
Originally Posted by YoMama
Quote:
Originally Posted by Morpheus
Hi YoMama!

It seems to be a major bug in your mysql something

Read here m8

http://forums.alliedmods.net/showthr...?p=60799#63829

Hope that U can fix this m8.

Cheers

Morpheus
Stop screaming bloody murder everywhere I stay Morpheus... I do read your messages, PM's /msgs and all
Well sorry m8, but its hard knowing that u read them..... Sorreeeeey!

Cheers

Morpheus
Morpheus is offline
Morpheus
Senior Member
Join Date: Mar 2004
Old 10-01-2004 , 02:34  
#364

Quote:
Originally Posted by Shadow00Caster
Hi,

I'm using the latest AMXX .20 RC6, and the letest AMXBans (web and plugin), and ive gotten everything to work (amxx, amxbans web), except the server integration with amxx and mysql.

AMXX is conencting to the db just fine, and amxbans created the db and tables fine, but I get this error:
Code:
[AMXX] MySQL error : could not connect
[AMXX]
[AMXX] MYSQL error: Unknown column 'auth' in 'field
Also before this, AMXX echos [AMXX] 0 Admins loaded from satabase or something, hats how I know its conencting to DB.

Any help would be greatly appreciated, Thanks!
Hi there!

How can it connect to the database just fine,..? If u the the [AMXX] MYSQL error: Could not connect?

Have u granted access to the MYSQL system on the ip which should connect to the database? We had a lot of problems with that in the start.

Have you added server admins to the web? U need to choose your admin on the current server.

Cheers

Morpheus
Morpheus is offline
bandwidth
Junior Member
Join Date: Aug 2004
Old 10-01-2004 , 21:50  
#365

has anyone figured out how to integrate amxbans properly into phpnuke?

i've wasted a lot of time and still can't figure it out.

it only works properly if i open it in a new window, and i don't link to it with modules?php=amxbans etc.

version 2.x worked fine, but this one, argh.
bandwidth is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 10-03-2004 , 19:19  
#366

Quote:
Originally Posted by bandwidth
has anyone figured out how to integrate amxbans properly into phpnuke?

i've wasted a lot of time and still can't figure it out.

it only works properly if i open it in a new window, and i don't link to it with modules?php=amxbans etc.

version 2.x worked fine, but this one, argh.
try using the nukewrap module
__________________
pendragon is offline
Send a message via ICQ to pendragon
bandwidth
Junior Member
Join Date: Aug 2004
Old 10-03-2004 , 19:47  
#367

wow what is that? where do i get it from?
bandwidth is offline
[dSMF]Mogwai
Junior Member
Join Date: Mar 2004
Old 10-05-2004 , 08:04  
#368

hi
something is wrong here

Quote:
Originally Posted by amxbans 3.0 manual
... amx_ban <time_in_minutes> <nickname|steamid> <reason>

Kicks and bans specified nickname/steamid
Quote:
Originally Posted by output, when i want to use amx_ban
amx_ban
14:01:22 Usage: amx_ban <name or #userid> <id/ip> <minutes> [reason]

so what to do.... ?!

i don´t know why... perhaps someone has the same problem. i´ll post my data:

metamod.ini
Code:
linux addons/amxx/dlls/amxx_mm_i686.so
linux addons/phpua/phpua_mm_i386.so
modules.ini
Code:
; AMX Mod X Modules; You can specify both linux & win32 modules here
;;Use i386 instead of i386 to use glibc2.3 optimized binaries

; Fun - This has extra functions for "extra" stuff
fun_amx_i686.so

; Engine - This has engine functions core to half-life
engine_amx_i686.so

; MySQL - This adds MySQL connection support
mysql_amx_i686.so

; Counter-Strike - This adds functions specific to Counter-Strike
cstrike_amx_i686.so

; CS Stats - This adds functionality for CS statistical information
csstats_amx_i686.so
plugins.ini
Code:
; AMX Mod X plugins

; # bedeutet zusätzlich zu amx

;admin.amx			;admin base (required for any admin-related)
admincmd.amx			;basic admin console commands
admin_mysql.amx		;admin base - MySQL version (comment admin.amx)
amxbans.amx			;# admins und bans über datenbank
admin_log_sql.amx		;# amx befehle loggen in datenbank
simpleslots.amx		;# slot reservierung, die auch funktioniert
adminhelp.amx			;help command for admin console commands
;adminslots.amx		;slot reservation
menufront.amx			;front-end for admin menus
cmdmenu.amx			;command menu (speech, settings)
plmenu.amx			;players menu (kick, ban, client cmds.)
restmenu.amx			;restrict weapons menu
;telemenu.amx			;teleport menu (Fun Module required!)
mapsmenu.amx			;maps menu (vote, changelevel)
antiflood.amx			;prevent clients from chat-flooding the server
adminchat.amx			;console chat commands
adminvote.amx			;vote commands
;adminvote_amxban.amx 	;vote ohne banid
nextmap.amx			;displays next map in mapcycle
timeleft.amx			;displays time left on map
;mapchooser.amx		;allows to vote for next map
scrollmsg.amx			;displays a scrolling message
imessage.amx			;displays information messages
welcomemsg.amx		;displays motd @ client connection
pausecfg.amx			;allows to pause and unpause some plugins
stats.amx			;stats on death or round end (CSStats Module required!)
stats_logging.amx		;weapons stats logging (CSStats Module required!)
miscstats.amx			;bunch of events announcement for Counter-Strike
statscfg.amx			;allows to manage stats plugins via menu and commands

;----extra plugins, mod unabhängig----
amx_ejl_adminchat.amx	;# chat variablen
amx_screen.amx		;# screenshots von clients anfordern
client_exec_level_B.amx	;# auf client befehl ausführen
common_commands.amx		;# abkürzung für befehle
map_rate.amx			;# maps bewerten
;rockthevote.amx		;# rockthevote für maps
server_chime_plugin.amx	;# uhrzeit ansagen
autoreply.amx			;# automatische antworten auf texteingaben
admin_gag.amx			;# nervende spieler ruhig stellen
ps_amxx.amx			;# psychostats plugin fuer passwoerter
deagsmapmanage210i.amx 	;map voting
amx_nameban_amx_ban.amx	;# ungewünschte namen bannen


;----extra plugins, dod----
;day_of_defeat_frontend.amx ;# dod spezifische befehle
;dod_clanmatch.amx		;# clanmatch planer
;dod_mirrordamage.amx	;# mirrordamage für teamattacker
;dod_teams.amx		

;----extra plugins, cs----
anticamping.amx		; # anticamping plugin
;grave.amx			; # gräber für die toten spieler
admin_teams.amx		; # spieler in teams schicken
;amx_gasnades.amx		; traenengasgranaten werfen
warcraft3FT.amx		; # warcraft plugin
;amx_sniperrealism.amx 	; sniper realismus, fading etc.
amx_atac_cfg.amx		; # tk plugin, managment
amx_atac_amx_ban.amx		; # cfg atac configuration

my problem is. with this version of amxbans i can´t ban. i exchanged the i686 vs i386, i disabled any non-original-amxx plugin.
but everytime i write amx_ban i get in return :
14:17:50 amx_ban
14:17:50 Usage: amx_ban <name or #userid> <id/ip> <minutes> [reason]


so... banning players is not possible. it of course works with banid, but not with amx_ban. is my plugin-order wrong ?!

what could i do.... besides, whats up here?

admincmd.sma from amxx 1.6
Code:
  register_concmd("amx_ban","cmdBan",ADMIN_BAN,"<name or #userid> <id/ip> <minutes> [reason]")
amxbans.sma from amxbans 3.0
Code:
register_clcmd("amx_ban","amx_ban",ADMIN_KICK,"amx_ban <time in minutes> <steamid or name> <reason>")
	register_srvcmd("amx_ban","amx_ban",-1,"amx_ban <time in minutes> <steamid or name> <reason>")
should there be written ADMIN_BAN instead of ADMIN_KICK ?!

please help me out.

thx
[dSMF]Mogwai
__________________
To have is better than to need.

[dSMF]Mogwai is offline
Send a message via ICQ to [dSMF]Mogwai
[dSMF]Mogwai
Junior Member
Join Date: Mar 2004
Old 10-07-2004 , 07:51  
#369

i think i found the mistake. it´s because i misunderstood somethink in the manual...

Code:
Add entries for both plugins to /addons/amx/plugins/plugins.ini (right below admincmd.amx).
there is written right below admincmd.amx.
this meant to me:

plugins.ini
[...]
xxx.amx
admincmd.amx
amxbans.amx
xxy.amx
[...]

but it should mean:
[...]
xxx.amx
amxbans.amx
admincmd.amx
xxy.amx
[...]

now it works !!
__________________
To have is better than to need.

[dSMF]Mogwai is offline
Send a message via ICQ to [dSMF]Mogwai
shells
Guest
Old 10-15-2004 , 08:11  
#370

searched far and near to no avail....

anyone else getting:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/shells/public_html/modules/amxbans/include/config.inc.php:90) in /home/shells/public_html/modules/amxbans/include/accesscontrol.inc.php on line 30

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/shells/public_html/modules/amxbans/include/config.inc.php:90) in /home/shells/public_html/modules/amxbans/include/accesscontrol.inc.php on line 30

and is there a fix for it?
Only happens when I try loggin in or adding admins and what not - not on main page
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 12:45.


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