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

Amxbans 4.2 (YoMama) [Updated 051013]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
fls
New Member
Join Date: Sep 2005
Old 10-13-2005 , 12:55  
#21

Well, i'll be..


BID 5098 columns:
player_ip =
player_id =
ban_reason =
(all these fields have nothing in them)
player_nick = unknown_
ban_length = STEAM_0:0
(which is invalid)
The other columns looked ok.

I'm gonna do some further checking on this and maybe do some cleanup in the database on invalid bans, GREAT debug!
fls is offline
Mano
New Member
Join Date: Oct 2005
Old 10-13-2005 , 13:01  
#22

Code:
L 10/13/2005 - 10:37:57: -------- Mapchange to awp_map --------
L 10/13/2005 - 10:37:58: [MYSQL] Invalid database handle 0
L 10/13/2005 - 10:37:58: [AMXX] Displaying debug trace (plugin "amxbans_4.2.amxx")
L 10/13/2005 - 10:37:58: [AMXX] Run time error 10: native error (native "dbi_query")
L 10/13/2005 - 10:37:58: [AMXX]    [0] amxbans_4.2.sma::banmod_online (line 259)
L 10/13/2005 - 10:37:58: [AMXX]    [1] amxbans_4.2.sma::init_function (line 215)
I can only assume that my sql.cfg is wrong or my host for the mysql db is blocking the mysql port.

Am I correct?


amxbans 4.2
amxmodx 1.6
__________________
Mano is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 10-13-2005 , 13:04  
#23

Quote:
Originally Posted by fls
Well, i'll be..


BID 5098 columns:
player_ip =
player_id =
ban_reason =
(all these fields have nothing in them)
player_nick = unknown_
ban_length = STEAM_0:0
(which is invalid)
The other columns looked ok.

I'm gonna do some further checking on this and maybe do some cleanup in the database on invalid bans, GREAT debug!
Yes !! Great news.
Hope the others that have this problem see this now and can clean up their data base with bad data.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 10-13-2005 , 13:18  
#24

Quote:
Originally Posted by Mano
I can only assume that my sql.cfg is wrong or my host for the mysql db is blocking the mysql port.

Am I correct?

amxbans 4.2
amxmodx 1.6
Well that could be correct.
You should ask your host to verify this.
Also double check your settings in sql.cfg
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Kuehlwagen
Guest
Old 10-13-2005 , 13:19  
#25

I have a problem. amx_ban doesnt write the bans in the db. Do I do something wrong?
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 10-13-2005 , 13:29  
#26

Quote:
Originally Posted by Kuehlwagen
I have a problem. amx_ban doesnt write the bans in the db. Do I do something wrong?
I need a little more information like amxmodx version.
Do the connection to the mysql server work?
Do you have anything in your amx logs?
How did you do when you banned the player?
Have you used amxbans before?
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
jsterling
SourceMod Donor
Join Date: Mar 2004
Location: Denver, CO, USA
Old 10-13-2005 , 14:04  
#27

3 Things


1. Great Job

2. On both the setup/install and the config page it always tell's me that the directories are invalid. I used the old config.inc.php regardless so it was not a big deal but it may be for others since you cant pass that step in the install script since it cant find the directories even though the paths are correct.

3.

Code:
Warning: checkamxplugversion(): URL file-access is disabled in the server configuration in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(http://bans.cause4alarm.net/include/version.inc): failed to open stream: no suitable wrapper could be found in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(): URL file-access is disabled in the server configuration in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(http://bans.cause4alarm.net/include/version.inc): failed to open stream: no suitable wrapper could be found in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(): Failed opening 'http://bans.cause4alarm.net/include/version.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(): URL file-access is disabled in the server configuration in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(http://bans.cause4alarm.net/include/version.inc): failed to open stream: no suitable wrapper could be found in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(): URL file-access is disabled in the server configuration in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317

Warning: checkamxplugversion(http://bans.cause4alarm.net/include/version.inc): failed to open stream: no suitable wrapper could be found in /home/.caramba/haze/bans.cause4alarm.net/include/functions.inc.php on line 317
I keep getting these errors when I view the "Servers" page. I have a work around but this function seems a little obsolete, what do you think? Any ideas for a correct fix? Thanks.

Again, great job on this, we all appreciate it.

Peace.
jsterling is offline
Send a message via AIM to jsterling
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 10-13-2005 , 14:38  
#28

@ jisterling
If you update your webfiles you should not use your "old config.inc.php"
Because if you do that some setting will not be changeble in the config page.

Just try to install all the new webfiles in a new directory and see if the warnings still come up or if it hangs in the setup.

I think it is strange b/c i have tested both on linux and win32 webservers and never got these warnings.

Maybe you have done everything right and then it would be good if your workarround could be useful.

BTW
German translation added (thx Edgar)
Download it where the amxbans.txt is on the first page
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Old 10-13-2005 , 14:59  
#29

GJ lantz can wait to try your version
__________________
SteamBans.org
QuakerOates is offline
jsterling
SourceMod Donor
Join Date: Mar 2004
Location: Denver, CO, USA
Old 10-13-2005 , 15:20  
#30

Quote:
Originally Posted by lantz69
@ jisterling
If you update your webfiles you should not use your "old config.inc.php"
Because if you do that some setting will not be changeble in the config page.

Just try to install all the new webfiles in a new directory and see if the warnings still come up or if it hangs in the setup.

I think it is strange b/c i have tested both on linux and win32 webservers and never got these warnings.

Maybe you have done everything right and then it would be good if your workarround could be useful.

BTW
German translation added (thx Edgar)
Download it where the amxbans.txt is on the first page
Because it is not detecting the Directories correctly I cant get to the point in the install when it writes the file ... Otherwise I would have installed it correctly. The DIR names are correct and setup.php pulls them on its own but when you press the "check dirs" button it tells you that all of the paths are invalid even though they are not. I'm on linux BTW.

I will look more into the issue with the amxversioncheck functions and post my work around in a little bit. This issue is not caused by the web files themselves but by my hosts configuration. Is there another way to write that function?

One more wuick thing, in the changelog you state "do not use web version of motd". How do we activate the non-web version? How do we disable the web version?

Thanks.
jsterling is offline
Send a message via AIM to jsterling
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 03:27.


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