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

Round End Events - FINAL VERSION RELEASED


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 04-24-2020 , 17:01   Re: [AMXX] CSGO Round End Events
Reply With Quote #101

It can be changed inside the .ini file, I could upload every single language as soon as I get new ones.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 03-14-2021 , 17:43   Re: [AMXX] CSGO Round End Events
Reply With Quote #102

Updated to v2.3


Fixed some formats in some events.
Fixed some events that wasn't being called.
Fixed the 'bought X items' check for grenades.

Added new rare events:
- Player X killed Y enemies through the wall.
- Player X killed an enemy and remained with 1 HP.
- Player X killed himself this round.
- Player X died X rounds without killing anybody.


Changed some values from some events.
Changed MIN_TIMES to random_num(2, 4).

Changed the system of how the events appear:
Now it gives priority to rare events, so everytime a rare event happens, it'll be printed.
However it has a check to see if the rare event selected already happened recently, otherwise it'll be ignored.

Example:

Code:
L 03/10/2021 - 19:03:29: [RoundEndEvents.amxx] Events this round:
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] M0rbid Desire received 2 different attacks before dying.
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] M0rbid Desire given damage to 3 different enemies before dying.
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] Nicole_Kidman killed 4 opponents.
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] Terrorists had the best accuracy with 21%
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] killaruna's accuracy was 42% while his team was 17%
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] Jet_Li did 162 damage but does not killed any enemy.
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] =========================
L 03/10/2021 - 19:03:30: [RoundEndEvents.amxx] Choosed: Jet_Li did 162 damage but does not killed any enemy.
Between all normal events that happens easily every round, it choosed the most rare thing to happen in a round, which was the high damage without any kill.
-

After some rounds, this is the list:

Code:
L 03/10/2021 - 19:46:47: Tommy_Lee_Jones killed an enemy with knife.
L 03/10/2021 - 19:48:13: Make my Day defused the bomb with 2 alive terrorists.
L 03/10/2021 - 19:52:03: Pseudolukian killed an enemy with his last bullet.
L 03/10/2021 - 19:54:02: U're Dead did 2 assists.
L 03/10/2021 - 19:55:31: Pseudolukian killed 2 opponents.
L 03/10/2021 - 19:56:36: Make my Day caused the first death after 19 seconds of round starts.
L 03/10/2021 - 19:58:15: Jean_Claude_Van_Damme's accuracy was 47% while his team was 32%
L 03/10/2021 - 19:59:47: Samuel_L_Jackson received 4 different attacks before dying.
L 03/10/2021 - 20:00:46: Samuel_L_Jackson killed an enemy with grenade after dying.
L 03/10/2021 - 20:02:21: Tommy_Lee_Jones survived the most time: 90 seconds.
L 03/10/2021 - 20:03:07: Terrorists won without taking any casualties.
L 03/10/2021 - 20:03:55: The Counter-Terrorists eliminated the Terrorists in 43 seconds.
L 03/10/2021 - 20:05:54: Make my Day lasted 2 consecutive rounds without dying.
L 03/10/2021 - 20:06:38: Jim_Carrey given damage to 2 different enemies before dying.
L 03/10/2021 - 20:08:20: Make my Day jumped 12 times during the round.
L 03/10/2021 - 20:09:43: Counter-Terrorists had the best accuracy with 38%
L 03/10/2021 - 20:10:46: Chris_Tucker did 163 damage but does not killed any enemy.
This feels better for the player seeing that he did something important in the round, instead of just printing 'You killed 2 players' everytime.
Also, it got 17 events without repeating.
-

Second attempt:

Code:
[L 03/10/2021 - 20:16:01: Jean_Claude_Van_Damme killed an enemy with grenade in that round.
L 03/10/2021 - 20:18:50: Tommy_Lee_Jones killed 2 enemies with headshots that round.
L 03/10/2021 - 20:20:44: Terrorists had the best accuracy with 37%
L 03/10/2021 - 20:22:03: U're Dead killed an enemy with his last bullet.
L 03/10/2021 - 20:24:27: Jean_Claude_Van_Damme killed an enemy in the air.
L 03/10/2021 - 20:25:44: As the last member alive, Pseudolukian killed 2 enemies and won.
L 03/10/2021 - 20:27:11: Tommy_Lee_Jones given damage to 3 different enemies before dying.
L 03/10/2021 - 20:28:19: Make my Day brought a knife to a gunfight.
L 03/10/2021 - 20:30:09: Jean_Claude_Van_Damme jumped 12 times during the round.
L 03/10/2021 - 20:30:23: Samuel_L_Jackson killed an enemy with knife.
L 03/10/2021 - 20:31:39: Jim_Carrey defended the planted bomb from 2 enemies.
L 03/10/2021 - 20:32:46: Terrorists won without taking any casualties.
L 03/10/2021 - 20:34:06: Jean_Claude_Van_Damme defused the bomb with 2 alive terrorists.
L 03/10/2021 - 20:35:38: Make my Day lasted 2 consecutive rounds without dying.
L 03/10/2021 - 20:37:34: Pseudolukian finished off 2 woundest enemies.
L 03/10/2021 - 20:37:48: The Counter-Terrorists eliminated the Terrorists in 8 seconds.
L 03/10/2021 - 20:39:03: got has spent 7020 money.
L 03/10/2021 - 20:40:08: got threw 4 grenades that round.
L 03/10/2021 - 20:42:48: Bridget_Fonda survived the most time: 87 seconds.
L 03/10/2021 - 20:45:13: Tommy_Lee_Jones killed 2 opponents.
Yeah... 20 events without even repeating... *sighs*.

Debug about the fixes plus new events:

Code:
L 03/10/2021 - 21:23:11: Neural Noise killed an enemy through the wall.
L 03/10/2021 - 21:24:42: S.E.S. reloaded his weapon 2 times.
L 03/10/2021 - 21:26:37: Neural Noise killed an enemy with his last bullet.
L 03/10/2021 - 21:28:05: Neural Noise jumped 13 times during the round.
L 03/10/2021 - 21:29:04: Robert_Deniro killed an enemy and remained with 1 HP.
L 03/10/2021 - 21:31:03: Counter-Terrorists had the best accuracy with 30%
L 03/10/2021 - 21:32:33: Neural Noise's accuracy was 33% while his team was 31%
L 03/12/2021 - 21:04:17: Anthony_Hopkins reloaded his weapon 2 times.
L 03/12/2021 - 21:06:30: George_Hamilton died 2 rounds without killing anybody.
End of line.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
ZhyuroKun
New Member
Join Date: Jul 2021
Old 07-22-2021 , 01:28   Re: [AMXX] CSGO Round End Events
Reply With Quote #103

Does anyone want to help me?
Because I've tried this plugin and it doesn't show any events at all
I've put ".amxx" in the "plugins" file and ".ini" in the "configs" file
And my Amx version is 1.8.2 and isn't it the latest?
Are there any required modules?
So where did I go wrong?
ZhyuroKun is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 07-22-2021 , 04:08   Re: [AMXX] CSGO Round End Events
Reply With Quote #104

Try to compile your plugin localy. Also check the "required includes" part in the first post.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Old 07-22-2021, 08:37
ZhyuroKun
This message has been deleted by ZhyuroKun.
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-22-2021 , 13:51   Re: [AMXX] CSGO Round End Events
Reply With Quote #105

Quote:
Originally Posted by ZhyuroKun View Post
Does anyone want to help me?
Because I've tried this plugin and it doesn't show any events at all
I've put ".amxx" in the "plugins" file and ".ini" in the "configs" file
And my Amx version is 1.8.2 and isn't it the latest?
Are there any required modules?
So where did I go wrong?
Check the output of "amxx plugins" and see if the plugin is running. If it isn't, it should also tell you what is wrong(maybe you are missing the client_buy plugin).
__________________
HamletEagle is offline
ZhyuroKun
New Member
Join Date: Jul 2021
Old 07-23-2021 , 08:01   Re: [AMXX] CSGO Round End Events
Reply With Quote #106

Quote:
Originally Posted by Napoleon_be View Post
Try to compile your plugin localy. Also check the "required includes" part in the first post.
Congratulations to myself!

I got a new problem

After re-installing this plugin correctly as you said

I got stuck in the loading screen instead

Even though I'm playing on the fy_snow_pool map and of course a very small map that only takes 5 seconds on the loading screen

And now even though I took a 3 hour nap, the loading bar didn't move at all

But I don't blame anyone at all

This has also happened with this plugin https://forums.alliedmods.net/showthread.php?t=195495

Last edited by ZhyuroKun; 07-23-2021 at 08:02.
ZhyuroKun is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 07-23-2021 , 12:31   Re: [AMXX] CSGO Round End Events
Reply With Quote #107

Debug the plugin and show error logs if u have any. Also do what HamletEagle said.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-02-2022 , 10:26   Re: Round End Events - FINAL VERSION RELEASED
Reply With Quote #108

Updated to v2.4:

- Removed some unecessary codes.
- Changed the way the plugin reads the events. Replace roundendevents.ini to update.
- Improved the event selector code.
- Changed the hud display to dhudmessage.
- Fixed some events with wrong checks.
- Fixed both Defused with X seconds remaining and Won with X seconds remaining events, both events now appearing.
Also added support for really low values on both events, such as 0.01 or 0.001 (plugin converts 0.100, 0.010 or 0.101 values to 0.1 and 0.01 automatically).
- Fixed some messages with wrong formats.
- Fixed Bought X items and Spent X$ on this round, both events now appearing.
- Added custom events support.
- Added a new event: X one-tapped Y enemy/ies on that round.
- Added a new event: X took Y total damage on that round.
- Added a new event: X team won Y consecutive rounds.
- Added a new event: X shot Y Z times.
- Added a new event: X was the first victim on that round.
- Added a new event: X grenades were thrown on that round.
----

Just wrote another code to select the events, and with 32/32 server I could get up to 39 different events.
New ones happening as well:


Code:
L 02/01/2022 - 16:14:23: Log file started (file "cstrike\addons\amxmodx\logs\ree_log.log") (game "cstrike") (amx "1.8.3-dev+5201")
L 02/01/2022 - 16:15:58: V0id killed an enemy with knife.
L 02/01/2022 - 16:17:49: Thomas Chong killed an enemy through the wall.
L 02/01/2022 - 16:19:40: Burt_Reynolds killed an enemy with his last bullet.
L 02/01/2022 - 16:21:16: Botsie Collins defended the planted bomb from 3 enemies.
L 02/01/2022 - 16:23:07: Chris_Tucker killed an enemy in the air.
L 02/01/2022 - 16:25:10: Funky Byte just one-tapped an enemy.
L 02/01/2022 - 16:27:16: Killing Frenzy finished off 2 woundest enemies.
L 02/01/2022 - 16:29:53: Jean_Claude_Van_Damme did 2 assists.
L 02/01/2022 - 16:32:42: Joe_Pesci took 441 total damage on that round.
L 02/01/2022 - 16:34:43: Botsie Collins killed an enemy with grenade after dying.
L 02/01/2022 - 16:37:24: Rambotnic killed 3 enemies with under 25 health.
L 02/01/2022 - 16:38:48: Larry_Fishbourne killed 2 separate bomb carriers in the last round.
L 02/01/2022 - 16:40:42: Botsie Collins has spent 5420 money.
L 02/01/2022 - 16:42:53: George_Clooney did 270 damage but does not killed any enemy.
L 02/01/2022 - 16:46:02: Killing Frenzy killed an enemy with grenade in that round.
L 02/01/2022 - 16:48:02: Rambotnic brought a knife to a gunfight.
L 02/01/2022 - 16:50:04: George_Hamilton died 6 rounds without killing anybody.
L 02/01/2022 - 16:52:28: Killing Frenzy killed himself in this round.
L 02/01/2022 - 16:54:32: Quentin_Tarantino jumped 14 times during the round.
L 02/01/2022 - 17:56:26: Rambotnic shot Joe_Pesci 9 times.
L 02/01/2022 - 16:58:37: V0id received 3 different attacks before dying.
L 02/01/2022 - 17:01:09: 658 shots were fired that round.
L 02/01/2022 - 17:03:16: Chris_Tucker killed 2 enemies with headshots that round.
L 02/01/2022 - 17:06:56: 2 CTs tried to defuse the bomb in that round.
L 02/01/2022 - 17:09:50: Chris_Tucker has bought 5 items.
L 02/01/2022 - 17:11:47: Botman given damage to 6 different enemies before dying.
L 02/01/2022 - 17:14:26: Rambotnic killed 5 opponents.
L 02/01/2022 - 17:16:33: Patrick_Swayze did 300 total damage with grenade.
L 02/01/2022 - 17:18:05: Terrorists had the best accuracy with 21%
L 02/01/2022 - 17:20:34: Terrorists won 7 consecutive rounds.
L 02/01/2022 - 17:22:21: Drew_Barrymore lasted 2 consecutive rounds without dying.
L 02/01/2022 - 17:23:54: Botsie Collins killed an enemy and remained with 1 HP.
L 02/01/2022 - 17:25:24: 36 grenades were thrown on that round.
L 02/01/2022 - 17:28:00: Botsie Collins survived attacks from 2 different enemies.
L 02/01/2022 - 17:30:10: Tom_Cruise survived the most time: 126 seconds.
L 02/01/2022 - 17:32:48: Jean_Claude_Van_Damme's accuracy was 100% while his team was 16%

L 02/01/2022 - 17:34:05: Patrick_Swayze finished off 3 woundest enemies.
L 02/01/2022 - 17:35:24: BotsBlitz just one-tapped an enemy.
[b]L 02/01/2022 - 17:36:58: Tom_Cruise defused the bomb with 0.2 seconds remaining.
L 02/01/2022 - 17:38:43: V0id defused the bomb with 3 alive terrorists.
L 02/01/2022 - 17:41:03: The Terrorists won the round with 0.8 seconds remaining.
-

So, with 32/32 players, from 41 events we've got 39 different ones, only the 37th and 38th events repeated but with the new code,
it selects the oldest event possible to be choosed instead of a randomly one that could've been happened 3 rounds ago.
The event repeat of the 37th round was an event that happened on 7th round and the 38th event repeat happened on the 6th, so the new system works much better now.

Also even if the code repeats one event, it'll continue checking for new events to happen and select it if so.
Just like the last event on the example above, two events repeated but even with this happening, a new one was registered after and selected immediately.
-

In statistics, after 41 events with 2 repeats only, we have only 4% of events repeating and 96% of the whole test were different events.
well...
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 02-02-2022 at 10:27.
EFFx is offline
talibana
Member
Join Date: Oct 2008
Location: United Kingdom
Old 02-03-2022 , 09:48   Re: Round End Events - FINAL VERSION RELEASED
Reply With Quote #109

Hello i tray the last version of this plugin and in ree_log.log I don't see the names of the players

L 02/03/2022 - 16:16:47: successfully stoped the bomb planter.
L 02/03/2022 - 16:185: defended the planted bomb from 4 enemies.
L 02/03/2022 - 16:19:26: killed an enemy through the wall.
L 02/03/2022 - 16:21:07: Ace! killed the entire enemy team.
L 02/03/2022 - 16:22:12: killed an enemy in the air.
L 02/03/2022 - 16:23:56: successfully stoped the bomb defuser.
L 02/03/2022 - 16:25:26: finished off 2 woundest enemies.
L 02/03/2022 - 16:26:16: killed 2 enemies with knife.
L 02/03/2022 - 16:27:27: Ace! killed the entire enemy team.
L 02/03/2022 - 16:28:41: Ace! killed the entire enemy team.
L 02/03/2022 - 160:02: Ace! killed the entire enemy team.
L 02/03/2022 - 161:43: Ace! killed the entire enemy team.
L 02/03/2022 - 163:20: Ace! killed the entire enemy team.
L 02/03/2022 - 165:14: one-tapped an enemy.
L 02/03/2022 - 166:25: did 203 damage but does not killed any enemy.
L 02/03/2022 - 167:55: killed an enemy with his last bullet.
L 02/03/2022 - 169:01: Ace! killed the entire enemy team.
L 02/03/2022 - 16:40:44: Ace! killed the entire enemy team.
L 02/03/2022 - 16:42:05: killed 2 enemies while flashbanged.
L 02/03/2022 - 16:43:00: took 222 total damage on that round.
L 02/03/2022 - 16:43:41: The Counter-Terrorists eliminated the Terrorists in 5 seconds.
L 02/03/2022 - 16:45:41: shot 8 times.

in game the same..
talibana is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 02-03-2022 , 11:00   Re: Round End Events - FINAL VERSION RELEASED
Reply With Quote #110

Should be fixed.

Quote:
Originally Posted by talibana View Post
L 02/03/2022 - 16:16:47: successfully stoped the bomb planter.
L 02/03/2022 - 16:185: defended the planted bomb from 4 enemies.
L 02/03/2022 - 16:19:26: killed an enemy through the wall.
L 02/03/2022 - 16:21:07: Ace! killed the entire enemy team.
L 02/03/2022 - 16:22:12: killed an enemy in the air.
L 02/03/2022 - 16:23:56: successfully stoped the bomb defuser.
L 02/03/2022 - 16:25:26: finished off 2 woundest enemies.
L 02/03/2022 - 16:26:16: killed 2 enemies with knife.
L 02/03/2022 - 16:27:27: Ace! killed the entire enemy team.
L 02/03/2022 - 16:28:41: Ace! killed the entire enemy team.
L 02/03/2022 - 160:02: Ace! killed the entire enemy team.
L 02/03/2022 - 161:43: Ace! killed the entire enemy team.
L 02/03/2022 - 163:20: Ace! killed the entire enemy team.
L 02/03/2022 - 165:14: one-tapped an enemy.
L 02/03/2022 - 166:25: did 203 damage but does not killed any enemy.
L 02/03/2022 - 167:55: killed an enemy with his last bullet.
L 02/03/2022 - 169:01: Ace! killed the entire enemy team.
L 02/03/2022 - 16:40:44: Ace! killed the entire enemy team.
L 02/03/2022 - 16:42:05: killed 2 enemies while flashbanged.
L 02/03/2022 - 16:43:00: took 222 total damage on that round.
L 02/03/2022 - 16:43:41: The Counter-Terrorists eliminated the Terrorists in 5 seconds.
L 02/03/2022 - 16:45:41: shot 8 times.

in game the same..

Also because of that:

- Fixed a spam of ace events. It still gives priority to ace but if the same player has aced on the previous round, it skips it.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 02-07-2022 at 00:40.
EFFx 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 05:15.


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