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

Display previous round information in chat


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-14-2021 , 11:48   Re: Display previous round information in chat
Reply With Quote #41

I didn't change the calculation, give an example
__________________
Bugsy is offline
theuser
Member
Join Date: Jul 2020
Old 08-14-2021 , 13:12   Re: Display previous round information in chat
Reply With Quote #42

Quote:
Originally Posted by Bugsy View Post
I didn't change the calculation, give an example
The message is displayed in respawn
But wrong
I kill my opponent, the plugin print I hit him 45 damages !
Or I kill the opponent and he does not damage me, plugin prints he has given me 100 damage

Problem with counting function and accumulating damage
And that it always shows 100 damage to the opponent (the last variable that shows how much damage your opponent did at the end of the round)
theuser is offline
theuser
Member
Join Date: Jul 2020
Old 08-15-2021 , 00:14   Re: Display previous round information in chat
Reply With Quote #43

Submit version 0.5 again, that version worked fine
Perhaps comparing it with version 0.6 can lead to some results
theuser is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-15-2021 , 17:15   Re: Display previous round information in chat
Reply With Quote #44

The code at the below location is fixed. I was disabling the damage recording at round end, and when it came to the last player, round end was triggering before the damage done to the last player killed. I re-added a delay and it now appears to be working as expected.

https://forums.alliedmods.net/showpo...8&postcount=22
__________________
Bugsy is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-15-2021 , 17:47   Re: Display previous round information in chat
Reply With Quote #45

This is honestly taking alot of posts than it needs to....
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-15-2021 , 20:46   Re: Display previous round information in chat
Reply With Quote #46

I didn't test thoroughly before posting the updates, and pev_dmg_take does not return what I though it did, that's the main reason. We are staying on topic so I don't see an issue.
__________________
Bugsy is offline
theuser
Member
Join Date: Jul 2020
Old 08-16-2021 , 00:37   Re: Display previous round information in chat
Reply With Quote #47

Is this problem solvable?
If not, please resend version 0.5
theuser is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-16-2021 , 00:38   Re: Display previous round information in chat
Reply With Quote #48

It should be fixed now

https://forums.alliedmods.net/showpo...8&postcount=22
__________________
Bugsy is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-16-2021 , 04:13   Re: Display previous round information in chat
Reply With Quote #49

What does pev_dmg_take returns then?
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-16-2021 , 10:25   Re: Display previous round information in chat
Reply With Quote #50

I don't think it takes a victims health into consideration, it just gives what the total damage would be.
__________________
Bugsy 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 21:34.


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