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

[L4D1 & L4D2] Map changer with rating system


Post New Thread Reply   
 
Thread Tools Display Modes
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-08-2021 , 10:10   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #61

Sunen, well, change flags access to "z" so nobody except root admin can access the votes.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
ricksfishin
Senior Member
Join Date: Oct 2017
Old 08-09-2021 , 10:02   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #62

Quote:
Originally Posted by ricksfishin View Post
Ok if i am on finale map concert of dark carnival. And the next map is crash course. What do i change in sp to speed up getting to crash course. Right now map doesn't change until it starts showing credits Faster map rotation?
ricksfishin is offline
Sunen
Member
Join Date: Jul 2020
Old 08-10-2021 , 07:51   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #63

Quote:
Originally Posted by Dragokas View Post
Sunen, well, change flags access to "z" so nobody except root admin can access the votes.
In the source code or cfg file? If i changed it ,will vote still appear when the map end?
Thanks.

Last edited by Sunen; 08-10-2021 at 07:55.
Sunen is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 08-10-2021 , 08:12   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #64

Quote:
Originally Posted by Sunen View Post
In the source code or cfg file? If i changed it ,will vote still appear when the map end?
Thanks.
This plugin never had a map end automatic vote. So, I dunno what are you talking about.

PHP Code:
// Flag allowed to access the vote for change to default maps
l4d_mapchanger_default_voteaccess "kp"

// Flag allowed to access the vote for change to custom maps
l4d_mapchanger_custom_voteaccess "k" 
This is only applied for manually called votes. No other votes are exist in MapChanger. Maybe, you have some other plugin doing it.

Quote:
Originally Posted by ricksfishin View Post
Ok if i am on finale map concert of dark carnival. And the next map is crash course. What do i change in sp to speed up getting to crash course. Right now map doesn't change until it starts showing credits.
ricksfishin, I'll try to do later, when I'll have a more time.
Map end stuff has a bit more complexity because requires a lot of time to walkthrough the map just to test once is feature work.
I'm not sure which event is better to hook to match the exact moment of pre-credits, which will work brilliantly on every map.
At the moment I hooking for StatsCrawl UserMsg + finale_win event. If you know some plugin doing it better for the mentioned map, please let me know.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 08-10-2021 at 08:23.
Dragokas is offline
Sunen
Member
Join Date: Jul 2020
Old 08-12-2021 , 07:09   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #65

Quote:
Originally Posted by Dragokas View Post
This plugin never had a map end automatic vote. So, I dunno what are you talking about.

PHP Code:
// Flag allowed to access the vote for change to default maps
l4d_mapchanger_default_voteaccess "kp"

// Flag allowed to access the vote for change to custom maps
l4d_mapchanger_custom_voteaccess "k" 
This is only applied for manually called votes. No other votes are exist in MapChanger. Maybe, you have some other plugin doing it.



ricksfishin, I'll try to do later, when I'll have a more time.
Map end stuff has a bit more complexity because requires a lot of time to walkthrough the map just to test once is feature work.
I'm not sure which event is better to hook to match the exact moment of pre-credits, which will work brilliantly on every map.
At the moment I hooking for StatsCrawl UserMsg + finale_win event. If you know some plugin doing it better for the mentioned map, please let me know.
Thanks.
Sunen is offline
in2002
Member
Join Date: Apr 2021
Location: Taiwan
Old 09-05-2021 , 17:21   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #66

I hope I can customize the map name and language
in2002 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 09-05-2021 , 17:34   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #67

I suggest waiting until MapChanger came updated with new Localizer API.
So, you don't need to translate names manually.

As about addon map campaign/chapter names, I can add such a feature (if you need it?)
Need to think about a convenient naming convention in the translation phrases file for each such chapter.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
in2002
Member
Join Date: Apr 2021
Location: Taiwan
Old 09-05-2021 , 20:21   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #68

Quote:
Originally Posted by Dragokas View Post
I suggest waiting until MapChanger came updated with new Localizer API.
So, you don't need to translate names manually.

As about addon map campaign/chapter names, I can add such a feature (if you need it?)
Need to think about a convenient naming convention in the translation phrases file for each such chapter.
For non-English players
Can customize campaign names
Voting on the map is helpful
Can identify the name very quickly
Custom name can refer to this Plugins method
https://forums.alliedmods.net/showthread.php?t=308708
in2002 is offline
in2002
Member
Join Date: Apr 2021
Location: Taiwan
Old 09-05-2021 , 20:24   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #69

add Traditional Chinese (Taiwan)
Attached Files
File Type: txt MapChanger.phrases.txt (17.5 KB, 23 views)
in2002 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 09-06-2021 , 00:33   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #70

Thanks a much for translation.

Quote:
2.8 (06-Sep-2021)
- Added Traditional Chinese translation (thanks to in2002).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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