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

[L4D1 & L4D2] Map changer with rating system


Post New Thread Reply   
 
Thread Tools Display Modes
3ipKa
Member
Join Date: Jul 2013
Old 10-25-2022 , 12:47   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #211

Sorry, I mean players can set marks without voting, plugin saves it and rating of campaign is avarege value of players marks. IDK, maybe it's stupid idea )
I think rating is not objective a bit, because now, for example, players vote for mark 5, another players vote for 2, as a result rating is 2.

Last edited by 3ipKa; 10-25-2022 at 12:53.
3ipKa is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-25-2022 , 12:49   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #212

Let them put crosses on their foreheads
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 11-23-2022 , 17:07   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #213

How do I add custom campaigns to "Custom maps" section? I install custom campaigns .VPKs in the /left4dead2/addons/ and they all end up in the "Test maps" section. "Custom maps" section is not even displayed in the plugin menu. Please help me, how can I install custom campaigns on the server, so they will be displayed in the Custom maps?
Mika Misori is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-25-2022 , 17:49   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #214

Run client, enter !maps, select desired map, than "Move to another group", select group.

Or for mass-change:

Go to configs/MapChanger_info.txt and change "group" to 0, 1 or 2 (index of category) without map change when client logged-in, than enter command "sm_maps_reload" or do the same with the server powered off.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-25-2022 , 18:22   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #215

First post updated:

Quote:
- Added FAQ section to answer frequently asked questions.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 11-26-2022 , 16:18   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #216

Quote:
Originally Posted by Dragokas View Post
Run client, enter !maps, select desired map, than "Move to another group", select group.

Or for mass-change:

Go to configs/MapChanger_info.txt and change "group" to 0, 1 or 2 (index of category) without map change when client logged-in, than enter command "sm_maps_reload" or do the same with the server powered off.
I opened the file, but there is no group value, only "info" and a comment not to touch this file (screenshot). How do I properly add values here to mass move all campaigns from "test" to "custom campaigns"?

// don't touch this file
"info"
{
"group" "2"
}

Like that?
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-11-27 001558.png
Views:	46
Size:	11.0 KB
ID:	198175  

Last edited by Mika Misori; 11-26-2022 at 16:19.
Mika Misori is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-26-2022 , 16:23   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #217

You should run your server with this plugin at least.
File will be automatically populated with all campaigns.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 11-27-2022 , 15:29   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #218

Quote:
Originally Posted by Dragokas View Post
You should run your server with this plugin at least.
File will be automatically populated with all campaigns.
Thank you for your reply. But, it turns out that for each campaign it must be done manually. I decided to just rename the test maps section to custom campaigns.

By the way, why is there a need for a section with test maps? Why don't they go straight to the custom campaigns section by default?
Mika Misori is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-29-2022 , 03:23   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #219

The matter of convenience. The game of words. You can call it as you wish. That is why everything exists in translation file.
There are 3 categories. All of them are custom campaigns:
- Test maps
- Custom map set # 1
- Custom map set # 2

By design, when you add new map, it is considered as "Untested map" (unknown new map, may contain bugs and so so).
So when one fully test it, he move it to the appropriate group or leave it as is.

If you entirely replace all maps, or install them first time, you can open MapChanger_info.txt and execute "Replace all" operation in notepad:
Search what: "group" "0"
Replace by: "group" "1"
So, all maps will change its category simultaneously.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 11-29-2022 at 12:42.
Dragokas is offline
Mika Misori
Senior Member
Join Date: Sep 2022
Old 11-29-2022 , 08:39   Re: [L4D1 & L4D2] Map changer with rating system
Reply With Quote #220

Quote:
Originally Posted by Dragokas View Post
The matter of convenience. The game of words. You can call it as you wish. That is why everything exists in translation file.
There are 3 categories. All of them are custom campaigns:
- Test maps
- Custom map set # 1
- Custom map set # 2

By design, when you add new map, it is considered as "Untested map" (unknown new map, may contain bugs and so so).
So when one fully test it, he move it to the appropriate group or leave it as is.

If you entirely replace all maps, all install them first time, you can open MapChanger_info.txt and execute "Replace all" operation in notepad:
Search what: "group" "0"
Replace by: "group" "1"
So, all maps will change its category simultaneously.
I get it now. Thank you so much for your help and explanation!
Mika Misori 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 20:12.


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