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

Stats Set Frags/Deaths *Updated 1.7* (Contains DoD + CS)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Statistical        Approver:   v3x (159)
Jordan
Veteran Member
Join Date: Aug 2005
Old 02-12-2006 , 18:39   Stats Set Frags/Deaths *Updated 1.7* (Contains DoD + CS)
Reply With Quote #1

Description

What this plugin does is determine a user's overall kills/deaths and sets their scores accordingly. So, if I have for example 300 kills and 123 deaths, when I join the server my score will be 300-123.

Version
1.7 (CS version) / 1.4 (DoD version)

Commands/CVARS
None, but I can add some if people would like them.

Modules Required
Csstats
Cstrike
Fun

(For DoD):
DoDStats
DoDx
DoDFun

I should be able to make one for other mods, if requested.

Errors
None known, except I am not sure how many kills/deaths are possible until the server crashes

Tested
Yes, WIN32 Server - works.

Coming
Multilingual?

Installation Instructions
Choose get plugin from the options below, and place into addons/amxmodx/plugins folder. Put setstats.amxx in the last line of your plugins.ini.

You can also choose download from the options below and manually compile. Place into addons/amxmodx/plugins folder. Put setstats.amxx in the last line of your plugins.ini.


Credits
GHW_Chronic - Coding help, DoD version.
v3x - Coding help.
Me - Idea + original, original, coding (and then the optimization which comes later ;))
Suicid3 - Finding RoundStart function.
Kraugh - Explaining runtime error problem, fixing!

Changelog
1.7 - Bug free.
1.6 - Fixed runtime error.
1.5 - Fixed bug.
1.4 - Added new event.
1.3 - Removed sv_restartround bug.

NOTE: Because of all the variety in stats functions I don't think there can be a worthwhile plugin that works for all mods, so if I make one for separate mods I'll post them.
Attached Files
File Type: sma Get Plugin or Get Source (setstats.sma - 6785 views - 1.8 KB)
File Type: sma Get Plugin or Get Source (setstats_dod.sma - 3364 views - 1.8 KB)
Jordan is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-12-2006 , 18:48  
Reply With Quote #2

I thought this plugin already existed. It just remembers people's scores, right?
Brad is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-12-2006 , 18:49  
Reply With Quote #3

Quote:
Originally Posted by Brad
I thought this plugin already existed. It just remembers people's scores, right?
Yes, except it's in the trash, and doesn't depend on the stats module. I think someone took it up and is maintaining it, but I don't feel like searching.

The original was "Remember the frags" by JGHG
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Jordan
Veteran Member
Join Date: Aug 2005
Old 02-12-2006 , 18:49  
Reply With Quote #4

I searched, but..... I'd be pretty pissed if it already existed

And yes, thats basically what it does... except it shows it on their actual scores

Edit: Found Remember the Frags which is in the trash, and it's also too big Mine is nice and small
Jordan is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-12-2006 , 21:59  
Reply With Quote #5

Please choose a mod and a category.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Jordan
Veteran Member
Join Date: Aug 2005
Old 02-13-2006 , 16:56  
Reply With Quote #6

Woot, approval - thanks v3x =)

Update: Updated to version 1.2

Changelog: Coding Optimization.
Jordan is offline
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 02-13-2006 , 18:19  
Reply With Quote #7

I'm using a linux server with 1.65, and it has a few bugs. I connected to the server and it said I had 0 kills 83 deaths. I don't know if it's the plugin or the version of amxx i am using.

Good idea though
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
Jordan
Veteran Member
Join Date: Aug 2005
Old 02-13-2006 , 18:24  
Reply With Quote #8

I think it might be the version - I'll worry about 1.65 when it comes out though and ty
Jordan is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 02-13-2006 , 23:54  
Reply With Quote #9

seriously, this is a really good idea for a plugin.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 02-14-2006 , 06:40  
Reply With Quote #10

What is the maximum kills/deaths it can hold & display?

EDIT:

Didn't work for me. All players got about -30904 in score at first seconds, then the game commenced and everybody had 0
__________________
Cryonic 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 07:14.


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