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

[CS:GO] Custom MVP Anthem (1.12 | 2023/04/05)


Post New Thread Reply   
 
Thread Tools Display Modes
rajput3001
New Member
Join Date: Oct 2020
Old 10-29-2020 , 05:07   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #121

if your are interested in a paid stuff like mvp database make then
contact me
image is given below
and database as a example


Last edited by rajput3001; 10-29-2020 at 05:11. Reason: i dint see the attacments
rajput3001 is offline
root88
Senior Member
Join Date: May 2016
Old 12-26-2020 , 10:21   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #122

Selecting "No custom MVP Anthem" after you set something before is broken.
Fix - change code (line 296)
PHP Code:
        if(StrEqual(mvp_name""))
        {
            
CPrintToChat(client"%T""No Selected"client);
            
Selected[client] = 0;
        } 
to
PHP Code:
        if(StrEqual(mvp_name""))
        {
            
CPrintToChat(client"%T""No Selected"client);
            
Selected[client] = 0;
            
NameMVP[client] = "";
            
SetClientCookie(clientmvp_cookie"");
        } 
__________________

Last edited by root88; 12-26-2020 at 10:28.
root88 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-26-2020 , 10:38   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #123

Quote:
Originally Posted by root88 View Post
Selecting "No custom MVP Anthem" after you set something before is broken.
Fix - change code (line 296)
PHP Code:
        if(StrEqual(mvp_name""))
        {
            
CPrintToChat(client"%T""No Selected"client);
            
Selected[client] = 0;
        } 
to
PHP Code:
        if(StrEqual(mvp_name""))
        {
            
CPrintToChat(client"%T""No Selected"client);
            
Selected[client] = 0;
            
NameMVP[client] = "";
            
SetClientCookie(clientmvp_cookie"");
        } 
Would that solve my problem of not saving the choice of MVP when changing the map? I always have to choose again.
paulo_crash is offline
root88
Senior Member
Join Date: May 2016
Old 12-26-2020 , 11:23   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #124

Eeee nope, it's another bug xD
I don't have enough time to fix it, but as a temp (!) solution you can change code around line 90:
PHP Code:
        if(CanUseMVP(clientid) && id 0)
        {
            
Selected[client] = id;
            
strcopy(NameMVP[client], sizeof(NameMVP[]), scookie);
        }
        else 
        {
            
Format(NameMVP[client], sizeof(NameMVP[]), "");
            
SetClientCookie(clientmvp_cookie"");
        } 
to
PHP Code:
        if(id 0)
        {
            
Selected[client] = id;
            
strcopy(NameMVP[client], sizeof(NameMVP[]), scookie);
        }
        else 
        {
            
Format(NameMVP[client], sizeof(NameMVP[]), "");
            
SetClientCookie(clientmvp_cookie"");
        } 
It'll stop checking if client is allowed to use selected sound, which is obviously broken.
__________________

Last edited by root88; 12-26-2020 at 11:26.
root88 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-26-2020 , 12:06   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #125

Quote:
Originally Posted by root88 View Post
Selecting "No custom MVP Anthem" after you set something before is broken.
Fix - change code (line 296)
PHP Code:
        if(StrEqual(mvp_name""))
        {
            
CPrintToChat(client"%T""No Selected"client);
            
Selected[client] = 0;
        } 
to
PHP Code:
        if(StrEqual(mvp_name""))
        {
            
CPrintToChat(client"%T""No Selected"client);
            
Selected[client] = 0;
            
NameMVP[client] = "";
            
SetClientCookie(clientmvp_cookie"");
        } 
Quote:
Originally Posted by root88 View Post
Eeee nope, it's another bug xD
I don't have enough time to fix it, but as a temp (!) solution you can change code around line 90:
PHP Code:
        if(CanUseMVP(clientid) && id 0)
        {
            
Selected[client] = id;
            
strcopy(NameMVP[client], sizeof(NameMVP[]), scookie);
        }
        else 
        {
            
Format(NameMVP[client], sizeof(NameMVP[]), "");
            
SetClientCookie(clientmvp_cookie"");
        } 
to
PHP Code:
        if(id 0)
        {
            
Selected[client] = id;
            
strcopy(NameMVP[client], sizeof(NameMVP[]), scookie);
        }
        else 
        {
            
Format(NameMVP[client], sizeof(NameMVP[]), "");
            
SetClientCookie(clientmvp_cookie"");
        } 
It'll stop checking if client is allowed to use selected sound, which is obviously broken.
I will be implementing these two changes, I will return here with the result as soon as possible, thank you!
paulo_crash is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-27-2020 , 10:40   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #126

Quote:
Originally Posted by paulo_crash View Post
I will be implementing these two changes, I will return here with the result as soon as possible, thank you!
Apparently everything is fine so far, I will now test only the BUG that had to leave my choice of MVP when changing the map, if everything is right, notice.

And if there is no problem for you, I would like to do a PR on GitHub of the plugin to leave these errors fixed for now.
paulo_crash is offline
Sandervraun
Senior Member
Join Date: May 2019
Location: Denmark
Old 01-07-2021 , 21:02   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #127

This plugin needs to be able to make folders just for certain ranks...

VIP Ranked players should have a section for their sounds...

I attempted doing this:
Quote:
"MVP"
{
"VIP"
{
"John Ceena"
{
"file" "mvp/johncena.mp3"
"flag" "a"
}
}

"Illuminati"
{
"file" "mvp/illuminati.mp3"
}
}
But ingame it just says you choosed VIP MVP sound...
Sandervraun is offline
uchihaedd
Junior Member
Join Date: Dec 2020
Old 01-21-2021 , 10:04   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #128

how it works there's no sounds ?
uchihaedd is offline
uchihaedd
Junior Member
Join Date: Dec 2020
Old 01-21-2021 , 11:34   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #129

SV_StartSound: */mvp/illuminati.mp3 not precached (12750)

no sound . . .
uchihaedd is offline
lccof
New Member
Join Date: Jan 2021
Old 01-24-2021 , 10:10   Re: [CS:GO] Custom MVP Anthem (1.11 | 2020-6-10)
Reply With Quote #130

Excellent addon, working perfectly. I would like to know if there is a way to make the audio play until the end, instead of ending when the new round starts. And the information in the middle of the screen is not colored, it shows the code and characters instead of coloring.

Last edited by lccof; 01-24-2021 at 10:27.
lccof 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 18:14.


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