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

Remember the Score


Post New Thread Reply   
 
Thread Tools Display Modes
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-20-2009 , 11:05   Re: Remember the Score
Reply With Quote #11

so players would have very big score like in their /rank with this? can with this be done so it resets all scores on mapchange cuz i want only to save frags per map, cuz players may have disconnects and loose their score
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 03-20-2009 , 12:06   Re: Remember the Score
Reply With Quote #12

Quote:
Originally Posted by .Owyn. View Post
so players would have very big score like in their /rank with this? can with this be done so it resets all scores on mapchange cuz i want only to save frags per map, cuz players may have disconnects and loose their score

Quote:
Originally Posted by Nextra View Post
rts_permap - Only save for one map. Table gets emptied completely on a new map. (Overrides rts_prune, rts_max and rts_min)
This feature was implemented from the beginning. Just set this cvar to 1.
__________________
In Flames we trust!
Nextra is offline
stylerro
Senior Member
Join Date: Mar 2007
Old 03-27-2009 , 09:28   Re: Remember the Score
Reply With Quote #13

i have a problem :
[rememberthescore.amxx] [RTS] Error: Incorrect table name ''
[rememberthescore.amxx] [RTS] Query: TRUNCATE TABLE ``;

Last edited by stylerro; 03-27-2009 at 09:31.
stylerro is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 03-27-2009 , 09:50   Re: Remember the Score
Reply With Quote #14

It seems like you have not set the cvar rts_table. The plugin won't work if no db table is specified.
__________________
In Flames we trust!
Nextra is offline
stylerro
Senior Member
Join Date: Mar 2007
Old 03-27-2009 , 10:00   Re: Remember the Score
Reply With Quote #15

pls help:
p_Host = register_cvar( "rts_host" , "127.0.0.1" , FCVAR_PROTECTED ),
p_User = register_cvar( "rts_user" , "root" , FCVAR_PROTECTED ),
p_Pass = register_cvar( "rts_pass" , "" , FCVAR_PROTECTED ),
p_Db = register_cvar( "rts_db" , "dixi" , FCVAR_PROTECTED ),
p_Table = register_cvar( "rts_table" , "rts" , FCVAR_PROTECTED ),
p_Type = register_cvar( "rts_type" , "mysql" , FCVAR_PROTECTED ),
p_Max = register_cvar( "rts_max" , "1000" ),
p_Min = register_cvar( "rts_min" , "0" ),
p_Prune = register_cvar( "rts_prune" , "0" ),
p_Permap = register_cvar( "rts_permap" , "1" ),
p_Track = register_cvar( "rts_track" , "3" ),
p_Save = register_cvar( "rts_save" , "2" );
stylerro is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 03-27-2009 , 10:05   Re: Remember the Score
Reply With Quote #16

Mh, is the table created in your database? Try to unpause the plugin and see whether other errors occur.
__________________
In Flames we trust!
Nextra is offline
stylerro
Senior Member
Join Date: Mar 2007
Old 03-27-2009 , 10:18   Re: Remember the Score
Reply With Quote #17

better, u can help me with Ip version?

ty man
+k to u

Last edited by stylerro; 03-27-2009 at 11:03.
stylerro is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 03-27-2009 , 10:27   Re: Remember the Score
Reply With Quote #18

I believe that replacing all get_user_authid with get_user_ip will do the trick.
But I think that the other issue is more important huh?

/edit: I will release an update that additionally allows tracking via ip and name, just give me a minute.

//edit: Done, please report whether it works or not. I tested it locally (I see that IP is entered correctly and name tracking works) and don't see where it could produce errors but who knows . Would be nice if you removed your attachement. Thanks.
__________________
In Flames we trust!

Last edited by Nextra; 03-27-2009 at 10:54.
Nextra is offline
stylerro
Senior Member
Join Date: Mar 2007
Old 03-27-2009 , 11:21   Re: Remember the Score
Reply With Quote #19

i tested and no errors
but not working, after rejoin i have 0-0 score. i checked in data> vault , and nothing...

le: i have plugins like zoomless announce, galileo, ultimate punish, pshycho live/stats/heat and all working.

Last edited by stylerro; 03-27-2009 at 11:28.
stylerro is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 03-27-2009 , 11:51   Re: Remember the Score
Reply With Quote #20

It does not work with vault. If you have no mysql database change to sqlite and see if it works.
__________________
In Flames we trust!
Nextra 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 22:33.


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