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

[L4D] Epicmod Lite


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DieTeetasse
Senior Member
Join Date: Jul 2009
Plugin ID:
1049
Plugin Version:
1.0.0.7
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Adding statistics, targetsystem and anti cornercamping.
    Old 07-28-2009 , 21:56   [L4D] Epicmod Lite
    Reply With Quote #1

    Functions:
    - Round statistics like killed zombies, spawned, took, used items...
    - Personal statistics:
    ---> infected: dmg per life and dmg per round
    ---> survivors: kills per round
    - Anti corner camping with slap function
    - Markersystem to mark as an infected survivors for better coordination (via panel notification)
    - Messages for connection, disconnection and friendly fire

    Todo:
    - Infected stats like pounced, scratched, incaped...
    - Boomer damage through common infected

    Cvars:
    epiclite_version --> Version
    epiclite_corner_camping --> Checks for Cornercamping and will slap players if continues camping
    epiclite_corner_camping_check_interval --> Cornercamping check interval
    epiclite_corner_camping_radius --> Cornercamping check radius from group middle point to players
    epiclite_corner_camping_slap -->Hp loss if cornercamping is detected
    epiclite_target_interval --> Display interval of marked survivors

    Commands:
    epiclite_list_changes --> Lists all changes of epicmodlite. (clients)
    epiclite_check_corner_camping --> Force to check if there is cornercamping (server)
    epiclite_dump_stats --> Dump the stats arrays for survivor and infected (server) (Only if debug ist enabled)

    Changelog:
    1.0.0.1
    - Initial Release

    1.0.0.2
    - Fixed bug, no stats after team change to survivors

    1.0.0.3
    - Fixed really the bug
    - Debug output in file and command epiclite_dump_stats are now optional through global debug variable

    1.0.0.4
    - List changes via say !epiclite
    - Change of welcome message
    - Creation of config file
    - Stop of recording stats after end round to avoid failure messages
    - Infected bots stats record stopped

    1.0.0.5
    - Fixed bug, that bots stats deletion is not abort
    - Fixed bug, where an infected killed an infected leads to an out of bound array failure
    - Moved the debug file to the sourcemod logs
    - Debug file default off

    1.0.0.6
    - Adding Cvar flag FCVAR_DONTRECORD1.0.0.7
    - Adding Cvar flag FCVAR_DONTRECORD only to version cvar
    - Adding name for configfile with versionnumber
    - Removing Cvar Flag FCVAR_SPONLY- Print the list of changes in the chat

    1.0.0.7
    - Adding Cvar flag FCVAR_DONTRECORD only to version cvar
    - Adding name for configfile with versionnumber
    - Removing Cvar Flag FCVAR_SPONLY
    - Print the list of changes in the chat

    Compatibility:

    - not working with mods enabling more than 8 players
    - not working with mods enabling to change the models

    Credits:
    - Cellwick, mesaya, daoka, Nos/Ghostbuster
    - sourcemod.net
    - wiki.alliedmods.net
    - and many others for ideas

    I couldn't really tested the infected and survivor stats on a real server with 4vs4 players, so i hope it will work, otherwise tell me. The plugin in this version creates a debug file named "epicmodlite_debug.txt", to show the failure(s) in the stats part.
    The next days i will be on something like holiday (W:O:A!), so i will see your postings hopefully in one week. I hope, i added some interessing ideas to Left 4 Dead.
    This mod is the "little brother" of my epicmod, which is messing around with the convars and adding some other ideas like the blind luck plugin, so the difficulty in versus mode is increasing to 200%.

    I hope my english is not that bad, i am originally from germany

    Greetings
    Die Teetasse
    Attached Files
    File Type: sp Get Plugin or Get Source (epic_lite_1001.sp - 2042 views - 39.0 KB)
    File Type: sp Get Plugin or Get Source (epic_lite_1002.sp - 1434 views - 39.3 KB)
    File Type: sp Get Plugin or Get Source (l4d_epiclite_1004.sp - 1730 views - 42.2 KB)
    File Type: sp Get Plugin or Get Source (l4d_epiclite_1005.sp - 1960 views - 42.8 KB)
    File Type: sp Get Plugin or Get Source (l4d_epiclite_1006.sp - 1580 views - 42.8 KB)
    File Type: sp Get Plugin or Get Source (l4d_epiclite_1007.sp - 3145 views - 43.1 KB)

    Last edited by DieTeetasse; 09-13-2009 at 18:48.
    DieTeetasse is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 07-29-2009 , 01:25   Re: [L4D] Epicmod Lite
    Reply With Quote #2

    There ist still a bug after the teamchange. My idea is, that after the teamchange the event ist already fired and therefor my function to find new space in the array, but the function GetClientTeam is not updated and returns the old team. I have to check that after i am back from my holydays.
    DieTeetasse is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 07-29-2009 , 01:44   Re: [L4D] Epicmod Lite
    Reply With Quote #3

    Could we got some screenshots of the stats?
    crazydog is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 07-31-2009 , 04:47   Re: [L4D] Epicmod Lite
    Reply With Quote #4

    Can you add screenies? Also can i turn off anticamp feature?
    __________________
    olj is offline
    Thraka
    AlliedModders Donor
    Join Date: Aug 2005
    Old 08-01-2009 , 19:28   Re: [L4D] Epicmod Lite
    Reply With Quote #5

    I think the epiclite_corner_camping cvar is 0 or 1 for corner camping enabled. I too would turn it off.

    I'm more interested in what the marker system is??
    Thraka is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 08-01-2009 , 20:03   Re: [L4D] Epicmod Lite
    Reply With Quote #6

    I think it works like you mark one survivor as your target, and someone mark another, so you wont steal one each's targets and wont screw ambush. Whatever, i just try this now, i think we wont get any screenshots anyway.

    EDIT: ok i tested it, round stats seems to be working for first round only. Marker system is activated with zoom button (right mouse click by default) and creates panel on the left (will be overwritten if some other menu panel appear). I included screenshot.

    I dont know how it would behave with more than 8 ppl, though.
    Attached Thumbnails
    Click image for larger version

Name:	scr.jpg
Views:	1740
Size:	88.4 KB
ID:	46681  
    __________________

    Last edited by olj; 08-01-2009 at 20:25.
    olj is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 08-05-2009 , 16:18   Re: [L4D] Epicmod Lite
    Reply With Quote #7

    So, i'm back.
    At the moment i am testing to fix the problem with the statistics after a round ended.

    The plugin only works 4vs4, but maybe i will change this later.

    Here are some screens of the statistics:
    Attached Thumbnails
    Click image for larger version

Name:	infected.jpg
Views:	1037
Size:	12.7 KB
ID:	46920   Click image for larger version

Name:	endround_infected.jpg
Views:	1069
Size:	39.7 KB
ID:	46921   Click image for larger version

Name:	endround_survivor.jpg
Views:	1049
Size:	40.1 KB
ID:	46922  
    DieTeetasse is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 08-07-2009 , 18:52   Re: [L4D] Epicmod Lite
    Reply With Quote #8

    I have worked hard and now the bug is really gone and it seems, that the stats are working like they should.
    The debug output is now optional and can only changed in the source.
    I also add that you can see the change list ingame via "say !epiclite" and a config file will be created.

    My next goal is to include, that as a boomer the common infected damage on a puked survivor will be summed in an extra array and displayed after the next death.

    Teetasse

    P.S: Anyone knows how to change an entity only for 1 client? I tried many different things, but nothing works. Even the console command ent_keyvalue didn't work. I ask, because the idea of the marker system was to change to color of the survivors or add an sign. The panel is only a temporary solution, that i want to change.

    Last edited by DieTeetasse; 08-07-2009 at 19:34.
    DieTeetasse is offline
    AngryVag
    Member
    Join Date: Jun 2009
    Old 08-08-2009 , 10:06   Re: [L4D] Epicmod Lite
    Reply With Quote #9

    Seems to work ok. I wasn't too thrilled about the corner camping being enabled by default and almost killing my team in 10 seconds, full green to about 10hp before we knew what was going on!

    Perhaps I'm stupid but how the hell do you "Mark" a target? I can't seem to find any trace of a command for it...

    Anyway, a couple of things I could do without...

    [EpicLite] being displayed everywhere, the dump file being on by default and growing like mad AND not being in a log directory! Oh and the errors...

    Code:
    L 08/08/2009 - 08:56:06: [SM] Plugin encountered error 15: Array index is out of bounds
    L 08/08/2009 - 08:56:06: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:06: [SM]   [0]  Line 814, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_death()
    L 08/08/2009 - 08:56:06: [SM] Plugin encountered error 15: Array index is out of bounds
    L 08/08/2009 - 08:56:06: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:06: [SM]   [0]  Line 814, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_death()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 571, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsSurvivor()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 400, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 571, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsSurvivor()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 400, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 571, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsSurvivor()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 400, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 571, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsSurvivor()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 400, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 596, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsInfected()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 394, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 596, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsInfected()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 394, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 596, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsInfected()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 394, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 596, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsInfected()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 394, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    L 08/08/2009 - 08:56:24: [SM] Native "IsFakeClient" reported: Client index 0 is invalid
    L 08/08/2009 - 08:56:24: [SM] Displaying call stack trace for plugin "l4d_epiclite_1004.smx":
    L 08/08/2009 - 08:56:24: [SM]   [0]  Line 571, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::ClearStatsSurvivor()
    L 08/08/2009 - 08:56:24: [SM]   [1]  Line 400, /home/groups/sourcemod/upload_tmp/php1SX5xq.sp::Event_player_team()
    __________________
    AngryVag is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 08-08-2009 , 11:37   Re: [L4D] Epicmod Lite
    Reply With Quote #10

    AngryVag, you mark target by ZOOM button (right mouse by default).
    __________________
    olj 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 22:25.


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