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

CSstatsX SQL


Post New Thread Reply   
 
Thread Tools Display Modes
quLeryuzz
Member
Join Date: May 2010
Location: Istanbul
Old 06-25-2016 , 19:17   Re: CSstatsX SQL
Reply With Quote #31

I agree edg about server name, current players and others.. For example, I added killassist to CSstatsX for myself. Can you add killassist for the next version? Thank you.

My adding kill assist is Assists for Counter Strike 1.6 v2.1 By RuleBreaker

PHP Code:
public Ham_Killed_player(iVictimiAttackershouldgib) {
    new 
i=0
    
do {
        if(
i!=iAttacker) {
            if(
damage2[i][iVictim]>30) {
                
assist(iiVictim)
            }
        }
        
i+=1
    
} while (i<33)
    
}
public 
assist(attackervictim) {
    
damage2[attacker][victim]=0
    
//assists[attacker]+=1
    
    
player_data[attacker][PLAYER_STATS3][STATS3_ASSISTS]++
    
    
set_hudmessage(025500.790.2406.012.0)
    
show_hudmessage(attacker"+Assist")
}
public 
fwHamPlayerSpawnPost(iPlayer) {
    new 
i=0
    
do {
        
damage2[iPlayer][i]=0
        i
+=1
    
} while(i<33)
}
public 
fw_takedamage(victiminflictorattackerFloat:damagebits) {
      
damage2[attacker][victim]+=damage
}  
public 
deletedmg(id) {
    new 
i1 0
    
do {
        new 
i2=0
        
do {
            if(
damage2[i1][i2]>0) {
                
damage2[i1][i2]-=1
            
}
            
i2+=1
        
} while (i2<33)
        
i1+=1
    
} while (i1<33)
    
set_task(1.0"deletedmg")

it's working
Attached Images
File Type: jpg killassistforcsstats.jpg (88.3 KB, 398 views)
Attached Files
File Type: sma Get Plugin or Get Source (csstatsassist.sma - 645 views - 90.0 KB)
__________________

csduragi.com

Last edited by quLeryuzz; 06-25-2016 at 20:23.
quLeryuzz is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 07-09-2016 , 02:42   Re: CSstatsX SQL
Reply With Quote #32

Update 0.7.4 :p
  • Added weapon stats. New cvar csstats_sql_weapons.
  • Added match history stats. New cvar csstats_sql_maps.
  • Added round and connect stats.
  • Added assist stats. New cvar csstats_sql_assisthp and new forward client_assist_sql.
  • Added autoclean function. New cvar csstats_sql_autoclear.
  • Added autoreset function. New cvar csstats_sql_autoclear_day.
  • Improved cached usage. New cvar csstats_sql_cachetime.
  • Fixed bugs with get_stats and get_stats2 natives.
  • Removed is_user_connected check for get_user_stats natives.
  • Updated API.
  • New natives: get_sestats_*, get_user_stats3, get_stats3, get_stats2, get_user_stats2, get_user_firstjoin_sql, get_user_lastjoin_sql.
  • Fixed problem with cvar reading.
  • Fixed random bugs.
__________________
The functional way is the right way
GordonFreeman (RU) is offline
Hamartia
Member
Join Date: Oct 2015
Old 07-31-2016 , 14:31   Re: CSstatsX SQL
Reply With Quote #33

Hi,

I am waiting for the release to be stable so that I can start using it. Whats your opinion about the current stage, is it stable enough or more rapid releases to be expected ?
__________________
Hamartia is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 08-01-2016 , 11:09   Re: CSstatsX SQL
Reply With Quote #34

rapidly stable

Its should work fine if you are know how to install it xd
Currently most (90%) admins users of this plugin are faced problem that its hard to install and use.

I'm tested and retested it with hlds 6153, amxx 1.8.2 with local database (both mysql and sqlite).

Common problems:
  • rehlds with amxx 1.8.3, client_disconnected forward, fixing by googling error log.
  • may cause higher load time for top15 (OMG ITS TAKE 4-5 SECONDS TO OPEN TOP15 MOTD)
    there is cache function for this case, but its still can take same time for top15, if you are using many sql plugins with many sql queries.
  • someone report random crash with remote database on shared hosting. i tried to check this moment, but failed to reproduce it with remote mysql db with ~150 ping.
  • you can't use it if you are don't know how your server is working.
  • "I KNOW MORE THAT DEVELOPER" problem.
Plugin can work separately with your csx module. So if you want check it without interrupt csx stats you can install it and watch plugin stats in sql table.
__________________
The functional way is the right way
GordonFreeman (RU) is offline
Hamartia
Member
Join Date: Oct 2015
Old 08-01-2016 , 15:34   Re: CSstatsX SQL
Reply With Quote #35

Quote:
Originally Posted by GordonFreeman (RU) View Post
rapidly stable

Its should work fine if you are know how to install it xd
Currently most (90%) admins users of this plugin are faced problem that its hard to install and use.

I'm tested and retested it with hlds 6153, amxx 1.8.2 with local database (both mysql and sqlite).

Common problems:
  • rehlds with amxx 1.8.3, client_disconnected forward, fixing by googling error log.
  • may cause higher load time for top15 (OMG ITS TAKE 4-5 SECONDS TO OPEN TOP15 MOTD)
    there is cache function for this case, but its still can take same time for top15, if you are using many sql plugins with many sql queries.
  • someone report random crash with remote database on shared hosting. i tried to check this moment, but failed to reproduce it with remote mysql db with ~150 ping.
  • you can't use it if you are don't know how your server is working.
  • "I KNOW MORE THAT DEVELOPER" problem.
Plugin can work separately with your csx module. So if you want check it without interrupt csx stats you can install it and watch plugin stats in sql table.
Thanks for the info. I ll try it out.
__________________
Hamartia is offline
Old 11-06-2016, 10:57
Balage74
This message has been deleted by Balage74. Reason: not true
Bleeding Warrior
Junior Member
Join Date: Jul 2012
Old 11-07-2016 , 09:47   Re: CSstatsX SQL
Reply With Quote #36

Quote:
Originally Posted by GordonFreeman (RU) View Post
rapidly stable

Its should work fine if you are know how to install it xd
Currently most (90%) admins users of this plugin are faced problem that its hard to install and use.

I'm tested and retested it with hlds 6153, amxx 1.8.2 with local database (both mysql and sqlite).

Common problems:
  • rehlds with amxx 1.8.3, client_disconnected forward, fixing by googling error log.
  • may cause higher load time for top15 (OMG ITS TAKE 4-5 SECONDS TO OPEN TOP15 MOTD)
    there is cache function for this case, but its still can take same time for top15, if you are using many sql plugins with many sql queries.
  • someone report random crash with remote database on shared hosting. i tried to check this moment, but failed to reproduce it with remote mysql db with ~150 ping.
  • you can't use it if you are don't know how your server is working.
  • "I KNOW MORE THAT DEVELOPER" problem.
Plugin can work separately with your csx module. So if you want check it without interrupt csx stats you can install it and watch plugin stats in sql table.
Hello , I have a problem , I have set cvars properly but still my server is not picking up host IP, i tried hardcoding it but still same problem !!
Also i have added same IP in aes.cfg and sql.cfg as well , still same problem !
https://s12.************/b25mnb65p/image.jpg
Bleeding Warrior is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 11-17-2016 , 14:32   Re: CSstatsX SQL
Reply With Quote #37

Nice Job !
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
spot
Senior Member
Join Date: May 2009
Old 12-03-2016 , 15:29   Re: CSstatsX SQL
Reply With Quote #38

This works with CS:GO and mysql? Better then Rankme PLugin?

Last edited by spot; 12-03-2016 at 15:30.
spot is offline
ACM1PT
Member
Join Date: Feb 2014
Location: Argentina
Old 12-03-2016 , 15:38   Re: CSstatsX SQL
Reply With Quote #39

Quote:
Originally Posted by spot View Post
This works with CS:GO and mysql? Better then Rankme PLugin?
WTF man, this plugin is made for cs 1.6. You are drugged?

Last edited by ACM1PT; 12-03-2016 at 15:38.
ACM1PT is offline
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 12-04-2016 , 05:06   Re: CSstatsX SQL
Reply With Quote #40

Quote:
Originally Posted by ACM1PT View Post
WTF man, this plugin is made for cs 1.6. You are drugged?
Many Server Owners can't tell night from day.
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
Reply


Thread Tools
Display Modes

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 16:06.


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