Raised This Month: $ Target: $400
 0% 

Amxbans 6.x


Post New Thread Reply   
 
Thread Tools Display Modes
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 08-10-2006 , 06:18   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #611

@Trenith Tsurgi
You could try this
Edit the file amxbans/include/config.inc.php (webserver)
There you can change the ip to the mysql
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Trenith Tsurgi
Junior Member
Join Date: Jun 2006
Location: Lakeside
Old 08-10-2006 , 12:42   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #612

Quote:
Originally Posted by lantz69
@Trenith Tsurgi
You could try this
Edit the file amxbans/include/config.inc.php (webserver)
There you can change the ip to the mysql
Thank you, that was exactly what I was looking for.
Trenith Tsurgi is offline
Trenith Tsurgi
Junior Member
Join Date: Jun 2006
Location: Lakeside
Old 08-10-2006 , 12:51   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #613

Another problem: I edit the config.inc.php and it tells me it saves, but it just changes back. I can't even edit permissions on it, it is like I have no control.

Last edited by Trenith Tsurgi; 08-10-2006 at 12:55.
Trenith Tsurgi is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 08-10-2006 , 13:05   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #614

Maybe you don't have the right's to change it? If it is your own root-server login as root and change the file then. If you don't have root on the server, ask the administrator to give them the needed right'S for it or let it change him for you
__________________

Mordekay is offline
Trenith Tsurgi
Junior Member
Join Date: Jun 2006
Location: Lakeside
Old 08-10-2006 , 13:10   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #615

Alright, well it was given to me, and I logon with his username and my changed password. So I should be able to control all the strings. It is only that file I can't change. I can do everything else to all the other files.
Trenith Tsurgi is offline
Trip~Hazard
Senior Member
Join Date: Jun 2004
Location: North Carolina
Old 08-11-2006 , 14:20   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #616

Quote:
Originally Posted by lantz69
Just remove the plugin_end function from the code and compile.
The db conn is closed automatically when map changes anyway.
The error kind of confuses me. Line 1751 is dbi_close and not plugin_end as the error indicates. I suppose dbi_close is a function of plugin_end?

1746 return PLUGIN_HANDLED
}
1748
1749 public plugin_end()
{
1751 dbi_close(sql)
}

Should I remove just plugin_end string (1749) or lines 1748-1752?
__________________
Trip~Hazard is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 08-11-2006 , 14:50   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #617

The function plugin_end() is executed when the server changes map
And if the db connection is lost you will get that error.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Ph4ze
Junior Member
Join Date: Jul 2006
Old 08-15-2006 , 15:06   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #618

I cant connect to my database, i get this

L 08/15/2006 - 169:09: [amxbans.amxx] [AMXBANS] SQL error: can't connect: 'Can't connect to MySQL server on 'mysql155.secureserver.net' (110)'

But on the webserver it can connect, can someone please find the i.p for my mysql instead of putting a link thing
Ph4ze is offline
xatazch
Member
Join Date: Jan 2005
Old 08-15-2006 , 15:24   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #619

contact the company where u have your mysql database.
__________________
www.cs-online.se #cs-online.se @ Q-net
xatazch is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 08-16-2006 , 08:30   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #620

Quote:
Originally Posted by Ph4ze View Post
can someone please find the i.p for my mysql instead of putting a link thing
Code:
C:\>ping mysql155.secureserver.net

Pinging hmysql39-01.secureserver.net [10.0.13.15] with 32 bytes of data:
Don't forget to add the ip of your gameservers to the list of allowed hosts.
__________________
Janet Jackson is offline
Reply



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 11:28.


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