Raised This Month: $32 Target: $400
 8% 

[L4D/L4D2] Chapter Statistical Report (v1.2.0, 2023-09-02)


Post New Thread Reply   
 
Thread Tools Display Modes
noto3
Member
Join Date: Jan 2021
Old 02-03-2023 , 11:51   Re: [L4D/L4D2] Chapter Statistical Report (v1.0.2, 2023-01-14)
Reply With Quote #11

Very well-made. You could also print it at the end of the round, despite if players reach the saferoom or not (when the saferoom door closed)
noto3 is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 02-03-2023 , 12:38   Re: [L4D/L4D2] Chapter Statistical Report (v1.0.2, 2023-01-14)
Reply With Quote #12

That's how it works . Look at the code and expect in this) How big is the difference between " finale_win " and " round_end " event?
__________________

Last edited by Ja-Forces; 02-03-2023 at 13:32.
Ja-Forces is offline
mep
Junior Member
Join Date: Jan 2023
Location: Under your bed
Old 02-03-2023 , 19:30   Re: [L4D/L4D2] Chapter Statistical Report (v1.0.2, 2023-01-14)
Reply With Quote #13

Quote:
Originally Posted by noto3 View Post
Very well-made. You could also print it at the end of the round, despite if players reach the saferoom or not (when the saferoom door closed)
Yeah, it counts dead survivor's kills. And when the chapter failed stats won't printed (i might add it as an upcoming update)
__________________
Feel free to join and play with us :


Last edited by mep; 02-05-2023 at 08:15.
mep is offline
mep
Junior Member
Join Date: Jan 2023
Location: Under your bed
Old 02-05-2023 , 08:12   Re: [L4D/L4D2] Chapter Statistical Report (v1.1.0, 2023-01-05)
Reply With Quote #14

Updated to v1.1.0.

Don't forget to delete and regenerate new cfg file if you have the older version.

Also hotfix update as v1.1.1.
__________________
Feel free to join and play with us :


Last edited by mep; 02-05-2023 at 13:04.
mep is offline
chungocanh12
Member
Join Date: Apr 2023
Location: Việt Nam
Old 05-18-2023 , 04:51   Re: [L4D/L4D2] Chapter Statistical Report (v1.1.1, 2023-02-06)
Reply With Quote #15

thank you, good plugins
chungocanh12 is offline
nusty
Junior Member
Join Date: May 2016
Old 06-08-2023 , 07:03   Re: [L4D/L4D2] Chapter Statistical Report (v1.1.0, 2023-01-05)
Reply With Quote #16

Quote:
Originally Posted by mep View Post
Updated to v1.1.0.

Don't forget to delete and regenerate new cfg file if you have the older version.

Also hotfix update as v1.1.1.
Hi mep,

Is there any way to prevent to stats reset when the round or map end? I and my friends to keep all the stats until we finished the campaign (after finale).?

Thank you,
Best Regards,
nusty is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-08-2023 , 07:37   Re: [L4D/L4D2] Chapter Statistical Report (v1.1.0, 2023-01-05)
Reply With Quote #17

Quote:
Originally Posted by nusty View Post
Hi mep,

Is there any way to prevent to stats reset when the round or map end? I and my friends to keep all the stats until we finished the campaign (after finale).?

Thank you,
Best Regards,
Remove:
PHP Code:
HookEvent("round_start"Event_RoundStartEventHookMode_Post);

public 
Action Event_RoundStart(Event eventchar[] namebool bDontBroadcast) {
    
ResetCampaignStats();

    return 
Plugin_Continue;

Add:
PHP Code:
public void OnMapEnd() {
    
ResetCampaignStats();

Best if author provides an option for this.
__________________
Silvers is offline
mep
Junior Member
Join Date: Jan 2023
Location: Under your bed
Old 09-02-2023 , 02:45   Re: [L4D/L4D2] Chapter Statistical Report (v1.1.0, 2023-01-05)
Reply With Quote #18

Quote:
Originally Posted by nusty View Post
Hi mep,

Is there any way to prevent to stats reset when the round or map end? I and my friends to keep all the stats until we finished the campaign (after finale).?

Thank you,
Best Regards,
Yo nusty, sorry for keeping you waiting friend.

Quote:
Originally Posted by Silvers View Post
Remove:
PHP Code:
HookEvent("round_start"Event_RoundStartEventHookMode_Post);

public 
Action Event_RoundStart(Event eventchar[] namebool bDontBroadcast) {
    
ResetCampaignStats();

    return 
Plugin_Continue;

Add:
PHP Code:
public void OnMapEnd() {
    
ResetCampaignStats();

Best if author provides an option for this.
Heyo there, Silvers. Thanks for the idea, but I think OnMapEnd always get called every round/chapter end (but also when campaign/map change).
__________________
Feel free to join and play with us :


Last edited by mep; 09-02-2023 at 02:59.
mep is offline
mep
Junior Member
Join Date: Jan 2023
Location: Under your bed
Old 09-02-2023 , 02:58   Re: [L4D/L4D2] Chapter Statistical Report (v1.2.0, 2023-09-02)
Reply With Quote #19

Update: v1.2.0.

New cvar added: csr_reset_stats (To determine when reset stats occur, either at the end of every chapter or when entire campaign end)

Don't forget to regenerate new .cfg file if you have the older version or you want to use "csr_reset_stats" cvar.
__________________
Feel free to join and play with us :


Last edited by mep; 09-02-2023 at 03:08.
mep 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 00:18.


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