Author Topic: Damage Report  (Read 4560 times)

0 Members and 4 Guests are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Damage Report
« on: April 27, 2008, 08:24:41 pm »
Script Name: Damage Report
Script Description: Gives a report of damage and number of bullets you have given and received to specific people; survival version includes round-based reports
Original Author: Curt
Core Version: 2.6.3
/report - gives the current report (if survival version, only applies for current round)
/overall - gives overall report for the map (only for survival version)

Constants
Color = $colorcode; Color of text to be shown with the /report /overall commands
Percent = false/true; true=shows damage as a percent, not actual value (65=max health for realistic, 150 for non)
LimitEnemies = true/false; true=only show enemies, not friendlies
LimitNoZeros = true/false; true=don't show any people with zero damage on you / from you
Show = 0, 1, 2; 0=both, 1=outgoing only, 2=incoming only
ShowWeap = true/false; true=shows previous weapon damaged by, option available due to not always being 100% accurate
« Last Edit: May 02, 2008, 04:26:33 pm by DorkeyDear »

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Damage Report
« Reply #1 on: April 28, 2008, 07:07:41 am »
OK i go test it  :)

@EDIT
I want:
1. If i want look report of last round /report show: 0 0 0...
2. It only show DMG I given, no taken
3. Can you do script show weapons killing and yes or not dead?? Example:DMG, %hp, AK-74, dead (if not dead example: ...AK-74.)
4. Script show shooting of ALL players I want only people with i shooting:
NOT:
Miszkol_ - 0 0%
mother - 0 0%
father - 0 0%
uncle - 1 68%
Dante - 2 40%


YES:
uncle - 1 68%
Dante - 2 40%


And don't write me in "given"
---------------------------------------
OK may you repair this??
« Last Edit: April 28, 2008, 11:35:03 am by Miszkol_ »
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Damage Report
« Reply #2 on: May 01, 2008, 04:04:11 pm »
Update:
NON-survival version
Constants to filter what to show and what not to:
-LimitEnemies = true/false; true=only show enemies, not friendlies
-LimitNoZeros = true/false; true=don't show any people with zero damage on you / from you
-Show = 0, 1, 2; 0=both, 1=outgoing only, 2=incoming only

Should be an update soon with more.

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Damage Report
« Reply #3 on: May 02, 2008, 03:44:23 am »
May you update SURVIVAL version??
I write what i want.
My last post on this topic is to SURVIVAL ver.
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Damage Report
« Reply #4 on: May 02, 2008, 04:24:42 pm »
May you update SURVIVAL version??
I write what i want.
My last post on this topic is to SURVIVAL ver.
Yes I know... "Soon to be an update with more" meant to cover both scripts...

Date Posted: May 02, 2008, 04:03:44 pm
Update:
NON-survival version
-Now ability to show with what weapon the player previously damaged them with. Note that this may not be 100% accurate, and may be disabled with a constant "ShowWeap" as true/false

Survival version update should come soon

Date Posted: May 02, 2008, 04:57:33 pm
Update:
-Added non-survival features to survival version

Date Posted: May 02, 2008, 05:10:10 pm
Update:
-Survival version now includes previous round history, command /report <num_of_rounds_ago>

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Damage Report
« Reply #5 on: May 02, 2008, 04:31:31 pm »
I don't understand...see me signature txt...
It's READY to work or you WILL DO it LATER??
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Damage Report
« Reply #6 on: May 03, 2008, 08:04:06 am »
I don't understand...see me signature txt...
It's READY to work or you WILL DO it LATER??
Please do not use caps... that is starting to really annoy me.

Now I'm confused... afaik its everything you wanted.

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Damage Report
« Reply #7 on: May 03, 2008, 08:31:11 am »
Wait i look...
ok i don't will use caps sry...

@edit
It's almost good, but seweral bugs...
- I win round and don't have incoming stats, but script show me DMG in incoming and outcoming...
- Sometimes script don't show kills in incoming or outcoming..
etc...

plz, repair this.
« Last Edit: May 03, 2008, 08:52:01 am by Miszkol_ »
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Damage Report
« Reply #8 on: May 03, 2008, 09:50:27 am »
outgoing*
- I win round and don't have incoming stats, but script show me DMG in incoming and outcoming...
If you are damaged at all, that is incoming stats, despite if you win or not.
- Sometimes script don't show kills in incoming or outcoming..
Do mean that the stats don't say exactly 100%?

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Damage Report
« Reply #9 on: May 03, 2008, 10:16:49 am »
no 100% - 1 of 5-6 round...

you repair this??
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Damage Report
« Reply #10 on: May 03, 2008, 12:39:17 pm »
Not really...
The health some reason doesn't correspond completely with the damage on OnPlayerDamage, nothing I can do about this.

Offline Miszkol_

  • Major(1)
  • Posts: 30
  • The Piccolo Power xD
Re: Damage Report
« Reply #11 on: May 03, 2008, 12:52:24 pm »
OK i waiting for ready script
English is hard language, please forget my bad :P

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Damage Report
« Reply #12 on: May 08, 2008, 02:35:58 pm »

Offline Replica

  • Major
  • *
  • Posts: 96
Re: Damage Report
« Reply #13 on: May 26, 2008, 06:29:02 pm »
I like the idea, but I personally think it'd be good if there was at least an option to make it so that it only reports damage given and received on someone until they died (or you did), and then it resets when you encounter them next (i.e. hit them, or get hit by them). 


As it stands I think it's kinda pointless having it say "122 hits 65%" or whatever.  I don't even understand what that means... 

edit:
Also I should really point out that there are some serious bugs in this script - I don't know much about scripting, but somehow some of the code in this causes some problems with health, allowing people to regenerate HP, spawn instantly - right where they died, etc.

While it definitely needs fixing, I do like the idea, as mentioned above. 
Just to note:  I'm using the normal version, not survival. 
« Last Edit: May 29, 2008, 08:45:38 am by Replica »