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

Best Player MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-05-2018 , 12:41   Re: Best Player MOTD
Reply With Quote #51

I understand what the error means, but I have a buffer with 1536 length and the MOTD is not above 1000 chars. However, I just noticed that the MOTD header was set to 32 characters and it contains the player name in it along with some additional text and that definitely can exceed the length. Fixed.

PS: wake up, Mr. Approver, the world needs you.
__________________

Last edited by OciXCrom; 01-05-2018 at 12:50.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 01-05-2018 , 20:08   Re: Best Player MOTD
Reply With Quote #52

Quote:
Originally Posted by OciXCrom View Post
I understand what the error means, but I have a buffer with 1536 length and the MOTD is not above 1000 chars. However, I just noticed that the MOTD header was set to 32 characters and it contains the player name in it along with some additional text and that definitely can exceed the length. Fixed.

PS: wake up, Mr. Approver, the world needs you.

I have installed 1.2.1 so far so good. I'll keep you posted.
iclassdon is offline
Send a message via MSN to iclassdon
Papuszek
Junior Member
Join Date: Jun 2017
Old 01-09-2018 , 10:53   Re: Best Player MOTD
Reply With Quote #53

great plugin, just a problem with:

Quote:
/// crx_bestplayer.sma
// crx_bestplayer.sma(418 -- 419) : warning 213: tag mismatch
// crx_bestplayer.sma(419 -- 420) : warning 213: tag mismatch
// crx_bestplayer.sma(420 -- 421) : warning 213: tag mismatch
Papuszek is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-09-2018 , 11:19   Re: Best Player MOTD
Reply With Quote #54

It's a problem from the compiler, not the plugin. Ignore them, they do nothing. In AMXX 1.8.3 it's fine.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Mark.uG
AlliedModders Donor
Join Date: Oct 2014
Old 02-27-2019 , 19:39   Re: Best Player MOTD
Reply With Quote #55

Can you add a Placeholder

Hostage Rescue

Want to display the best for the map.

Last edited by Mark.uG; 02-27-2019 at 19:39.
Mark.uG is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 04-30-2019 , 12:40   Re: Best Player MOTD
Reply With Quote #56

i tested this on my server and something strange happened, i finished on 1st with 53 kills 9 deaths, and some other guy who was in 3rd with almost half of my score was the best player of the map, from what i understand on your formula, 157, whoever kills the most is 1st, isn't it?

Last edited by tarsisd2; 04-30-2019 at 12:41. Reason: grammar
tarsisd2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-30-2019 , 13:24   Re: Best Player MOTD
Reply With Quote #57

Yes, according to the formula it will first compare the number of kills. But, have in mind that the number of kills is calculated manually from the plugin and may differ from the one in the scoreboard.

For example, planting/defusing the bomb gives you 3 points in the scoreboard, but the plugin doesn't count them since they aren't actual player kills.

If you want to count the scoreboard kills instead, switch the formula to use "2" instead of "1" - look at the first post to see what these numbers mean.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 04-30-2019 , 15:27   Re: Best Player MOTD
Reply With Quote #58

Quote:
Originally Posted by OciXCrom View Post
Yes, according to the formula it will first compare the number of kills. But, have in mind that the number of kills is calculated manually from the plugin and may differ from the one in the scoreboard.

For example, planting/defusing the bomb gives you 3 points in the scoreboard, but the plugin doesn't count them since they aren't actual player kills.

If you want to count the scoreboard kills instead, switch the formula to use "2" instead of "1" - look at the first post to see what these numbers mean.
i get it now, so it doesn't count objectives and + i have kill assist plugin and seems it doesn't count as well, so i will use formula "257"

Last edited by tarsisd2; 04-30-2019 at 15:27.
tarsisd2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-01-2019 , 07:10   Re: Best Player MOTD
Reply With Quote #59

If the kill assist doesn't add frags to the scoreboard - they won't count. If it does - using "2" in the formula will count them.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Old 08-14-2019, 09:30
babylkin_band
This message has been deleted by babylkin_band.
paulitooo
Member
Join Date: Dec 2018
Old 05-14-2020 , 11:12   Re: Best Player MOTD
Reply With Quote #60

hi , i add my server DeRoiD's Mapchooser v2.33 and this plugin dont working when map change dont show best player motd , the normal mapchooser plugin work ...

Last edited by paulitooo; 05-14-2020 at 11:12.
paulitooo 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 19:09.


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