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

GG-SQL improvement


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 12-30-2008 , 13:36   GG-SQL improvement
Reply With Quote #1

Hey Avalanche,

you know i'm using GG_SQL1.04.

But i think i've got another good suggestion.

Can you may add a CVAR like "gg_sql_minwins x" or "gg_sql_minpoints x" something like that?

so only people over "x" wins or points will be added to the database.

i have near 3000 Players in my database with 0 wins and only a few hundret of points. so if i would add "gg_sql_minwins 2" only players with 2 or more wins will be transfered from the servers ggstats to my ggstats database.

i hope, you know what i mean

regards
SeToY
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.
SeToY is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-30-2008 , 17:39   Re: GG-SQL improvement
Reply With Quote #2

Well, I plan to get rid of (or no longer support) GG SQL when I add integrated SQL stats to GunGame, so I probably won't officially add a cvar or update it all. But it's pretty easy to modify the plugin if you want to.

Go to around line 192 and add something like this:

Code:
        // isolate timestamp (and points)         strtok(sfLineData,sfTimestamp,11,sfPoints,7,'^t'); /* LINE 192 */         /* ADD THIS */         if(str_to_num(sfWins) < 2 && str_to_num(sfPoints) < 1000) continue;
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 08-24-2009 , 08:00   Re: GG-SQL improvement
Reply With Quote #3

Quote:
Originally Posted by XxAvalanchexX View Post
Well, I plan to get rid of (or no longer support) GG SQL when I add integrated SQL stats to GunGame,
What happened to this plan?

I mean.. its nearly over one year ;)

ATM i only see normal gungame version with no changes and still the old GG_SQL
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.
SeToY is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 08-24-2009 , 11:26   Re: GG-SQL improvement
Reply With Quote #4

Quote:
Last Activity: 14-03-09 05:59
I guess he left the community
__________________

Mordekay is offline
SeToY
SourceMod Donor
Join Date: Jul 2006
Location: Germany
Old 08-24-2009 , 13:40   Re: GG-SQL improvement
Reply With Quote #5

http://avalanche.gungame.org/

Look at the latest news
__________________
Success is a lousy teacher. It seduces smart people into thinking they can't lose.
- Bill Gates

Quote:
Originally Posted by Hawk552
SeToY is a retard, scumbag and asshole and you shouldn't pretend that he isn't.
SeToY is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 08-24-2009 , 14:00   Re: GG-SQL improvement
Reply With Quote #6

Good to know!
I did not watched the website from gungame for a long time. I thought he would jump in once a while if he is online.
__________________

Mordekay 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 03:42.


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