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

Climb


Post New Thread Reply   
 
Thread Tools Display Modes
cameron0620
Junior Member
Join Date: Nov 2007
Old 10-28-2008 , 12:15   Re: Climb
Reply With Quote #151

127.0.0.1 is a generic ip address that points to your local machine. So, if your mysql server is located on the same computer as your climb server, then you should use 127.0.0.1. If your sql server is on a different computer, then you have to point it there.

I personally use sqlite for the database saving. Unless you are going to use the data for something other than the scoreboard (ie. a website posting the ranks for each map), then sqlite is just easier.
Amxmodx has a built in sqlite database module that works well. All you have to do is remove the comment in front of the sqlite line located in amxmodx/configs/modules.ini
then set the database mode to sqlite with the correct cvar. all the other database cvars can be left unchanged.

Last edited by cameron0620; 10-28-2008 at 12:57.
cameron0620 is offline
adJ
Junior Member
Join Date: Sep 2008
Location: Germany , Nrw, Bottrop
Old 11-21-2008 , 16:54   Re: Climb
Reply With Quote #152

I have a Question i Put Your Plugin on my kz server it works fine
but if i type /top15 a Windows opend and there only stay
climb_highscores.html...
can you help me? xP

adJ is offline
Send a message via ICQ to adJ Send a message via MSN to adJ
cameron0620
Junior Member
Join Date: Nov 2007
Old 11-21-2008 , 17:16   Re: Climb
Reply With Quote #153

what do you have setup for cvars.. i would suggest using sqlite for the db unless you are familiar with mysql.

to use sqlite in amxmodx, you must manually uncomment (remove the ;) in front of the sqlite line of modules.ini found in the configs folder.

if you have that uncommented then you just need to set

climb_db_type sqlite

everything should work fine
cameron0620 is offline
stealthgerbil
Junior Member
Join Date: Nov 2008
Old 01-19-2009 , 15:23   Re: Climb
Reply With Quote #154

Is it my imagination or does this plugin disable grenades on climb maps? Is there any way to allow grenades?
stealthgerbil is offline
cameron0620
Junior Member
Join Date: Nov 2007
Old 01-21-2009 , 14:46   Re: Climb
Reply With Quote #155

i have never seen a grenade on a climb map.

I am getting an error with the newest nightly build of this plugin. Here is the debug log. Can anyone diagnose the problem?

Code:
L 01/21/2009 - 05:51:18: Start of error session.
L 01/21/2009 - 05:51:18: Info (map "kz_costco") (file "addons/amxmodx/logs/error_20090121.log")
L 01/21/2009 - 05:51:18: [FUN] Invalid player 1
L 01/21/2009 - 05:51:18: [AMXX] Displaying debug trace (plugin "climb.amxx")
L 01/21/2009 - 05:51:18: [AMXX] Run time error 10: native error (native "set_user_health")
L 01/21/2009 - 05:51:18: [AMXX]    [0] climb.sma::heal (line 2352)
L 01/21/2009 - 05:51:18: [AMXX]    [1] climb.sma::damage_handle (line 2321)
cameron0620 is offline
stealthgerbil
Junior Member
Join Date: Nov 2008
Old 01-24-2009 , 23:55   Re: Climb
Reply With Quote #156

i have a plugin that gives grenades and as soon as i throw them, they dissappear
stealthgerbil is offline
Sipi
Member
Join Date: Sep 2007
Old 02-03-2009 , 13:14   Re: Climb
Reply With Quote #157

Hi there!

I've got some problems with the mysql functions for this plugin. From the log:
Quote:
[climb.amxx] Climb: Couldn't connect to database: Can't connect to MySQL server on '127.0.0.1' (111)
From sql.cfg:
Code:
climb_db_host "mysql.xxx.no"
climb_db_user "user"
climb_db_pass "pw"
climb_db_name "xxx"
climb_db_type "mysql"
climb_db_prefix "kz_"
Sipi is offline
cameron0620
Junior Member
Join Date: Nov 2007
Old 02-04-2009 , 16:01   Re: Climb
Reply With Quote #158

try pasting that information into your amxx.cfg so that you know it gets executed at map change
cameron0620 is offline
tlittle
New Member
Join Date: Dec 2008
Old 02-16-2009 , 15:36   Re: Climb
Reply With Quote #159

Quote:
Originally Posted by cameron0620 View Post
try pasting that information into your amxx.cfg so that you know it gets executed at map change
I have the same problem. And I tried to paste this into server.cfg, amxx.cfg, sql.cfg. If I type in the server-console "climb_db_host", it answer: ""climb_db_host" is "10.0.0.58"". But when server starts still present error:
Quote:
L 02/16/2009 - 23:28:40: [climb.amxx] Climb: Couldn't connect to database: Can't connect to MySQL server on '127.0.0.1' (111)
L 02/16/2009 - 23:28:40: [climb.amxx] Climb: Couldn't connect to database: Can't connect to MySQL server on '127.0.0.1' (111)
tlittle is offline
cameron0620
Junior Member
Join Date: Nov 2007
Old 02-17-2009 , 17:58   Re: Climb
Reply With Quote #160

weird, I have never used it with mysql. It will work with sqlite for sure.
cameron0620 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 05:02.


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