Monthly Target: $400 Donations: $126
 31% 

[L4D] Damage Info Display 1.3.5


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dionys
Senior Member
Join Date: Sep 2008
Location: Terra, Russia
Plugin ID:
676
Plugin Version:
1.3.5
Plugin Category:
Statistical
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    18 
    Plugin Description:
    Old 12-14-2008 , 16:52   [L4D] Damage Info Display 1.3.5
    Reply With Quote #1

    Description:
    Show in hint window the information on the damages put to the player during his life and during death of the player or in the end of a round show on in-game panels the information on the total put and received damages.
    User displays mode settings in in-game menu (!did_mode in the chat).

    CVAR:
    sm_did_version - Version of Display Damage plugin
    sm_did_enabled - Enables Display Damage to players
    sm_did_defhint - Default Display Damage mode for enter on a server of players.
    sm_did_deftotal - Default Display Damage on Death mode. 1 = Display Total Damage; 2 = Display Damage Since Last Spawn; any other = no display.
    sm_did_survivor_block - Block HintInfo about infected damages for survivor.
    sm_did_announce - Enables Display Damage to advertise to players
    sm_did_hmode (!did_hmode in chat) - client command for call select Display Damage mode in-game menu
    sm_did_tmode (!did_tmode in chat) - client command for call select Display Damage type at player death in-game menu
    sm_did (!did in chat) - client command for DID Total Panel
    sm_did_clear (!did_zero in chat) - client command for Clear all Damages

    Autostart of a configuration and file of language support (current Russian, English, German, Spanish and Polish).

    [IMG]http://img218.**************/img218/6127/didhurtal6.th.jpg[/IMG] [IMG]http://img7.**************/img7/6369/diddisplay01wm6.th.jpg[/IMG] [IMG]http://img165.**************/img165/5495/diddisplay02mu2.th.jpg[/IMG] [IMG]http://img165.**************/img165/3159/didhmodefd8.th.jpg[/IMG] [IMG]http://img165.**************/img165/6964/didtmodehy8.th.jpg[/IMG]

    WIP
    1.3.5 (2009.09.10)
    Portuguese support is added
    1.3.5 (2009.04.24)
    Ready for L4D version 1.0.1.2
    Fix hook/unhook events when players abandons a server.
    1.3.1 (2009.02.20)
    Fix hook/unhook events should now work properly.
    1.3.0 (2009.02.08)

    Save user settings on server side is added.
    Total Damage will always display at end of round, unless you are infected, recently died, and already saw your total damage.
    Fix display not showing up when a player dies from common infected or entities (fire, fall damage, etc).
    improved round end detection in coop mode, no longer using door_close events.
    Fix menu "array index out of bounds" error when pressing menu exit button.
    removed cvar sm_did_gmode (autodetect gamemode now)
    warning: need use new sm_did.cfg and plugin.sm_did.txt
    1.2.8 (2009.02.06)
    Command !did will now ask which damage to display TOTAL DAMAGE or DAMAGE SINCE SPAWN
    removed comand sm_did_default (use sm_did_hmode instead)
    command sm_did_tmode is added
    1.2.7 (2009.02.05)
    Fix door_close bug in coop mode.
    Fix duplicate RoundEnd events in versus mode, which caused stats to show up empty for 10 seconds.
    Fix finale now triggers damage display at end of round (vehicle ready event).
    1.2.6 (2009.02.04)
    Added menu mode Display on Death. 1=Total Damage, 2=Damage Since Last Spawn, 3=Disabled.
    cvar sm_did_deftotal is added to support future possibilities
    removed cvar sm_did_total_onlyrend (use sm_did_deftotal instead)
    removed cvar sm_did_mode (use sm_did_defhint instead)
    1.2.5 (2009.02.03)
    find bug in previous version is fixed
    cvar sm_did_total_onlyrend (Show DID Total Panel only in a RoundEnd. 0 = off; 1 = on.) is added
    1.2.3 fixed (2009.02.02)

    Code optimisation
    find bug 1.2.2 version is fixed (THX: -pk- for bug hunting)
    1.2.2 (2009.02.01)
    Func Block HintInfo about infected damages for survivor is added (thx headseeker for remark)
    cvar sm_did_survivor_block is added
    1.2.1 (2009.01.19)
    Fix incorrect info in DID Total Panel if client Display Mode != 1
    1.2.0 (2009.01.19)
    display of damages from infected is added
    display of quantity killed infected is added
    display of quantity killed players is added
    client chat command !did (Call DID Total Panel) is added
    client chat command !did_zero (Clear all Damages) is added
    small errors are corrected
    1.1.5 (2008.12.23)
    Fix translation
    1.1.5 (2008.12.20)
    Really fixed wrong calculation of TA current damages.
    Support coop mode is added (In a coop mode the counter of damages is nulled at safe room door closing).
    new cvar is added.
    1.1.4 (2008.12.18)
    Wrong calculation of current damages at round start is corrected.
    1.1.3
    Wrong calculation of current damages at change map is corrected.
    1.1.2
    Wrong calculation of total damages is corrected.

    co-author:
    - -pk-

    special thx:
    - DDR Khat


    credits:
    - Sammy-ROCK! (thx for interesting idea of a show in a real-time information about damages in hint window)
    - captain-pot-noodle (thx for english lang adaptation)
    - DarkAnubis (thx for german lang support)
    - macing (thx for german and spanish lang support)
    - YourEnemyPL (thx for polish lang support)
    - danmala(thx for portuguese lang support)

    warning: I ask not to suggest to change a code (there is no free time it to do) a plug-in works perfectly. Use as is. There is a desire to change code - make it - I not against. In a this topic I ask to write only about the found errors.

    Дополнительная информация для русскоязычных серверов:
    для включения поддержки русского языка в сурсмоде:
    - в настройках сурсмода в language.cfg добавить
    Code:
    "ru" "Russian"
    - в настройках сурсмода в core.cfg изменить
    Code:
    "AllowClLanguageVar" "On"
    - если не помогло:
    удалить из языкового файла plugin.sm_did.txt все языки кроме русского
    файл должен быть сохранен в формате utf (без тега BOM), лучше использовать для этого notepad++
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_did.sp - 3957 views - 30.3 KB)
    File Type: cfg sm_did.cfg (547 Bytes, 1878 views)
    File Type: txt plugin.sm_did.txt (6.3 KB, 1701 views)
    File Type: zip Damage Info Display (l4d) 1.3.5.zip (384.0 KB, 3833 views)

    Last edited by Dionys; 09-10-2009 at 03:52.
    Dionys is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 12-14-2008 , 17:05   Re: [L4D] Damage Info Display
    Reply With Quote #2

    .rar file types are not permitted. Please upload the plugin as the .sp file.

    If it must be compressed the following formats are approved:

    zip, tar, bz2, or gz
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?

    Last edited by Antithasys; 12-14-2008 at 17:08.
    Antithasys is offline
    Dionys
    Senior Member
    Join Date: Sep 2008
    Location: Terra, Russia
    Old 12-14-2008 , 18:15   Re: [L4D] Damage Info Display
    Reply With Quote #3

    Quote:
    Originally Posted by Antithasys View Post
    .rar file types are not permitted. Please upload the plugin as the .sp file.

    If it must be compressed the following formats are approved:

    zip, tar, bz2, or gz
    srr
    fix
    Dionys is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 12-14-2008 , 19:47   Re: [L4D] Damage Info Display
    Reply With Quote #4

    Quote:
    Originally Posted by Dionys View Post
    srr
    fix
    If the plugin compiles on the forums, and this does, please do not post a compiled version. In other words, you can omit the .smx

    Quote:
    Originally Posted by Sammy-ROCK! View Post
    I call copycat.
    While I agree the idea was originally yours, and he most certainly started with your plugin to make his own, he does credit you in the thread.

    I do not see a credit to you in the author field of the plugin, but the code appears to be at least 60% different from your own. A mention there would have been better, but not required due to the amount of changes.

    Asking the original author is always perfered, but not required.

    Remember this is a open source community, and a certain amount of "borrowing" is expected. People learn by doing this and not only that, but sharing your code so others can use is what open source is all about.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?

    Last edited by Antithasys; 12-14-2008 at 20:12.
    Antithasys is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-14-2008 , 20:12   Re: [L4D] Damage Info Display
    Reply With Quote #5

    Sorry but I don't think "For a plug-in basis idea Sammy-ROCK is taken!" is a credit. It's more like "He tough on it first!". He can take my code but atleast credit. Instead of it he seems to blame me for taking the idea first.

    Edit: I don't really care that he got some of my code. It's just that he seems to be blamming me for making the plugin first. But still his english is not the best he might wanted to mean something different.

    Last edited by Sammy-ROCK!; 12-14-2008 at 20:18.
    Sammy-ROCK! is offline
    Dionys
    Senior Member
    Join Date: Sep 2008
    Location: Terra, Russia
    Old 12-14-2008 , 20:57   Re: [L4D] Damage Info Display
    Reply With Quote #6

    Quote:
    Originally Posted by Sammy-ROCK! View Post
    I call copycat.
    Code:
    !did_mode <0/1/2/3>
    Quote:
    Originally Posted by Sammy-ROCK! View Post
    Also what's this?
    Code:
            // Give users default setting
            new String:steamId[64];
            GetClientAuthString(client, steamId, sizeof(steamId));
    Why would you grab steam id and don't use?
    What is this? My plug-in don't use switch.
    cmd !did_mode call in-game menu
    The plug-in set of times was corrected, probably there was something superfluous
    fix

    Quote:
    Originally Posted by Sammy-ROCK! View Post
    Pretty much same as mine? He didn't even bother changing some names. At least give "some" credit.

    When you use specific sourcemod function - you specify the co-author of a plug-in of developers sourcemod?

    This plug-in really uses only your idea and the name of pair variables. I did not aspire to change the name of variables and I do not hide that the initial idea was yours.
    In difference from your source code - this plug-in show and calculate that that should (In difference from the initial code ) and is more functional in options for the user.

    Quote:
    Originally Posted by Sammy-ROCK! View Post
    But still his english is not the best he might wanted to mean something different.
    My language russian - and me does not excite quality of my english and your relation to him.

    Last edited by Dionys; 12-14-2008 at 22:22.
    Dionys is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-14-2008 , 22:33   Re: [L4D] Damage Info Display
    Reply With Quote #7

    Quote:
    Originally Posted by Dionys View Post
    What is this? My plug-in don't use switch.
    cmd !did_mode call in-game menu
    The plug-in set of times was corrected, probably there was something superfluous
    fix



    When you use specific sourcemod function - you specify the co-author of a plug-in of developers sourcemod?

    This plug-in really uses only your idea and the name of pair variables. I did not aspire to change the name of variables and I do not hide that the initial idea was yours.
    In difference from your source code - this plug-in show and calculate that that should (In difference from the initial code ) and is more functional in options for the user.


    My language russian - and me does not excite quality of my english and your relation to him.

    Sorry but I don't think "For a plug-in basis idea Sammy-ROCK! is taken!" is the proper way to say someone did it first. It seems more like "He stole it!". I'm not sure if you know english enought to know taken means like I took something which ain't true and more like the odd. As I said I don't care if you took code or not but I still found that offensive.
    Sammy-ROCK! is offline
    Dionys
    Senior Member
    Join Date: Sep 2008
    Location: Terra, Russia
    Old 12-14-2008 , 22:55   Re: [L4D] Damage Info Display
    Reply With Quote #8

    The first: look the first post again
    The second: if I replace the name of variables

    new Handle:Allowed = INVALID_HANDLE;
    new Handle:DefaultMode = INVALID_HANDLE;
    new DisplayMode [MAXPLAYERS+1] = {BaseMode...};
    new Damage [MAXPLAYERS+1] [MAXPLAYERS+1];

    that is unique similarity on a writing and to functionality of a my plug-in - it will be enough for your moral calmness. Or was an error to specify that initial your idea? Then where your correctly working plug-in?

    Last edited by Dionys; 12-14-2008 at 22:58.
    Dionys is offline
    Sammy-ROCK!
    Senior Member
    Join Date: Jun 2008
    Location: Near Mrs.Lag
    Old 12-14-2008 , 23:04   Re: [L4D] Damage Info Display
    Reply With Quote #9

    I wonder how would you feel if you make a plugin and by a mistake of a hidden rule (That bailopan nicely already added in how to get approved thread) it gets unapproved then you fix it and ask an mod to move it back to new plugins and he gets pissed thinking you asked to get approved and after that someone coming making a very similar plugin with a part of your code and using words meaning you stole his idea? I don't recommend trying it out. Also still if you could change "For a plug-in basis idea Sammy-ROCK! is taken!" or atleast remove that line. For peoples that don't know it seems like I stole your idea which for sure wasn't.
    Sammy-ROCK! is offline
    Dionys
    Senior Member
    Join Date: Sep 2008
    Location: Terra, Russia
    Old 12-14-2008 , 23:11   Re: [L4D] Damage Info Display
    Reply With Quote #10

    Quote:
    Originally Posted by Sammy-ROCK! View Post
    I wonder how would you feel if you make a plugin and by a mistake of a hidden rule
    ...
    To me absolutely in parallel. I only try to facilitate to people a life.
    Quote:
    Originally Posted by Sammy-ROCK! View Post
    ...
    Also still if you could change "For a plug-in basis idea Sammy-ROCK! is taken!" or atleast remove that line. For peoples that don't know it seems like I stole your idea which for sure wasn't.
    ...
    done
    srr if it was incorrectly expressed...
    Dionys is offline
    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 12:42.


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