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

Damage report/stats (1.1.13)


Post New Thread Reply   
 
Thread Tools Display Modes
Delirium89
Junior Member
Join Date: Jan 2009
Old 01-15-2011 , 14:57   Re: Damage report/stats (1.1.13)
Reply With Quote #211

Quote:
Originally Posted by Delirium89 View Post
Hi, great script, nice work.

One question: how do i change the command to show the options. This is currently /damage_report, i want to change this.
Got it. Simply changed this line:

Code:
RegConsoleCmd("damage", Command_DamageReport);
Delirium89 is offline
Raptor10
Senior Member
Join Date: Nov 2008
Old 01-27-2011 , 00:52   Re: Damage report/stats (1.1.13)
Reply With Quote #212

Hi all, I got two problems with this plugin:

1° Typing "/damage_report help" in chat nothing appears..
2° I uploaded my translations file (translated in italian) but I still get all in english

One suggestion: Why don't you cut the phrase damage_report help ? Longer it is more errors players will make and more time they will spend to type again..
Raptor10 is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 03-03-2011 , 08:00   Re: Damage report/stats (1.1.13)
Reply With Quote #213

Hi everyone,

I'm using this plugin right now and it works fine, except one thing:

when displayed in chat, damage report is displayed twice.

I'm running a linux server dedicated to cs:s, and I don't have any es_tools installed.

Does anyone know about this problem?

Thanks in advance.

St00ne

Last edited by St00ne; 03-03-2011 at 08:26.
St00ne is offline
fifipaldi
Member
Join Date: Apr 2011
Old 05-12-2011 , 10:25   Re: Damage report/stats (1.1.13)
Reply With Quote #214

Hi, great plugin. I just want to ask. Can i remove the showing of the most damage done and most hits in the end of the round ?
fifipaldi is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 05-12-2011 , 11:41   Re: Damage report/stats (1.1.13)
Reply With Quote #215

You will have to edit the .sp file and recompile.

Just comment out lines 672 - 676 and use the web compiler to make the new .smx file.

Then just upload it to your plugins directory like any other plugin and make sure to overwrite the old one.
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
fifipaldi
Member
Join Date: Apr 2011
Old 05-17-2011 , 09:59   Re: Damage report/stats (1.1.13)
Reply With Quote #216

Thanks for the quick reply, but when i try to do that this occurs :

SourcePawn Compiler 1.3.7
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

/home/groups/sourcemod/upload_tmp/phpQ5CVDw.sp(114) : warning 234: symbol "AskPluginLoad" is marked as deprecated: Use AskPluginLoad2() instead

/home/groups/sourcemod/upload_tmp/phpQ5CVDw.sp(667) : warning 204: symbol is assigned a value that is never used: "mostKillsPlayer"
/home/groups/sourcemod/upload_tmp/phpQ5CVDw.sp(653) : warning 204: symbol is assigned a value that is never used: "mostHits"
/home/groups/sourcemod/upload_tmp/phpQ5CVDw.sp(652) : warning 204: symbol is assigned a value that is never used: "mostDamagePlayer"
Header size: 3436 bytes
Code size: 17084 bytes
Data size: 545688 bytes
Stack/heap size: 16384 bytes; Total requirements: 582592 bytes

4 Warnings.

Is it a problem ?

Last edited by fifipaldi; 05-17-2011 at 12:01.
fifipaldi is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 05-17-2011 , 12:28   Re: Damage report/stats (1.1.13)
Reply With Quote #217

Hmm, thats strange.

I did the same thing to this plugin cause I use another plugin to display the stuff in chat at the end of the round and I dont remember any errors on compile.
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 05-17-2011 , 21:29   Re: Damage report/stats (1.1.13)
Reply With Quote #218

That's because you had no errors. He jsut has warnings.
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 05-18-2011 , 11:27   Re: Damage report/stats (1.1.13)
Reply With Quote #219

Hi there,

you just have to put slashes at the beginning of the lines that you want to make "silent" (Lines 673 and 676):

Code:
  // Display to all the player that did the most damage this round
  if(mostDamage > 0) {
    //PrintToChatAll("\x04%s inflicted most damage, %d dmg in %d hits!", g_PlayerName[mostDamagePlayer], mostDamage, mostHits);
  }
  if(mostKills > 0) {
    //PrintToChatAll("\x04Most kills:%s with %d kills" ,g_PlayerName[mostKillsPlayer], mostKills);
Now when you compile this script, compiler tells you:

Quote:
SourcePawn Compiler 1.3.7
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(114) : warning 234: symbol "AskPluginLoad" is marked as deprecated: Use AskPluginLoad2() instead

/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(667) : warning 204: symbol is assigned a value that is never used: "mostKillsPlayer"
/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(653) : warning 204: symbol is assigned a value that is never used: "mostHits"
/home/groups/sourcemod/upload_tmp/phpj9CMJg.sp(652) : warning 204: symbol is assigned a value that is never used: "mostDamagePlayer"
Header size: 3436 bytes
Code size: 17140 bytes
Data size: 545724 bytes
Stack/heap size: 16384 bytes; Total requirements: 582684 bytes

4 Warnings.
Nevermind, these are warnings, not errors.
One warning is due to a sourcemod update, that the compiler fixes automatically.
The 3 other warnings are due to the fact that 3 vars created by plugin are not used, because you deactivated them. That's normal and safe.

In the script I use I removed these vars to have a "clean" script with no warnings, but I can't share it here as I edited a lot of other stuff too and it would take me too much time to return to default settings for you.

Hope it will help, bye !
St00ne is offline
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 06-25-2011 , 17:19   Re: Damage report/stats (1.1.13)
Reply With Quote #220

Anyone sees the DR Fix box when joining game? Its annoying!
Any way to remove it?
IcEWoLF 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 16:54.


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