Raised This Month: $ Target: $400
 0% 

Climb


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Min2liz
AlliedModders Donor
Join Date: Feb 2008
Location: Street
Old 02-23-2008 , 19:21   Re: Climb
Reply With Quote #11

hi, first sorry for bad En skills
Ok, first of all, thanks for really great plugin, but I have some errors/problems with this plugin. I enable Top15 in mysql and than climber finish map script add him to mysql DB, but only 1, if other player finish map too, previous user overwrite :/ My old cvars:

Quote:
p_climb = register_cvar( "climb", "1", FCVAR_SERVER )
p_auto = register_cvar( "climb_auto", "1" )
p_boost = register_cvar( "climb_boost", "0" )
p_cpprice = register_cvar( "climb_cpprice", "0" )
p_startmoney = register_cvar( "climb_startmoney", "1337" )
register_cvar( "climb_save", "1" )
register_cvar( "climb_db_type", "mysql" )
register_cvar( "climb_db_host", "127.0.0.1" )
register_cvar( "climb_db_user", "climb" )
register_cvar( "climb_db_pass", "climb", FCVAR_PROTECTED )
register_cvar( "climb_db_name", "climb" )
register_cvar( "climb_db_prefix", "climb_" )
register_cvar( "climb_db_serverid", "" )
register_cvar( "climb_db_exists", "0" )
So, found something like 'climb_db_exists' and set to 1

So I change climb_db_exists to 1 recompile and TRUNCATE all tables. After that change map, and trying with friends, and than I climb first everything was ok, me added to DB, but than friends finish maps rewrite last who finished user, not time, nothing but only user :/ Sorry for noob questions, but who can help with this?

EDIT:

I tryed to add inserver.cfg climb_db_exists 1 and again same, me add to DB, one friend no, and another get this error:
Quote:
L 02/24/2008 - 024:52: [climb.amxx] Climb: Query failed: Duplicate entry 'STEAM_ID_LAN' for key 2

Last edited by Min2liz; 02-23-2008 at 19:38.
Min2liz is offline
 



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 09:33.


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